{ "errors": [], "warnings": [ "(undefined) asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).\nThis can impact web performance.\nAssets: \n mermaid.js (764 KiB)", "(undefined) entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.\nEntrypoints:\n mermaid (764 KiB)\n mermaid.js\n", "(undefined) webpack performance recommendations: \nYou can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\nFor more info visit https://webpack.js.org/guides/code-splitting/", "(undefined) asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).\nThis can impact web performance.\nAssets: \n mermaid.core.js (351 KiB)", "(undefined) entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.\nEntrypoints:\n mermaid (351 KiB)\n mermaid.core.js\n", "(undefined) webpack performance recommendations: \nYou can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\nFor more info visit https://webpack.js.org/guides/code-splitting/" ], "version": "4.41.6", "hash": "34133397a158b354f98be15ea5577431b72c683d", "children": [ { "errors": [], "warnings": [ "asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).\nThis can impact web performance.\nAssets: \n mermaid.js (764 KiB)", "entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.\nEntrypoints:\n mermaid (764 KiB)\n mermaid.js\n", "webpack performance recommendations: \nYou can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\nFor more info visit https://webpack.js.org/guides/code-splitting/" ], "hash": "34133397a158b354f98b", "time": 16315, "builtAt": 1594888060861, "publicPath": "", "outputPath": "/Users/knuts/source/priv/atlantica/mermaid/dist/", "assetsByChunkName": { "mermaid": [ "mermaid.js", "mermaid.js.map" ] }, "assets": [ { "name": "mermaid.js", "size": 782657, "chunks": [ 0 ], "chunkNames": [ "mermaid" ], "info": {}, "emitted": true, "isOverSizeLimit": true }, { "name": "mermaid.js.map", "size": 2907015, "chunks": [ 0 ], "chunkNames": [ "mermaid" ], "info": { "development": true }, "emitted": true } ], "filteredAssets": 0, "entrypoints": { "mermaid": { "chunks": [ 0 ], "assets": [ "mermaid.js", "mermaid.js.map" ], "children": {}, "childAssets": {}, "isOverSizeLimit": true } }, "namedChunkGroups": { "mermaid": { "chunks": [ 0 ], "assets": [ "mermaid.js", "mermaid.js.map" ], "children": {}, "childAssets": {}, "isOverSizeLimit": true } }, "chunks": [ { "id": 0, "rendered": true, "initial": true, "entry": true, "size": 1721503, "names": [ "mermaid" ], "files": [ "mermaid.js", "mermaid.js.map" ], "hash": "c89ab2fe2b61fb133679", "siblings": [], "parents": [], "children": [], "childrenByOrder": {}, "modules": [ { "id": 0, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js daa161b1f30eb913167fb63d2cd63e08", "name": "./node_modules/d3/index.js + 520 modules", "index": 3, "index2": 521, "size": 554982, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/d3.js", "module": "./node_modules/dagre-d3/lib/d3.js", "moduleName": "./node_modules/dagre-d3/lib/d3.js", "type": "cjs require", "userRequest": "d3", "loc": "7:11-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-39" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-102" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-82" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "5:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "13:0-196" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "15:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "20:14-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "21:20-36" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:15-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "24:21-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:16-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "28:13-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:19-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "33:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "35:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:46-56" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "39:16-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "44:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:18-27" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:38-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "48:6-9" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "54:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "58:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:16-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:50-60" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "63:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "64:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "67:24-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "69:23-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "74:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "84:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:21-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:108-122" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "102:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "107:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "111:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "200:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "207:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "208:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "221:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "225:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "229:60-71" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "231:68-79" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "232:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "233:54-65" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "241:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "244:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "246:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "247:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:60-71" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "251:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "252:68-79" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:54-65" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "255:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "256:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "263:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:16-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:102-112" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "318:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "322:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:4-13" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "342:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "343:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "345:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "348:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "357:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "361:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "365:4-13" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "367:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "371:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "377:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "379:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "390:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "402:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "403:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "433:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "436:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "439:17-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "445:17-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "463:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "617:19-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "710:13-19" } ], "usedExports": true, "providedExports": [ "version", "bisect", "bisectRight", "bisectLeft", "ascending", "bisector", "cross", "descending", "deviation", "extent", "histogram", "thresholdFreedmanDiaconis", "thresholdScott", "thresholdSturges", "max", "mean", "median", "merge", "min", "pairs", "permute", "quantile", "range", "scan", "shuffle", "sum", "ticks", "tickIncrement", "tickStep", "transpose", "variance", "zip", "axisTop", "axisRight", "axisBottom", "axisLeft", "brush", "brushX", "brushY", "brushSelection", "chord", "ribbon", "nest", "set", "map", "keys", "values", "entries", "color", "rgb", "hsl", "lab", "hcl", "lch", "gray", "cubehelix", "contours", "contourDensity", "dispatch", "drag", "dragDisable", "dragEnable", "dsvFormat", "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue", "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue", "autoType", "easeLinear", "easeQuad", "easeQuadIn", "easeQuadOut", "easeQuadInOut", "easeCubic", "easeCubicIn", "easeCubicOut", "easeCubicInOut", "easePoly", "easePolyIn", "easePolyOut", "easePolyInOut", "easeSin", "easeSinIn", "easeSinOut", "easeSinInOut", "easeExp", "easeExpIn", "easeExpOut", "easeExpInOut", "easeCircle", "easeCircleIn", "easeCircleOut", "easeCircleInOut", "easeBounce", "easeBounceIn", "easeBounceOut", "easeBounceInOut", "easeBack", "easeBackIn", "easeBackOut", "easeBackInOut", "easeElastic", "easeElasticIn", "easeElasticOut", "easeElasticInOut", "blob", "buffer", "dsv", "csv", "tsv", "image", "json", "text", "xml", "html", "svg", "forceCenter", "forceCollide", "forceLink", "forceManyBody", "forceRadial", "forceSimulation", "forceX", "forceY", "formatDefaultLocale", "format", "formatPrefix", "formatLocale", "formatSpecifier", "FormatSpecifier", "precisionFixed", "precisionPrefix", "precisionRound", "geoArea", "geoBounds", "geoCentroid", "geoCircle", "geoClipAntimeridian", "geoClipCircle", "geoClipExtent", "geoClipRectangle", "geoContains", "geoDistance", "geoGraticule", "geoGraticule10", "geoInterpolate", "geoLength", "geoPath", "geoAlbers", "geoAlbersUsa", "geoAzimuthalEqualArea", "geoAzimuthalEqualAreaRaw", "geoAzimuthalEquidistant", "geoAzimuthalEquidistantRaw", "geoConicConformal", "geoConicConformalRaw", "geoConicEqualArea", "geoConicEqualAreaRaw", "geoConicEquidistant", "geoConicEquidistantRaw", "geoEqualEarth", "geoEqualEarthRaw", "geoEquirectangular", "geoEquirectangularRaw", "geoGnomonic", "geoGnomonicRaw", "geoIdentity", "geoProjection", "geoProjectionMutator", "geoMercator", "geoMercatorRaw", "geoNaturalEarth1", "geoNaturalEarth1Raw", "geoOrthographic", "geoOrthographicRaw", "geoStereographic", "geoStereographicRaw", "geoTransverseMercator", "geoTransverseMercatorRaw", "geoRotation", "geoStream", "geoTransform", "cluster", "hierarchy", "pack", "packSiblings", "packEnclose", "partition", "stratify", "tree", "treemap", "treemapBinary", "treemapDice", "treemapSlice", "treemapSliceDice", "treemapSquarify", "treemapResquarify", "interpolate", "interpolateArray", "interpolateBasis", "interpolateBasisClosed", "interpolateDate", "interpolateDiscrete", "interpolateHue", "interpolateNumber", "interpolateNumberArray", "interpolateObject", "interpolateRound", "interpolateString", "interpolateTransformCss", "interpolateTransformSvg", "interpolateZoom", "interpolateRgb", "interpolateRgbBasis", "interpolateRgbBasisClosed", "interpolateHsl", "interpolateHslLong", "interpolateLab", "interpolateHcl", "interpolateHclLong", "interpolateCubehelix", "interpolateCubehelixLong", "piecewise", "quantize", "path", "polygonArea", "polygonCentroid", "polygonHull", "polygonContains", "polygonLength", "quadtree", "randomUniform", "randomNormal", "randomLogNormal", "randomBates", "randomIrwinHall", "randomExponential", "scaleBand", "scalePoint", "scaleIdentity", "scaleLinear", "scaleLog", "scaleSymlog", "scaleOrdinal", "scaleImplicit", "scalePow", "scaleSqrt", "scaleQuantile", "scaleQuantize", "scaleThreshold", "scaleTime", "scaleUtc", "scaleSequential", "scaleSequentialLog", "scaleSequentialPow", "scaleSequentialSqrt", "scaleSequentialSymlog", "scaleSequentialQuantile", "scaleDiverging", "scaleDivergingLog", "scaleDivergingPow", "scaleDivergingSqrt", "scaleDivergingSymlog", "tickFormat", "schemeCategory10", "schemeAccent", "schemeDark2", "schemePaired", "schemePastel1", "schemePastel2", "schemeSet1", "schemeSet2", "schemeSet3", "schemeTableau10", "interpolateBrBG", "schemeBrBG", "interpolatePRGn", "schemePRGn", "interpolatePiYG", "schemePiYG", "interpolatePuOr", "schemePuOr", "interpolateRdBu", "schemeRdBu", "interpolateRdGy", "schemeRdGy", "interpolateRdYlBu", "schemeRdYlBu", "interpolateRdYlGn", "schemeRdYlGn", "interpolateSpectral", "schemeSpectral", "interpolateBuGn", "schemeBuGn", "interpolateBuPu", "schemeBuPu", "interpolateGnBu", "schemeGnBu", "interpolateOrRd", "schemeOrRd", "interpolatePuBuGn", "schemePuBuGn", "interpolatePuBu", "schemePuBu", "interpolatePuRd", "schemePuRd", "interpolateRdPu", "schemeRdPu", "interpolateYlGnBu", "schemeYlGnBu", "interpolateYlGn", "schemeYlGn", "interpolateYlOrBr", "schemeYlOrBr", "interpolateYlOrRd", "schemeYlOrRd", "interpolateBlues", "schemeBlues", "interpolateGreens", "schemeGreens", "interpolateGreys", "schemeGreys", "interpolatePurples", "schemePurples", "interpolateReds", "schemeReds", "interpolateOranges", "schemeOranges", "interpolateCividis", "interpolateCubehelixDefault", "interpolateRainbow", "interpolateWarm", "interpolateCool", "interpolateSinebow", "interpolateTurbo", "interpolateViridis", "interpolateMagma", "interpolateInferno", "interpolatePlasma", "create", "creator", "local", "matcher", "mouse", "namespace", "namespaces", "clientPoint", "select", "selectAll", "selection", "selector", "selectorAll", "style", "touch", "touches", "window", "event", "customEvent", "arc", "area", "line", "pie", "areaRadial", "radialArea", "lineRadial", "radialLine", "pointRadial", "linkHorizontal", "linkVertical", "linkRadial", "symbol", "symbols", "symbolCircle", "symbolCross", "symbolDiamond", "symbolSquare", "symbolStar", "symbolTriangle", "symbolWye", "curveBasisClosed", "curveBasisOpen", "curveBasis", "curveBundle", "curveCardinalClosed", "curveCardinalOpen", "curveCardinal", "curveCatmullRomClosed", "curveCatmullRomOpen", "curveCatmullRom", "curveLinearClosed", "curveLinear", "curveMonotoneX", "curveMonotoneY", "curveNatural", "curveStep", "curveStepAfter", "curveStepBefore", "stack", "stackOffsetExpand", "stackOffsetDiverging", "stackOffsetNone", "stackOffsetSilhouette", "stackOffsetWiggle", "stackOrderAppearance", "stackOrderAscending", "stackOrderDescending", "stackOrderInsideOut", "stackOrderNone", "stackOrderReverse", "timeInterval", "timeMillisecond", "timeMilliseconds", "utcMillisecond", "utcMilliseconds", "timeSecond", "timeSeconds", "utcSecond", "utcSeconds", "timeMinute", "timeMinutes", "timeHour", "timeHours", "timeDay", "timeDays", "timeWeek", "timeWeeks", "timeSunday", "timeSundays", "timeMonday", "timeMondays", "timeTuesday", "timeTuesdays", "timeWednesday", "timeWednesdays", "timeThursday", "timeThursdays", "timeFriday", "timeFridays", "timeSaturday", "timeSaturdays", "timeMonth", "timeMonths", "timeYear", "timeYears", "utcMinute", "utcMinutes", "utcHour", "utcHours", "utcDay", "utcDays", "utcWeek", "utcWeeks", "utcSunday", "utcSundays", "utcMonday", "utcMondays", "utcTuesday", "utcTuesdays", "utcWednesday", "utcWednesdays", "utcThursday", "utcThursdays", "utcFriday", "utcFridays", "utcSaturday", "utcSaturdays", "utcMonth", "utcMonths", "utcYear", "utcYears", "timeFormatDefaultLocale", "timeFormat", "timeParse", "utcFormat", "utcParse", "timeFormatLocale", "isoFormat", "isoParse", "now", "timer", "timerFlush", "timeout", "interval", "transition", "active", "interrupt", "voronoi", "zoom", "zoomTransform", "zoomIdentity" ], "optimizationBailout": [], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "index": 3, "index2": 521, "size": 893, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/d3.js", "module": "./node_modules/dagre-d3/lib/d3.js", "moduleName": "./node_modules/dagre-d3/lib/d3.js", "type": "cjs require", "userRequest": "d3", "loc": "7:11-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-39" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-102" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-82" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "5:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "13:0-196" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "15:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "20:14-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "21:20-36" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:15-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "24:21-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:16-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "28:13-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:19-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "33:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "35:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:46-56" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "39:16-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "44:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:18-27" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:38-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "48:6-9" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "54:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "58:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:16-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:50-60" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "63:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "64:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "67:24-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "69:23-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "74:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "84:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:21-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:108-122" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "102:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "107:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "111:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "200:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "207:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "208:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "221:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "225:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "229:60-71" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "231:68-79" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "232:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "233:54-65" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "241:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "244:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "246:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "247:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:60-71" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "251:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "252:68-79" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:54-65" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "255:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "256:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "263:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:16-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:102-112" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "318:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "322:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:4-13" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "342:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "343:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "345:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "348:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "357:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "361:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "365:4-13" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "367:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "371:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "377:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "379:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "390:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "402:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "403:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "433:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "436:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "439:17-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "445:17-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "463:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "617:19-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "710:13-19" } ], "usedExports": true, "providedExports": [ "version", "bisect", "bisectRight", "bisectLeft", "ascending", "bisector", "cross", "descending", "deviation", "extent", "histogram", "thresholdFreedmanDiaconis", "thresholdScott", "thresholdSturges", "max", "mean", "median", "merge", "min", "pairs", "permute", "quantile", "range", "scan", "shuffle", "sum", "ticks", "tickIncrement", "tickStep", "transpose", "variance", "zip", "axisTop", "axisRight", "axisBottom", "axisLeft", "brush", "brushX", "brushY", "brushSelection", "chord", "ribbon", "nest", "set", "map", "keys", "values", "entries", "color", "rgb", "hsl", "lab", "hcl", "lch", "gray", "cubehelix", "contours", "contourDensity", "dispatch", "drag", "dragDisable", "dragEnable", "dsvFormat", "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue", "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue", "autoType", "easeLinear", "easeQuad", "easeQuadIn", "easeQuadOut", "easeQuadInOut", "easeCubic", "easeCubicIn", "easeCubicOut", "easeCubicInOut", "easePoly", "easePolyIn", "easePolyOut", "easePolyInOut", "easeSin", "easeSinIn", "easeSinOut", "easeSinInOut", "easeExp", "easeExpIn", "easeExpOut", "easeExpInOut", "easeCircle", "easeCircleIn", "easeCircleOut", "easeCircleInOut", "easeBounce", "easeBounceIn", "easeBounceOut", "easeBounceInOut", "easeBack", "easeBackIn", "easeBackOut", "easeBackInOut", "easeElastic", "easeElasticIn", "easeElasticOut", "easeElasticInOut", "blob", "buffer", "dsv", "csv", "tsv", "image", "json", "text", "xml", "html", "svg", "forceCenter", "forceCollide", "forceLink", "forceManyBody", "forceRadial", "forceSimulation", "forceX", "forceY", "formatDefaultLocale", "format", "formatPrefix", "formatLocale", "formatSpecifier", "FormatSpecifier", "precisionFixed", "precisionPrefix", "precisionRound", "geoArea", "geoBounds", "geoCentroid", "geoCircle", "geoClipAntimeridian", "geoClipCircle", "geoClipExtent", "geoClipRectangle", "geoContains", "geoDistance", "geoGraticule", "geoGraticule10", "geoInterpolate", "geoLength", "geoPath", "geoAlbers", "geoAlbersUsa", "geoAzimuthalEqualArea", "geoAzimuthalEqualAreaRaw", "geoAzimuthalEquidistant", "geoAzimuthalEquidistantRaw", "geoConicConformal", "geoConicConformalRaw", "geoConicEqualArea", "geoConicEqualAreaRaw", "geoConicEquidistant", "geoConicEquidistantRaw", "geoEqualEarth", "geoEqualEarthRaw", "geoEquirectangular", "geoEquirectangularRaw", "geoGnomonic", "geoGnomonicRaw", "geoIdentity", "geoProjection", "geoProjectionMutator", "geoMercator", "geoMercatorRaw", "geoNaturalEarth1", "geoNaturalEarth1Raw", "geoOrthographic", "geoOrthographicRaw", "geoStereographic", "geoStereographicRaw", "geoTransverseMercator", "geoTransverseMercatorRaw", "geoRotation", "geoStream", "geoTransform", "cluster", "hierarchy", "pack", "packSiblings", "packEnclose", "partition", "stratify", "tree", "treemap", "treemapBinary", "treemapDice", "treemapSlice", "treemapSliceDice", "treemapSquarify", "treemapResquarify", "interpolate", "interpolateArray", "interpolateBasis", "interpolateBasisClosed", "interpolateDate", "interpolateDiscrete", "interpolateHue", "interpolateNumber", "interpolateNumberArray", "interpolateObject", "interpolateRound", "interpolateString", "interpolateTransformCss", "interpolateTransformSvg", "interpolateZoom", "interpolateRgb", "interpolateRgbBasis", "interpolateRgbBasisClosed", "interpolateHsl", "interpolateHslLong", "interpolateLab", "interpolateHcl", "interpolateHclLong", "interpolateCubehelix", "interpolateCubehelixLong", "piecewise", "quantize", "path", "polygonArea", "polygonCentroid", "polygonHull", "polygonContains", "polygonLength", "quadtree", "randomUniform", "randomNormal", "randomLogNormal", "randomBates", "randomIrwinHall", "randomExponential", "scaleBand", "scalePoint", "scaleIdentity", "scaleLinear", "scaleLog", "scaleSymlog", "scaleOrdinal", "scaleImplicit", "scalePow", "scaleSqrt", "scaleQuantile", "scaleQuantize", "scaleThreshold", "scaleTime", "scaleUtc", "scaleSequential", "scaleSequentialLog", "scaleSequentialPow", "scaleSequentialSqrt", "scaleSequentialSymlog", "scaleSequentialQuantile", "scaleDiverging", "scaleDivergingLog", "scaleDivergingPow", "scaleDivergingSqrt", "scaleDivergingSymlog", "tickFormat", "schemeCategory10", "schemeAccent", "schemeDark2", "schemePaired", "schemePastel1", "schemePastel2", "schemeSet1", "schemeSet2", "schemeSet3", "schemeTableau10", "interpolateBrBG", "schemeBrBG", "interpolatePRGn", "schemePRGn", "interpolatePiYG", "schemePiYG", "interpolatePuOr", "schemePuOr", "interpolateRdBu", "schemeRdBu", "interpolateRdGy", "schemeRdGy", "interpolateRdYlBu", "schemeRdYlBu", "interpolateRdYlGn", "schemeRdYlGn", "interpolateSpectral", "schemeSpectral", "interpolateBuGn", "schemeBuGn", "interpolateBuPu", "schemeBuPu", "interpolateGnBu", "schemeGnBu", "interpolateOrRd", "schemeOrRd", "interpolatePuBuGn", "schemePuBuGn", "interpolatePuBu", "schemePuBu", "interpolatePuRd", "schemePuRd", "interpolateRdPu", "schemeRdPu", "interpolateYlGnBu", "schemeYlGnBu", "interpolateYlGn", "schemeYlGn", "interpolateYlOrBr", "schemeYlOrBr", "interpolateYlOrRd", "schemeYlOrRd", "interpolateBlues", "schemeBlues", "interpolateGreens", "schemeGreens", "interpolateGreys", "schemeGreys", "interpolatePurples", "schemePurples", "interpolateReds", "schemeReds", "interpolateOranges", "schemeOranges", "interpolateCividis", "interpolateCubehelixDefault", "interpolateRainbow", "interpolateWarm", "interpolateCool", "interpolateSinebow", "interpolateTurbo", "interpolateViridis", "interpolateMagma", "interpolateInferno", "interpolatePlasma", "create", "creator", "local", "matcher", "mouse", "namespace", "namespaces", "clientPoint", "select", "selectAll", "selection", "selector", "selectorAll", "style", "touch", "touches", "window", "event", "customEvent", "arc", "area", "line", "pie", "areaRadial", "radialArea", "lineRadial", "radialLine", "pointRadial", "linkHorizontal", "linkVertical", "linkRadial", "symbol", "symbols", "symbolCircle", "symbolCross", "symbolDiamond", "symbolSquare", "symbolStar", "symbolTriangle", "symbolWye", "curveBasisClosed", "curveBasisOpen", "curveBasis", "curveBundle", "curveCardinalClosed", "curveCardinalOpen", "curveCardinal", "curveCatmullRomClosed", "curveCatmullRomOpen", "curveCatmullRom", "curveLinearClosed", "curveLinear", "curveMonotoneX", "curveMonotoneY", "curveNatural", "curveStep", "curveStepAfter", "curveStepBefore", "stack", "stackOffsetExpand", "stackOffsetDiverging", "stackOffsetNone", "stackOffsetSilhouette", "stackOffsetWiggle", "stackOrderAppearance", "stackOrderAscending", "stackOrderDescending", "stackOrderInsideOut", "stackOrderNone", "stackOrderReverse", "timeInterval", "timeMillisecond", "timeMilliseconds", "utcMillisecond", "utcMilliseconds", "timeSecond", "timeSeconds", "utcSecond", "utcSeconds", "timeMinute", "timeMinutes", "timeHour", "timeHours", "timeDay", "timeDays", "timeWeek", "timeWeeks", "timeSunday", "timeSundays", "timeMonday", "timeMondays", "timeTuesday", "timeTuesdays", "timeWednesday", "timeWednesdays", "timeThursday", "timeThursdays", "timeFriday", "timeFridays", "timeSaturday", "timeSaturdays", "timeMonth", "timeMonths", "timeYear", "timeYears", "utcMinute", "utcMinutes", "utcHour", "utcHours", "utcDay", "utcDays", "utcWeek", "utcWeeks", "utcSunday", "utcSundays", "utcMonday", "utcMondays", "utcTuesday", "utcTuesdays", "utcWednesday", "utcWednesdays", "utcThursday", "utcThursdays", "utcFriday", "utcFridays", "utcSaturday", "utcSaturdays", "utcMonth", "utcMonths", "utcYear", "utcYears", "timeFormatDefaultLocale", "timeFormat", "timeParse", "utcFormat", "utcParse", "timeFormatLocale", "isoFormat", "isoParse", "now", "timer", "timerFlush", "timeout", "interval", "transition", "active", "interrupt", "voronoi", "zoom", "zoomTransform", "zoomIdentity" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./node_modules/dagre-d3/lib/d3.js (referenced with cjs require)" ], "depth": 2, "source": "export {version} from \"./dist/package.js\";\nexport * from \"d3-array\";\nexport * from \"d3-axis\";\nexport * from \"d3-brush\";\nexport * from \"d3-chord\";\nexport * from \"d3-collection\";\nexport * from \"d3-color\";\nexport * from \"d3-contour\";\nexport * from \"d3-dispatch\";\nexport * from \"d3-drag\";\nexport * from \"d3-dsv\";\nexport * from \"d3-ease\";\nexport * from \"d3-fetch\";\nexport * from \"d3-force\";\nexport * from \"d3-format\";\nexport * from \"d3-geo\";\nexport * from \"d3-hierarchy\";\nexport * from \"d3-interpolate\";\nexport * from \"d3-path\";\nexport * from \"d3-polygon\";\nexport * from \"d3-quadtree\";\nexport * from \"d3-random\";\nexport * from \"d3-scale\";\nexport * from \"d3-scale-chromatic\";\nexport * from \"d3-selection\";\nexport * from \"d3-shape\";\nexport * from \"d3-time\";\nexport * from \"d3-time-format\";\nexport * from \"d3-timer\";\nexport * from \"d3-transition\";\nexport * from \"d3-voronoi\";\nexport * from \"d3-zoom\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/dist/package.js", "name": "./node_modules/d3/dist/package.js", "index": 4, "index2": 1, "size": 2149, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "./dist/package.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "./dist/package.js", "loc": "1:0-42" } ], "usedExports": [ "version" ], "providedExports": [ "name", "version", "description", "keywords", "homepage", "license", "author", "main", "unpkg", "jsdelivr", "module", "repository", "files", "scripts", "devDependencies", "dependencies" ], "optimizationBailout": [], "depth": 3, "source": "export var name = \"d3\";\nexport var version = \"5.15.0\";\nexport var description = \"Data-Driven Documents\";\nexport var keywords = [\"dom\",\"visualization\",\"svg\",\"animation\",\"canvas\"];\nexport var homepage = \"https://d3js.org\";\nexport var license = \"BSD-3-Clause\";\nexport var author = {\"name\":\"Mike Bostock\",\"url\":\"https://bost.ocks.org/mike\"};\nexport var main = \"dist/d3.node.js\";\nexport var unpkg = \"dist/d3.min.js\";\nexport var jsdelivr = \"dist/d3.min.js\";\nexport var module = \"index.js\";\nexport var repository = {\"type\":\"git\",\"url\":\"https://github.com/d3/d3.git\"};\nexport var files = [\"dist/**/*.js\",\"index.js\"];\nexport var scripts = {\"pretest\":\"rimraf dist && mkdir dist && json2module package.json > dist/package.js && rollup -c\",\"test\":\"tape 'test/**/*-test.js'\",\"prepublishOnly\":\"yarn test\",\"postpublish\":\"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/dist/d3.js d3.v5.js && cp ../d3/dist/d3.min.js d3.v5.min.js && git add d3.v5.js d3.v5.min.js && git commit -m \\\"d3 ${npm_package_version}\\\" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/dist/d3.js ../d3/dist/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m \\\"${npm_package_version}\\\" && git tag -am \\\"${npm_package_version}\\\" v${npm_package_version} && git push && git push --tags && cd - && zip -j dist/d3.zip -- LICENSE README.md API.md CHANGES.md dist/d3.js dist/d3.min.js\"};\nexport var devDependencies = {\"json2module\":\"0.0\",\"rimraf\":\"2\",\"rollup\":\"1\",\"rollup-plugin-ascii\":\"0.0\",\"rollup-plugin-node-resolve\":\"3\",\"rollup-plugin-terser\":\"5\",\"tape\":\"4\"};\nexport var dependencies = {\"d3-array\":\"1\",\"d3-axis\":\"1\",\"d3-brush\":\"1\",\"d3-chord\":\"1\",\"d3-collection\":\"1\",\"d3-color\":\"1\",\"d3-contour\":\"1\",\"d3-dispatch\":\"1\",\"d3-drag\":\"1\",\"d3-dsv\":\"1\",\"d3-ease\":\"1\",\"d3-fetch\":\"1\",\"d3-force\":\"1\",\"d3-format\":\"1\",\"d3-geo\":\"1\",\"d3-hierarchy\":\"1\",\"d3-interpolate\":\"1\",\"d3-path\":\"1\",\"d3-polygon\":\"1\",\"d3-quadtree\":\"1\",\"d3-random\":\"1\",\"d3-scale\":\"2\",\"d3-scale-chromatic\":\"1\",\"d3-selection\":\"1\",\"d3-shape\":\"1\",\"d3-time\":\"1\",\"d3-time-format\":\"2\",\"d3-timer\":\"1\",\"d3-transition\":\"1\",\"d3-voronoi\":\"1\",\"d3-zoom\":\"1\"};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "index": 5, "index2": 33, "size": 1321, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "2:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-array", "loc": "2:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "5:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "5:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "5:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "5:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "10:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "10:45-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "11:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "12:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "14:40-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "15:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "17:16-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "19:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "22:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "26:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "27:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "28:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "29:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "29:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "31:18-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "32:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "34:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "34:16-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "39:13-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "39:19-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "40:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "40:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "41:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "43:13-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "52:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "57:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "58:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "59:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "78:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "80:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "87:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "96:32-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "106:10-15" } ], "usedExports": [ "tickStep", "bisect", "ticks", "tickIncrement", "ascending", "bisector", "quantile", "range", "max", "thresholdSturges", "extent", "min", "bisectRight", "bisectLeft", "cross", "descending", "deviation", "histogram", "thresholdFreedmanDiaconis", "thresholdScott", "mean", "median", "merge", "pairs", "permute", "scan", "shuffle", "sum", "transpose", "variance", "zip" ], "providedExports": [ "bisect", "bisectRight", "bisectLeft", "ascending", "bisector", "cross", "descending", "deviation", "extent", "histogram", "thresholdFreedmanDiaconis", "thresholdScott", "thresholdSturges", "max", "mean", "median", "merge", "min", "pairs", "permute", "quantile", "range", "scan", "shuffle", "sum", "ticks", "tickIncrement", "tickStep", "transpose", "variance", "zip" ], "optimizationBailout": [], "depth": 3, "source": "export {default as bisect, bisectRight, bisectLeft} from \"./bisect\";\nexport {default as ascending} from \"./ascending\";\nexport {default as bisector} from \"./bisector\";\nexport {default as cross} from \"./cross\";\nexport {default as descending} from \"./descending\";\nexport {default as deviation} from \"./deviation\";\nexport {default as extent} from \"./extent\";\nexport {default as histogram} from \"./histogram\";\nexport {default as thresholdFreedmanDiaconis} from \"./threshold/freedmanDiaconis\";\nexport {default as thresholdScott} from \"./threshold/scott\";\nexport {default as thresholdSturges} from \"./threshold/sturges\";\nexport {default as max} from \"./max\";\nexport {default as mean} from \"./mean\";\nexport {default as median} from \"./median\";\nexport {default as merge} from \"./merge\";\nexport {default as min} from \"./min\";\nexport {default as pairs} from \"./pairs\";\nexport {default as permute} from \"./permute\";\nexport {default as quantile} from \"./quantile\";\nexport {default as range} from \"./range\";\nexport {default as scan} from \"./scan\";\nexport {default as shuffle} from \"./shuffle\";\nexport {default as sum} from \"./sum\";\nexport {default as ticks, tickIncrement, tickStep} from \"./ticks\";\nexport {default as transpose} from \"./transpose\";\nexport {default as variance} from \"./variance\";\nexport {default as zip} from \"./zip\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "name": "./node_modules/d3-axis/src/index.js", "index": 37, "index2": 37, "size": 75, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-axis", "loc": "3:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-axis", "loc": "3:0-24" } ], "usedExports": [ "axisBottom", "axisTop", "axisRight", "axisLeft" ], "providedExports": [ "axisTop", "axisRight", "axisBottom", "axisLeft" ], "optimizationBailout": [], "depth": 3, "source": "export {\n axisTop,\n axisRight,\n axisBottom,\n axisLeft\n} from \"./axis\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "index": 43, "index2": 122, "size": 192, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "d3-transition", "loc": "5:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "d3-transition", "loc": "5:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-transition", "loc": "30:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-transition", "loc": "30:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "d3-transition", "loc": "236:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "d3-transition", "loc": "248:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "d3-transition", "loc": "261:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "d3-transition", "loc": "313:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "d3-transition", "loc": "390:4-13" } ], "usedExports": [ "interrupt", "transition", "active" ], "providedExports": [ "transition", "active", "interrupt" ], "optimizationBailout": [], "depth": 3, "source": "import \"./selection/index.js\";\nexport {default as transition} from \"./transition/index.js\";\nexport {default as active} from \"./active.js\";\nexport {default as interrupt} from \"./interrupt.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "name": "./node_modules/d3-brush/src/index.js", "index": 41, "index2": 139, "size": 87, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-brush", "loc": "4:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-brush", "loc": "4:0-25" } ], "usedExports": [ "brush", "brushX", "brushY", "brushSelection" ], "providedExports": [ "brush", "brushX", "brushY", "brushSelection" ], "optimizationBailout": [], "depth": 3, "source": "export {\n default as brush,\n brushX,\n brushY,\n brushSelection\n} from \"./brush.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "index": 143, "index2": 146, "size": 86, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-chord", "loc": "5:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-chord", "loc": "5:0-25" } ], "usedExports": [ "chord", "ribbon" ], "providedExports": [ "chord", "ribbon" ], "optimizationBailout": [], "depth": 3, "source": "export {default as chord} from \"./chord\";\nexport {default as ribbon} from \"./ribbon\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "index": 150, "index2": 153, "size": 246, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony side effect evaluation", "userRequest": "d3-collection", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony side effect evaluation", "userRequest": "d3-collection", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony side effect evaluation", "userRequest": "d3-collection", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-collection", "loc": "6:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-collection", "loc": "6:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony import specifier", "userRequest": "d3-collection", "loc": "8:14-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony import specifier", "userRequest": "d3-collection", "loc": "23:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony import specifier", "userRequest": "d3-collection", "loc": "24:25-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "d3-collection", "loc": "55:19-22" } ], "usedExports": [ "map", "entries", "nest", "set", "keys", "values" ], "providedExports": [ "nest", "set", "map", "keys", "values", "entries" ], "optimizationBailout": [], "depth": 3, "source": "export {default as nest} from \"./nest\";\nexport {default as set} from \"./set\";\nexport {default as map} from \"./map\";\nexport {default as keys} from \"./keys\";\nexport {default as values} from \"./values\";\nexport {default as entries} from \"./entries\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "index": 157, "index2": 157, "size": 165, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "7:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-color", "loc": "7:0-25" } ], "usedExports": [ "color", "rgb", "hsl", "lab", "hcl", "lch", "gray", "cubehelix" ], "providedExports": [ "color", "rgb", "hsl", "lab", "hcl", "lch", "gray", "cubehelix" ], "optimizationBailout": [], "depth": 3, "source": "export {default as color, rgb, hsl} from \"./color.js\";\nexport {default as lab, hcl, lch, gray} from \"./lab.js\";\nexport {default as cubehelix} from \"./cubehelix.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "index": 161, "index2": 167, "size": 101, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-contour", "loc": "8:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-contour", "loc": "8:0-27" } ], "usedExports": [ "contours", "contourDensity" ], "providedExports": [ "contours", "contourDensity" ], "optimizationBailout": [], "depth": 3, "source": "export {default as contours} from \"./contours\";\nexport {default as contourDensity} from \"./density\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/index.js", "name": "./node_modules/d3-dispatch/src/index.js", "index": 171, "index2": 168, "size": 51, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "9:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-dispatch", "loc": "9:0-28" } ], "usedExports": [ "dispatch" ], "providedExports": [ "dispatch" ], "optimizationBailout": [], "depth": 3, "source": "export {default as dispatch} from \"./dispatch.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "index": 172, "index2": 172, "size": 118, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "d3-drag", "loc": "2:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "d3-drag", "loc": "2:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-drag", "loc": "10:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-drag", "loc": "10:0-24" } ], "usedExports": [ "drag", "dragDisable", "dragEnable" ], "providedExports": [ "drag", "dragDisable", "dragEnable" ], "optimizationBailout": [], "depth": 3, "source": "export {default as drag} from \"./drag.js\";\nexport {default as dragDisable, yesdrag as dragEnable} from \"./nodrag.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "name": "./node_modules/d3-dsv/src/index.js", "index": 176, "index2": 177, "size": 338, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony side effect evaluation", "userRequest": "d3-dsv", "loc": "1:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-dsv", "loc": "11:0-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-dsv", "loc": "11:0-23" } ], "usedExports": [ "dsvFormat", "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue", "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue", "autoType" ], "providedExports": [ "dsvFormat", "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue", "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue", "autoType" ], "optimizationBailout": [], "depth": 3, "source": "export {default as dsvFormat} from \"./dsv.js\";\nexport {csvParse, csvParseRows, csvFormat, csvFormatBody, csvFormatRows, csvFormatRow, csvFormatValue} from \"./csv.js\";\nexport {tsvParse, tsvParseRows, tsvFormat, tsvFormatBody, tsvFormatRows, tsvFormatRow, tsvFormatValue} from \"./tsv.js\";\nexport {default as autoType} from \"./autoType.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "index": 181, "index2": 187, "size": 1310, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony side effect evaluation", "userRequest": "d3-ease", "loc": "3:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-ease", "loc": "12:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-ease", "loc": "12:0-24" } ], "usedExports": [ "easeLinear", "easeQuad", "easeQuadIn", "easeQuadOut", "easeQuadInOut", "easeCubic", "easeCubicIn", "easeCubicOut", "easeCubicInOut", "easePoly", "easePolyIn", "easePolyOut", "easePolyInOut", "easeSin", "easeSinIn", "easeSinOut", "easeSinInOut", "easeExp", "easeExpIn", "easeExpOut", "easeExpInOut", "easeCircle", "easeCircleIn", "easeCircleOut", "easeCircleInOut", "easeBounce", "easeBounceIn", "easeBounceOut", "easeBounceInOut", "easeBack", "easeBackIn", "easeBackOut", "easeBackInOut", "easeElastic", "easeElasticIn", "easeElasticOut", "easeElasticInOut" ], "providedExports": [ "easeLinear", "easeQuad", "easeQuadIn", "easeQuadOut", "easeQuadInOut", "easeCubic", "easeCubicIn", "easeCubicOut", "easeCubicInOut", "easePoly", "easePolyIn", "easePolyOut", "easePolyInOut", "easeSin", "easeSinIn", "easeSinOut", "easeSinInOut", "easeExp", "easeExpIn", "easeExpOut", "easeExpInOut", "easeCircle", "easeCircleIn", "easeCircleOut", "easeCircleInOut", "easeBounce", "easeBounceIn", "easeBounceOut", "easeBounceInOut", "easeBack", "easeBackIn", "easeBackOut", "easeBackInOut", "easeElastic", "easeElasticIn", "easeElasticOut", "easeElasticInOut" ], "optimizationBailout": [], "depth": 3, "source": "export {\n linear as easeLinear\n} from \"./linear.js\";\n\nexport {\n quadInOut as easeQuad,\n quadIn as easeQuadIn,\n quadOut as easeQuadOut,\n quadInOut as easeQuadInOut\n} from \"./quad.js\";\n\nexport {\n cubicInOut as easeCubic,\n cubicIn as easeCubicIn,\n cubicOut as easeCubicOut,\n cubicInOut as easeCubicInOut\n} from \"./cubic.js\";\n\nexport {\n polyInOut as easePoly,\n polyIn as easePolyIn,\n polyOut as easePolyOut,\n polyInOut as easePolyInOut\n} from \"./poly.js\";\n\nexport {\n sinInOut as easeSin,\n sinIn as easeSinIn,\n sinOut as easeSinOut,\n sinInOut as easeSinInOut\n} from \"./sin.js\";\n\nexport {\n expInOut as easeExp,\n expIn as easeExpIn,\n expOut as easeExpOut,\n expInOut as easeExpInOut\n} from \"./exp.js\";\n\nexport {\n circleInOut as easeCircle,\n circleIn as easeCircleIn,\n circleOut as easeCircleOut,\n circleInOut as easeCircleInOut\n} from \"./circle.js\";\n\nexport {\n bounceOut as easeBounce,\n bounceIn as easeBounceIn,\n bounceOut as easeBounceOut,\n bounceInOut as easeBounceInOut\n} from \"./bounce.js\";\n\nexport {\n backInOut as easeBack,\n backIn as easeBackIn,\n backOut as easeBackOut,\n backInOut as easeBackInOut\n} from \"./back.js\";\n\nexport {\n elasticOut as easeElastic,\n elasticIn as easeElasticIn,\n elasticOut as easeElasticOut,\n elasticInOut as easeElasticInOut\n} from \"./elastic.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "index": 191, "index2": 195, "size": 303, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-fetch", "loc": "13:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-fetch", "loc": "13:0-25" } ], "usedExports": [ "blob", "buffer", "dsv", "csv", "tsv", "image", "json", "text", "xml", "html", "svg" ], "providedExports": [ "blob", "buffer", "dsv", "csv", "tsv", "image", "json", "text", "xml", "html", "svg" ], "optimizationBailout": [], "depth": 3, "source": "export {default as blob} from \"./blob\";\nexport {default as buffer} from \"./buffer\";\nexport {default as dsv, csv, tsv} from \"./dsv\";\nexport {default as image} from \"./image\";\nexport {default as json} from \"./json\";\nexport {default as text} from \"./text\";\nexport {default as xml, html, svg} from \"./xml\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "index": 199, "index2": 220, "size": 382, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-force", "loc": "14:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-force", "loc": "14:0-25" } ], "usedExports": [ "forceCenter", "forceCollide", "forceLink", "forceManyBody", "forceRadial", "forceSimulation", "forceX", "forceY" ], "providedExports": [ "forceCenter", "forceCollide", "forceLink", "forceManyBody", "forceRadial", "forceSimulation", "forceX", "forceY" ], "optimizationBailout": [], "depth": 3, "source": "export {default as forceCenter} from \"./center\";\nexport {default as forceCollide} from \"./collide\";\nexport {default as forceLink} from \"./link\";\nexport {default as forceManyBody} from \"./manyBody\";\nexport {default as forceRadial} from \"./radial\";\nexport {default as forceSimulation} from \"./simulation\";\nexport {default as forceX} from \"./x\";\nexport {default as forceY} from \"./y\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "index": 224, "index2": 236, "size": 415, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony side effect evaluation", "userRequest": "d3-format", "loc": "2:0-113" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony side effect evaluation", "userRequest": "d3-format", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-format", "loc": "15:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-format", "loc": "15:0-26" } ], "usedExports": [ "formatDefaultLocale", "format", "formatPrefix", "formatLocale", "formatSpecifier", "FormatSpecifier", "precisionFixed", "precisionPrefix", "precisionRound" ], "providedExports": [ "formatDefaultLocale", "format", "formatPrefix", "formatLocale", "formatSpecifier", "FormatSpecifier", "precisionFixed", "precisionPrefix", "precisionRound" ], "optimizationBailout": [], "depth": 3, "source": "export {default as formatDefaultLocale, format, formatPrefix} from \"./defaultLocale.js\";\nexport {default as formatLocale} from \"./locale.js\";\nexport {default as formatSpecifier, FormatSpecifier} from \"./formatSpecifier.js\";\nexport {default as precisionFixed} from \"./precisionFixed.js\";\nexport {default as precisionPrefix} from \"./precisionPrefix.js\";\nexport {default as precisionRound} from \"./precisionRound.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "index": 240, "index2": 295, "size": 2872, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-geo", "loc": "16:0-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-geo", "loc": "16:0-23" } ], "usedExports": [ "geoArea", "geoBounds", "geoCentroid", "geoCircle", "geoClipAntimeridian", "geoClipCircle", "geoClipExtent", "geoClipRectangle", "geoContains", "geoDistance", "geoGraticule", "geoGraticule10", "geoInterpolate", "geoLength", "geoPath", "geoAlbers", "geoAlbersUsa", "geoAzimuthalEqualArea", "geoAzimuthalEqualAreaRaw", "geoAzimuthalEquidistant", "geoAzimuthalEquidistantRaw", "geoConicConformal", "geoConicConformalRaw", "geoConicEqualArea", "geoConicEqualAreaRaw", "geoConicEquidistant", "geoConicEquidistantRaw", "geoEqualEarth", "geoEqualEarthRaw", "geoEquirectangular", "geoEquirectangularRaw", "geoGnomonic", "geoGnomonicRaw", "geoIdentity", "geoProjection", "geoProjectionMutator", "geoMercator", "geoMercatorRaw", "geoNaturalEarth1", "geoNaturalEarth1Raw", "geoOrthographic", "geoOrthographicRaw", "geoStereographic", "geoStereographicRaw", "geoTransverseMercator", "geoTransverseMercatorRaw", "geoRotation", "geoStream", "geoTransform" ], "providedExports": [ "geoArea", "geoBounds", "geoCentroid", "geoCircle", "geoClipAntimeridian", "geoClipCircle", "geoClipExtent", "geoClipRectangle", "geoContains", "geoDistance", "geoGraticule", "geoGraticule10", "geoInterpolate", "geoLength", "geoPath", "geoAlbers", "geoAlbersUsa", "geoAzimuthalEqualArea", "geoAzimuthalEqualAreaRaw", "geoAzimuthalEquidistant", "geoAzimuthalEquidistantRaw", "geoConicConformal", "geoConicConformalRaw", "geoConicEqualArea", "geoConicEqualAreaRaw", "geoConicEquidistant", "geoConicEquidistantRaw", "geoEqualEarth", "geoEqualEarthRaw", "geoEquirectangular", "geoEquirectangularRaw", "geoGnomonic", "geoGnomonicRaw", "geoIdentity", "geoProjection", "geoProjectionMutator", "geoMercator", "geoMercatorRaw", "geoNaturalEarth1", "geoNaturalEarth1Raw", "geoOrthographic", "geoOrthographicRaw", "geoStereographic", "geoStereographicRaw", "geoTransverseMercator", "geoTransverseMercatorRaw", "geoRotation", "geoStream", "geoTransform" ], "optimizationBailout": [], "depth": 3, "source": "export {default as geoArea} from \"./area.js\";\nexport {default as geoBounds} from \"./bounds.js\";\nexport {default as geoCentroid} from \"./centroid.js\";\nexport {default as geoCircle} from \"./circle.js\";\nexport {default as geoClipAntimeridian} from \"./clip/antimeridian.js\";\nexport {default as geoClipCircle} from \"./clip/circle.js\";\nexport {default as geoClipExtent} from \"./clip/extent.js\"; // DEPRECATED! Use d3.geoIdentity().clipExtent(…).\nexport {default as geoClipRectangle} from \"./clip/rectangle.js\";\nexport {default as geoContains} from \"./contains.js\";\nexport {default as geoDistance} from \"./distance.js\";\nexport {default as geoGraticule, graticule10 as geoGraticule10} from \"./graticule.js\";\nexport {default as geoInterpolate} from \"./interpolate.js\";\nexport {default as geoLength} from \"./length.js\";\nexport {default as geoPath} from \"./path/index.js\";\nexport {default as geoAlbers} from \"./projection/albers.js\";\nexport {default as geoAlbersUsa} from \"./projection/albersUsa.js\";\nexport {default as geoAzimuthalEqualArea, azimuthalEqualAreaRaw as geoAzimuthalEqualAreaRaw} from \"./projection/azimuthalEqualArea.js\";\nexport {default as geoAzimuthalEquidistant, azimuthalEquidistantRaw as geoAzimuthalEquidistantRaw} from \"./projection/azimuthalEquidistant.js\";\nexport {default as geoConicConformal, conicConformalRaw as geoConicConformalRaw} from \"./projection/conicConformal.js\";\nexport {default as geoConicEqualArea, conicEqualAreaRaw as geoConicEqualAreaRaw} from \"./projection/conicEqualArea.js\";\nexport {default as geoConicEquidistant, conicEquidistantRaw as geoConicEquidistantRaw} from \"./projection/conicEquidistant.js\";\nexport {default as geoEqualEarth, equalEarthRaw as geoEqualEarthRaw} from \"./projection/equalEarth.js\";\nexport {default as geoEquirectangular, equirectangularRaw as geoEquirectangularRaw} from \"./projection/equirectangular.js\";\nexport {default as geoGnomonic, gnomonicRaw as geoGnomonicRaw} from \"./projection/gnomonic.js\";\nexport {default as geoIdentity} from \"./projection/identity.js\";\nexport {default as geoProjection, projectionMutator as geoProjectionMutator} from \"./projection/index.js\";\nexport {default as geoMercator, mercatorRaw as geoMercatorRaw} from \"./projection/mercator.js\";\nexport {default as geoNaturalEarth1, naturalEarth1Raw as geoNaturalEarth1Raw} from \"./projection/naturalEarth1.js\";\nexport {default as geoOrthographic, orthographicRaw as geoOrthographicRaw} from \"./projection/orthographic.js\";\nexport {default as geoStereographic, stereographicRaw as geoStereographicRaw} from \"./projection/stereographic.js\";\nexport {default as geoTransverseMercator, transverseMercatorRaw as geoTransverseMercatorRaw} from \"./projection/transverseMercator.js\";\nexport {default as geoRotation} from \"./rotation.js\";\nexport {default as geoStream} from \"./stream.js\";\nexport {default as geoTransform} from \"./transform.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "index": 299, "index2": 326, "size": 861, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-hierarchy", "loc": "17:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-hierarchy", "loc": "17:0-29" } ], "usedExports": [ "cluster", "hierarchy", "pack", "packSiblings", "packEnclose", "partition", "stratify", "tree", "treemap", "treemapBinary", "treemapDice", "treemapSlice", "treemapSliceDice", "treemapSquarify", "treemapResquarify" ], "providedExports": [ "cluster", "hierarchy", "pack", "packSiblings", "packEnclose", "partition", "stratify", "tree", "treemap", "treemapBinary", "treemapDice", "treemapSlice", "treemapSliceDice", "treemapSquarify", "treemapResquarify" ], "optimizationBailout": [], "depth": 3, "source": "export {default as cluster} from \"./cluster.js\";\nexport {default as hierarchy} from \"./hierarchy/index.js\";\nexport {default as pack} from \"./pack/index.js\";\nexport {default as packSiblings} from \"./pack/siblings.js\";\nexport {default as packEnclose} from \"./pack/enclose.js\";\nexport {default as partition} from \"./partition.js\";\nexport {default as stratify} from \"./stratify.js\";\nexport {default as tree} from \"./tree.js\";\nexport {default as treemap} from \"./treemap/index.js\";\nexport {default as treemapBinary} from \"./treemap/binary.js\";\nexport {default as treemapDice} from \"./treemap/dice.js\";\nexport {default as treemapSlice} from \"./treemap/slice.js\";\nexport {default as treemapSliceDice} from \"./treemap/sliceDice.js\";\nexport {default as treemapSquarify} from \"./treemap/squarify.js\";\nexport {default as treemapResquarify} from \"./treemap/resquarify.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "index": 330, "index2": 337, "size": 1397, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "1:0-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "1:0-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/ramp.js", "module": "./node_modules/d3-scale-chromatic/src/ramp.js", "moduleName": "./node_modules/d3-scale-chromatic/src/ramp.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "2:0-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "2:0-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "18:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-interpolate", "loc": "18:0-31" } ], "usedExports": [ "interpolateHcl", "interpolate", "interpolateArray", "interpolateBasis", "interpolateBasisClosed", "interpolateDate", "interpolateDiscrete", "interpolateHue", "interpolateNumber", "interpolateNumberArray", "interpolateObject", "interpolateRound", "interpolateString", "interpolateTransformCss", "interpolateTransformSvg", "interpolateZoom", "interpolateRgb", "interpolateRgbBasis", "interpolateRgbBasisClosed", "interpolateHsl", "interpolateHslLong", "interpolateLab", "interpolateHclLong", "interpolateCubehelix", "interpolateCubehelixLong", "piecewise", "quantize" ], "providedExports": [ "interpolate", "interpolateArray", "interpolateBasis", "interpolateBasisClosed", "interpolateDate", "interpolateDiscrete", "interpolateHue", "interpolateNumber", "interpolateNumberArray", "interpolateObject", "interpolateRound", "interpolateString", "interpolateTransformCss", "interpolateTransformSvg", "interpolateZoom", "interpolateRgb", "interpolateRgbBasis", "interpolateRgbBasisClosed", "interpolateHsl", "interpolateHslLong", "interpolateLab", "interpolateHcl", "interpolateHclLong", "interpolateCubehelix", "interpolateCubehelixLong", "piecewise", "quantize" ], "optimizationBailout": [], "depth": 3, "source": "export {default as interpolate} from \"./value.js\";\nexport {default as interpolateArray} from \"./array.js\";\nexport {default as interpolateBasis} from \"./basis.js\";\nexport {default as interpolateBasisClosed} from \"./basisClosed.js\";\nexport {default as interpolateDate} from \"./date.js\";\nexport {default as interpolateDiscrete} from \"./discrete.js\";\nexport {default as interpolateHue} from \"./hue.js\";\nexport {default as interpolateNumber} from \"./number.js\";\nexport {default as interpolateNumberArray} from \"./numberArray.js\";\nexport {default as interpolateObject} from \"./object.js\";\nexport {default as interpolateRound} from \"./round.js\";\nexport {default as interpolateString} from \"./string.js\";\nexport {interpolateTransformCss, interpolateTransformSvg} from \"./transform/index.js\";\nexport {default as interpolateZoom} from \"./zoom.js\";\nexport {default as interpolateRgb, rgbBasis as interpolateRgbBasis, rgbBasisClosed as interpolateRgbBasisClosed} from \"./rgb.js\";\nexport {default as interpolateHsl, hslLong as interpolateHslLong} from \"./hsl.js\";\nexport {default as interpolateLab} from \"./lab.js\";\nexport {default as interpolateHcl, hclLong as interpolateHclLong} from \"./hcl.js\";\nexport {default as interpolateCubehelix, cubehelixLong as interpolateCubehelixLong} from \"./cubehelix.js\";\nexport {default as piecewise} from \"./piecewise.js\";\nexport {default as quantize} from \"./quantize.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/index.js", "name": "./node_modules/d3-path/src/index.js", "index": 341, "index2": 338, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "4:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "19:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-path", "loc": "19:0-24" } ], "usedExports": [ "path" ], "providedExports": [ "path" ], "optimizationBailout": [], "depth": 3, "source": "export {default as path} from \"./path.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "index": 342, "index2": 345, "size": 270, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-polygon", "loc": "20:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-polygon", "loc": "20:0-27" } ], "usedExports": [ "polygonArea", "polygonCentroid", "polygonHull", "polygonContains", "polygonLength" ], "providedExports": [ "polygonArea", "polygonCentroid", "polygonHull", "polygonContains", "polygonLength" ], "optimizationBailout": [], "depth": 3, "source": "export {default as polygonArea} from \"./area.js\";\nexport {default as polygonCentroid} from \"./centroid.js\";\nexport {default as polygonHull} from \"./hull.js\";\nexport {default as polygonContains} from \"./contains.js\";\nexport {default as polygonLength} from \"./length.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "index": 349, "index2": 346, "size": 51, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony side effect evaluation", "userRequest": "d3-quadtree", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony side effect evaluation", "userRequest": "d3-quadtree", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-quadtree", "loc": "21:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-quadtree", "loc": "21:0-28" } ], "usedExports": [ "quadtree" ], "providedExports": [ "quadtree" ], "optimizationBailout": [], "depth": 3, "source": "export {default as quadtree} from \"./quadtree.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "index": 350, "index2": 354, "size": 322, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-random", "loc": "22:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-random", "loc": "22:0-26" } ], "usedExports": [ "randomUniform", "randomNormal", "randomLogNormal", "randomBates", "randomIrwinHall", "randomExponential" ], "providedExports": [ "randomUniform", "randomNormal", "randomLogNormal", "randomBates", "randomIrwinHall", "randomExponential" ], "optimizationBailout": [], "depth": 3, "source": "export {default as randomUniform} from \"./uniform\";\nexport {default as randomNormal} from \"./normal\";\nexport {default as randomLogNormal} from \"./logNormal\";\nexport {default as randomBates} from \"./bates\";\nexport {default as randomIrwinHall} from \"./irwinHall\";\nexport {default as randomExponential} from \"./exponential\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "index": 358, "index2": 395, "size": 1295, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-scale", "loc": "23:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-scale", "loc": "23:0-25" } ], "usedExports": [ "scaleOrdinal", "scaleTime", "scaleLinear", "scaleBand", "scalePoint", "scaleIdentity", "scaleLog", "scaleSymlog", "scaleImplicit", "scalePow", "scaleSqrt", "scaleQuantile", "scaleQuantize", "scaleThreshold", "scaleUtc", "scaleSequential", "scaleSequentialLog", "scaleSequentialPow", "scaleSequentialSqrt", "scaleSequentialSymlog", "scaleSequentialQuantile", "scaleDiverging", "scaleDivergingLog", "scaleDivergingPow", "scaleDivergingSqrt", "scaleDivergingSymlog", "tickFormat" ], "providedExports": [ "scaleBand", "scalePoint", "scaleIdentity", "scaleLinear", "scaleLog", "scaleSymlog", "scaleOrdinal", "scaleImplicit", "scalePow", "scaleSqrt", "scaleQuantile", "scaleQuantize", "scaleThreshold", "scaleTime", "scaleUtc", "scaleSequential", "scaleSequentialLog", "scaleSequentialPow", "scaleSequentialSqrt", "scaleSequentialSymlog", "scaleSequentialQuantile", "scaleDiverging", "scaleDivergingLog", "scaleDivergingPow", "scaleDivergingSqrt", "scaleDivergingSymlog", "tickFormat" ], "optimizationBailout": [], "depth": 3, "source": "export {\n default as scaleBand,\n point as scalePoint\n} from \"./band\";\n\nexport {\n default as scaleIdentity\n} from \"./identity\";\n\nexport {\n default as scaleLinear\n} from \"./linear\";\n\nexport {\n default as scaleLog\n} from \"./log\";\n\nexport {\n default as scaleSymlog\n} from \"./symlog\";\n\nexport {\n default as scaleOrdinal,\n implicit as scaleImplicit\n} from \"./ordinal\";\n\nexport {\n default as scalePow,\n sqrt as scaleSqrt\n} from \"./pow\";\n\nexport {\n default as scaleQuantile\n} from \"./quantile\";\n\nexport {\n default as scaleQuantize\n} from \"./quantize\";\n\nexport {\n default as scaleThreshold\n} from \"./threshold\";\n\nexport {\n default as scaleTime\n} from \"./time\";\n\nexport {\n default as scaleUtc\n} from \"./utcTime\";\n\nexport {\n default as scaleSequential,\n sequentialLog as scaleSequentialLog,\n sequentialPow as scaleSequentialPow,\n sequentialSqrt as scaleSequentialSqrt,\n sequentialSymlog as scaleSequentialSymlog\n} from \"./sequential\";\n\nexport {\n default as scaleSequentialQuantile\n} from \"./sequentialQuantile\";\n\nexport {\n default as scaleDiverging,\n divergingLog as scaleDivergingLog,\n divergingPow as scaleDivergingPow,\n divergingSqrt as scaleDivergingSqrt,\n divergingSymlog as scaleDivergingSymlog\n} from \"./diverging\";\n\nexport {\n default as tickFormat\n} from \"./tickFormat\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "index": 399, "index2": 441, "size": 3792, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-scale-chromatic", "loc": "24:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-scale-chromatic", "loc": "24:0-35" } ], "usedExports": [ "schemeSet2", "schemeCategory10", "schemeAccent", "schemeDark2", "schemePaired", "schemePastel1", "schemePastel2", "schemeSet1", "schemeSet3", "schemeTableau10", "interpolateBrBG", "schemeBrBG", "interpolatePRGn", "schemePRGn", "interpolatePiYG", "schemePiYG", "interpolatePuOr", "schemePuOr", "interpolateRdBu", "schemeRdBu", "interpolateRdGy", "schemeRdGy", "interpolateRdYlBu", "schemeRdYlBu", "interpolateRdYlGn", "schemeRdYlGn", "interpolateSpectral", "schemeSpectral", "interpolateBuGn", "schemeBuGn", "interpolateBuPu", "schemeBuPu", "interpolateGnBu", "schemeGnBu", "interpolateOrRd", "schemeOrRd", "interpolatePuBuGn", "schemePuBuGn", "interpolatePuBu", "schemePuBu", "interpolatePuRd", "schemePuRd", "interpolateRdPu", "schemeRdPu", "interpolateYlGnBu", "schemeYlGnBu", "interpolateYlGn", "schemeYlGn", "interpolateYlOrBr", "schemeYlOrBr", "interpolateYlOrRd", "schemeYlOrRd", "interpolateBlues", "schemeBlues", "interpolateGreens", "schemeGreens", "interpolateGreys", "schemeGreys", "interpolatePurples", "schemePurples", "interpolateReds", "schemeReds", "interpolateOranges", "schemeOranges", "interpolateCividis", "interpolateCubehelixDefault", "interpolateRainbow", "interpolateWarm", "interpolateCool", "interpolateSinebow", "interpolateTurbo", "interpolateViridis", "interpolateMagma", "interpolateInferno", "interpolatePlasma" ], "providedExports": [ "schemeCategory10", "schemeAccent", "schemeDark2", "schemePaired", "schemePastel1", "schemePastel2", "schemeSet1", "schemeSet2", "schemeSet3", "schemeTableau10", "interpolateBrBG", "schemeBrBG", "interpolatePRGn", "schemePRGn", "interpolatePiYG", "schemePiYG", "interpolatePuOr", "schemePuOr", "interpolateRdBu", "schemeRdBu", "interpolateRdGy", "schemeRdGy", "interpolateRdYlBu", "schemeRdYlBu", "interpolateRdYlGn", "schemeRdYlGn", "interpolateSpectral", "schemeSpectral", "interpolateBuGn", "schemeBuGn", "interpolateBuPu", "schemeBuPu", "interpolateGnBu", "schemeGnBu", "interpolateOrRd", "schemeOrRd", "interpolatePuBuGn", "schemePuBuGn", "interpolatePuBu", "schemePuBu", "interpolatePuRd", "schemePuRd", "interpolateRdPu", "schemeRdPu", "interpolateYlGnBu", "schemeYlGnBu", "interpolateYlGn", "schemeYlGn", "interpolateYlOrBr", "schemeYlOrBr", "interpolateYlOrRd", "schemeYlOrRd", "interpolateBlues", "schemeBlues", "interpolateGreens", "schemeGreens", "interpolateGreys", "schemeGreys", "interpolatePurples", "schemePurples", "interpolateReds", "schemeReds", "interpolateOranges", "schemeOranges", "interpolateCividis", "interpolateCubehelixDefault", "interpolateRainbow", "interpolateWarm", "interpolateCool", "interpolateSinebow", "interpolateTurbo", "interpolateViridis", "interpolateMagma", "interpolateInferno", "interpolatePlasma" ], "optimizationBailout": [], "depth": 3, "source": "export {default as schemeCategory10} from \"./categorical/category10.js\";\nexport {default as schemeAccent} from \"./categorical/Accent.js\";\nexport {default as schemeDark2} from \"./categorical/Dark2.js\";\nexport {default as schemePaired} from \"./categorical/Paired.js\";\nexport {default as schemePastel1} from \"./categorical/Pastel1.js\";\nexport {default as schemePastel2} from \"./categorical/Pastel2.js\";\nexport {default as schemeSet1} from \"./categorical/Set1.js\";\nexport {default as schemeSet2} from \"./categorical/Set2.js\";\nexport {default as schemeSet3} from \"./categorical/Set3.js\";\nexport {default as schemeTableau10} from \"./categorical/Tableau10.js\";\nexport {default as interpolateBrBG, scheme as schemeBrBG} from \"./diverging/BrBG.js\";\nexport {default as interpolatePRGn, scheme as schemePRGn} from \"./diverging/PRGn.js\";\nexport {default as interpolatePiYG, scheme as schemePiYG} from \"./diverging/PiYG.js\";\nexport {default as interpolatePuOr, scheme as schemePuOr} from \"./diverging/PuOr.js\";\nexport {default as interpolateRdBu, scheme as schemeRdBu} from \"./diverging/RdBu.js\";\nexport {default as interpolateRdGy, scheme as schemeRdGy} from \"./diverging/RdGy.js\";\nexport {default as interpolateRdYlBu, scheme as schemeRdYlBu} from \"./diverging/RdYlBu.js\";\nexport {default as interpolateRdYlGn, scheme as schemeRdYlGn} from \"./diverging/RdYlGn.js\";\nexport {default as interpolateSpectral, scheme as schemeSpectral} from \"./diverging/Spectral.js\";\nexport {default as interpolateBuGn, scheme as schemeBuGn} from \"./sequential-multi/BuGn.js\";\nexport {default as interpolateBuPu, scheme as schemeBuPu} from \"./sequential-multi/BuPu.js\";\nexport {default as interpolateGnBu, scheme as schemeGnBu} from \"./sequential-multi/GnBu.js\";\nexport {default as interpolateOrRd, scheme as schemeOrRd} from \"./sequential-multi/OrRd.js\";\nexport {default as interpolatePuBuGn, scheme as schemePuBuGn} from \"./sequential-multi/PuBuGn.js\";\nexport {default as interpolatePuBu, scheme as schemePuBu} from \"./sequential-multi/PuBu.js\";\nexport {default as interpolatePuRd, scheme as schemePuRd} from \"./sequential-multi/PuRd.js\";\nexport {default as interpolateRdPu, scheme as schemeRdPu} from \"./sequential-multi/RdPu.js\";\nexport {default as interpolateYlGnBu, scheme as schemeYlGnBu} from \"./sequential-multi/YlGnBu.js\";\nexport {default as interpolateYlGn, scheme as schemeYlGn} from \"./sequential-multi/YlGn.js\";\nexport {default as interpolateYlOrBr, scheme as schemeYlOrBr} from \"./sequential-multi/YlOrBr.js\";\nexport {default as interpolateYlOrRd, scheme as schemeYlOrRd} from \"./sequential-multi/YlOrRd.js\";\nexport {default as interpolateBlues, scheme as schemeBlues} from \"./sequential-single/Blues.js\";\nexport {default as interpolateGreens, scheme as schemeGreens} from \"./sequential-single/Greens.js\";\nexport {default as interpolateGreys, scheme as schemeGreys} from \"./sequential-single/Greys.js\";\nexport {default as interpolatePurples, scheme as schemePurples} from \"./sequential-single/Purples.js\";\nexport {default as interpolateReds, scheme as schemeReds} from \"./sequential-single/Reds.js\";\nexport {default as interpolateOranges, scheme as schemeOranges} from \"./sequential-single/Oranges.js\";\nexport {default as interpolateCividis} from \"./sequential-multi/cividis.js\";\nexport {default as interpolateCubehelixDefault} from \"./sequential-multi/cubehelix.js\";\nexport {default as interpolateRainbow, warm as interpolateWarm, cool as interpolateCool} from \"./sequential-multi/rainbow.js\";\nexport {default as interpolateSinebow} from \"./sequential-multi/sinebow.js\";\nexport {default as interpolateTurbo} from \"./sequential-multi/turbo.js\";\nexport {default as interpolateViridis, magma as interpolateMagma, inferno as interpolateInferno, plasma as interpolatePlasma} from \"./sequential-multi/viridis.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "index": 445, "index2": 446, "size": 860, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/noevent.js", "module": "./node_modules/d3-drag/src/noevent.js", "moduleName": "./node_modules/d3-drag/src/noevent.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/noevent.js", "module": "./node_modules/d3-zoom/src/noevent.js", "moduleName": "./node_modules/d3-zoom/src/noevent.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/noevent.js", "module": "./node_modules/d3-brush/src/noevent.js", "moduleName": "./node_modules/d3-brush/src/noevent.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selection.js", "module": "./node_modules/d3-transition/src/transition/selection.js", "moduleName": "./node_modules/d3-transition/src/transition/selection.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/filter.js", "module": "./node_modules/d3-transition/src/transition/filter.js", "moduleName": "./node_modules/d3-transition/src/transition/filter.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attrTween.js", "module": "./node_modules/d3-transition/src/transition/attrTween.js", "moduleName": "./node_modules/d3-transition/src/transition/attrTween.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "2:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "4:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "4:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "25:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-selection", "loc": "25:0-29" } ], "usedExports": [ "select", "selectAll", "create", "creator", "local", "matcher", "mouse", "namespace", "namespaces", "clientPoint", "selection", "selector", "selectorAll", "style", "touch", "touches", "window", "event", "customEvent" ], "providedExports": [ "create", "creator", "local", "matcher", "mouse", "namespace", "namespaces", "clientPoint", "select", "selectAll", "selection", "selector", "selectorAll", "style", "touch", "touches", "window", "event", "customEvent" ], "optimizationBailout": [], "depth": 3, "source": "export {default as create} from \"./create\";\nexport {default as creator} from \"./creator\";\nexport {default as local} from \"./local\";\nexport {default as matcher} from \"./matcher\";\nexport {default as mouse} from \"./mouse\";\nexport {default as namespace} from \"./namespace\";\nexport {default as namespaces} from \"./namespaces\";\nexport {default as clientPoint} from \"./point\";\nexport {default as select} from \"./select\";\nexport {default as selectAll} from \"./selectAll\";\nexport {default as selection} from \"./selection/index\";\nexport {default as selector} from \"./selector\";\nexport {default as selectorAll} from \"./selectorAll\";\nexport {styleValue as style} from \"./selection/style\";\nexport {default as touch} from \"./touch\";\nexport {default as touches} from \"./touches\";\nexport {default as window} from \"./window\";\nexport {event, customEvent} from \"./selection/on\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "index": 450, "index2": 498, "size": 2848, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-shape", "loc": "26:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-shape", "loc": "26:0-25" } ], "usedExports": [ "curveBasis", "curveBasisClosed", "curveBasisOpen", "curveLinear", "curveLinearClosed", "curveMonotoneX", "curveMonotoneY", "curveNatural", "curveStep", "curveStepAfter", "curveStepBefore", "arc", "line", "pie", "area", "areaRadial", "radialArea", "lineRadial", "radialLine", "pointRadial", "linkHorizontal", "linkVertical", "linkRadial", "symbol", "symbols", "symbolCircle", "symbolCross", "symbolDiamond", "symbolSquare", "symbolStar", "symbolTriangle", "symbolWye", "curveBundle", "curveCardinalClosed", "curveCardinalOpen", "curveCardinal", "curveCatmullRomClosed", "curveCatmullRomOpen", "curveCatmullRom", "stack", "stackOffsetExpand", "stackOffsetDiverging", "stackOffsetNone", "stackOffsetSilhouette", "stackOffsetWiggle", "stackOrderAppearance", "stackOrderAscending", "stackOrderDescending", "stackOrderInsideOut", "stackOrderNone", "stackOrderReverse" ], "providedExports": [ "arc", "area", "line", "pie", "areaRadial", "radialArea", "lineRadial", "radialLine", "pointRadial", "linkHorizontal", "linkVertical", "linkRadial", "symbol", "symbols", "symbolCircle", "symbolCross", "symbolDiamond", "symbolSquare", "symbolStar", "symbolTriangle", "symbolWye", "curveBasisClosed", "curveBasisOpen", "curveBasis", "curveBundle", "curveCardinalClosed", "curveCardinalOpen", "curveCardinal", "curveCatmullRomClosed", "curveCatmullRomOpen", "curveCatmullRom", "curveLinearClosed", "curveLinear", "curveMonotoneX", "curveMonotoneY", "curveNatural", "curveStep", "curveStepAfter", "curveStepBefore", "stack", "stackOffsetExpand", "stackOffsetDiverging", "stackOffsetNone", "stackOffsetSilhouette", "stackOffsetWiggle", "stackOrderAppearance", "stackOrderAscending", "stackOrderDescending", "stackOrderInsideOut", "stackOrderNone", "stackOrderReverse" ], "optimizationBailout": [], "depth": 3, "source": "export {default as arc} from \"./arc.js\";\nexport {default as area} from \"./area.js\";\nexport {default as line} from \"./line.js\";\nexport {default as pie} from \"./pie.js\";\nexport {default as areaRadial, default as radialArea} from \"./areaRadial.js\"; // Note: radialArea is deprecated!\nexport {default as lineRadial, default as radialLine} from \"./lineRadial.js\"; // Note: radialLine is deprecated!\nexport {default as pointRadial} from \"./pointRadial.js\";\nexport {linkHorizontal, linkVertical, linkRadial} from \"./link/index.js\";\n\nexport {default as symbol, symbols} from \"./symbol.js\";\nexport {default as symbolCircle} from \"./symbol/circle.js\";\nexport {default as symbolCross} from \"./symbol/cross.js\";\nexport {default as symbolDiamond} from \"./symbol/diamond.js\";\nexport {default as symbolSquare} from \"./symbol/square.js\";\nexport {default as symbolStar} from \"./symbol/star.js\";\nexport {default as symbolTriangle} from \"./symbol/triangle.js\";\nexport {default as symbolWye} from \"./symbol/wye.js\";\n\nexport {default as curveBasisClosed} from \"./curve/basisClosed.js\";\nexport {default as curveBasisOpen} from \"./curve/basisOpen.js\";\nexport {default as curveBasis} from \"./curve/basis.js\";\nexport {default as curveBundle} from \"./curve/bundle.js\";\nexport {default as curveCardinalClosed} from \"./curve/cardinalClosed.js\";\nexport {default as curveCardinalOpen} from \"./curve/cardinalOpen.js\";\nexport {default as curveCardinal} from \"./curve/cardinal.js\";\nexport {default as curveCatmullRomClosed} from \"./curve/catmullRomClosed.js\";\nexport {default as curveCatmullRomOpen} from \"./curve/catmullRomOpen.js\";\nexport {default as curveCatmullRom} from \"./curve/catmullRom.js\";\nexport {default as curveLinearClosed} from \"./curve/linearClosed.js\";\nexport {default as curveLinear} from \"./curve/linear.js\";\nexport {monotoneX as curveMonotoneX, monotoneY as curveMonotoneY} from \"./curve/monotone.js\";\nexport {default as curveNatural} from \"./curve/natural.js\";\nexport {default as curveStep, stepAfter as curveStepAfter, stepBefore as curveStepBefore} from \"./curve/step.js\";\n\nexport {default as stack} from \"./stack.js\";\nexport {default as stackOffsetExpand} from \"./offset/expand.js\";\nexport {default as stackOffsetDiverging} from \"./offset/diverging.js\";\nexport {default as stackOffsetNone} from \"./offset/none.js\";\nexport {default as stackOffsetSilhouette} from \"./offset/silhouette.js\";\nexport {default as stackOffsetWiggle} from \"./offset/wiggle.js\";\nexport {default as stackOrderAppearance} from \"./order/appearance.js\";\nexport {default as stackOrderAscending} from \"./order/ascending.js\";\nexport {default as stackOrderDescending} from \"./order/descending.js\";\nexport {default as stackOrderInsideOut} from \"./order/insideOut.js\";\nexport {default as stackOrderNone} from \"./order/none.js\";\nexport {default as stackOrderReverse} from \"./order/reverse.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "index": 502, "index2": 499, "size": 2081, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "d3-time", "loc": "1:0-12:17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "d3-time", "loc": "2:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony side effect evaluation", "userRequest": "d3-time", "loc": "3:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-time", "loc": "27:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-time", "loc": "27:0-24" } ], "usedExports": [ "timeInterval", "timeMillisecond", "timeMilliseconds", "utcMillisecond", "utcMilliseconds", "timeSecond", "timeSeconds", "utcSecond", "utcSeconds", "timeMinute", "timeMinutes", "timeHour", "timeHours", "timeDay", "timeDays", "timeWeek", "timeWeeks", "timeSunday", "timeSundays", "timeMonday", "timeMondays", "timeTuesday", "timeTuesdays", "timeWednesday", "timeWednesdays", "timeThursday", "timeThursdays", "timeFriday", "timeFridays", "timeSaturday", "timeSaturdays", "timeMonth", "timeMonths", "timeYear", "timeYears", "utcMinute", "utcMinutes", "utcHour", "utcHours", "utcDay", "utcDays", "utcWeek", "utcWeeks", "utcSunday", "utcSundays", "utcMonday", "utcMondays", "utcTuesday", "utcTuesdays", "utcWednesday", "utcWednesdays", "utcThursday", "utcThursdays", "utcFriday", "utcFridays", "utcSaturday", "utcSaturdays", "utcMonth", "utcMonths", "utcYear", "utcYears" ], "providedExports": [ "timeInterval", "timeMillisecond", "timeMilliseconds", "utcMillisecond", "utcMilliseconds", "timeSecond", "timeSeconds", "utcSecond", "utcSeconds", "timeMinute", "timeMinutes", "timeHour", "timeHours", "timeDay", "timeDays", "timeWeek", "timeWeeks", "timeSunday", "timeSundays", "timeMonday", "timeMondays", "timeTuesday", "timeTuesdays", "timeWednesday", "timeWednesdays", "timeThursday", "timeThursdays", "timeFriday", "timeFridays", "timeSaturday", "timeSaturdays", "timeMonth", "timeMonths", "timeYear", "timeYears", "utcMinute", "utcMinutes", "utcHour", "utcHours", "utcDay", "utcDays", "utcWeek", "utcWeeks", "utcSunday", "utcSundays", "utcMonday", "utcMondays", "utcTuesday", "utcTuesdays", "utcWednesday", "utcWednesdays", "utcThursday", "utcThursdays", "utcFriday", "utcFridays", "utcSaturday", "utcSaturdays", "utcMonth", "utcMonths", "utcYear", "utcYears" ], "optimizationBailout": [], "depth": 3, "source": "export {\n default as timeInterval\n} from \"./interval.js\";\n\nexport {\n default as timeMillisecond,\n milliseconds as timeMilliseconds,\n default as utcMillisecond,\n milliseconds as utcMilliseconds\n} from \"./millisecond.js\";\n\nexport {\n default as timeSecond,\n seconds as timeSeconds,\n default as utcSecond,\n seconds as utcSeconds\n} from \"./second.js\";\n\nexport {\n default as timeMinute,\n minutes as timeMinutes\n} from \"./minute.js\";\n\nexport {\n default as timeHour,\n hours as timeHours\n} from \"./hour.js\";\n\nexport {\n default as timeDay,\n days as timeDays\n} from \"./day.js\";\n\nexport {\n sunday as timeWeek,\n sundays as timeWeeks,\n sunday as timeSunday,\n sundays as timeSundays,\n monday as timeMonday,\n mondays as timeMondays,\n tuesday as timeTuesday,\n tuesdays as timeTuesdays,\n wednesday as timeWednesday,\n wednesdays as timeWednesdays,\n thursday as timeThursday,\n thursdays as timeThursdays,\n friday as timeFriday,\n fridays as timeFridays,\n saturday as timeSaturday,\n saturdays as timeSaturdays\n} from \"./week.js\";\n\nexport {\n default as timeMonth,\n months as timeMonths\n} from \"./month.js\";\n\nexport {\n default as timeYear,\n years as timeYears\n} from \"./year.js\";\n\nexport {\n default as utcMinute,\n utcMinutes as utcMinutes\n} from \"./utcMinute.js\";\n\nexport {\n default as utcHour,\n utcHours as utcHours\n} from \"./utcHour.js\";\n\nexport {\n default as utcDay,\n utcDays as utcDays\n} from \"./utcDay.js\";\n\nexport {\n utcSunday as utcWeek,\n utcSundays as utcWeeks,\n utcSunday as utcSunday,\n utcSundays as utcSundays,\n utcMonday as utcMonday,\n utcMondays as utcMondays,\n utcTuesday as utcTuesday,\n utcTuesdays as utcTuesdays,\n utcWednesday as utcWednesday,\n utcWednesdays as utcWednesdays,\n utcThursday as utcThursday,\n utcThursdays as utcThursdays,\n utcFriday as utcFriday,\n utcFridays as utcFridays,\n utcSaturday as utcSaturday,\n utcSaturdays as utcSaturdays\n} from \"./utcWeek.js\";\n\nexport {\n default as utcMonth,\n utcMonths as utcMonths\n} from \"./utcMonth.js\";\n\nexport {\n default as utcYear,\n utcYears as utcYears\n} from \"./utcYear.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "name": "./node_modules/d3-time-format/src/index.js", "index": 503, "index2": 502, "size": 276, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony side effect evaluation", "userRequest": "d3-time-format", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "d3-time-format", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-time-format", "loc": "28:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-time-format", "loc": "28:0-31" } ], "usedExports": [ "timeFormat", "timeFormatDefaultLocale", "timeParse", "utcFormat", "utcParse", "timeFormatLocale", "isoFormat", "isoParse" ], "providedExports": [ "timeFormatDefaultLocale", "timeFormat", "timeParse", "utcFormat", "utcParse", "timeFormatLocale", "isoFormat", "isoParse" ], "optimizationBailout": [], "depth": 3, "source": "export {default as timeFormatDefaultLocale, timeFormat, timeParse, utcFormat, utcParse} from \"./defaultLocale.js\";\nexport {default as timeFormatLocale} from \"./locale.js\";\nexport {default as isoFormat} from \"./isoFormat.js\";\nexport {default as isoParse} from \"./isoParse.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "name": "./node_modules/d3-timer/src/index.js", "index": 506, "index2": 504, "size": 169, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony side effect evaluation", "userRequest": "d3-timer", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony side effect evaluation", "userRequest": "d3-timer", "loc": "3:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony side effect evaluation", "userRequest": "d3-timer", "loc": "4:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-timer", "loc": "29:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-timer", "loc": "29:0-25" } ], "usedExports": [ "now", "timer", "timerFlush", "timeout", "interval" ], "providedExports": [ "now", "timer", "timerFlush", "timeout", "interval" ], "optimizationBailout": [], "depth": 3, "source": "export {\n now,\n timer,\n timerFlush\n} from \"./timer.js\";\n\nexport {\n default as timeout\n} from \"./timeout.js\";\n\nexport {\n default as interval\n} from \"./interval.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "index": 508, "index2": 514, "size": 46, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-voronoi", "loc": "31:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-voronoi", "loc": "31:0-27" } ], "usedExports": [ "voronoi" ], "providedExports": [ "voronoi" ], "optimizationBailout": [], "depth": 3, "source": "export {default as voronoi} from \"./voronoi\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "index": 518, "index2": 520, "size": 126, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-zoom", "loc": "32:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-zoom", "loc": "32:0-24" } ], "usedExports": [ "zoom", "zoomTransform", "zoomIdentity" ], "providedExports": [ "zoom", "zoomTransform", "zoomIdentity" ], "optimizationBailout": [], "depth": 3, "source": "export {default as zoom} from \"./zoom.js\";\nexport {default as zoomTransform, identity as zoomIdentity} from \"./transform.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/ascending.js", "name": "./node_modules/d3-array/src/ascending.js", "index": 7, "index2": 2, "size": 86, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisect.js", "module": "./node_modules/d3-array/src/bisect.js", "moduleName": "./node_modules/d3-array/src/bisect.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisector.js", "module": "./node_modules/d3-array/src/bisector.js", "moduleName": "./node_modules/d3-array/src/bisector.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/scan.js", "module": "./node_modules/d3-array/src/scan.js", "moduleName": "./node_modules/d3-array/src/scan.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ascending", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony side effect evaluation", "userRequest": "../ascending", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisect.js", "module": "./node_modules/d3-array/src/bisect.js", "moduleName": "./node_modules/d3-array/src/bisect.js", "type": "harmony import specifier", "userRequest": "./ascending", "loc": "4:31-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony import specifier", "userRequest": "../ascending", "loc": "7:41-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/scan.js", "module": "./node_modules/d3-array/src/scan.js", "moduleName": "./node_modules/d3-array/src/scan.js", "type": "harmony import specifier", "userRequest": "./ascending", "loc": "11:33-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony import specifier", "userRequest": "./ascending", "loc": "27:31-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisector.js", "module": "./node_modules/d3-array/src/bisector.js", "moduleName": "./node_modules/d3-array/src/bisector.js", "type": "harmony import specifier", "userRequest": "./ascending", "loc": "31:11-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisector.js", "name": "./node_modules/d3-array/src/bisector.js", "index": 8, "index2": 3, "size": 786, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisect.js", "module": "./node_modules/d3-array/src/bisect.js", "moduleName": "./node_modules/d3-array/src/bisect.js", "type": "harmony side effect evaluation", "userRequest": "./bisector", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bisector", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bisector", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisect.js", "module": "./node_modules/d3-array/src/bisect.js", "moduleName": "./node_modules/d3-array/src/bisect.js", "type": "harmony import specifier", "userRequest": "./bisector", "loc": "4:22-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import ascending from \"./ascending\";\n\nexport default function(compare) {\n if (compare.length === 1) compare = ascendingComparator(compare);\n return {\n left: function(a, x, lo, hi) {\n if (lo == null) lo = 0;\n if (hi == null) hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) < 0) lo = mid + 1;\n else hi = mid;\n }\n return lo;\n },\n right: function(a, x, lo, hi) {\n if (lo == null) lo = 0;\n if (hi == null) hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) > 0) hi = mid;\n else lo = mid + 1;\n }\n return lo;\n }\n };\n}\n\nfunction ascendingComparator(f) {\n return function(d, x) {\n return ascending(f(d), x);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisect.js", "name": "./node_modules/d3-array/src/bisect.js", "index": 6, "index2": 4, "size": 238, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bisect", "loc": "1:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bisect", "loc": "1:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bisect", "loc": "1:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bisect", "loc": "1:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./bisect", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./bisect", "loc": "55:13-19" } ], "usedExports": [ "default", "bisectRight", "bisectLeft" ], "providedExports": [ "bisectRight", "bisectLeft", "default" ], "optimizationBailout": [], "depth": 4, "source": "import ascending from \"./ascending\";\nimport bisector from \"./bisector\";\n\nvar ascendingBisect = bisector(ascending);\nexport var bisectRight = ascendingBisect.right;\nexport var bisectLeft = ascendingBisect.left;\nexport default bisectRight;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/pairs.js", "name": "./node_modules/d3-array/src/pairs.js", "index": 10, "index2": 5, "size": 262, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/cross.js", "module": "./node_modules/d3-array/src/cross.js", "moduleName": "./node_modules/d3-array/src/cross.js", "type": "harmony side effect evaluation", "userRequest": "./pairs", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/cross.js", "module": "./node_modules/d3-array/src/cross.js", "moduleName": "./node_modules/d3-array/src/cross.js", "type": "harmony import specifier", "userRequest": "./pairs", "loc": "12:31-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pairs", "loc": "17:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pairs", "loc": "17:0-41" } ], "usedExports": [ "pair", "default" ], "providedExports": [ "default", "pair" ], "optimizationBailout": [], "depth": 4, "source": "export default function(array, f) {\n if (f == null) f = pair;\n var i = 0, n = array.length - 1, p = array[0], pairs = new Array(n < 0 ? 0 : n);\n while (i < n) pairs[i] = f(p, p = array[++i]);\n return pairs;\n}\n\nexport function pair(a, b) {\n return [a, b];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/cross.js", "name": "./node_modules/d3-array/src/cross.js", "index": 9, "index2": 6, "size": 428, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cross", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cross", "loc": "4:0-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {pair} from \"./pairs\";\n\nexport default function(values0, values1, reduce) {\n var n0 = values0.length,\n n1 = values1.length,\n values = new Array(n0 * n1),\n i0,\n i1,\n i,\n value0;\n\n if (reduce == null) reduce = pair;\n\n for (i0 = i = 0; i0 < n0; ++i0) {\n for (value0 = values0[i0], i1 = 0; i1 < n1; ++i1, ++i) {\n values[i] = reduce(value0, values1[i1]);\n }\n }\n\n return values;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/descending.js", "name": "./node_modules/d3-array/src/descending.js", "index": 11, "index2": 7, "size": 86, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./descending", "loc": "5:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./descending", "loc": "5:0-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/variance.js", "name": "./node_modules/d3-array/src/variance.js", "index": 13, "index2": 9, "size": 648, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/deviation.js", "module": "./node_modules/d3-array/src/deviation.js", "moduleName": "./node_modules/d3-array/src/deviation.js", "type": "harmony side effect evaluation", "userRequest": "./variance", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/deviation.js", "module": "./node_modules/d3-array/src/deviation.js", "moduleName": "./node_modules/d3-array/src/deviation.js", "type": "harmony import specifier", "userRequest": "./variance", "loc": "4:10-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./variance", "loc": "26:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./variance", "loc": "26:0-47" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import number from \"./number\";\n\nexport default function(values, valueof) {\n var n = values.length,\n m = 0,\n i = -1,\n mean = 0,\n value,\n delta,\n sum = 0;\n\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i]))) {\n delta = value - mean;\n mean += delta / ++m;\n sum += delta * (value - mean);\n }\n }\n }\n\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values)))) {\n delta = value - mean;\n mean += delta / ++m;\n sum += delta * (value - mean);\n }\n }\n }\n\n if (m > 1) return sum / (m - 1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/deviation.js", "name": "./node_modules/d3-array/src/deviation.js", "index": 12, "index2": 10, "size": 135, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/scott.js", "module": "./node_modules/d3-array/src/threshold/scott.js", "moduleName": "./node_modules/d3-array/src/threshold/scott.js", "type": "harmony side effect evaluation", "userRequest": "../deviation", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/scott.js", "module": "./node_modules/d3-array/src/threshold/scott.js", "moduleName": "./node_modules/d3-array/src/threshold/scott.js", "type": "harmony import specifier", "userRequest": "../deviation", "loc": "4:40-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./deviation", "loc": "6:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./deviation", "loc": "6:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import variance from \"./variance\";\n\nexport default function(array, f) {\n var v = variance(array, f);\n return v ? Math.sqrt(v) : v;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/extent.js", "name": "./node_modules/d3-array/src/extent.js", "index": 15, "index2": 11, "size": 961, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./extent", "loc": "4:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./extent", "loc": "7:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./extent", "loc": "7:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./extent", "loc": "12:15-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(values, valueof) {\n var n = values.length,\n i = -1,\n value,\n min,\n max;\n\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n min = max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null) {\n if (min > value) min = value;\n if (max < value) max = value;\n }\n }\n }\n }\n }\n\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n min = max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null) {\n if (min > value) min = value;\n if (max < value) max = value;\n }\n }\n }\n }\n }\n\n return [min, max];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/range.js", "name": "./node_modules/d3-array/src/range.js", "index": 20, "index2": 15, "size": 344, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./range", "loc": "6:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./range", "loc": "20:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./range", "loc": "20:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./range", "loc": "33:11-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(start, stop, step) {\n start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;\n\n var i = -1,\n n = Math.max(0, Math.ceil((stop - start) / step)) | 0,\n range = new Array(n);\n\n while (++i < n) {\n range[i] = start + i * step;\n }\n\n return range;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/ticks.js", "name": "./node_modules/d3-array/src/ticks.js", "index": 21, "index2": 16, "size": 1635, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./ticks", "loc": "7:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./ticks", "loc": "24:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ticks", "loc": "24:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ticks", "loc": "24:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ticks", "loc": "24:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./ticks", "loc": "32:11-19" } ], "usedExports": [ "tickStep", "default", "tickIncrement" ], "providedExports": [ "default", "tickIncrement", "tickStep" ], "optimizationBailout": [], "depth": 4, "source": "var e10 = Math.sqrt(50),\n e5 = Math.sqrt(10),\n e2 = Math.sqrt(2);\n\nexport default function(start, stop, count) {\n var reverse,\n i = -1,\n n,\n ticks,\n step;\n\n stop = +stop, start = +start, count = +count;\n if (start === stop && count > 0) return [start];\n if (reverse = stop < start) n = start, start = stop, stop = n;\n if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];\n\n if (step > 0) {\n start = Math.ceil(start / step);\n stop = Math.floor(stop / step);\n ticks = new Array(n = Math.ceil(stop - start + 1));\n while (++i < n) ticks[i] = (start + i) * step;\n } else {\n start = Math.floor(start * step);\n stop = Math.ceil(stop * step);\n ticks = new Array(n = Math.ceil(start - stop + 1));\n while (++i < n) ticks[i] = (start - i) / step;\n }\n\n if (reverse) ticks.reverse();\n\n return ticks;\n}\n\nexport function tickIncrement(start, stop, count) {\n var step = (stop - start) / Math.max(0, count),\n power = Math.floor(Math.log(step) / Math.LN10),\n error = step / Math.pow(10, power);\n return power >= 0\n ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)\n : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);\n}\n\nexport function tickStep(start, stop, count) {\n var step0 = Math.abs(stop - start) / Math.max(0, count),\n step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),\n error = step0 / step1;\n if (error >= e10) step1 *= 10;\n else if (error >= e5) step1 *= 5;\n else if (error >= e2) step1 *= 2;\n return stop < start ? -step1 : step1;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/sturges.js", "name": "./node_modules/d3-array/src/threshold/sturges.js", "index": 22, "index2": 17, "size": 96, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./threshold/sturges", "loc": "8:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./threshold/sturges", "loc": "11:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./threshold/sturges", "loc": "11:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./threshold/sturges", "loc": "13:18-25" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(values) {\n return Math.ceil(Math.log(values.length) / Math.LN2) + 1;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "name": "./node_modules/d3-array/src/histogram.js", "index": 16, "index2": 18, "size": 1990, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./histogram", "loc": "8:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./histogram", "loc": "8:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {slice} from \"./array\";\nimport bisect from \"./bisect\";\nimport constant from \"./constant\";\nimport extent from \"./extent\";\nimport identity from \"./identity\";\nimport range from \"./range\";\nimport {tickStep} from \"./ticks\";\nimport sturges from \"./threshold/sturges\";\n\nexport default function() {\n var value = identity,\n domain = extent,\n threshold = sturges;\n\n function histogram(data) {\n var i,\n n = data.length,\n x,\n values = new Array(n);\n\n for (i = 0; i < n; ++i) {\n values[i] = value(data[i], i, data);\n }\n\n var xz = domain(values),\n x0 = xz[0],\n x1 = xz[1],\n tz = threshold(values, x0, x1);\n\n // Convert number of thresholds into uniform thresholds.\n if (!Array.isArray(tz)) {\n tz = tickStep(x0, x1, tz);\n tz = range(Math.ceil(x0 / tz) * tz, x1, tz); // exclusive\n }\n\n // Remove any thresholds outside the domain.\n var m = tz.length;\n while (tz[0] <= x0) tz.shift(), --m;\n while (tz[m - 1] > x1) tz.pop(), --m;\n\n var bins = new Array(m + 1),\n bin;\n\n // Initialize bins.\n for (i = 0; i <= m; ++i) {\n bin = bins[i] = [];\n bin.x0 = i > 0 ? tz[i - 1] : x0;\n bin.x1 = i < m ? tz[i] : x1;\n }\n\n // Assign data to bins by value, ignoring any outside the domain.\n for (i = 0; i < n; ++i) {\n x = values[i];\n if (x0 <= x && x <= x1) {\n bins[bisect(tz, x, 0, m)].push(data[i]);\n }\n }\n\n return bins;\n }\n\n histogram.value = function(_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(_), histogram) : value;\n };\n\n histogram.domain = function(_) {\n return arguments.length ? (domain = typeof _ === \"function\" ? _ : constant([_[0], _[1]]), histogram) : domain;\n };\n\n histogram.thresholds = function(_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), histogram) : threshold;\n };\n\n return histogram;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/quantile.js", "name": "./node_modules/d3-array/src/quantile.js", "index": 24, "index2": 19, "size": 499, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony side effect evaluation", "userRequest": "./quantile", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony side effect evaluation", "userRequest": "../quantile", "loc": "4:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony import specifier", "userRequest": "../quantile", "loc": "8:39-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony import specifier", "userRequest": "../quantile", "loc": "8:64-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quantile", "loc": "19:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quantile", "loc": "19:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony import specifier", "userRequest": "./quantile", "loc": "27:9-17" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import number from \"./number\";\n\nexport default function(values, p, valueof) {\n if (valueof == null) valueof = number;\n if (!(n = values.length)) return;\n if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values);\n if (p >= 1) return +valueof(values[n - 1], n - 1, values);\n var n,\n i = (n - 1) * p,\n i0 = Math.floor(i),\n value0 = +valueof(values[i0], i0, values),\n value1 = +valueof(values[i0 + 1], i0 + 1, values);\n return value0 + (value1 - value0) * (i - i0);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "name": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "index": 23, "index2": 20, "size": 361, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./threshold/freedmanDiaconis", "loc": "9:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./threshold/freedmanDiaconis", "loc": "9:0-82" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {map} from \"../array\";\nimport ascending from \"../ascending\";\nimport number from \"../number\";\nimport quantile from \"../quantile\";\n\nexport default function(values, min, max) {\n values = map.call(values, number).sort(ascending);\n return Math.ceil((max - min) / (2 * (quantile(values, 0.75) - quantile(values, 0.25)) * Math.pow(values.length, -1 / 3)));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/scott.js", "name": "./node_modules/d3-array/src/threshold/scott.js", "index": 25, "index2": 21, "size": 180, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./threshold/scott", "loc": "10:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./threshold/scott", "loc": "10:0-60" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import deviation from \"../deviation\";\n\nexport default function(values, min, max) {\n return Math.ceil((max - min) / (3.5 * deviation(values) * Math.pow(values.length, -1 / 3)));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/max.js", "name": "./node_modules/d3-array/src/max.js", "index": 26, "index2": 22, "size": 843, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./max", "loc": "12:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./max", "loc": "12:0-37" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(values, valueof) {\n var n = values.length,\n i = -1,\n value,\n max;\n\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null && value > max) {\n max = value;\n }\n }\n }\n }\n }\n\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null && value > max) {\n max = value;\n }\n }\n }\n }\n }\n\n return max;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "name": "./node_modules/d3-array/src/mean.js", "index": 27, "index2": 23, "size": 453, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./mean", "loc": "13:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./mean", "loc": "13:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import number from \"./number\";\n\nexport default function(values, valueof) {\n var n = values.length,\n m = n,\n i = -1,\n value,\n sum = 0;\n\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i]))) sum += value;\n else --m;\n }\n }\n\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values)))) sum += value;\n else --m;\n }\n }\n\n if (m) return sum / m;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "name": "./node_modules/d3-array/src/median.js", "index": 28, "index2": 24, "size": 559, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./median", "loc": "14:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./median", "loc": "14:0-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import ascending from \"./ascending\";\nimport number from \"./number\";\nimport quantile from \"./quantile\";\n\nexport default function(values, valueof) {\n var n = values.length,\n i = -1,\n value,\n numbers = [];\n\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i]))) {\n numbers.push(value);\n }\n }\n }\n\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values)))) {\n numbers.push(value);\n }\n }\n }\n\n return quantile(numbers.sort(ascending), 0.5);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/merge.js", "name": "./node_modules/d3-array/src/merge.js", "index": 29, "index2": 25, "size": 339, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./merge", "loc": "15:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./merge", "loc": "15:0-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(arrays) {\n var n = arrays.length,\n m,\n i = -1,\n j = 0,\n merged,\n array;\n\n while (++i < n) j += arrays[i].length;\n merged = new Array(j);\n\n while (--n >= 0) {\n array = arrays[n];\n m = array.length;\n while (--m >= 0) {\n merged[--j] = array[m];\n }\n }\n\n return merged;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/min.js", "name": "./node_modules/d3-array/src/min.js", "index": 30, "index2": 26, "size": 843, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/transpose.js", "module": "./node_modules/d3-array/src/transpose.js", "moduleName": "./node_modules/d3-array/src/transpose.js", "type": "harmony side effect evaluation", "userRequest": "./min", "loc": "1:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/transpose.js", "module": "./node_modules/d3-array/src/transpose.js", "moduleName": "./node_modules/d3-array/src/transpose.js", "type": "harmony import specifier", "userRequest": "./min", "loc": "5:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./min", "loc": "16:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./min", "loc": "16:0-37" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(values, valueof) {\n var n = values.length,\n i = -1,\n value,\n min;\n\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n min = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null && min > value) {\n min = value;\n }\n }\n }\n }\n }\n\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n min = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null && min > value) {\n min = value;\n }\n }\n }\n }\n }\n\n return min;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/permute.js", "name": "./node_modules/d3-array/src/permute.js", "index": 31, "index2": 27, "size": 161, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./permute", "loc": "18:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./permute", "loc": "18:0-45" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(array, indexes) {\n var i = indexes.length, permutes = new Array(i);\n while (i--) permutes[i] = array[indexes[i]];\n return permutes;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/scan.js", "name": "./node_modules/d3-array/src/scan.js", "index": 32, "index2": 28, "size": 392, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./scan", "loc": "21:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./scan", "loc": "21:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import ascending from \"./ascending\";\n\nexport default function(values, compare) {\n if (!(n = values.length)) return;\n var n,\n i = 0,\n j = 0,\n xi,\n xj = values[j];\n\n if (compare == null) compare = ascending;\n\n while (++i < n) {\n if (compare(xi = values[i], xj) < 0 || compare(xj, xj) !== 0) {\n xj = xi, j = i;\n }\n }\n\n if (compare(xj, xj) === 0) return j;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/shuffle.js", "name": "./node_modules/d3-array/src/shuffle.js", "index": 33, "index2": 29, "size": 285, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./shuffle", "loc": "22:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./shuffle", "loc": "22:0-45" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(array, i0, i1) {\n var m = (i1 == null ? array.length : i1) - (i0 = i0 == null ? 0 : +i0),\n t,\n i;\n\n while (m) {\n i = Math.random() * m-- | 0;\n t = array[m + i0];\n array[m + i0] = array[i + i0];\n array[i + i0] = t;\n }\n\n return array;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/sum.js", "name": "./node_modules/d3-array/src/sum.js", "index": 34, "index2": 30, "size": 374, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sum", "loc": "23:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sum", "loc": "23:0-37" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(values, valueof) {\n var n = values.length,\n i = -1,\n value,\n sum = 0;\n\n if (valueof == null) {\n while (++i < n) {\n if (value = +values[i]) sum += value; // Note: zero and null are equivalent.\n }\n }\n\n else {\n while (++i < n) {\n if (value = +valueof(values[i], i, values)) sum += value;\n }\n }\n\n return sum;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/transpose.js", "name": "./node_modules/d3-array/src/transpose.js", "index": 35, "index2": 31, "size": 356, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/zip.js", "module": "./node_modules/d3-array/src/zip.js", "moduleName": "./node_modules/d3-array/src/zip.js", "type": "harmony side effect evaluation", "userRequest": "./transpose", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/zip.js", "module": "./node_modules/d3-array/src/zip.js", "moduleName": "./node_modules/d3-array/src/zip.js", "type": "harmony import specifier", "userRequest": "./transpose", "loc": "4:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transpose", "loc": "25:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transpose", "loc": "25:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import min from \"./min\";\n\nexport default function(matrix) {\n if (!(n = matrix.length)) return [];\n for (var i = -1, m = min(matrix, length), transpose = new Array(m); ++i < m;) {\n for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {\n row[j] = matrix[j][i];\n }\n }\n return transpose;\n}\n\nfunction length(d) {\n return d.length;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/zip.js", "name": "./node_modules/d3-array/src/zip.js", "index": 36, "index2": 32, "size": 99, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./zip", "loc": "27:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./zip", "loc": "27:0-37" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import transpose from \"./transpose\";\n\nexport default function() {\n return transpose(arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "name": "./node_modules/d3-axis/src/axis.js", "index": 38, "index2": 36, "size": 5299, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-axis/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "name": "./node_modules/d3-axis/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 187, "building": 33 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "module": "./node_modules/d3-axis/src/index.js", "moduleName": "./node_modules/d3-axis/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./axis", "loc": "1:0-6:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "module": "./node_modules/d3-axis/src/index.js", "moduleName": "./node_modules/d3-axis/src/index.js", "type": "harmony export imported specifier", "userRequest": "./axis", "loc": "1:0-6:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "module": "./node_modules/d3-axis/src/index.js", "moduleName": "./node_modules/d3-axis/src/index.js", "type": "harmony export imported specifier", "userRequest": "./axis", "loc": "1:0-6:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "module": "./node_modules/d3-axis/src/index.js", "moduleName": "./node_modules/d3-axis/src/index.js", "type": "harmony export imported specifier", "userRequest": "./axis", "loc": "1:0-6:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "module": "./node_modules/d3-axis/src/index.js", "moduleName": "./node_modules/d3-axis/src/index.js", "type": "harmony export imported specifier", "userRequest": "./axis", "loc": "1:0-6:16" } ], "usedExports": [ "axisBottom", "axisTop", "axisRight", "axisLeft" ], "providedExports": [ "axisTop", "axisRight", "axisBottom", "axisLeft" ], "optimizationBailout": [], "depth": 4, "source": "import {slice} from \"./array\";\nimport identity from \"./identity\";\n\nvar top = 1,\n right = 2,\n bottom = 3,\n left = 4,\n epsilon = 1e-6;\n\nfunction translateX(x) {\n return \"translate(\" + (x + 0.5) + \",0)\";\n}\n\nfunction translateY(y) {\n return \"translate(0,\" + (y + 0.5) + \")\";\n}\n\nfunction number(scale) {\n return function(d) {\n return +scale(d);\n };\n}\n\nfunction center(scale) {\n var offset = Math.max(0, scale.bandwidth() - 1) / 2; // Adjust for 0.5px offset.\n if (scale.round()) offset = Math.round(offset);\n return function(d) {\n return +scale(d) + offset;\n };\n}\n\nfunction entering() {\n return !this.__axis;\n}\n\nfunction axis(orient, scale) {\n var tickArguments = [],\n tickValues = null,\n tickFormat = null,\n tickSizeInner = 6,\n tickSizeOuter = 6,\n tickPadding = 3,\n k = orient === top || orient === left ? -1 : 1,\n x = orient === left || orient === right ? \"x\" : \"y\",\n transform = orient === top || orient === bottom ? translateX : translateY;\n\n function axis(context) {\n var values = tickValues == null ? (scale.ticks ? scale.ticks.apply(scale, tickArguments) : scale.domain()) : tickValues,\n format = tickFormat == null ? (scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments) : identity) : tickFormat,\n spacing = Math.max(tickSizeInner, 0) + tickPadding,\n range = scale.range(),\n range0 = +range[0] + 0.5,\n range1 = +range[range.length - 1] + 0.5,\n position = (scale.bandwidth ? center : number)(scale.copy()),\n selection = context.selection ? context.selection() : context,\n path = selection.selectAll(\".domain\").data([null]),\n tick = selection.selectAll(\".tick\").data(values, scale).order(),\n tickExit = tick.exit(),\n tickEnter = tick.enter().append(\"g\").attr(\"class\", \"tick\"),\n line = tick.select(\"line\"),\n text = tick.select(\"text\");\n\n path = path.merge(path.enter().insert(\"path\", \".tick\")\n .attr(\"class\", \"domain\")\n .attr(\"stroke\", \"currentColor\"));\n\n tick = tick.merge(tickEnter);\n\n line = line.merge(tickEnter.append(\"line\")\n .attr(\"stroke\", \"currentColor\")\n .attr(x + \"2\", k * tickSizeInner));\n\n text = text.merge(tickEnter.append(\"text\")\n .attr(\"fill\", \"currentColor\")\n .attr(x, k * spacing)\n .attr(\"dy\", orient === top ? \"0em\" : orient === bottom ? \"0.71em\" : \"0.32em\"));\n\n if (context !== selection) {\n path = path.transition(context);\n tick = tick.transition(context);\n line = line.transition(context);\n text = text.transition(context);\n\n tickExit = tickExit.transition(context)\n .attr(\"opacity\", epsilon)\n .attr(\"transform\", function(d) { return isFinite(d = position(d)) ? transform(d) : this.getAttribute(\"transform\"); });\n\n tickEnter\n .attr(\"opacity\", epsilon)\n .attr(\"transform\", function(d) { var p = this.parentNode.__axis; return transform(p && isFinite(p = p(d)) ? p : position(d)); });\n }\n\n tickExit.remove();\n\n path\n .attr(\"d\", orient === left || orient == right\n ? (tickSizeOuter ? \"M\" + k * tickSizeOuter + \",\" + range0 + \"H0.5V\" + range1 + \"H\" + k * tickSizeOuter : \"M0.5,\" + range0 + \"V\" + range1)\n : (tickSizeOuter ? \"M\" + range0 + \",\" + k * tickSizeOuter + \"V0.5H\" + range1 + \"V\" + k * tickSizeOuter : \"M\" + range0 + \",0.5H\" + range1));\n\n tick\n .attr(\"opacity\", 1)\n .attr(\"transform\", function(d) { return transform(position(d)); });\n\n line\n .attr(x + \"2\", k * tickSizeInner);\n\n text\n .attr(x, k * spacing)\n .text(format);\n\n selection.filter(entering)\n .attr(\"fill\", \"none\")\n .attr(\"font-size\", 10)\n .attr(\"font-family\", \"sans-serif\")\n .attr(\"text-anchor\", orient === right ? \"start\" : orient === left ? \"end\" : \"middle\");\n\n selection\n .each(function() { this.__axis = position; });\n }\n\n axis.scale = function(_) {\n return arguments.length ? (scale = _, axis) : scale;\n };\n\n axis.ticks = function() {\n return tickArguments = slice.call(arguments), axis;\n };\n\n axis.tickArguments = function(_) {\n return arguments.length ? (tickArguments = _ == null ? [] : slice.call(_), axis) : tickArguments.slice();\n };\n\n axis.tickValues = function(_) {\n return arguments.length ? (tickValues = _ == null ? null : slice.call(_), axis) : tickValues && tickValues.slice();\n };\n\n axis.tickFormat = function(_) {\n return arguments.length ? (tickFormat = _, axis) : tickFormat;\n };\n\n axis.tickSize = function(_) {\n return arguments.length ? (tickSizeInner = tickSizeOuter = +_, axis) : tickSizeInner;\n };\n\n axis.tickSizeInner = function(_) {\n return arguments.length ? (tickSizeInner = +_, axis) : tickSizeInner;\n };\n\n axis.tickSizeOuter = function(_) {\n return arguments.length ? (tickSizeOuter = +_, axis) : tickSizeOuter;\n };\n\n axis.tickPadding = function(_) {\n return arguments.length ? (tickPadding = +_, axis) : tickPadding;\n };\n\n return axis;\n}\n\nexport function axisTop(scale) {\n return axis(top, scale);\n}\n\nexport function axisRight(scale) {\n return axis(right, scale);\n}\n\nexport function axisBottom(scale) {\n return axis(bottom, scale);\n}\n\nexport function axisLeft(scale) {\n return axis(left, scale);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/dispatch.js", "name": "./node_modules/d3-dispatch/src/dispatch.js", "index": 48, "index2": 38, "size": 2748, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-dispatch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/index.js", "name": "./node_modules/d3-dispatch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 78, "building": 57 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/index.js", "module": "./node_modules/d3-dispatch/src/index.js", "moduleName": "./node_modules/d3-dispatch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./dispatch.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/index.js", "module": "./node_modules/d3-dispatch/src/index.js", "moduleName": "./node_modules/d3-dispatch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./dispatch.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dispatch", "loc": "4:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dispatch", "loc": "25:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dispatch", "loc": "31:18-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dispatch", "loc": "62:18-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dispatch", "loc": "162:18-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var noop = {value: function() {}};\n\nfunction dispatch() {\n for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) {\n if (!(t = arguments[i] + \"\") || (t in _) || /[\\s.]/.test(t)) throw new Error(\"illegal type: \" + t);\n _[t] = [];\n }\n return new Dispatch(_);\n}\n\nfunction Dispatch(_) {\n this._ = _;\n}\n\nfunction parseTypenames(typenames, types) {\n return typenames.trim().split(/^|\\s+/).map(function(t) {\n var name = \"\", i = t.indexOf(\".\");\n if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n if (t && !types.hasOwnProperty(t)) throw new Error(\"unknown type: \" + t);\n return {type: t, name: name};\n });\n}\n\nDispatch.prototype = dispatch.prototype = {\n constructor: Dispatch,\n on: function(typename, callback) {\n var _ = this._,\n T = parseTypenames(typename + \"\", _),\n t,\n i = -1,\n n = T.length;\n\n // If no callback was specified, return the callback of the given type and name.\n if (arguments.length < 2) {\n while (++i < n) if ((t = (typename = T[i]).type) && (t = get(_[t], typename.name))) return t;\n return;\n }\n\n // If a type was specified, set the callback for the given type and name.\n // Otherwise, if a null callback was specified, remove callbacks of the given name.\n if (callback != null && typeof callback !== \"function\") throw new Error(\"invalid callback: \" + callback);\n while (++i < n) {\n if (t = (typename = T[i]).type) _[t] = set(_[t], typename.name, callback);\n else if (callback == null) for (t in _) _[t] = set(_[t], typename.name, null);\n }\n\n return this;\n },\n copy: function() {\n var copy = {}, _ = this._;\n for (var t in _) copy[t] = _[t].slice();\n return new Dispatch(copy);\n },\n call: function(type, that) {\n if ((n = arguments.length - 2) > 0) for (var args = new Array(n), i = 0, n, t; i < n; ++i) args[i] = arguments[i + 2];\n if (!this._.hasOwnProperty(type)) throw new Error(\"unknown type: \" + type);\n for (t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);\n },\n apply: function(type, that, args) {\n if (!this._.hasOwnProperty(type)) throw new Error(\"unknown type: \" + type);\n for (var t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);\n }\n};\n\nfunction get(type, name) {\n for (var i = 0, n = type.length, c; i < n; ++i) {\n if ((c = type[i]).name === name) {\n return c.value;\n }\n }\n}\n\nfunction set(type, name, callback) {\n for (var i = 0, n = type.length; i < n; ++i) {\n if (type[i].name === name) {\n type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1));\n break;\n }\n }\n if (callback != null) type.push({name: name, value: callback});\n return type;\n}\n\nexport default dispatch;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selector.js", "name": "./node_modules/d3-selection/src/selector.js", "index": 80, "index2": 70, "size": 152, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/select.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "name": "./node_modules/d3-selection/src/selection/select.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 58, "building": 30 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "module": "./node_modules/d3-selection/src/selection/select.js", "moduleName": "./node_modules/d3-selection/src/selection/select.js", "type": "harmony side effect evaluation", "userRequest": "../selector", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/insert.js", "module": "./node_modules/d3-selection/src/selection/insert.js", "moduleName": "./node_modules/d3-selection/src/selection/insert.js", "type": "harmony side effect evaluation", "userRequest": "../selector", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "module": "./node_modules/d3-selection/src/selection/select.js", "moduleName": "./node_modules/d3-selection/src/selection/select.js", "type": "harmony import specifier", "userRequest": "../selector", "loc": "5:45-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "9:45-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/insert.js", "module": "./node_modules/d3-selection/src/selection/insert.js", "moduleName": "./node_modules/d3-selection/src/selection/insert.js", "type": "harmony import specifier", "userRequest": "../selector", "loc": "10:87-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selector", "loc": "12:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selector", "loc": "12:0-47" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function none() {}\n\nexport default function(selector) {\n return selector == null ? none : function() {\n return this.querySelector(selector);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectorAll.js", "name": "./node_modules/d3-selection/src/selectorAll.js", "index": 82, "index2": 72, "size": 171, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/selectAll.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "name": "./node_modules/d3-selection/src/selection/selectAll.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 82, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "module": "./node_modules/d3-selection/src/selection/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selection/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "../selectorAll", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "module": "./node_modules/d3-selection/src/selection/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selection/selectAll.js", "type": "harmony import specifier", "userRequest": "../selectorAll", "loc": "5:45-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "9:45-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selectorAll", "loc": "13:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selectorAll", "loc": "13:0-53" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function empty() {\n return [];\n}\n\nexport default function(selector) {\n return selector == null ? empty : function() {\n return this.querySelectorAll(selector);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/matcher.js", "name": "./node_modules/d3-selection/src/matcher.js", "index": 75, "index2": 65, "size": 100, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/filter.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "name": "./node_modules/d3-selection/src/selection/filter.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 80, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "module": "./node_modules/d3-selection/src/selection/filter.js", "moduleName": "./node_modules/d3-selection/src/selection/filter.js", "type": "harmony side effect evaluation", "userRequest": "../matcher", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./matcher", "loc": "4:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./matcher", "loc": "4:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "module": "./node_modules/d3-selection/src/selection/filter.js", "moduleName": "./node_modules/d3-selection/src/selection/filter.js", "type": "harmony import specifier", "userRequest": "../matcher", "loc": "5:43-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/filter.js", "module": "./node_modules/d3-transition/src/transition/filter.js", "moduleName": "./node_modules/d3-transition/src/transition/filter.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "5:43-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(selector) {\n return function() {\n return this.matches(selector);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/namespaces.js", "name": "./node_modules/d3-selection/src/namespaces.js", "index": 66, "index2": 55, "size": 254, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/creator.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "name": "./node_modules/d3-selection/src/creator.js", "profile": { "factory": 102, "building": 30 } } ], "profile": { "factory": 78, "building": 18, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/namespace.js", "module": "./node_modules/d3-selection/src/namespace.js", "moduleName": "./node_modules/d3-selection/src/namespace.js", "type": "harmony side effect evaluation", "userRequest": "./namespaces", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "module": "./node_modules/d3-selection/src/creator.js", "moduleName": "./node_modules/d3-selection/src/creator.js", "type": "harmony side effect evaluation", "userRequest": "./namespaces", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/namespace.js", "module": "./node_modules/d3-selection/src/namespace.js", "moduleName": "./node_modules/d3-selection/src/namespace.js", "type": "harmony import specifier", "userRequest": "./namespaces", "loc": "6:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/namespace.js", "module": "./node_modules/d3-selection/src/namespace.js", "moduleName": "./node_modules/d3-selection/src/namespace.js", "type": "harmony import specifier", "userRequest": "./namespaces", "loc": "6:53-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./namespaces", "loc": "7:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./namespaces", "loc": "7:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "module": "./node_modules/d3-selection/src/creator.js", "moduleName": "./node_modules/d3-selection/src/creator.js", "type": "harmony import specifier", "userRequest": "./namespaces", "loc": "8:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "module": "./node_modules/d3-selection/src/creator.js", "moduleName": "./node_modules/d3-selection/src/creator.js", "type": "harmony import specifier", "userRequest": "./namespaces", "loc": "8:70-75" } ], "usedExports": [ "xhtml", "default" ], "providedExports": [ "xhtml", "default" ], "optimizationBailout": [], "depth": 4, "source": "export var xhtml = \"http://www.w3.org/1999/xhtml\";\n\nexport default {\n svg: \"http://www.w3.org/2000/svg\",\n xhtml: xhtml,\n xlink: \"http://www.w3.org/1999/xlink\",\n xml: \"http://www.w3.org/XML/1998/namespace\",\n xmlns: \"http://www.w3.org/2000/xmlns/\"\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/namespace.js", "name": "./node_modules/d3-selection/src/namespace.js", "index": 65, "index2": 56, "size": 303, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/creator.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "name": "./node_modules/d3-selection/src/creator.js", "profile": { "factory": 102, "building": 30 } } ], "profile": { "factory": 78, "building": 18, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "module": "./node_modules/d3-selection/src/creator.js", "moduleName": "./node_modules/d3-selection/src/creator.js", "type": "harmony side effect evaluation", "userRequest": "./namespace", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/attr.js", "module": "./node_modules/d3-selection/src/selection/attr.js", "moduleName": "./node_modules/d3-selection/src/selection/attr.js", "type": "harmony side effect evaluation", "userRequest": "../namespace", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./namespace", "loc": "6:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./namespace", "loc": "6:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "module": "./node_modules/d3-selection/src/creator.js", "moduleName": "./node_modules/d3-selection/src/creator.js", "type": "harmony import specifier", "userRequest": "./namespace", "loc": "21:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attrTween.js", "module": "./node_modules/d3-transition/src/transition/attrTween.js", "moduleName": "./node_modules/d3-transition/src/transition/attrTween.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "42:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/attr.js", "module": "./node_modules/d3-selection/src/selection/attr.js", "moduleName": "./node_modules/d3-selection/src/selection/attr.js", "type": "harmony import specifier", "userRequest": "../namespace", "loc": "44:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "73:17-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import namespaces from \"./namespaces\";\n\nexport default function(name) {\n var prefix = name += \"\", i = prefix.indexOf(\":\");\n if (i >= 0 && (prefix = name.slice(0, i)) !== \"xmlns\") name = name.slice(i + 1);\n return namespaces.hasOwnProperty(prefix) ? {space: namespaces[prefix], local: name} : name;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/window.js", "name": "./node_modules/d3-selection/src/window.js", "index": 105, "index2": 93, "size": 218, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/dispatch.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/dispatch.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/dispatch.js", "name": "./node_modules/d3-selection/src/selection/dispatch.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 60, "building": 33 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/dispatch.js", "module": "./node_modules/d3-selection/src/selection/dispatch.js", "moduleName": "./node_modules/d3-selection/src/selection/dispatch.js", "type": "harmony side effect evaluation", "userRequest": "../window", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/style.js", "module": "./node_modules/d3-selection/src/selection/style.js", "moduleName": "./node_modules/d3-selection/src/selection/style.js", "type": "harmony side effect evaluation", "userRequest": "../window", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/dispatch.js", "module": "./node_modules/d3-selection/src/selection/dispatch.js", "moduleName": "./node_modules/d3-selection/src/selection/dispatch.js", "type": "harmony import specifier", "userRequest": "../window", "loc": "4:15-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./window", "loc": "17:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./window", "loc": "17:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/style.js", "module": "./node_modules/d3-selection/src/selection/style.js", "moduleName": "./node_modules/d3-selection/src/selection/style.js", "type": "harmony import specifier", "userRequest": "../window", "loc": "34:9-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(node) {\n return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node\n || (node.document && node) // node is a Window\n || node.defaultView; // node is a Document\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/style.js", "name": "./node_modules/d3-selection/src/selection/style.js", "index": 104, "index2": 94, "size": 968, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "12:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "13:52-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selection/style", "loc": "14:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selection/style", "loc": "14:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./style", "loc": "18:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "31:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "43:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "46:77-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./style", "loc": "63:9-24" } ], "usedExports": [ "default", "styleValue" ], "providedExports": [ "default", "styleValue" ], "optimizationBailout": [], "depth": 4, "source": "import defaultView from \"../window\";\n\nfunction styleRemove(name) {\n return function() {\n this.style.removeProperty(name);\n };\n}\n\nfunction styleConstant(name, value, priority) {\n return function() {\n this.style.setProperty(name, value, priority);\n };\n}\n\nfunction styleFunction(name, value, priority) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.style.removeProperty(name);\n else this.style.setProperty(name, v, priority);\n };\n}\n\nexport default function(name, value, priority) {\n return arguments.length > 1\n ? this.each((value == null\n ? styleRemove : typeof value === \"function\"\n ? styleFunction\n : styleConstant)(name, value, priority == null ? \"\" : priority))\n : styleValue(this.node(), name);\n}\n\nexport function styleValue(node, name) {\n return node.style.getPropertyValue(name)\n || defaultView(node).getComputedStyle(node, null).getPropertyValue(name);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "name": "./node_modules/d3-selection/src/creator.js", "index": 113, "index2": 101, "size": 662, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/create.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } } ], "profile": { "factory": 102, "building": 30 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "module": "./node_modules/d3-selection/src/create.js", "moduleName": "./node_modules/d3-selection/src/create.js", "type": "harmony side effect evaluation", "userRequest": "./creator", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/insert.js", "module": "./node_modules/d3-selection/src/selection/insert.js", "moduleName": "./node_modules/d3-selection/src/selection/insert.js", "type": "harmony side effect evaluation", "userRequest": "../creator", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/append.js", "module": "./node_modules/d3-selection/src/selection/append.js", "moduleName": "./node_modules/d3-selection/src/selection/append.js", "type": "harmony side effect evaluation", "userRequest": "../creator", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./creator", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./creator", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/append.js", "module": "./node_modules/d3-selection/src/selection/append.js", "moduleName": "./node_modules/d3-selection/src/selection/append.js", "type": "harmony import specifier", "userRequest": "../creator", "loc": "4:51-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "module": "./node_modules/d3-selection/src/create.js", "moduleName": "./node_modules/d3-selection/src/create.js", "type": "harmony import specifier", "userRequest": "./creator", "loc": "5:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/insert.js", "module": "./node_modules/d3-selection/src/selection/insert.js", "moduleName": "./node_modules/d3-selection/src/selection/insert.js", "type": "harmony import specifier", "userRequest": "../creator", "loc": "9:51-58" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import namespace from \"./namespace\";\nimport {xhtml} from \"./namespaces\";\n\nfunction creatorInherit(name) {\n return function() {\n var document = this.ownerDocument,\n uri = this.namespaceURI;\n return uri === xhtml && document.documentElement.namespaceURI === xhtml\n ? document.createElement(name)\n : document.createElementNS(uri, name);\n };\n}\n\nfunction creatorFixed(fullname) {\n return function() {\n return this.ownerDocument.createElementNS(fullname.space, fullname.local);\n };\n}\n\nexport default function(name) {\n var fullname = namespace(name);\n return (fullname.local\n ? creatorFixed\n : creatorInherit)(fullname);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/on.js", "name": "./node_modules/d3-selection/src/selection/on.js", "index": 118, "index2": 107, "size": 3119, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/sourceEvent.js", "module": "./node_modules/d3-selection/src/sourceEvent.js", "moduleName": "./node_modules/d3-selection/src/sourceEvent.js", "type": "harmony side effect evaluation", "userRequest": "./selection/on", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/noevent.js", "module": "./node_modules/d3-drag/src/noevent.js", "moduleName": "./node_modules/d3-drag/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "4:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/noevent.js", "module": "./node_modules/d3-zoom/src/noevent.js", "moduleName": "./node_modules/d3-zoom/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "4:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/noevent.js", "module": "./node_modules/d3-brush/src/noevent.js", "moduleName": "./node_modules/d3-brush/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "4:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/sourceEvent.js", "module": "./node_modules/d3-selection/src/sourceEvent.js", "moduleName": "./node_modules/d3-selection/src/sourceEvent.js", "type": "harmony import specifier", "userRequest": "./selection/on", "loc": "4:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/noevent.js", "module": "./node_modules/d3-drag/src/noevent.js", "moduleName": "./node_modules/d3-drag/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "8:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/noevent.js", "module": "./node_modules/d3-zoom/src/noevent.js", "moduleName": "./node_modules/d3-zoom/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "8:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/noevent.js", "module": "./node_modules/d3-brush/src/noevent.js", "moduleName": "./node_modules/d3-brush/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "8:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/noevent.js", "module": "./node_modules/d3-drag/src/noevent.js", "moduleName": "./node_modules/d3-drag/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "9:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/noevent.js", "module": "./node_modules/d3-zoom/src/noevent.js", "moduleName": "./node_modules/d3-zoom/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "9:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/noevent.js", "module": "./node_modules/d3-brush/src/noevent.js", "moduleName": "./node_modules/d3-brush/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "9:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "10:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "10:28-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "13:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "13:28-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selection/on", "loc": "18:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selection/on", "loc": "18:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selection/on", "loc": "18:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "18:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "18:37-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "25:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./on", "loc": "30:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "34:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "34:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "34:57-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "54:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "55:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "58:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "59:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "66:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "66:48-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "73:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "74:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./on", "loc": "75:6-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "81:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "94:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "106:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "113:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "113:28-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "123:9-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "124:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "137:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "210:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "253:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "255:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "256:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "258:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "267:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "267:42-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "275:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "286:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "296:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "298:37-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "320:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "321:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "325:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "329:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "330:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "330:104-109" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "343:45-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "346:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "346:42-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "350:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "375:8-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "379:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "386:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "463:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "464:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "468:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "479:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "509:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "528:16-21" } ], "usedExports": [ "event", "customEvent", "default" ], "providedExports": [ "event", "default", "customEvent" ], "optimizationBailout": [], "depth": 4, "source": "var filterEvents = {};\n\nexport var event = null;\n\nif (typeof document !== \"undefined\") {\n var element = document.documentElement;\n if (!(\"onmouseenter\" in element)) {\n filterEvents = {mouseenter: \"mouseover\", mouseleave: \"mouseout\"};\n }\n}\n\nfunction filterContextListener(listener, index, group) {\n listener = contextListener(listener, index, group);\n return function(event) {\n var related = event.relatedTarget;\n if (!related || (related !== this && !(related.compareDocumentPosition(this) & 8))) {\n listener.call(this, event);\n }\n };\n}\n\nfunction contextListener(listener, index, group) {\n return function(event1) {\n var event0 = event; // Events can be reentrant (e.g., focus).\n event = event1;\n try {\n listener.call(this, this.__data__, index, group);\n } finally {\n event = event0;\n }\n };\n}\n\nfunction parseTypenames(typenames) {\n return typenames.trim().split(/^|\\s+/).map(function(t) {\n var name = \"\", i = t.indexOf(\".\");\n if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n return {type: t, name: name};\n });\n}\n\nfunction onRemove(typename) {\n return function() {\n var on = this.__on;\n if (!on) return;\n for (var j = 0, i = -1, m = on.length, o; j < m; ++j) {\n if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) {\n this.removeEventListener(o.type, o.listener, o.capture);\n } else {\n on[++i] = o;\n }\n }\n if (++i) on.length = i;\n else delete this.__on;\n };\n}\n\nfunction onAdd(typename, value, capture) {\n var wrap = filterEvents.hasOwnProperty(typename.type) ? filterContextListener : contextListener;\n return function(d, i, group) {\n var on = this.__on, o, listener = wrap(value, i, group);\n if (on) for (var j = 0, m = on.length; j < m; ++j) {\n if ((o = on[j]).type === typename.type && o.name === typename.name) {\n this.removeEventListener(o.type, o.listener, o.capture);\n this.addEventListener(o.type, o.listener = listener, o.capture = capture);\n o.value = value;\n return;\n }\n }\n this.addEventListener(typename.type, listener, capture);\n o = {type: typename.type, name: typename.name, value: value, listener: listener, capture: capture};\n if (!on) this.__on = [o];\n else on.push(o);\n };\n}\n\nexport default function(typename, value, capture) {\n var typenames = parseTypenames(typename + \"\"), i, n = typenames.length, t;\n\n if (arguments.length < 2) {\n var on = this.node().__on;\n if (on) for (var j = 0, m = on.length, o; j < m; ++j) {\n for (i = 0, o = on[j]; i < n; ++i) {\n if ((t = typenames[i]).type === o.type && t.name === o.name) {\n return o.value;\n }\n }\n }\n return;\n }\n\n on = value ? onAdd : onRemove;\n if (capture == null) capture = false;\n for (i = 0; i < n; ++i) this.each(on(typenames[i], value, capture));\n return this;\n}\n\nexport function customEvent(event1, listener, that, args) {\n var event0 = event;\n event1.sourceEvent = event;\n event = event1;\n try {\n return listener.apply(that, args);\n } finally {\n event = event0;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "index": 84, "index2": 109, "size": 2342, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/select.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } } ], "profile": { "factory": 81, "building": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "module": "./node_modules/d3-selection/src/select.js", "moduleName": "./node_modules/d3-selection/src/select.js", "type": "harmony side effect evaluation", "userRequest": "./selection/index", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "module": "./node_modules/d3-selection/src/selection/select.js", "moduleName": "./node_modules/d3-selection/src/selection/select.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/sort.js", "module": "./node_modules/d3-selection/src/selection/sort.js", "moduleName": "./node_modules/d3-selection/src/selection/sort.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/merge.js", "module": "./node_modules/d3-selection/src/selection/merge.js", "moduleName": "./node_modules/d3-selection/src/selection/merge.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "module": "./node_modules/d3-selection/src/selection/filter.js", "moduleName": "./node_modules/d3-selection/src/selection/filter.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "module": "./node_modules/d3-selection/src/selection/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selection/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectAll.js", "module": "./node_modules/d3-selection/src/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "./selection/index", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "module": "./node_modules/d3-selection/src/selection/exit.js", "moduleName": "./node_modules/d3-selection/src/selection/exit.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/enter.js", "module": "./node_modules/d3-selection/src/selection/enter.js", "moduleName": "./node_modules/d3-selection/src/selection/enter.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selection.js", "module": "./node_modules/d3-transition/src/transition/selection.js", "moduleName": "./node_modules/d3-transition/src/transition/selection.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "3:16-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "5:0-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "module": "./node_modules/d3-selection/src/select.js", "moduleName": "./node_modules/d3-selection/src/select.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "5:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectAll.js", "module": "./node_modules/d3-selection/src/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selectAll.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "5:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "module": "./node_modules/d3-selection/src/selection/exit.js", "moduleName": "./node_modules/d3-selection/src/selection/exit.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "5:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/enter.js", "module": "./node_modules/d3-selection/src/selection/enter.js", "moduleName": "./node_modules/d3-selection/src/selection/enter.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "5:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "6:0-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "module": "./node_modules/d3-selection/src/select.js", "moduleName": "./node_modules/d3-selection/src/select.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "6:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectAll.js", "module": "./node_modules/d3-selection/src/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selectAll.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "6:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "module": "./node_modules/d3-selection/src/select.js", "moduleName": "./node_modules/d3-selection/src/select.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "6:36-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectAll.js", "module": "./node_modules/d3-selection/src/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selectAll.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "6:58-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selection/index", "loc": "11:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selection/index", "loc": "11:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "module": "./node_modules/d3-selection/src/selection/filter.js", "moduleName": "./node_modules/d3-selection/src/selection/filter.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "15:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "module": "./node_modules/d3-selection/src/selection/select.js", "moduleName": "./node_modules/d3-selection/src/selection/select.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "16:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "module": "./node_modules/d3-selection/src/selection/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selection/selectAll.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "16:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/merge.js", "module": "./node_modules/d3-selection/src/selection/merge.js", "moduleName": "./node_modules/d3-selection/src/selection/merge.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "17:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/sort.js", "module": "./node_modules/d3-selection/src/selection/sort.js", "moduleName": "./node_modules/d3-selection/src/selection/sort.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "19:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "32:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "39:26-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "114:15-24" } ], "usedExports": [ "Selection", "root", "default" ], "providedExports": [ "root", "Selection", "default" ], "optimizationBailout": [], "depth": 4, "source": "import selection_select from \"./select\";\nimport selection_selectAll from \"./selectAll\";\nimport selection_filter from \"./filter\";\nimport selection_data from \"./data\";\nimport selection_enter from \"./enter\";\nimport selection_exit from \"./exit\";\nimport selection_join from \"./join\";\nimport selection_merge from \"./merge\";\nimport selection_order from \"./order\";\nimport selection_sort from \"./sort\";\nimport selection_call from \"./call\";\nimport selection_nodes from \"./nodes\";\nimport selection_node from \"./node\";\nimport selection_size from \"./size\";\nimport selection_empty from \"./empty\";\nimport selection_each from \"./each\";\nimport selection_attr from \"./attr\";\nimport selection_style from \"./style\";\nimport selection_property from \"./property\";\nimport selection_classed from \"./classed\";\nimport selection_text from \"./text\";\nimport selection_html from \"./html\";\nimport selection_raise from \"./raise\";\nimport selection_lower from \"./lower\";\nimport selection_append from \"./append\";\nimport selection_insert from \"./insert\";\nimport selection_remove from \"./remove\";\nimport selection_clone from \"./clone\";\nimport selection_datum from \"./datum\";\nimport selection_on from \"./on\";\nimport selection_dispatch from \"./dispatch\";\n\nexport var root = [null];\n\nexport function Selection(groups, parents) {\n this._groups = groups;\n this._parents = parents;\n}\n\nfunction selection() {\n return new Selection([[document.documentElement]], root);\n}\n\nSelection.prototype = selection.prototype = {\n constructor: Selection,\n select: selection_select,\n selectAll: selection_selectAll,\n filter: selection_filter,\n data: selection_data,\n enter: selection_enter,\n exit: selection_exit,\n join: selection_join,\n merge: selection_merge,\n order: selection_order,\n sort: selection_sort,\n call: selection_call,\n nodes: selection_nodes,\n node: selection_node,\n size: selection_size,\n empty: selection_empty,\n each: selection_each,\n attr: selection_attr,\n style: selection_style,\n property: selection_property,\n classed: selection_classed,\n text: selection_text,\n html: selection_html,\n raise: selection_raise,\n lower: selection_lower,\n append: selection_append,\n insert: selection_insert,\n remove: selection_remove,\n clone: selection_clone,\n datum: selection_datum,\n on: selection_on,\n dispatch: selection_dispatch\n};\n\nexport default selection;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "index": 134, "index2": 129, "size": 259, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/create.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } } ], "profile": { "factory": 102, "building": 30 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "module": "./node_modules/d3-selection/src/create.js", "moduleName": "./node_modules/d3-selection/src/create.js", "type": "harmony side effect evaluation", "userRequest": "./select", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "module": "./node_modules/d3-selection/src/create.js", "moduleName": "./node_modules/d3-selection/src/create.js", "type": "harmony import specifier", "userRequest": "./select", "loc": "5:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "6:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./select", "loc": "9:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./select", "loc": "9:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "17:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "54:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "73:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "179:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "253:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "261:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "290:22-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "291:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "367:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "369:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "379:17-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Selection, root} from \"./selection/index\";\n\nexport default function(selector) {\n return typeof selector === \"string\"\n ? new Selection([[document.querySelector(selector)]], [document.documentElement])\n : new Selection([[selector]], root);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "name": "./node_modules/d3-drag/src/nodrag.js", "index": 141, "index2": 137, "size": 860, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-drag/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 60, "dependencies": 58 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "module": "./node_modules/d3-drag/src/index.js", "moduleName": "./node_modules/d3-drag/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./nodrag.js", "loc": "2:0-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "module": "./node_modules/d3-drag/src/index.js", "moduleName": "./node_modules/d3-drag/src/index.js", "type": "harmony export imported specifier", "userRequest": "./nodrag.js", "loc": "2:0-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "module": "./node_modules/d3-drag/src/index.js", "moduleName": "./node_modules/d3-drag/src/index.js", "type": "harmony export imported specifier", "userRequest": "./nodrag.js", "loc": "2:0-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "./nodrag.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./nodrag.js", "loc": "55:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./nodrag.js", "loc": "74:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-drag", "loc": "258:4-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-drag", "loc": "275:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-drag", "loc": "386:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-drag", "loc": "468:8-18" } ], "usedExports": [ "default", "yesdrag" ], "providedExports": [ "default", "yesdrag" ], "optimizationBailout": [], "depth": 4, "source": "import {select} from \"d3-selection\";\nimport noevent from \"./noevent.js\";\n\nexport default function(view) {\n var root = view.document.documentElement,\n selection = select(view).on(\"dragstart.drag\", noevent, true);\n if (\"onselectstart\" in root) {\n selection.on(\"selectstart.drag\", noevent, true);\n } else {\n root.__noselect = root.style.MozUserSelect;\n root.style.MozUserSelect = \"none\";\n }\n}\n\nexport function yesdrag(view, noclick) {\n var root = view.document.documentElement,\n selection = select(view).on(\"dragstart.drag\", null);\n if (noclick) {\n selection.on(\"click.drag\", noevent, true);\n setTimeout(function() { selection.on(\"click.drag\", null); }, 0);\n }\n if (\"onselectstart\" in root) {\n selection.on(\"selectstart.drag\", null);\n } else {\n root.style.MozUserSelect = root.__noselect;\n delete root.__noselect;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "name": "./node_modules/d3-color/src/color.js", "index": 57, "index2": 47, "size": 10673, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-color/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 78, "building": 55, "dependencies": 61 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "1:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "3:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:52-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "7:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "8:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "10:27-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "10:54-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "15:31-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "16:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "16:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "16:31-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "18:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "18:31-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "36:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "39:36-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "41:20-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "41:40-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "45:20-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "45:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "45:38-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "54:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "59:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "113:24-29" } ], "usedExports": [ "default", "rgb", "Rgb", "rgbConvert", "Color", "brighter", "darker", "hsl" ], "providedExports": [ "Color", "darker", "brighter", "default", "rgbConvert", "rgb", "Rgb", "hslConvert", "hsl" ], "optimizationBailout": [], "depth": 4, "source": "import define, {extend} from \"./define.js\";\n\nexport function Color() {}\n\nexport var darker = 0.7;\nexport var brighter = 1 / darker;\n\nvar reI = \"\\\\s*([+-]?\\\\d+)\\\\s*\",\n reN = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",\n reP = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",\n reHex = /^#([0-9a-f]{3,8})$/,\n reRgbInteger = new RegExp(\"^rgb\\\\(\" + [reI, reI, reI] + \"\\\\)$\"),\n reRgbPercent = new RegExp(\"^rgb\\\\(\" + [reP, reP, reP] + \"\\\\)$\"),\n reRgbaInteger = new RegExp(\"^rgba\\\\(\" + [reI, reI, reI, reN] + \"\\\\)$\"),\n reRgbaPercent = new RegExp(\"^rgba\\\\(\" + [reP, reP, reP, reN] + \"\\\\)$\"),\n reHslPercent = new RegExp(\"^hsl\\\\(\" + [reN, reP, reP] + \"\\\\)$\"),\n reHslaPercent = new RegExp(\"^hsla\\\\(\" + [reN, reP, reP, reN] + \"\\\\)$\");\n\nvar named = {\n aliceblue: 0xf0f8ff,\n antiquewhite: 0xfaebd7,\n aqua: 0x00ffff,\n aquamarine: 0x7fffd4,\n azure: 0xf0ffff,\n beige: 0xf5f5dc,\n bisque: 0xffe4c4,\n black: 0x000000,\n blanchedalmond: 0xffebcd,\n blue: 0x0000ff,\n blueviolet: 0x8a2be2,\n brown: 0xa52a2a,\n burlywood: 0xdeb887,\n cadetblue: 0x5f9ea0,\n chartreuse: 0x7fff00,\n chocolate: 0xd2691e,\n coral: 0xff7f50,\n cornflowerblue: 0x6495ed,\n cornsilk: 0xfff8dc,\n crimson: 0xdc143c,\n cyan: 0x00ffff,\n darkblue: 0x00008b,\n darkcyan: 0x008b8b,\n darkgoldenrod: 0xb8860b,\n darkgray: 0xa9a9a9,\n darkgreen: 0x006400,\n darkgrey: 0xa9a9a9,\n darkkhaki: 0xbdb76b,\n darkmagenta: 0x8b008b,\n darkolivegreen: 0x556b2f,\n darkorange: 0xff8c00,\n darkorchid: 0x9932cc,\n darkred: 0x8b0000,\n darksalmon: 0xe9967a,\n darkseagreen: 0x8fbc8f,\n darkslateblue: 0x483d8b,\n darkslategray: 0x2f4f4f,\n darkslategrey: 0x2f4f4f,\n darkturquoise: 0x00ced1,\n darkviolet: 0x9400d3,\n deeppink: 0xff1493,\n deepskyblue: 0x00bfff,\n dimgray: 0x696969,\n dimgrey: 0x696969,\n dodgerblue: 0x1e90ff,\n firebrick: 0xb22222,\n floralwhite: 0xfffaf0,\n forestgreen: 0x228b22,\n fuchsia: 0xff00ff,\n gainsboro: 0xdcdcdc,\n ghostwhite: 0xf8f8ff,\n gold: 0xffd700,\n goldenrod: 0xdaa520,\n gray: 0x808080,\n green: 0x008000,\n greenyellow: 0xadff2f,\n grey: 0x808080,\n honeydew: 0xf0fff0,\n hotpink: 0xff69b4,\n indianred: 0xcd5c5c,\n indigo: 0x4b0082,\n ivory: 0xfffff0,\n khaki: 0xf0e68c,\n lavender: 0xe6e6fa,\n lavenderblush: 0xfff0f5,\n lawngreen: 0x7cfc00,\n lemonchiffon: 0xfffacd,\n lightblue: 0xadd8e6,\n lightcoral: 0xf08080,\n lightcyan: 0xe0ffff,\n lightgoldenrodyellow: 0xfafad2,\n lightgray: 0xd3d3d3,\n lightgreen: 0x90ee90,\n lightgrey: 0xd3d3d3,\n lightpink: 0xffb6c1,\n lightsalmon: 0xffa07a,\n lightseagreen: 0x20b2aa,\n lightskyblue: 0x87cefa,\n lightslategray: 0x778899,\n lightslategrey: 0x778899,\n lightsteelblue: 0xb0c4de,\n lightyellow: 0xffffe0,\n lime: 0x00ff00,\n limegreen: 0x32cd32,\n linen: 0xfaf0e6,\n magenta: 0xff00ff,\n maroon: 0x800000,\n mediumaquamarine: 0x66cdaa,\n mediumblue: 0x0000cd,\n mediumorchid: 0xba55d3,\n mediumpurple: 0x9370db,\n mediumseagreen: 0x3cb371,\n mediumslateblue: 0x7b68ee,\n mediumspringgreen: 0x00fa9a,\n mediumturquoise: 0x48d1cc,\n mediumvioletred: 0xc71585,\n midnightblue: 0x191970,\n mintcream: 0xf5fffa,\n mistyrose: 0xffe4e1,\n moccasin: 0xffe4b5,\n navajowhite: 0xffdead,\n navy: 0x000080,\n oldlace: 0xfdf5e6,\n olive: 0x808000,\n olivedrab: 0x6b8e23,\n orange: 0xffa500,\n orangered: 0xff4500,\n orchid: 0xda70d6,\n palegoldenrod: 0xeee8aa,\n palegreen: 0x98fb98,\n paleturquoise: 0xafeeee,\n palevioletred: 0xdb7093,\n papayawhip: 0xffefd5,\n peachpuff: 0xffdab9,\n peru: 0xcd853f,\n pink: 0xffc0cb,\n plum: 0xdda0dd,\n powderblue: 0xb0e0e6,\n purple: 0x800080,\n rebeccapurple: 0x663399,\n red: 0xff0000,\n rosybrown: 0xbc8f8f,\n royalblue: 0x4169e1,\n saddlebrown: 0x8b4513,\n salmon: 0xfa8072,\n sandybrown: 0xf4a460,\n seagreen: 0x2e8b57,\n seashell: 0xfff5ee,\n sienna: 0xa0522d,\n silver: 0xc0c0c0,\n skyblue: 0x87ceeb,\n slateblue: 0x6a5acd,\n slategray: 0x708090,\n slategrey: 0x708090,\n snow: 0xfffafa,\n springgreen: 0x00ff7f,\n steelblue: 0x4682b4,\n tan: 0xd2b48c,\n teal: 0x008080,\n thistle: 0xd8bfd8,\n tomato: 0xff6347,\n turquoise: 0x40e0d0,\n violet: 0xee82ee,\n wheat: 0xf5deb3,\n white: 0xffffff,\n whitesmoke: 0xf5f5f5,\n yellow: 0xffff00,\n yellowgreen: 0x9acd32\n};\n\ndefine(Color, color, {\n copy: function(channels) {\n return Object.assign(new this.constructor, this, channels);\n },\n displayable: function() {\n return this.rgb().displayable();\n },\n hex: color_formatHex, // Deprecated! Use color.formatHex.\n formatHex: color_formatHex,\n formatHsl: color_formatHsl,\n formatRgb: color_formatRgb,\n toString: color_formatRgb\n});\n\nfunction color_formatHex() {\n return this.rgb().formatHex();\n}\n\nfunction color_formatHsl() {\n return hslConvert(this).formatHsl();\n}\n\nfunction color_formatRgb() {\n return this.rgb().formatRgb();\n}\n\nexport default function color(format) {\n var m, l;\n format = (format + \"\").trim().toLowerCase();\n return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000\n : l === 3 ? new Rgb((m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1) // #f00\n : l === 8 ? new Rgb(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000\n : l === 4 ? new Rgb((m >> 12 & 0xf) | (m >> 8 & 0xf0), (m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), (((m & 0xf) << 4) | (m & 0xf)) / 0xff) // #f000\n : null) // invalid hex\n : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)\n : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)\n : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)\n : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)\n : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)\n : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)\n : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins\n : format === \"transparent\" ? new Rgb(NaN, NaN, NaN, 0)\n : null;\n}\n\nfunction rgbn(n) {\n return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);\n}\n\nfunction rgba(r, g, b, a) {\n if (a <= 0) r = g = b = NaN;\n return new Rgb(r, g, b, a);\n}\n\nexport function rgbConvert(o) {\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Rgb;\n o = o.rgb();\n return new Rgb(o.r, o.g, o.b, o.opacity);\n}\n\nexport function rgb(r, g, b, opacity) {\n return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);\n}\n\nexport function Rgb(r, g, b, opacity) {\n this.r = +r;\n this.g = +g;\n this.b = +b;\n this.opacity = +opacity;\n}\n\ndefine(Rgb, rgb, extend(Color, {\n brighter: function(k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n darker: function(k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n rgb: function() {\n return this;\n },\n displayable: function() {\n return (-0.5 <= this.r && this.r < 255.5)\n && (-0.5 <= this.g && this.g < 255.5)\n && (-0.5 <= this.b && this.b < 255.5)\n && (0 <= this.opacity && this.opacity <= 1);\n },\n hex: rgb_formatHex, // Deprecated! Use color.formatHex.\n formatHex: rgb_formatHex,\n formatRgb: rgb_formatRgb,\n toString: rgb_formatRgb\n}));\n\nfunction rgb_formatHex() {\n return \"#\" + hex(this.r) + hex(this.g) + hex(this.b);\n}\n\nfunction rgb_formatRgb() {\n var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"rgb(\" : \"rgba(\")\n + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + \", \"\n + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + \", \"\n + Math.max(0, Math.min(255, Math.round(this.b) || 0))\n + (a === 1 ? \")\" : \", \" + a + \")\");\n}\n\nfunction hex(value) {\n value = Math.max(0, Math.min(255, Math.round(value) || 0));\n return (value < 16 ? \"0\" : \"\") + value.toString(16);\n}\n\nfunction hsla(h, s, l, a) {\n if (a <= 0) h = s = l = NaN;\n else if (l <= 0 || l >= 1) h = s = NaN;\n else if (s <= 0) h = NaN;\n return new Hsl(h, s, l, a);\n}\n\nexport function hslConvert(o) {\n if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Hsl;\n if (o instanceof Hsl) return o;\n o = o.rgb();\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n min = Math.min(r, g, b),\n max = Math.max(r, g, b),\n h = NaN,\n s = max - min,\n l = (max + min) / 2;\n if (s) {\n if (r === max) h = (g - b) / s + (g < b) * 6;\n else if (g === max) h = (b - r) / s + 2;\n else h = (r - g) / s + 4;\n s /= l < 0.5 ? max + min : 2 - max - min;\n h *= 60;\n } else {\n s = l > 0 && l < 1 ? 0 : h;\n }\n return new Hsl(h, s, l, o.opacity);\n}\n\nexport function hsl(h, s, l, opacity) {\n return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);\n}\n\nfunction Hsl(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\n\ndefine(Hsl, hsl, extend(Color, {\n brighter: function(k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function(k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function() {\n var h = this.h % 360 + (this.h < 0) * 360,\n s = isNaN(h) || isNaN(this.s) ? 0 : this.s,\n l = this.l,\n m2 = l + (l < 0.5 ? l : 1 - l) * s,\n m1 = 2 * l - m2;\n return new Rgb(\n hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),\n hsl2rgb(h, m1, m2),\n hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),\n this.opacity\n );\n },\n displayable: function() {\n return (0 <= this.s && this.s <= 1 || isNaN(this.s))\n && (0 <= this.l && this.l <= 1)\n && (0 <= this.opacity && this.opacity <= 1);\n },\n formatHsl: function() {\n var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"hsl(\" : \"hsla(\")\n + (this.h || 0) + \", \"\n + (this.s || 0) * 100 + \"%, \"\n + (this.l || 0) * 100 + \"%\"\n + (a === 1 ? \")\" : \", \" + a + \")\");\n }\n}));\n\n/* From FvD 13.37, CSS Color Module Level 3 */\nfunction hsl2rgb(h, m1, m2) {\n return (h < 60 ? m1 + (m2 - m1) * h / 60\n : h < 180 ? m2\n : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60\n : m1) * 255;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/basis.js", "name": "./node_modules/d3-interpolate/src/basis.js", "index": 62, "index2": 50, "size": 600, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/rgb.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "name": "./node_modules/d3-interpolate/src/rgb.js", "profile": { "factory": 113, "building": 47, "dependencies": 0 } } ], "profile": { "factory": 28, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/basisClosed.js", "module": "./node_modules/d3-interpolate/src/basisClosed.js", "moduleName": "./node_modules/d3-interpolate/src/basisClosed.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "3:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./basis.js", "loc": "3:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/basisClosed.js", "module": "./node_modules/d3-interpolate/src/basisClosed.js", "moduleName": "./node_modules/d3-interpolate/src/basisClosed.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "11:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "54:32-37" } ], "usedExports": [ "default", "basis" ], "providedExports": [ "basis", "default" ], "optimizationBailout": [], "depth": 4, "source": "export function basis(t1, v0, v1, v2, v3) {\n var t2 = t1 * t1, t3 = t2 * t1;\n return ((1 - 3 * t1 + 3 * t2 - t3) * v0\n + (4 - 6 * t2 + 3 * t3) * v1\n + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2\n + t3 * v3) / 6;\n}\n\nexport default function(values) {\n var n = values.length - 1;\n return function(t) {\n var i = t <= 0 ? (t = 0) : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),\n v1 = values[i],\n v2 = values[i + 1],\n v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,\n v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/basisClosed.js", "name": "./node_modules/d3-interpolate/src/basisClosed.js", "index": 63, "index2": 51, "size": 363, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/rgb.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "name": "./node_modules/d3-interpolate/src/rgb.js", "profile": { "factory": 113, "building": 47, "dependencies": 0 } } ], "profile": { "factory": 28, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./basisClosed.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./basisClosed.js", "loc": "4:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./basisClosed.js", "loc": "4:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./basisClosed.js", "loc": "55:38-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {basis} from \"./basis.js\";\n\nexport default function(values) {\n var n = values.length;\n return function(t) {\n var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),\n v0 = values[(i + n - 1) % n],\n v1 = values[i % n],\n v2 = values[(i + 1) % n],\n v3 = values[(i + 2) % n];\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "name": "./node_modules/d3-interpolate/src/rgb.js", "index": 59, "index2": 52, "size": 1297, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./rgb.js", "loc": "2:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/ramp.js", "module": "./node_modules/d3-scale-chromatic/src/ramp.js", "moduleName": "./node_modules/d3-scale-chromatic/src/ramp.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "4:9-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "7:29-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "8:33-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./rgb.js", "loc": "15:0-129" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-129" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-129" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-129" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./rgb.js", "loc": "15:51-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./rgb.js", "loc": "16:29-32" } ], "usedExports": [ "default", "rgbBasis", "rgbBasisClosed" ], "providedExports": [ "default", "rgbBasis", "rgbBasisClosed" ], "optimizationBailout": [], "depth": 4, "source": "import {rgb as colorRgb} from \"d3-color\";\nimport basis from \"./basis.js\";\nimport basisClosed from \"./basisClosed.js\";\nimport nogamma, {gamma} from \"./color.js\";\n\nexport default (function rgbGamma(y) {\n var color = gamma(y);\n\n function rgb(start, end) {\n var r = color((start = colorRgb(start)).r, (end = colorRgb(end)).r),\n g = color(start.g, end.g),\n b = color(start.b, end.b),\n opacity = nogamma(start.opacity, end.opacity);\n return function(t) {\n start.r = r(t);\n start.g = g(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n rgb.gamma = rgbGamma;\n\n return rgb;\n})(1);\n\nfunction rgbSpline(spline) {\n return function(colors) {\n var n = colors.length,\n r = new Array(n),\n g = new Array(n),\n b = new Array(n),\n i, color;\n for (i = 0; i < n; ++i) {\n color = colorRgb(colors[i]);\n r[i] = color.r || 0;\n g[i] = color.g || 0;\n b[i] = color.b || 0;\n }\n r = spline(r);\n g = spline(g);\n b = spline(b);\n color.opacity = 1;\n return function(t) {\n color.r = r(t);\n color.g = g(t);\n color.b = b(t);\n return color + \"\";\n };\n };\n}\n\nexport var rgbBasis = rgbSpline(basis);\nexport var rgbBasisClosed = rgbSpline(basisClosed);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/numberArray.js", "name": "./node_modules/d3-interpolate/src/numberArray.js", "index": 137, "index2": 131, "size": 332, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "module": "./node_modules/d3-interpolate/src/array.js", "moduleName": "./node_modules/d3-interpolate/src/array.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "2:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "module": "./node_modules/d3-interpolate/src/array.js", "moduleName": "./node_modules/d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "5:10-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "module": "./node_modules/d3-interpolate/src/array.js", "moduleName": "./node_modules/d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "5:29-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./numberArray.js", "loc": "9:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "9:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "9:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "18:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "18:27-38" } ], "usedExports": [ "isNumberArray", "default" ], "providedExports": [ "default", "isNumberArray" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n if (!b) b = [];\n var n = a ? Math.min(b.length, a.length) : 0,\n c = b.slice(),\n i;\n return function(t) {\n for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;\n return c;\n };\n}\n\nexport function isNumberArray(x) {\n return ArrayBuffer.isView(x) && !(x instanceof DataView);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "name": "./node_modules/d3-interpolate/src/array.js", "index": 138, "index2": 132, "size": 540, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./array.js", "loc": "2:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./array.js", "loc": "2:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./array.js", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./array.js", "loc": "19:27-39" } ], "usedExports": [ "genericArray", "default" ], "providedExports": [ "default", "genericArray" ], "optimizationBailout": [], "depth": 4, "source": "import value from \"./value.js\";\nimport numberArray, {isNumberArray} from \"./numberArray.js\";\n\nexport default function(a, b) {\n return (isNumberArray(b) ? numberArray : genericArray)(a, b);\n}\n\nexport function genericArray(a, b) {\n var nb = b ? b.length : 0,\n na = a ? Math.min(nb, a.length) : 0,\n x = new Array(na),\n c = new Array(nb),\n i;\n\n for (i = 0; i < na; ++i) x[i] = value(a[i], b[i]);\n for (; i < nb; ++i) c[i] = b[i];\n\n return function(t) {\n for (i = 0; i < na; ++i) c[i] = x[i](t);\n return c;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/date.js", "name": "./node_modules/d3-interpolate/src/date.js", "index": 136, "index2": 130, "size": 144, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./date.js", "loc": "4:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./date.js", "loc": "5:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./date.js", "loc": "5:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./date.js", "loc": "17:28-32" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n var d = new Date;\n return a = +a, b = +b, function(t) {\n return d.setTime(a * (1 - t) + b * t), d;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/number.js", "name": "./node_modules/d3-interpolate/src/number.js", "index": 56, "index2": 45, "size": 110, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/string.js", "module": "./node_modules/d3-interpolate/src/string.js", "moduleName": "./node_modules/d3-interpolate/src/string.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony side effect evaluation", "userRequest": "../number.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "5:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "6:34-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "8:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./number.js", "loc": "8:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "13:27-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "13:58-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "14:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "21:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "22:68-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "30:67-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "39:27-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "39:58-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/string.js", "module": "./node_modules/d3-interpolate/src/string.js", "moduleName": "./node_modules/d3-interpolate/src/string.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "43:23-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "89:88-105" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n return a = +a, b = +b, function(t) {\n return a * (1 - t) + b * t;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/object.js", "name": "./node_modules/d3-interpolate/src/object.js", "index": 139, "index2": 133, "size": 393, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./object.js", "loc": "6:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./object.js", "loc": "10:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./object.js", "loc": "10:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./object.js", "loc": "20:90-96" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import value from \"./value.js\";\n\nexport default function(a, b) {\n var i = {},\n c = {},\n k;\n\n if (a === null || typeof a !== \"object\") a = {};\n if (b === null || typeof b !== \"object\") b = {};\n\n for (k in b) {\n if (k in a) {\n i[k] = value(a[k], b[k]);\n } else {\n c[k] = b[k];\n }\n }\n\n return function(t) {\n for (k in i) c[k] = i[k](t);\n return c;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/string.js", "name": "./node_modules/d3-interpolate/src/string.js", "index": 64, "index2": 53, "size": 1761, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./string.js", "loc": "7:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "9:8-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./string.js", "loc": "12:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./string.js", "loc": "12:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./string.js", "loc": "15:58-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import number from \"./number.js\";\n\nvar reA = /[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,\n reB = new RegExp(reA.source, \"g\");\n\nfunction zero(b) {\n return function() {\n return b;\n };\n}\n\nfunction one(b) {\n return function(t) {\n return b(t) + \"\";\n };\n}\n\nexport default function(a, b) {\n var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b\n am, // current match in a\n bm, // current match in b\n bs, // string preceding current number in b, if any\n i = -1, // index in s\n s = [], // string constants and placeholders\n q = []; // number interpolators\n\n // Coerce inputs to strings.\n a = a + \"\", b = b + \"\";\n\n // Interpolate pairs of numbers in a & b.\n while ((am = reA.exec(a))\n && (bm = reB.exec(b))) {\n if ((bs = bm.index) > bi) { // a string precedes the next number in b\n bs = b.slice(bi, bs);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n }\n if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match\n if (s[i]) s[i] += bm; // coalesce with previous string\n else s[++i] = bm;\n } else { // interpolate non-matching numbers\n s[++i] = null;\n q.push({i: i, x: number(am, bm)});\n }\n bi = reB.lastIndex;\n }\n\n // Add remains of b.\n if (bi < b.length) {\n bs = b.slice(bi);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n }\n\n // Special optimization for only a single match.\n // Otherwise, interpolate each of the numbers and rejoin the string.\n return s.length < 2 ? (q[0]\n ? one(q[0].x)\n : zero(b))\n : (b = q.length, function(t) {\n for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);\n return s.join(\"\");\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "index": 135, "index2": 134, "size": 806, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./value.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/object.js", "module": "./node_modules/d3-interpolate/src/object.js", "moduleName": "./node_modules/d3-interpolate/src/object.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "module": "./node_modules/d3-interpolate/src/array.js", "moduleName": "./node_modules/d3-interpolate/src/array.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/object.js", "module": "./node_modules/d3-interpolate/src/object.js", "moduleName": "./node_modules/d3-interpolate/src/object.js", "type": "harmony import specifier", "userRequest": "./value.js", "loc": "13:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "module": "./node_modules/d3-interpolate/src/array.js", "moduleName": "./node_modules/d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./value.js", "loc": "15:34-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "69:20-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "229:20-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {color} from \"d3-color\";\nimport rgb from \"./rgb.js\";\nimport {genericArray} from \"./array.js\";\nimport date from \"./date.js\";\nimport number from \"./number.js\";\nimport object from \"./object.js\";\nimport string from \"./string.js\";\nimport constant from \"./constant.js\";\nimport numberArray, {isNumberArray} from \"./numberArray.js\";\n\nexport default function(a, b) {\n var t = typeof b, c;\n return b == null || t === \"boolean\" ? constant(b)\n : (t === \"number\" ? number\n : t === \"string\" ? ((c = color(b)) ? (b = c, rgb) : string)\n : b instanceof color ? rgb\n : b instanceof Date ? date\n : isNumberArray(b) ? numberArray\n : Array.isArray(b) ? genericArray\n : typeof b.valueOf !== \"function\" && typeof b.toString !== \"function\" || isNaN(b) ? object\n : number)(a, b);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/point.js", "name": "./node_modules/d3-selection/src/point.js", "index": 133, "index2": 127, "size": 448, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touch.js", "module": "./node_modules/d3-selection/src/touch.js", "moduleName": "./node_modules/d3-selection/src/touch.js", "type": "harmony side effect evaluation", "userRequest": "./point", "loc": "2:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "module": "./node_modules/d3-selection/src/touches.js", "moduleName": "./node_modules/d3-selection/src/touches.js", "type": "harmony side effect evaluation", "userRequest": "./point", "loc": "2:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/mouse.js", "module": "./node_modules/d3-selection/src/mouse.js", "moduleName": "./node_modules/d3-selection/src/mouse.js", "type": "harmony side effect evaluation", "userRequest": "./point", "loc": "2:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/mouse.js", "module": "./node_modules/d3-selection/src/mouse.js", "moduleName": "./node_modules/d3-selection/src/mouse.js", "type": "harmony import specifier", "userRequest": "./point", "loc": "7:9-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./point", "loc": "8:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./point", "loc": "8:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "module": "./node_modules/d3-selection/src/touches.js", "moduleName": "./node_modules/d3-selection/src/touches.js", "type": "harmony import specifier", "userRequest": "./point", "loc": "8:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touch.js", "module": "./node_modules/d3-selection/src/touch.js", "moduleName": "./node_modules/d3-selection/src/touch.js", "type": "harmony import specifier", "userRequest": "./point", "loc": "9:13-18" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(node, event) {\n var svg = node.ownerSVGElement || node;\n\n if (svg.createSVGPoint) {\n var point = svg.createSVGPoint();\n point.x = event.clientX, point.y = event.clientY;\n point = point.matrixTransform(node.getScreenCTM().inverse());\n return [point.x, point.y];\n }\n\n var rect = node.getBoundingClientRect();\n return [event.clientX - rect.left - node.clientLeft, event.clientY - rect.top - node.clientTop];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touch.js", "name": "./node_modules/d3-selection/src/touch.js", "index": 131, "index2": 128, "size": 407, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./touch", "loc": "15:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./touch", "loc": "15:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "25:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "86:58-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "303:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "328:26-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import sourceEvent from \"./sourceEvent\";\nimport point from \"./point\";\n\nexport default function(node, touches, identifier) {\n if (arguments.length < 3) identifier = touches, touches = sourceEvent().changedTouches;\n\n for (var i = 0, n = touches ? touches.length : 0, touch; i < n; ++i) {\n if ((touch = touches[i]).identifier === identifier) {\n return point(node, touch);\n }\n }\n\n return null;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/mouse.js", "name": "./node_modules/d3-selection/src/mouse.js", "index": 140, "index2": 135, "size": 224, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./mouse", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./mouse", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "52:73-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "219:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "254:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "270:70-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "284:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "346:80-85" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import sourceEvent from \"./sourceEvent\";\nimport point from \"./point\";\n\nexport default function(node) {\n var event = sourceEvent();\n if (event.changedTouches) event = event.changedTouches[0];\n return point(node, event);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/timer.js", "name": "./node_modules/d3-timer/src/timer.js", "index": 49, "index2": 39, "size": 2905, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-timer/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "name": "./node_modules/d3-timer/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 98, "building": 72, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-5:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-5:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-5:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-5:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/interval.js", "module": "./node_modules/d3-timer/src/interval.js", "moduleName": "./node_modules/d3-timer/src/interval.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/timeout.js", "module": "./node_modules/d3-timer/src/timeout.js", "moduleName": "./node_modules/d3-timer/src/timeout.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/interval.js", "module": "./node_modules/d3-timer/src/interval.js", "moduleName": "./node_modules/d3-timer/src/interval.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "4:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/timeout.js", "module": "./node_modules/d3-timer/src/timeout.js", "moduleName": "./node_modules/d3-timer/src/timeout.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "4:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/interval.js", "module": "./node_modules/d3-timer/src/interval.js", "moduleName": "./node_modules/d3-timer/src/interval.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "6:40-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "17:34-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "24:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "30:50-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "59:15-20" } ], "usedExports": [ "timer", "Timer", "now", "timerFlush" ], "providedExports": [ "now", "Timer", "timer", "timerFlush" ], "optimizationBailout": [], "depth": 4, "source": "var frame = 0, // is an animation frame pending?\n timeout = 0, // is a timeout pending?\n interval = 0, // are any timers active?\n pokeDelay = 1000, // how frequently we check for clock skew\n taskHead,\n taskTail,\n clockLast = 0,\n clockNow = 0,\n clockSkew = 0,\n clock = typeof performance === \"object\" && performance.now ? performance : Date,\n setFrame = typeof window === \"object\" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(f) { setTimeout(f, 17); };\n\nexport function now() {\n return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);\n}\n\nfunction clearNow() {\n clockNow = 0;\n}\n\nexport function Timer() {\n this._call =\n this._time =\n this._next = null;\n}\n\nTimer.prototype = timer.prototype = {\n constructor: Timer,\n restart: function(callback, delay, time) {\n if (typeof callback !== \"function\") throw new TypeError(\"callback is not a function\");\n time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);\n if (!this._next && taskTail !== this) {\n if (taskTail) taskTail._next = this;\n else taskHead = this;\n taskTail = this;\n }\n this._call = callback;\n this._time = time;\n sleep();\n },\n stop: function() {\n if (this._call) {\n this._call = null;\n this._time = Infinity;\n sleep();\n }\n }\n};\n\nexport function timer(callback, delay, time) {\n var t = new Timer;\n t.restart(callback, delay, time);\n return t;\n}\n\nexport function timerFlush() {\n now(); // Get the current time, if not already set.\n ++frame; // Pretend we’ve set an alarm, if we haven’t already.\n var t = taskHead, e;\n while (t) {\n if ((e = clockNow - t._time) >= 0) t._call.call(null, e);\n t = t._next;\n }\n --frame;\n}\n\nfunction wake() {\n clockNow = (clockLast = clock.now()) + clockSkew;\n frame = timeout = 0;\n try {\n timerFlush();\n } finally {\n frame = 0;\n nap();\n clockNow = 0;\n }\n}\n\nfunction poke() {\n var now = clock.now(), delay = now - clockLast;\n if (delay > pokeDelay) clockSkew -= delay, clockLast = now;\n}\n\nfunction nap() {\n var t0, t1 = taskHead, t2, time = Infinity;\n while (t1) {\n if (t1._call) {\n if (time > t1._time) time = t1._time;\n t0 = t1, t1 = t1._next;\n } else {\n t2 = t1._next, t1._next = null;\n t1 = t0 ? t0._next = t2 : taskHead = t2;\n }\n }\n taskTail = t0;\n sleep(time);\n}\n\nfunction sleep(time) {\n if (frame) return; // Soonest alarm already set, or will be.\n if (timeout) timeout = clearTimeout(timeout);\n var delay = time - clockNow; // Strictly less than if we recomputed clockNow.\n if (delay > 24) {\n if (time < Infinity) timeout = setTimeout(wake, time - clock.now() - clockSkew);\n if (interval) interval = clearInterval(interval);\n } else {\n if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);\n frame = 1, setFrame(wake);\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/timeout.js", "name": "./node_modules/d3-timer/src/timeout.js", "index": 50, "index2": 40, "size": 253, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-timer/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "name": "./node_modules/d3-timer/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 98, "building": 72, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./timeout.js", "loc": "7:0-9:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timeout.js", "loc": "7:0-9:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "82:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "105:4-11" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Timer} from \"./timer.js\";\n\nexport default function(callback, delay, time) {\n var t = new Timer;\n delay = delay == null ? 0 : +delay;\n t.restart(function(elapsed) {\n t.stop();\n callback(elapsed + delay);\n }, delay, time);\n return t;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "name": "./node_modules/d3-transition/src/interrupt.js", "index": 46, "index2": 42, "size": 676, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 285, "building": 41, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/interrupt.js", "module": "./node_modules/d3-transition/src/selection/interrupt.js", "moduleName": "./node_modules/d3-transition/src/selection/interrupt.js", "type": "harmony side effect evaluation", "userRequest": "../interrupt.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./interrupt.js", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony export imported specifier", "userRequest": "./interrupt.js", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/interrupt.js", "module": "./node_modules/d3-transition/src/selection/interrupt.js", "moduleName": "./node_modules/d3-transition/src/selection/interrupt.js", "type": "harmony import specifier", "userRequest": "../interrupt.js", "loc": "5:4-13" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {STARTING, ENDING, ENDED} from \"./transition/schedule.js\";\n\nexport default function(node, name) {\n var schedules = node.__transition,\n schedule,\n active,\n empty = true,\n i;\n\n if (!schedules) return;\n\n name = name == null ? null : name + \"\";\n\n for (i in schedules) {\n if ((schedule = schedules[i]).name !== name) { empty = false; continue; }\n active = schedule.state > STARTING && schedule.state < ENDING;\n schedule.state = ENDED;\n schedule.timer.stop();\n schedule.on.call(active ? \"interrupt\" : \"cancel\", node, node.__data__, schedule.index, schedule.group);\n delete schedules[i];\n }\n\n if (empty) delete node.__transition;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "name": "./node_modules/d3-interpolate/src/transform/index.js", "index": 67, "index2": 59, "size": 2070, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transform/index.js", "loc": "13:0-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform/index.js", "loc": "13:0-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform/index.js", "loc": "13:0-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "70:41-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "73:65-85" } ], "usedExports": [ "interpolateTransformCss", "interpolateTransformSvg" ], "providedExports": [ "interpolateTransformCss", "interpolateTransformSvg" ], "optimizationBailout": [], "depth": 4, "source": "import number from \"../number.js\";\nimport {parseCss, parseSvg} from \"./parse.js\";\n\nfunction interpolateTransform(parse, pxComma, pxParen, degParen) {\n\n function pop(s) {\n return s.length ? s.pop() + \" \" : \"\";\n }\n\n function translate(xa, ya, xb, yb, s, q) {\n if (xa !== xb || ya !== yb) {\n var i = s.push(\"translate(\", null, pxComma, null, pxParen);\n q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});\n } else if (xb || yb) {\n s.push(\"translate(\" + xb + pxComma + yb + pxParen);\n }\n }\n\n function rotate(a, b, s, q) {\n if (a !== b) {\n if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path\n q.push({i: s.push(pop(s) + \"rotate(\", null, degParen) - 2, x: number(a, b)});\n } else if (b) {\n s.push(pop(s) + \"rotate(\" + b + degParen);\n }\n }\n\n function skewX(a, b, s, q) {\n if (a !== b) {\n q.push({i: s.push(pop(s) + \"skewX(\", null, degParen) - 2, x: number(a, b)});\n } else if (b) {\n s.push(pop(s) + \"skewX(\" + b + degParen);\n }\n }\n\n function scale(xa, ya, xb, yb, s, q) {\n if (xa !== xb || ya !== yb) {\n var i = s.push(pop(s) + \"scale(\", null, \",\", null, \")\");\n q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});\n } else if (xb !== 1 || yb !== 1) {\n s.push(pop(s) + \"scale(\" + xb + \",\" + yb + \")\");\n }\n }\n\n return function(a, b) {\n var s = [], // string constants and placeholders\n q = []; // number interpolators\n a = parse(a), b = parse(b);\n translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);\n rotate(a.rotate, b.rotate, s, q);\n skewX(a.skewX, b.skewX, s, q);\n scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);\n a = b = null; // gc\n return function(t) {\n var i = -1, n = q.length, o;\n while (++i < n) s[(o = q[i]).i] = o.x(t);\n return s.join(\"\");\n };\n };\n}\n\nexport var interpolateTransformCss = interpolateTransform(parseCss, \"px, \", \"px)\", \"deg)\");\nexport var interpolateTransformSvg = interpolateTransform(parseSvg, \", \", \")\", \")\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "index": 52, "index2": 117, "size": 2091, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/selection/transition.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } } ], "profile": { "factory": 38, "building": 36, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony side effect evaluation", "userRequest": "../transition/index.js", "loc": "1:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/active.js", "module": "./node_modules/d3-transition/src/active.js", "moduleName": "./node_modules/d3-transition/src/active.js", "type": "harmony side effect evaluation", "userRequest": "./transition/index.js", "loc": "1:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/merge.js", "module": "./node_modules/d3-transition/src/transition/merge.js", "moduleName": "./node_modules/d3-transition/src/transition/merge.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transition/index.js", "loc": "2:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transition/index.js", "loc": "2:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/filter.js", "module": "./node_modules/d3-transition/src/transition/filter.js", "moduleName": "./node_modules/d3-transition/src/transition/filter.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "7:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/filter.js", "module": "./node_modules/d3-transition/src/transition/filter.js", "moduleName": "./node_modules/d3-transition/src/transition/filter.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "15:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/active.js", "module": "./node_modules/d3-transition/src/active.js", "moduleName": "./node_modules/d3-transition/src/active.js", "type": "harmony import specifier", "userRequest": "./transition/index.js", "loc": "15:19-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/merge.js", "module": "./node_modules/d3-transition/src/transition/merge.js", "moduleName": "./node_modules/d3-transition/src/transition/merge.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "18:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "21:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "23:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "25:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "userRequest": "../transition/index.js", "loc": "27:22-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "userRequest": "../transition/index.js", "loc": "30:9-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "userRequest": "../transition/index.js", "loc": "41:13-23" } ], "usedExports": [ "Transition", "newId", "default" ], "providedExports": [ "Transition", "default", "newId" ], "optimizationBailout": [], "depth": 4, "source": "import {selection} from \"d3-selection\";\nimport transition_attr from \"./attr.js\";\nimport transition_attrTween from \"./attrTween.js\";\nimport transition_delay from \"./delay.js\";\nimport transition_duration from \"./duration.js\";\nimport transition_ease from \"./ease.js\";\nimport transition_filter from \"./filter.js\";\nimport transition_merge from \"./merge.js\";\nimport transition_on from \"./on.js\";\nimport transition_remove from \"./remove.js\";\nimport transition_select from \"./select.js\";\nimport transition_selectAll from \"./selectAll.js\";\nimport transition_selection from \"./selection.js\";\nimport transition_style from \"./style.js\";\nimport transition_styleTween from \"./styleTween.js\";\nimport transition_text from \"./text.js\";\nimport transition_textTween from \"./textTween.js\";\nimport transition_transition from \"./transition.js\";\nimport transition_tween from \"./tween.js\";\nimport transition_end from \"./end.js\";\n\nvar id = 0;\n\nexport function Transition(groups, parents, name, id) {\n this._groups = groups;\n this._parents = parents;\n this._name = name;\n this._id = id;\n}\n\nexport default function transition(name) {\n return selection().transition(name);\n}\n\nexport function newId() {\n return ++id;\n}\n\nvar selection_prototype = selection.prototype;\n\nTransition.prototype = transition.prototype = {\n constructor: Transition,\n select: transition_select,\n selectAll: transition_selectAll,\n filter: transition_filter,\n merge: transition_merge,\n selection: transition_selection,\n transition: transition_transition,\n call: selection_prototype.call,\n nodes: selection_prototype.nodes,\n node: selection_prototype.node,\n size: selection_prototype.size,\n empty: selection_prototype.empty,\n each: selection_prototype.each,\n on: transition_on,\n attr: transition_attr,\n attrTween: transition_attrTween,\n style: transition_style,\n styleTween: transition_styleTween,\n text: transition_text,\n textTween: transition_textTween,\n remove: transition_remove,\n tween: transition_tween,\n delay: transition_delay,\n duration: transition_duration,\n ease: transition_ease,\n end: transition_end\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/cubic.js", "name": "./node_modules/d3-ease/src/cubic.js", "index": 126, "index2": 118, "size": 210, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-ease", "loc": "10:8-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cubic.js", "loc": "12:0-17:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "12:0-17:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "12:0-17:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "12:0-17:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "12:0-17:20" } ], "usedExports": [ "cubicInOut", "cubicIn", "cubicOut" ], "providedExports": [ "cubicIn", "cubicOut", "cubicInOut" ], "optimizationBailout": [], "depth": 4, "source": "export function cubicIn(t) {\n return t * t * t;\n}\n\nexport function cubicOut(t) {\n return --t * t * t + 1;\n}\n\nexport function cubicInOut(t) {\n return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "index": 44, "index2": 120, "size": 251, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 285, "building": 41, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selection/index.js", "loc": "1:0-30" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 4, "source": "import {selection} from \"d3-selection\";\nimport selection_interrupt from \"./interrupt.js\";\nimport selection_transition from \"./transition.js\";\n\nselection.prototype.interrupt = selection_interrupt;\nselection.prototype.transition = selection_transition;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/active.js", "name": "./node_modules/d3-transition/src/active.js", "index": 127, "index2": 121, "size": 490, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 285, "building": 41, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./active.js", "loc": "3:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony export imported specifier", "userRequest": "./active.js", "loc": "3:0-46" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Transition} from \"./transition/index.js\";\nimport {SCHEDULED} from \"./transition/schedule.js\";\n\nvar root = [null];\n\nexport default function(node, name) {\n var schedules = node.__transition,\n schedule,\n i;\n\n if (schedules) {\n name = name == null ? null : name + \"\";\n for (i in schedules) {\n if ((schedule = schedules[i]).state > SCHEDULED && schedule.name === name) {\n return new Transition([[node]], root, name, +i);\n }\n }\n }\n\n return null;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "name": "./node_modules/d3-brush/src/brush.js", "index": 42, "index2": 138, "size": 17019, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-brush/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "name": "./node_modules/d3-brush/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 73, "building": 72, "dependencies": 57 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "module": "./node_modules/d3-brush/src/index.js", "moduleName": "./node_modules/d3-brush/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./brush.js", "loc": "1:0-6:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "module": "./node_modules/d3-brush/src/index.js", "moduleName": "./node_modules/d3-brush/src/index.js", "type": "harmony export imported specifier", "userRequest": "./brush.js", "loc": "1:0-6:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "module": "./node_modules/d3-brush/src/index.js", "moduleName": "./node_modules/d3-brush/src/index.js", "type": "harmony export imported specifier", "userRequest": "./brush.js", "loc": "1:0-6:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "module": "./node_modules/d3-brush/src/index.js", "moduleName": "./node_modules/d3-brush/src/index.js", "type": "harmony export imported specifier", "userRequest": "./brush.js", "loc": "1:0-6:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "module": "./node_modules/d3-brush/src/index.js", "moduleName": "./node_modules/d3-brush/src/index.js", "type": "harmony export imported specifier", "userRequest": "./brush.js", "loc": "1:0-6:20" } ], "usedExports": [ "default", "brushX", "brushY", "brushSelection" ], "providedExports": [ "brushSelection", "brushX", "brushY", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {dispatch} from \"d3-dispatch\";\nimport {dragDisable, dragEnable} from \"d3-drag\";\nimport {interpolate} from \"d3-interpolate\";\nimport {customEvent, event, touch, mouse, select} from \"d3-selection\";\nimport {interrupt} from \"d3-transition\";\nimport constant from \"./constant.js\";\nimport BrushEvent from \"./event.js\";\nimport noevent, {nopropagation} from \"./noevent.js\";\n\nvar MODE_DRAG = {name: \"drag\"},\n MODE_SPACE = {name: \"space\"},\n MODE_HANDLE = {name: \"handle\"},\n MODE_CENTER = {name: \"center\"};\n\nfunction number1(e) {\n return [+e[0], +e[1]];\n}\n\nfunction number2(e) {\n return [number1(e[0]), number1(e[1])];\n}\n\nfunction toucher(identifier) {\n return function(target) {\n return touch(target, event.touches, identifier);\n };\n}\n\nvar X = {\n name: \"x\",\n handles: [\"w\", \"e\"].map(type),\n input: function(x, e) { return x == null ? null : [[+x[0], e[0][1]], [+x[1], e[1][1]]]; },\n output: function(xy) { return xy && [xy[0][0], xy[1][0]]; }\n};\n\nvar Y = {\n name: \"y\",\n handles: [\"n\", \"s\"].map(type),\n input: function(y, e) { return y == null ? null : [[e[0][0], +y[0]], [e[1][0], +y[1]]]; },\n output: function(xy) { return xy && [xy[0][1], xy[1][1]]; }\n};\n\nvar XY = {\n name: \"xy\",\n handles: [\"n\", \"w\", \"e\", \"s\", \"nw\", \"ne\", \"sw\", \"se\"].map(type),\n input: function(xy) { return xy == null ? null : number2(xy); },\n output: function(xy) { return xy; }\n};\n\nvar cursors = {\n overlay: \"crosshair\",\n selection: \"move\",\n n: \"ns-resize\",\n e: \"ew-resize\",\n s: \"ns-resize\",\n w: \"ew-resize\",\n nw: \"nwse-resize\",\n ne: \"nesw-resize\",\n se: \"nwse-resize\",\n sw: \"nesw-resize\"\n};\n\nvar flipX = {\n e: \"w\",\n w: \"e\",\n nw: \"ne\",\n ne: \"nw\",\n se: \"sw\",\n sw: \"se\"\n};\n\nvar flipY = {\n n: \"s\",\n s: \"n\",\n nw: \"sw\",\n ne: \"se\",\n se: \"ne\",\n sw: \"nw\"\n};\n\nvar signsX = {\n overlay: +1,\n selection: +1,\n n: null,\n e: +1,\n s: null,\n w: -1,\n nw: -1,\n ne: +1,\n se: +1,\n sw: -1\n};\n\nvar signsY = {\n overlay: +1,\n selection: +1,\n n: -1,\n e: null,\n s: +1,\n w: null,\n nw: -1,\n ne: -1,\n se: +1,\n sw: +1\n};\n\nfunction type(t) {\n return {type: t};\n}\n\n// Ignore right-click, since that should open the context menu.\nfunction defaultFilter() {\n return !event.ctrlKey && !event.button;\n}\n\nfunction defaultExtent() {\n var svg = this.ownerSVGElement || this;\n if (svg.hasAttribute(\"viewBox\")) {\n svg = svg.viewBox.baseVal;\n return [[svg.x, svg.y], [svg.x + svg.width, svg.y + svg.height]];\n }\n return [[0, 0], [svg.width.baseVal.value, svg.height.baseVal.value]];\n}\n\nfunction defaultTouchable() {\n return navigator.maxTouchPoints || (\"ontouchstart\" in this);\n}\n\n// Like d3.local, but with the name “__brush” rather than auto-generated.\nfunction local(node) {\n while (!node.__brush) if (!(node = node.parentNode)) return;\n return node.__brush;\n}\n\nfunction empty(extent) {\n return extent[0][0] === extent[1][0]\n || extent[0][1] === extent[1][1];\n}\n\nexport function brushSelection(node) {\n var state = node.__brush;\n return state ? state.dim.output(state.selection) : null;\n}\n\nexport function brushX() {\n return brush(X);\n}\n\nexport function brushY() {\n return brush(Y);\n}\n\nexport default function() {\n return brush(XY);\n}\n\nfunction brush(dim) {\n var extent = defaultExtent,\n filter = defaultFilter,\n touchable = defaultTouchable,\n keys = true,\n listeners = dispatch(\"start\", \"brush\", \"end\"),\n handleSize = 6,\n touchending;\n\n function brush(group) {\n var overlay = group\n .property(\"__brush\", initialize)\n .selectAll(\".overlay\")\n .data([type(\"overlay\")]);\n\n overlay.enter().append(\"rect\")\n .attr(\"class\", \"overlay\")\n .attr(\"pointer-events\", \"all\")\n .attr(\"cursor\", cursors.overlay)\n .merge(overlay)\n .each(function() {\n var extent = local(this).extent;\n select(this)\n .attr(\"x\", extent[0][0])\n .attr(\"y\", extent[0][1])\n .attr(\"width\", extent[1][0] - extent[0][0])\n .attr(\"height\", extent[1][1] - extent[0][1]);\n });\n\n group.selectAll(\".selection\")\n .data([type(\"selection\")])\n .enter().append(\"rect\")\n .attr(\"class\", \"selection\")\n .attr(\"cursor\", cursors.selection)\n .attr(\"fill\", \"#777\")\n .attr(\"fill-opacity\", 0.3)\n .attr(\"stroke\", \"#fff\")\n .attr(\"shape-rendering\", \"crispEdges\");\n\n var handle = group.selectAll(\".handle\")\n .data(dim.handles, function(d) { return d.type; });\n\n handle.exit().remove();\n\n handle.enter().append(\"rect\")\n .attr(\"class\", function(d) { return \"handle handle--\" + d.type; })\n .attr(\"cursor\", function(d) { return cursors[d.type]; });\n\n group\n .each(redraw)\n .attr(\"fill\", \"none\")\n .attr(\"pointer-events\", \"all\")\n .on(\"mousedown.brush\", started)\n .filter(touchable)\n .on(\"touchstart.brush\", started)\n .on(\"touchmove.brush\", touchmoved)\n .on(\"touchend.brush touchcancel.brush\", touchended)\n .style(\"touch-action\", \"none\")\n .style(\"-webkit-tap-highlight-color\", \"rgba(0,0,0,0)\");\n }\n\n brush.move = function(group, selection) {\n if (group.selection) {\n group\n .on(\"start.brush\", function() { emitter(this, arguments).beforestart().start(); })\n .on(\"interrupt.brush end.brush\", function() { emitter(this, arguments).end(); })\n .tween(\"brush\", function() {\n var that = this,\n state = that.__brush,\n emit = emitter(that, arguments),\n selection0 = state.selection,\n selection1 = dim.input(typeof selection === \"function\" ? selection.apply(this, arguments) : selection, state.extent),\n i = interpolate(selection0, selection1);\n\n function tween(t) {\n state.selection = t === 1 && selection1 === null ? null : i(t);\n redraw.call(that);\n emit.brush();\n }\n\n return selection0 !== null && selection1 !== null ? tween : tween(1);\n });\n } else {\n group\n .each(function() {\n var that = this,\n args = arguments,\n state = that.__brush,\n selection1 = dim.input(typeof selection === \"function\" ? selection.apply(that, args) : selection, state.extent),\n emit = emitter(that, args).beforestart();\n\n interrupt(that);\n state.selection = selection1 === null ? null : selection1;\n redraw.call(that);\n emit.start().brush().end();\n });\n }\n };\n\n brush.clear = function(group) {\n brush.move(group, null);\n };\n\n function redraw() {\n var group = select(this),\n selection = local(this).selection;\n\n if (selection) {\n group.selectAll(\".selection\")\n .style(\"display\", null)\n .attr(\"x\", selection[0][0])\n .attr(\"y\", selection[0][1])\n .attr(\"width\", selection[1][0] - selection[0][0])\n .attr(\"height\", selection[1][1] - selection[0][1]);\n\n group.selectAll(\".handle\")\n .style(\"display\", null)\n .attr(\"x\", function(d) { return d.type[d.type.length - 1] === \"e\" ? selection[1][0] - handleSize / 2 : selection[0][0] - handleSize / 2; })\n .attr(\"y\", function(d) { return d.type[0] === \"s\" ? selection[1][1] - handleSize / 2 : selection[0][1] - handleSize / 2; })\n .attr(\"width\", function(d) { return d.type === \"n\" || d.type === \"s\" ? selection[1][0] - selection[0][0] + handleSize : handleSize; })\n .attr(\"height\", function(d) { return d.type === \"e\" || d.type === \"w\" ? selection[1][1] - selection[0][1] + handleSize : handleSize; });\n }\n\n else {\n group.selectAll(\".selection,.handle\")\n .style(\"display\", \"none\")\n .attr(\"x\", null)\n .attr(\"y\", null)\n .attr(\"width\", null)\n .attr(\"height\", null);\n }\n }\n\n function emitter(that, args, clean) {\n return (!clean && that.__brush.emitter) || new Emitter(that, args);\n }\n\n function Emitter(that, args) {\n this.that = that;\n this.args = args;\n this.state = that.__brush;\n this.active = 0;\n }\n\n Emitter.prototype = {\n beforestart: function() {\n if (++this.active === 1) this.state.emitter = this, this.starting = true;\n return this;\n },\n start: function() {\n if (this.starting) this.starting = false, this.emit(\"start\");\n else this.emit(\"brush\");\n return this;\n },\n brush: function() {\n this.emit(\"brush\");\n return this;\n },\n end: function() {\n if (--this.active === 0) delete this.state.emitter, this.emit(\"end\");\n return this;\n },\n emit: function(type) {\n customEvent(new BrushEvent(brush, type, dim.output(this.state.selection)), listeners.apply, listeners, [type, this.that, this.args]);\n }\n };\n\n function started() {\n if (touchending && !event.touches) return;\n if (!filter.apply(this, arguments)) return;\n\n var that = this,\n type = event.target.__data__.type,\n mode = (keys && event.metaKey ? type = \"overlay\" : type) === \"selection\" ? MODE_DRAG : (keys && event.altKey ? MODE_CENTER : MODE_HANDLE),\n signX = dim === Y ? null : signsX[type],\n signY = dim === X ? null : signsY[type],\n state = local(that),\n extent = state.extent,\n selection = state.selection,\n W = extent[0][0], w0, w1,\n N = extent[0][1], n0, n1,\n E = extent[1][0], e0, e1,\n S = extent[1][1], s0, s1,\n dx = 0,\n dy = 0,\n moving,\n shifting = signX && signY && keys && event.shiftKey,\n lockX,\n lockY,\n pointer = event.touches ? toucher(event.changedTouches[0].identifier) : mouse,\n point0 = pointer(that),\n point = point0,\n emit = emitter(that, arguments, true).beforestart();\n\n if (type === \"overlay\") {\n if (selection) moving = true;\n state.selection = selection = [\n [w0 = dim === Y ? W : point0[0], n0 = dim === X ? N : point0[1]],\n [e0 = dim === Y ? E : w0, s0 = dim === X ? S : n0]\n ];\n } else {\n w0 = selection[0][0];\n n0 = selection[0][1];\n e0 = selection[1][0];\n s0 = selection[1][1];\n }\n\n w1 = w0;\n n1 = n0;\n e1 = e0;\n s1 = s0;\n\n var group = select(that)\n .attr(\"pointer-events\", \"none\");\n\n var overlay = group.selectAll(\".overlay\")\n .attr(\"cursor\", cursors[type]);\n\n if (event.touches) {\n emit.moved = moved;\n emit.ended = ended;\n } else {\n var view = select(event.view)\n .on(\"mousemove.brush\", moved, true)\n .on(\"mouseup.brush\", ended, true);\n if (keys) view\n .on(\"keydown.brush\", keydowned, true)\n .on(\"keyup.brush\", keyupped, true)\n\n dragDisable(event.view);\n }\n\n nopropagation();\n interrupt(that);\n redraw.call(that);\n emit.start();\n\n function moved() {\n var point1 = pointer(that);\n if (shifting && !lockX && !lockY) {\n if (Math.abs(point1[0] - point[0]) > Math.abs(point1[1] - point[1])) lockY = true;\n else lockX = true;\n }\n point = point1;\n moving = true;\n noevent();\n move();\n }\n\n function move() {\n var t;\n\n dx = point[0] - point0[0];\n dy = point[1] - point0[1];\n\n switch (mode) {\n case MODE_SPACE:\n case MODE_DRAG: {\n if (signX) dx = Math.max(W - w0, Math.min(E - e0, dx)), w1 = w0 + dx, e1 = e0 + dx;\n if (signY) dy = Math.max(N - n0, Math.min(S - s0, dy)), n1 = n0 + dy, s1 = s0 + dy;\n break;\n }\n case MODE_HANDLE: {\n if (signX < 0) dx = Math.max(W - w0, Math.min(E - w0, dx)), w1 = w0 + dx, e1 = e0;\n else if (signX > 0) dx = Math.max(W - e0, Math.min(E - e0, dx)), w1 = w0, e1 = e0 + dx;\n if (signY < 0) dy = Math.max(N - n0, Math.min(S - n0, dy)), n1 = n0 + dy, s1 = s0;\n else if (signY > 0) dy = Math.max(N - s0, Math.min(S - s0, dy)), n1 = n0, s1 = s0 + dy;\n break;\n }\n case MODE_CENTER: {\n if (signX) w1 = Math.max(W, Math.min(E, w0 - dx * signX)), e1 = Math.max(W, Math.min(E, e0 + dx * signX));\n if (signY) n1 = Math.max(N, Math.min(S, n0 - dy * signY)), s1 = Math.max(N, Math.min(S, s0 + dy * signY));\n break;\n }\n }\n\n if (e1 < w1) {\n signX *= -1;\n t = w0, w0 = e0, e0 = t;\n t = w1, w1 = e1, e1 = t;\n if (type in flipX) overlay.attr(\"cursor\", cursors[type = flipX[type]]);\n }\n\n if (s1 < n1) {\n signY *= -1;\n t = n0, n0 = s0, s0 = t;\n t = n1, n1 = s1, s1 = t;\n if (type in flipY) overlay.attr(\"cursor\", cursors[type = flipY[type]]);\n }\n\n if (state.selection) selection = state.selection; // May be set by brush.move!\n if (lockX) w1 = selection[0][0], e1 = selection[1][0];\n if (lockY) n1 = selection[0][1], s1 = selection[1][1];\n\n if (selection[0][0] !== w1\n || selection[0][1] !== n1\n || selection[1][0] !== e1\n || selection[1][1] !== s1) {\n state.selection = [[w1, n1], [e1, s1]];\n redraw.call(that);\n emit.brush();\n }\n }\n\n function ended() {\n nopropagation();\n if (event.touches) {\n if (event.touches.length) return;\n if (touchending) clearTimeout(touchending);\n touchending = setTimeout(function() { touchending = null; }, 500); // Ghost clicks are delayed!\n } else {\n dragEnable(event.view, moving);\n view.on(\"keydown.brush keyup.brush mousemove.brush mouseup.brush\", null);\n }\n group.attr(\"pointer-events\", \"all\");\n overlay.attr(\"cursor\", cursors.overlay);\n if (state.selection) selection = state.selection; // May be set by brush.move (on start)!\n if (empty(selection)) state.selection = null, redraw.call(that);\n emit.end();\n }\n\n function keydowned() {\n switch (event.keyCode) {\n case 16: { // SHIFT\n shifting = signX && signY;\n break;\n }\n case 18: { // ALT\n if (mode === MODE_HANDLE) {\n if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX;\n if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY;\n mode = MODE_CENTER;\n move();\n }\n break;\n }\n case 32: { // SPACE; takes priority over ALT\n if (mode === MODE_HANDLE || mode === MODE_CENTER) {\n if (signX < 0) e0 = e1 - dx; else if (signX > 0) w0 = w1 - dx;\n if (signY < 0) s0 = s1 - dy; else if (signY > 0) n0 = n1 - dy;\n mode = MODE_SPACE;\n overlay.attr(\"cursor\", cursors.selection);\n move();\n }\n break;\n }\n default: return;\n }\n noevent();\n }\n\n function keyupped() {\n switch (event.keyCode) {\n case 16: { // SHIFT\n if (shifting) {\n lockX = lockY = shifting = false;\n move();\n }\n break;\n }\n case 18: { // ALT\n if (mode === MODE_CENTER) {\n if (signX < 0) e0 = e1; else if (signX > 0) w0 = w1;\n if (signY < 0) s0 = s1; else if (signY > 0) n0 = n1;\n mode = MODE_HANDLE;\n move();\n }\n break;\n }\n case 32: { // SPACE\n if (mode === MODE_SPACE) {\n if (event.altKey) {\n if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX;\n if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY;\n mode = MODE_CENTER;\n } else {\n if (signX < 0) e0 = e1; else if (signX > 0) w0 = w1;\n if (signY < 0) s0 = s1; else if (signY > 0) n0 = n1;\n mode = MODE_HANDLE;\n }\n overlay.attr(\"cursor\", cursors[type]);\n move();\n }\n break;\n }\n default: return;\n }\n noevent();\n }\n }\n\n function touchmoved() {\n emitter(this, arguments).moved();\n }\n\n function touchended() {\n emitter(this, arguments).ended();\n }\n\n function initialize() {\n var state = this.__brush || {selection: null};\n state.extent = number2(extent.apply(this, arguments));\n state.dim = dim;\n return state;\n }\n\n brush.extent = function(_) {\n return arguments.length ? (extent = typeof _ === \"function\" ? _ : constant(number2(_)), brush) : extent;\n };\n\n brush.filter = function(_) {\n return arguments.length ? (filter = typeof _ === \"function\" ? _ : constant(!!_), brush) : filter;\n };\n\n brush.touchable = function(_) {\n return arguments.length ? (touchable = typeof _ === \"function\" ? _ : constant(!!_), brush) : touchable;\n };\n\n brush.handleSize = function(_) {\n return arguments.length ? (handleSize = +_, brush) : handleSize;\n };\n\n brush.keyModifiers = function(_) {\n return arguments.length ? (keys = !!_, brush) : keys;\n };\n\n brush.on = function() {\n var value = listeners.on.apply(listeners, arguments);\n return value === listeners ? brush : value;\n };\n\n return brush;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "name": "./node_modules/d3-chord/src/chord.js", "index": 144, "index2": 141, "size": 3178, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-chord/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 35, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "module": "./node_modules/d3-chord/src/index.js", "moduleName": "./node_modules/d3-chord/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./chord", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "module": "./node_modules/d3-chord/src/index.js", "moduleName": "./node_modules/d3-chord/src/index.js", "type": "harmony export imported specifier", "userRequest": "./chord", "loc": "1:0-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {range} from \"d3-array\";\nimport {max, tau} from \"./math\";\n\nfunction compareValue(compare) {\n return function(a, b) {\n return compare(\n a.source.value + a.target.value,\n b.source.value + b.target.value\n );\n };\n}\n\nexport default function() {\n var padAngle = 0,\n sortGroups = null,\n sortSubgroups = null,\n sortChords = null;\n\n function chord(matrix) {\n var n = matrix.length,\n groupSums = [],\n groupIndex = range(n),\n subgroupIndex = [],\n chords = [],\n groups = chords.groups = new Array(n),\n subgroups = new Array(n * n),\n k,\n x,\n x0,\n dx,\n i,\n j;\n\n // Compute the sum.\n k = 0, i = -1; while (++i < n) {\n x = 0, j = -1; while (++j < n) {\n x += matrix[i][j];\n }\n groupSums.push(x);\n subgroupIndex.push(range(n));\n k += x;\n }\n\n // Sort groups…\n if (sortGroups) groupIndex.sort(function(a, b) {\n return sortGroups(groupSums[a], groupSums[b]);\n });\n\n // Sort subgroups…\n if (sortSubgroups) subgroupIndex.forEach(function(d, i) {\n d.sort(function(a, b) {\n return sortSubgroups(matrix[i][a], matrix[i][b]);\n });\n });\n\n // Convert the sum to scaling factor for [0, 2pi].\n // TODO Allow start and end angle to be specified?\n // TODO Allow padding to be specified as percentage?\n k = max(0, tau - padAngle * n) / k;\n dx = k ? padAngle : tau / n;\n\n // Compute the start and end angle for each group and subgroup.\n // Note: Opera has a bug reordering object literal properties!\n x = 0, i = -1; while (++i < n) {\n x0 = x, j = -1; while (++j < n) {\n var di = groupIndex[i],\n dj = subgroupIndex[di][j],\n v = matrix[di][dj],\n a0 = x,\n a1 = x += v * k;\n subgroups[dj * n + di] = {\n index: di,\n subindex: dj,\n startAngle: a0,\n endAngle: a1,\n value: v\n };\n }\n groups[di] = {\n index: di,\n startAngle: x0,\n endAngle: x,\n value: groupSums[di]\n };\n x += dx;\n }\n\n // Generate chords for each (non-empty) subgroup-subgroup link.\n i = -1; while (++i < n) {\n j = i - 1; while (++j < n) {\n var source = subgroups[j * n + i],\n target = subgroups[i * n + j];\n if (source.value || target.value) {\n chords.push(source.value < target.value\n ? {source: target, target: source}\n : {source: source, target: target});\n }\n }\n }\n\n return sortChords ? chords.sort(sortChords) : chords;\n }\n\n chord.padAngle = function(_) {\n return arguments.length ? (padAngle = max(0, _), chord) : padAngle;\n };\n\n chord.sortGroups = function(_) {\n return arguments.length ? (sortGroups = _, chord) : sortGroups;\n };\n\n chord.sortSubgroups = function(_) {\n return arguments.length ? (sortSubgroups = _, chord) : sortSubgroups;\n };\n\n chord.sortChords = function(_) {\n return arguments.length ? (_ == null ? sortChords = null : (sortChords = compareValue(_))._ = _, chord) : sortChords && sortChords._;\n };\n\n return chord;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/path.js", "name": "./node_modules/d3-path/src/path.js", "index": 149, "index2": 144, "size": 4189, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-path/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/index.js", "name": "./node_modules/d3-path/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 70, "building": 76 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/index.js", "module": "./node_modules/d3-path/src/index.js", "moduleName": "./node_modules/d3-path/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./path.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/index.js", "module": "./node_modules/d3-path/src/index.js", "moduleName": "./node_modules/d3-path/src/index.js", "type": "harmony export imported specifier", "userRequest": "./path.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "21:49-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "24:37-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "28:37-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "28:49-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "48:37-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "97:37-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var pi = Math.PI,\n tau = 2 * pi,\n epsilon = 1e-6,\n tauEpsilon = tau - epsilon;\n\nfunction Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n}\n\nfunction path() {\n return new Path;\n}\n\nPath.prototype = path.prototype = {\n constructor: Path,\n moveTo: function(x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function() {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function(x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function(x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function(x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1,\n y0 = this._y1,\n x21 = x2 - x1,\n y21 = y2 - y1,\n x01 = x0 - x1,\n y01 = y0 - y1,\n l01_2 = x01 * x01 + y01 * y01;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon));\n\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0,\n y20 = y2 - y0,\n l21_2 = x21 * x21 + y21 * y21,\n l20_2 = x20 * x20 + y20 * y20,\n l21 = Math.sqrt(l21_2),\n l01 = Math.sqrt(l01_2),\n l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),\n t01 = l / l01,\n t21 = l / l21;\n\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function(x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0),\n dy = r * Math.sin(a0),\n x0 = x + dx,\n y0 = y + dy,\n cw = 1 ^ ccw,\n da = ccw ? a0 - a1 : a1 - a0;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n\n // Is this arc empty? We’re done.\n if (!r) return;\n\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0) da = da % tau + tau;\n\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function(x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function() {\n return this._;\n }\n};\n\nexport default path;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "name": "./node_modules/d3-chord/src/ribbon.js", "index": 146, "index2": 145, "size": 2340, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-chord/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 35, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "module": "./node_modules/d3-chord/src/index.js", "moduleName": "./node_modules/d3-chord/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./ribbon", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "module": "./node_modules/d3-chord/src/index.js", "moduleName": "./node_modules/d3-chord/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ribbon", "loc": "2:0-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {slice} from \"./array\";\nimport constant from \"./constant\";\nimport {cos, halfPi, sin} from \"./math\";\nimport {path} from \"d3-path\";\n\nfunction defaultSource(d) {\n return d.source;\n}\n\nfunction defaultTarget(d) {\n return d.target;\n}\n\nfunction defaultRadius(d) {\n return d.radius;\n}\n\nfunction defaultStartAngle(d) {\n return d.startAngle;\n}\n\nfunction defaultEndAngle(d) {\n return d.endAngle;\n}\n\nexport default function() {\n var source = defaultSource,\n target = defaultTarget,\n radius = defaultRadius,\n startAngle = defaultStartAngle,\n endAngle = defaultEndAngle,\n context = null;\n\n function ribbon() {\n var buffer,\n argv = slice.call(arguments),\n s = source.apply(this, argv),\n t = target.apply(this, argv),\n sr = +radius.apply(this, (argv[0] = s, argv)),\n sa0 = startAngle.apply(this, argv) - halfPi,\n sa1 = endAngle.apply(this, argv) - halfPi,\n sx0 = sr * cos(sa0),\n sy0 = sr * sin(sa0),\n tr = +radius.apply(this, (argv[0] = t, argv)),\n ta0 = startAngle.apply(this, argv) - halfPi,\n ta1 = endAngle.apply(this, argv) - halfPi;\n\n if (!context) context = buffer = path();\n\n context.moveTo(sx0, sy0);\n context.arc(0, 0, sr, sa0, sa1);\n if (sa0 !== ta0 || sa1 !== ta1) { // TODO sr !== tr?\n context.quadraticCurveTo(0, 0, tr * cos(ta0), tr * sin(ta0));\n context.arc(0, 0, tr, ta0, ta1);\n }\n context.quadraticCurveTo(0, 0, sx0, sy0);\n context.closePath();\n\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n ribbon.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), ribbon) : radius;\n };\n\n ribbon.startAngle = function(_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), ribbon) : startAngle;\n };\n\n ribbon.endAngle = function(_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), ribbon) : endAngle;\n };\n\n ribbon.source = function(_) {\n return arguments.length ? (source = _, ribbon) : source;\n };\n\n ribbon.target = function(_) {\n return arguments.length ? (target = _, ribbon) : target;\n };\n\n ribbon.context = function(_) {\n return arguments.length ? ((context = _ == null ? null : _), ribbon) : context;\n };\n\n return ribbon;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/map.js", "name": "./node_modules/d3-collection/src/map.js", "index": 152, "index2": 147, "size": 1988, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/nest.js", "module": "./node_modules/d3-collection/src/nest.js", "moduleName": "./node_modules/d3-collection/src/nest.js", "type": "harmony side effect evaluation", "userRequest": "./map", "loc": "1:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/set.js", "module": "./node_modules/d3-collection/src/set.js", "moduleName": "./node_modules/d3-collection/src/set.js", "type": "harmony side effect evaluation", "userRequest": "./map", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./map", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./map", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/set.js", "module": "./node_modules/d3-collection/src/set.js", "moduleName": "./node_modules/d3-collection/src/set.js", "type": "harmony import specifier", "userRequest": "./map", "loc": "5:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/set.js", "module": "./node_modules/d3-collection/src/set.js", "moduleName": "./node_modules/d3-collection/src/set.js", "type": "harmony import specifier", "userRequest": "./map", "loc": "12:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/nest.js", "module": "./node_modules/d3-collection/src/nest.js", "moduleName": "./node_modules/d3-collection/src/nest.js", "type": "harmony import specifier", "userRequest": "./map", "loc": "21:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/nest.js", "module": "./node_modules/d3-collection/src/nest.js", "moduleName": "./node_modules/d3-collection/src/nest.js", "type": "harmony import specifier", "userRequest": "./map", "loc": "68:9-12" } ], "usedExports": [ "default", "prefix" ], "providedExports": [ "prefix", "default" ], "optimizationBailout": [], "depth": 4, "source": "export var prefix = \"$\";\n\nfunction Map() {}\n\nMap.prototype = map.prototype = {\n constructor: Map,\n has: function(key) {\n return (prefix + key) in this;\n },\n get: function(key) {\n return this[prefix + key];\n },\n set: function(key, value) {\n this[prefix + key] = value;\n return this;\n },\n remove: function(key) {\n var property = prefix + key;\n return property in this && delete this[property];\n },\n clear: function() {\n for (var property in this) if (property[0] === prefix) delete this[property];\n },\n keys: function() {\n var keys = [];\n for (var property in this) if (property[0] === prefix) keys.push(property.slice(1));\n return keys;\n },\n values: function() {\n var values = [];\n for (var property in this) if (property[0] === prefix) values.push(this[property]);\n return values;\n },\n entries: function() {\n var entries = [];\n for (var property in this) if (property[0] === prefix) entries.push({key: property.slice(1), value: this[property]});\n return entries;\n },\n size: function() {\n var size = 0;\n for (var property in this) if (property[0] === prefix) ++size;\n return size;\n },\n empty: function() {\n for (var property in this) if (property[0] === prefix) return false;\n return true;\n },\n each: function(f) {\n for (var property in this) if (property[0] === prefix) f(this[property], property.slice(1), this);\n }\n};\n\nfunction map(object, f) {\n var map = new Map;\n\n // Copy constructor.\n if (object instanceof Map) object.each(function(value, key) { map.set(key, value); });\n\n // Index array by numeric index or specified key function.\n else if (Array.isArray(object)) {\n var i = -1,\n n = object.length,\n o;\n\n if (f == null) while (++i < n) map.set(i, object[i]);\n else while (++i < n) map.set(f(o = object[i], i, object), o);\n }\n\n // Convert object to map.\n else if (object) for (var key in object) map.set(key, object[key]);\n\n return map;\n}\n\nexport default map;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/nest.js", "name": "./node_modules/d3-collection/src/nest.js", "index": 151, "index2": 148, "size": 2017, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./nest", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./nest", "loc": "1:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import map from \"./map\";\n\nexport default function() {\n var keys = [],\n sortKeys = [],\n sortValues,\n rollup,\n nest;\n\n function apply(array, depth, createResult, setResult) {\n if (depth >= keys.length) {\n if (sortValues != null) array.sort(sortValues);\n return rollup != null ? rollup(array) : array;\n }\n\n var i = -1,\n n = array.length,\n key = keys[depth++],\n keyValue,\n value,\n valuesByKey = map(),\n values,\n result = createResult();\n\n while (++i < n) {\n if (values = valuesByKey.get(keyValue = key(value = array[i]) + \"\")) {\n values.push(value);\n } else {\n valuesByKey.set(keyValue, [value]);\n }\n }\n\n valuesByKey.each(function(values, key) {\n setResult(result, key, apply(values, depth, createResult, setResult));\n });\n\n return result;\n }\n\n function entries(map, depth) {\n if (++depth > keys.length) return map;\n var array, sortKey = sortKeys[depth - 1];\n if (rollup != null && depth >= keys.length) array = map.entries();\n else array = [], map.each(function(v, k) { array.push({key: k, values: entries(v, depth)}); });\n return sortKey != null ? array.sort(function(a, b) { return sortKey(a.key, b.key); }) : array;\n }\n\n return nest = {\n object: function(array) { return apply(array, 0, createObject, setObject); },\n map: function(array) { return apply(array, 0, createMap, setMap); },\n entries: function(array) { return entries(apply(array, 0, createMap, setMap), 0); },\n key: function(d) { keys.push(d); return nest; },\n sortKeys: function(order) { sortKeys[keys.length - 1] = order; return nest; },\n sortValues: function(order) { sortValues = order; return nest; },\n rollup: function(f) { rollup = f; return nest; }\n };\n}\n\nfunction createObject() {\n return {};\n}\n\nfunction setObject(object, key, value) {\n object[key] = value;\n}\n\nfunction createMap() {\n return map();\n}\n\nfunction setMap(map, key, value) {\n map.set(key, value);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/set.js", "name": "./node_modules/d3-collection/src/set.js", "index": 153, "index2": 149, "size": 800, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./set", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./set", "loc": "2:0-37" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {default as map, prefix} from \"./map\";\n\nfunction Set() {}\n\nvar proto = map.prototype;\n\nSet.prototype = set.prototype = {\n constructor: Set,\n has: proto.has,\n add: function(value) {\n value += \"\";\n this[prefix + value] = value;\n return this;\n },\n remove: proto.remove,\n clear: proto.clear,\n values: proto.keys,\n size: proto.size,\n empty: proto.empty,\n each: proto.each\n};\n\nfunction set(object, f) {\n var set = new Set;\n\n // Copy constructor.\n if (object instanceof Set) object.each(function(value) { set.add(value); });\n\n // Otherwise, assume it’s an array.\n else if (object) {\n var i = -1, n = object.length;\n if (f == null) while (++i < n) set.add(object[i]);\n else while (++i < n) set.add(f(object[i], i, object));\n }\n\n return set;\n}\n\nexport default set;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/keys.js", "name": "./node_modules/d3-collection/src/keys.js", "index": 154, "index2": 150, "size": 104, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./keys", "loc": "4:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./keys", "loc": "4:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(map) {\n var keys = [];\n for (var key in map) keys.push(key);\n return keys;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/values.js", "name": "./node_modules/d3-collection/src/values.js", "index": 155, "index2": 151, "size": 115, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./values", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./values", "loc": "5:0-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(map) {\n var values = [];\n for (var key in map) values.push(map[key]);\n return values;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/entries.js", "name": "./node_modules/d3-collection/src/entries.js", "index": 156, "index2": 152, "size": 137, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./entries", "loc": "6:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./entries", "loc": "6:0-45" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(map) {\n var entries = [];\n for (var key in map) entries.push({key: key, value: map[key]});\n return entries;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "name": "./node_modules/d3-color/src/lab.js", "index": 158, "index2": 155, "size": 3661, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-color/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 78, "building": 55, "dependencies": 61 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./lab.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "5:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "5:52-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:52-60" } ], "usedExports": [ "hcl", "default", "lch", "gray" ], "providedExports": [ "gray", "default", "Lab", "lch", "hcl", "Hcl" ], "optimizationBailout": [], "depth": 4, "source": "import define, {extend} from \"./define.js\";\nimport {Color, rgbConvert, Rgb} from \"./color.js\";\nimport {deg2rad, rad2deg} from \"./math.js\";\n\n// https://observablehq.com/@mbostock/lab-and-rgb\nvar K = 18,\n Xn = 0.96422,\n Yn = 1,\n Zn = 0.82521,\n t0 = 4 / 29,\n t1 = 6 / 29,\n t2 = 3 * t1 * t1,\n t3 = t1 * t1 * t1;\n\nfunction labConvert(o) {\n if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);\n if (o instanceof Hcl) return hcl2lab(o);\n if (!(o instanceof Rgb)) o = rgbConvert(o);\n var r = rgb2lrgb(o.r),\n g = rgb2lrgb(o.g),\n b = rgb2lrgb(o.b),\n y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn), x, z;\n if (r === g && g === b) x = z = y; else {\n x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn);\n z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn);\n }\n return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);\n}\n\nexport function gray(l, opacity) {\n return new Lab(l, 0, 0, opacity == null ? 1 : opacity);\n}\n\nexport default function lab(l, a, b, opacity) {\n return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);\n}\n\nexport function Lab(l, a, b, opacity) {\n this.l = +l;\n this.a = +a;\n this.b = +b;\n this.opacity = +opacity;\n}\n\ndefine(Lab, lab, extend(Color, {\n brighter: function(k) {\n return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);\n },\n darker: function(k) {\n return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);\n },\n rgb: function() {\n var y = (this.l + 16) / 116,\n x = isNaN(this.a) ? y : y + this.a / 500,\n z = isNaN(this.b) ? y : y - this.b / 200;\n x = Xn * lab2xyz(x);\n y = Yn * lab2xyz(y);\n z = Zn * lab2xyz(z);\n return new Rgb(\n lrgb2rgb( 3.1338561 * x - 1.6168667 * y - 0.4906146 * z),\n lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z),\n lrgb2rgb( 0.0719453 * x - 0.2289914 * y + 1.4052427 * z),\n this.opacity\n );\n }\n}));\n\nfunction xyz2lab(t) {\n return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;\n}\n\nfunction lab2xyz(t) {\n return t > t1 ? t * t * t : t2 * (t - t0);\n}\n\nfunction lrgb2rgb(x) {\n return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);\n}\n\nfunction rgb2lrgb(x) {\n return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);\n}\n\nfunction hclConvert(o) {\n if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);\n if (!(o instanceof Lab)) o = labConvert(o);\n if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity);\n var h = Math.atan2(o.b, o.a) * rad2deg;\n return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);\n}\n\nexport function lch(l, c, h, opacity) {\n return arguments.length === 1 ? hclConvert(l) : new Hcl(h, c, l, opacity == null ? 1 : opacity);\n}\n\nexport function hcl(h, c, l, opacity) {\n return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);\n}\n\nexport function Hcl(h, c, l, opacity) {\n this.h = +h;\n this.c = +c;\n this.l = +l;\n this.opacity = +opacity;\n}\n\nfunction hcl2lab(o) {\n if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);\n var h = o.h * deg2rad;\n return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);\n}\n\ndefine(Hcl, hcl, extend(Color, {\n brighter: function(k) {\n return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);\n },\n darker: function(k) {\n return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);\n },\n rgb: function() {\n return hcl2lab(this).rgb();\n }\n}));\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "name": "./node_modules/d3-color/src/cubehelix.js", "index": 160, "index2": 156, "size": 1864, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-color/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 78, "building": 55, "dependencies": 61 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cubehelix.js", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubehelix.js", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "4:40-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "4:43-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "4:66-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "4:72-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:43-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:71-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "8:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "9:27-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "9:60-74" } ], "usedExports": [ "default" ], "providedExports": [ "default", "Cubehelix" ], "optimizationBailout": [], "depth": 4, "source": "import define, {extend} from \"./define.js\";\nimport {Color, rgbConvert, Rgb, darker, brighter} from \"./color.js\";\nimport {deg2rad, rad2deg} from \"./math.js\";\n\nvar A = -0.14861,\n B = +1.78277,\n C = -0.29227,\n D = -0.90649,\n E = +1.97294,\n ED = E * D,\n EB = E * B,\n BC_DA = B * C - D * A;\n\nfunction cubehelixConvert(o) {\n if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Rgb)) o = rgbConvert(o);\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),\n bl = b - l,\n k = (E * (g - l) - C * bl) / D,\n s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)), // NaN if l=0 or l=1\n h = s ? Math.atan2(k, bl) * rad2deg - 120 : NaN;\n return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);\n}\n\nexport default function cubehelix(h, s, l, opacity) {\n return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);\n}\n\nexport function Cubehelix(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\n\ndefine(Cubehelix, cubehelix, extend(Color, {\n brighter: function(k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function(k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function() {\n var h = isNaN(this.h) ? 0 : (this.h + 120) * deg2rad,\n l = +this.l,\n a = isNaN(this.s) ? 0 : this.s * l * (1 - l),\n cosh = Math.cos(h),\n sinh = Math.sin(h);\n return new Rgb(\n 255 * (l + a * (A * cosh + B * sinh)),\n 255 * (l + a * (C * cosh + D * sinh)),\n 255 * (l + a * (E * cosh)),\n this.opacity\n );\n }\n}));\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "name": "./node_modules/d3-contour/src/contours.js", "index": 162, "index2": 164, "size": 6224, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 187, "building": 41, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "module": "./node_modules/d3-contour/src/index.js", "moduleName": "./node_modules/d3-contour/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./contours", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "module": "./node_modules/d3-contour/src/index.js", "moduleName": "./node_modules/d3-contour/src/index.js", "type": "harmony export imported specifier", "userRequest": "./contours", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony side effect evaluation", "userRequest": "./contours", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./contours", "loc": "63:11-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {extent, thresholdSturges, tickStep, range} from \"d3-array\";\nimport {slice} from \"./array\";\nimport ascending from \"./ascending\";\nimport area from \"./area\";\nimport constant from \"./constant\";\nimport contains from \"./contains\";\nimport noop from \"./noop\";\n\nvar cases = [\n [],\n [[[1.0, 1.5], [0.5, 1.0]]],\n [[[1.5, 1.0], [1.0, 1.5]]],\n [[[1.5, 1.0], [0.5, 1.0]]],\n [[[1.0, 0.5], [1.5, 1.0]]],\n [[[1.0, 1.5], [0.5, 1.0]], [[1.0, 0.5], [1.5, 1.0]]],\n [[[1.0, 0.5], [1.0, 1.5]]],\n [[[1.0, 0.5], [0.5, 1.0]]],\n [[[0.5, 1.0], [1.0, 0.5]]],\n [[[1.0, 1.5], [1.0, 0.5]]],\n [[[0.5, 1.0], [1.0, 0.5]], [[1.5, 1.0], [1.0, 1.5]]],\n [[[1.5, 1.0], [1.0, 0.5]]],\n [[[0.5, 1.0], [1.5, 1.0]]],\n [[[1.0, 1.5], [1.5, 1.0]]],\n [[[0.5, 1.0], [1.0, 1.5]]],\n []\n];\n\nexport default function() {\n var dx = 1,\n dy = 1,\n threshold = thresholdSturges,\n smooth = smoothLinear;\n\n function contours(values) {\n var tz = threshold(values);\n\n // Convert number of thresholds into uniform thresholds.\n if (!Array.isArray(tz)) {\n var domain = extent(values), start = domain[0], stop = domain[1];\n tz = tickStep(start, stop, tz);\n tz = range(Math.floor(start / tz) * tz, Math.floor(stop / tz) * tz, tz);\n } else {\n tz = tz.slice().sort(ascending);\n }\n\n return tz.map(function(value) {\n return contour(values, value);\n });\n }\n\n // Accumulate, smooth contour rings, assign holes to exterior rings.\n // Based on https://github.com/mbostock/shapefile/blob/v0.6.2/shp/polygon.js\n function contour(values, value) {\n var polygons = [],\n holes = [];\n\n isorings(values, value, function(ring) {\n smooth(ring, values, value);\n if (area(ring) > 0) polygons.push([ring]);\n else holes.push(ring);\n });\n\n holes.forEach(function(hole) {\n for (var i = 0, n = polygons.length, polygon; i < n; ++i) {\n if (contains((polygon = polygons[i])[0], hole) !== -1) {\n polygon.push(hole);\n return;\n }\n }\n });\n\n return {\n type: \"MultiPolygon\",\n value: value,\n coordinates: polygons\n };\n }\n\n // Marching squares with isolines stitched into rings.\n // Based on https://github.com/topojson/topojson-client/blob/v3.0.0/src/stitch.js\n function isorings(values, value, callback) {\n var fragmentByStart = new Array,\n fragmentByEnd = new Array,\n x, y, t0, t1, t2, t3;\n\n // Special case for the first row (y = -1, t2 = t3 = 0).\n x = y = -1;\n t1 = values[0] >= value;\n cases[t1 << 1].forEach(stitch);\n while (++x < dx - 1) {\n t0 = t1, t1 = values[x + 1] >= value;\n cases[t0 | t1 << 1].forEach(stitch);\n }\n cases[t1 << 0].forEach(stitch);\n\n // General case for the intermediate rows.\n while (++y < dy - 1) {\n x = -1;\n t1 = values[y * dx + dx] >= value;\n t2 = values[y * dx] >= value;\n cases[t1 << 1 | t2 << 2].forEach(stitch);\n while (++x < dx - 1) {\n t0 = t1, t1 = values[y * dx + dx + x + 1] >= value;\n t3 = t2, t2 = values[y * dx + x + 1] >= value;\n cases[t0 | t1 << 1 | t2 << 2 | t3 << 3].forEach(stitch);\n }\n cases[t1 | t2 << 3].forEach(stitch);\n }\n\n // Special case for the last row (y = dy - 1, t0 = t1 = 0).\n x = -1;\n t2 = values[y * dx] >= value;\n cases[t2 << 2].forEach(stitch);\n while (++x < dx - 1) {\n t3 = t2, t2 = values[y * dx + x + 1] >= value;\n cases[t2 << 2 | t3 << 3].forEach(stitch);\n }\n cases[t2 << 3].forEach(stitch);\n\n function stitch(line) {\n var start = [line[0][0] + x, line[0][1] + y],\n end = [line[1][0] + x, line[1][1] + y],\n startIndex = index(start),\n endIndex = index(end),\n f, g;\n if (f = fragmentByEnd[startIndex]) {\n if (g = fragmentByStart[endIndex]) {\n delete fragmentByEnd[f.end];\n delete fragmentByStart[g.start];\n if (f === g) {\n f.ring.push(end);\n callback(f.ring);\n } else {\n fragmentByStart[f.start] = fragmentByEnd[g.end] = {start: f.start, end: g.end, ring: f.ring.concat(g.ring)};\n }\n } else {\n delete fragmentByEnd[f.end];\n f.ring.push(end);\n fragmentByEnd[f.end = endIndex] = f;\n }\n } else if (f = fragmentByStart[endIndex]) {\n if (g = fragmentByEnd[startIndex]) {\n delete fragmentByStart[f.start];\n delete fragmentByEnd[g.end];\n if (f === g) {\n f.ring.push(end);\n callback(f.ring);\n } else {\n fragmentByStart[g.start] = fragmentByEnd[f.end] = {start: g.start, end: f.end, ring: g.ring.concat(f.ring)};\n }\n } else {\n delete fragmentByStart[f.start];\n f.ring.unshift(start);\n fragmentByStart[f.start = startIndex] = f;\n }\n } else {\n fragmentByStart[startIndex] = fragmentByEnd[endIndex] = {start: startIndex, end: endIndex, ring: [start, end]};\n }\n }\n }\n\n function index(point) {\n return point[0] * 2 + point[1] * (dx + 1) * 4;\n }\n\n function smoothLinear(ring, values, value) {\n ring.forEach(function(point) {\n var x = point[0],\n y = point[1],\n xt = x | 0,\n yt = y | 0,\n v0,\n v1 = values[yt * dx + xt];\n if (x > 0 && x < dx && xt === x) {\n v0 = values[yt * dx + xt - 1];\n point[0] = x + (value - v0) / (v1 - v0) - 0.5;\n }\n if (y > 0 && y < dy && yt === y) {\n v0 = values[(yt - 1) * dx + xt];\n point[1] = y + (value - v0) / (v1 - v0) - 0.5;\n }\n });\n }\n\n contours.contour = contour;\n\n contours.size = function(_) {\n if (!arguments.length) return [dx, dy];\n var _0 = Math.ceil(_[0]), _1 = Math.ceil(_[1]);\n if (!(_0 > 0) || !(_1 > 0)) throw new Error(\"invalid size\");\n return dx = _0, dy = _1, contours;\n };\n\n contours.thresholds = function(_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), contours) : threshold;\n };\n\n contours.smooth = function(_) {\n return arguments.length ? (smooth = _ ? smoothLinear : noop, contours) : smooth === smoothLinear;\n };\n\n return contours;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "name": "./node_modules/d3-contour/src/density.js", "index": 169, "index2": 166, "size": 3990, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 187, "building": 41, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "module": "./node_modules/d3-contour/src/index.js", "moduleName": "./node_modules/d3-contour/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./density", "loc": "2:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "module": "./node_modules/d3-contour/src/index.js", "moduleName": "./node_modules/d3-contour/src/index.js", "type": "harmony export imported specifier", "userRequest": "./density", "loc": "2:0-52" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {max, range, tickStep} from \"d3-array\";\nimport {slice} from \"./array\";\nimport {blurX, blurY} from \"./blur\";\nimport constant from \"./constant\";\nimport contours from \"./contours\";\n\nfunction defaultX(d) {\n return d[0];\n}\n\nfunction defaultY(d) {\n return d[1];\n}\n\nfunction defaultWeight() {\n return 1;\n}\n\nexport default function() {\n var x = defaultX,\n y = defaultY,\n weight = defaultWeight,\n dx = 960,\n dy = 500,\n r = 20, // blur radius\n k = 2, // log2(grid cell size)\n o = r * 3, // grid offset, to pad for blur\n n = (dx + o * 2) >> k, // grid width\n m = (dy + o * 2) >> k, // grid height\n threshold = constant(20);\n\n function density(data) {\n var values0 = new Float32Array(n * m),\n values1 = new Float32Array(n * m);\n\n data.forEach(function(d, i, data) {\n var xi = (+x(d, i, data) + o) >> k,\n yi = (+y(d, i, data) + o) >> k,\n wi = +weight(d, i, data);\n if (xi >= 0 && xi < n && yi >= 0 && yi < m) {\n values0[xi + yi * n] += wi;\n }\n });\n\n // TODO Optimize.\n blurX({width: n, height: m, data: values0}, {width: n, height: m, data: values1}, r >> k);\n blurY({width: n, height: m, data: values1}, {width: n, height: m, data: values0}, r >> k);\n blurX({width: n, height: m, data: values0}, {width: n, height: m, data: values1}, r >> k);\n blurY({width: n, height: m, data: values1}, {width: n, height: m, data: values0}, r >> k);\n blurX({width: n, height: m, data: values0}, {width: n, height: m, data: values1}, r >> k);\n blurY({width: n, height: m, data: values1}, {width: n, height: m, data: values0}, r >> k);\n\n var tz = threshold(values0);\n\n // Convert number of thresholds into uniform thresholds.\n if (!Array.isArray(tz)) {\n var stop = max(values0);\n tz = tickStep(0, stop, tz);\n tz = range(0, Math.floor(stop / tz) * tz, tz);\n tz.shift();\n }\n\n return contours()\n .thresholds(tz)\n .size([n, m])\n (values0)\n .map(transform);\n }\n\n function transform(geometry) {\n geometry.value *= Math.pow(2, -2 * k); // Density in points per square pixel.\n geometry.coordinates.forEach(transformPolygon);\n return geometry;\n }\n\n function transformPolygon(coordinates) {\n coordinates.forEach(transformRing);\n }\n\n function transformRing(coordinates) {\n coordinates.forEach(transformPoint);\n }\n\n // TODO Optimize.\n function transformPoint(coordinates) {\n coordinates[0] = coordinates[0] * Math.pow(2, k) - o;\n coordinates[1] = coordinates[1] * Math.pow(2, k) - o;\n }\n\n function resize() {\n o = r * 3;\n n = (dx + o * 2) >> k;\n m = (dy + o * 2) >> k;\n return density;\n }\n\n density.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), density) : x;\n };\n\n density.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), density) : y;\n };\n\n density.weight = function(_) {\n return arguments.length ? (weight = typeof _ === \"function\" ? _ : constant(+_), density) : weight;\n };\n\n density.size = function(_) {\n if (!arguments.length) return [dx, dy];\n var _0 = Math.ceil(_[0]), _1 = Math.ceil(_[1]);\n if (!(_0 >= 0) && !(_0 >= 0)) throw new Error(\"invalid size\");\n return dx = _0, dy = _1, resize();\n };\n\n density.cellSize = function(_) {\n if (!arguments.length) return 1 << k;\n if (!((_ = +_) >= 1)) throw new Error(\"invalid cell size\");\n return k = Math.floor(Math.log(_) / Math.LN2), resize();\n };\n\n density.thresholds = function(_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), density) : threshold;\n };\n\n density.bandwidth = function(_) {\n if (!arguments.length) return Math.sqrt(r * (r + 1));\n if (!((_ = +_) >= 0)) throw new Error(\"invalid bandwidth\");\n return r = Math.round((Math.sqrt(4 * _ * _ + 1) - 1) / 2), resize();\n };\n\n return density;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "name": "./node_modules/d3-drag/src/drag.js", "index": 173, "index2": 171, "size": 5073, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-drag/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 60, "dependencies": 58 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "module": "./node_modules/d3-drag/src/index.js", "moduleName": "./node_modules/d3-drag/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./drag.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "module": "./node_modules/d3-drag/src/index.js", "moduleName": "./node_modules/d3-drag/src/index.js", "type": "harmony export imported specifier", "userRequest": "./drag.js", "loc": "1:0-42" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {dispatch} from \"d3-dispatch\";\nimport {event, customEvent, select, mouse, touch} from \"d3-selection\";\nimport nodrag, {yesdrag} from \"./nodrag.js\";\nimport noevent, {nopropagation} from \"./noevent.js\";\nimport constant from \"./constant.js\";\nimport DragEvent from \"./event.js\";\n\n// Ignore right-click, since that should open the context menu.\nfunction defaultFilter() {\n return !event.ctrlKey && !event.button;\n}\n\nfunction defaultContainer() {\n return this.parentNode;\n}\n\nfunction defaultSubject(d) {\n return d == null ? {x: event.x, y: event.y} : d;\n}\n\nfunction defaultTouchable() {\n return navigator.maxTouchPoints || (\"ontouchstart\" in this);\n}\n\nexport default function() {\n var filter = defaultFilter,\n container = defaultContainer,\n subject = defaultSubject,\n touchable = defaultTouchable,\n gestures = {},\n listeners = dispatch(\"start\", \"drag\", \"end\"),\n active = 0,\n mousedownx,\n mousedowny,\n mousemoving,\n touchending,\n clickDistance2 = 0;\n\n function drag(selection) {\n selection\n .on(\"mousedown.drag\", mousedowned)\n .filter(touchable)\n .on(\"touchstart.drag\", touchstarted)\n .on(\"touchmove.drag\", touchmoved)\n .on(\"touchend.drag touchcancel.drag\", touchended)\n .style(\"touch-action\", \"none\")\n .style(\"-webkit-tap-highlight-color\", \"rgba(0,0,0,0)\");\n }\n\n function mousedowned() {\n if (touchending || !filter.apply(this, arguments)) return;\n var gesture = beforestart(\"mouse\", container.apply(this, arguments), mouse, this, arguments);\n if (!gesture) return;\n select(event.view).on(\"mousemove.drag\", mousemoved, true).on(\"mouseup.drag\", mouseupped, true);\n nodrag(event.view);\n nopropagation();\n mousemoving = false;\n mousedownx = event.clientX;\n mousedowny = event.clientY;\n gesture(\"start\");\n }\n\n function mousemoved() {\n noevent();\n if (!mousemoving) {\n var dx = event.clientX - mousedownx, dy = event.clientY - mousedowny;\n mousemoving = dx * dx + dy * dy > clickDistance2;\n }\n gestures.mouse(\"drag\");\n }\n\n function mouseupped() {\n select(event.view).on(\"mousemove.drag mouseup.drag\", null);\n yesdrag(event.view, mousemoving);\n noevent();\n gestures.mouse(\"end\");\n }\n\n function touchstarted() {\n if (!filter.apply(this, arguments)) return;\n var touches = event.changedTouches,\n c = container.apply(this, arguments),\n n = touches.length, i, gesture;\n\n for (i = 0; i < n; ++i) {\n if (gesture = beforestart(touches[i].identifier, c, touch, this, arguments)) {\n nopropagation();\n gesture(\"start\");\n }\n }\n }\n\n function touchmoved() {\n var touches = event.changedTouches,\n n = touches.length, i, gesture;\n\n for (i = 0; i < n; ++i) {\n if (gesture = gestures[touches[i].identifier]) {\n noevent();\n gesture(\"drag\");\n }\n }\n }\n\n function touchended() {\n var touches = event.changedTouches,\n n = touches.length, i, gesture;\n\n if (touchending) clearTimeout(touchending);\n touchending = setTimeout(function() { touchending = null; }, 500); // Ghost clicks are delayed!\n for (i = 0; i < n; ++i) {\n if (gesture = gestures[touches[i].identifier]) {\n nopropagation();\n gesture(\"end\");\n }\n }\n }\n\n function beforestart(id, container, point, that, args) {\n var p = point(container, id), s, dx, dy,\n sublisteners = listeners.copy();\n\n if (!customEvent(new DragEvent(drag, \"beforestart\", s, id, active, p[0], p[1], 0, 0, sublisteners), function() {\n if ((event.subject = s = subject.apply(that, args)) == null) return false;\n dx = s.x - p[0] || 0;\n dy = s.y - p[1] || 0;\n return true;\n })) return;\n\n return function gesture(type) {\n var p0 = p, n;\n switch (type) {\n case \"start\": gestures[id] = gesture, n = active++; break;\n case \"end\": delete gestures[id], --active; // nobreak\n case \"drag\": p = point(container, id), n = active; break;\n }\n customEvent(new DragEvent(drag, type, s, id, n, p[0] + dx, p[1] + dy, p[0] - p0[0], p[1] - p0[1], sublisteners), sublisteners.apply, sublisteners, [type, that, args]);\n };\n }\n\n drag.filter = function(_) {\n return arguments.length ? (filter = typeof _ === \"function\" ? _ : constant(!!_), drag) : filter;\n };\n\n drag.container = function(_) {\n return arguments.length ? (container = typeof _ === \"function\" ? _ : constant(_), drag) : container;\n };\n\n drag.subject = function(_) {\n return arguments.length ? (subject = typeof _ === \"function\" ? _ : constant(_), drag) : subject;\n };\n\n drag.touchable = function(_) {\n return arguments.length ? (touchable = typeof _ === \"function\" ? _ : constant(!!_), drag) : touchable;\n };\n\n drag.on = function() {\n var value = listeners.on.apply(listeners, arguments);\n return value === listeners ? drag : value;\n };\n\n drag.clickDistance = function(_) {\n return arguments.length ? (clickDistance2 = (_ = +_) * _, drag) : Math.sqrt(clickDistance2);\n };\n\n return drag;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/dsv.js", "name": "./node_modules/d3-dsv/src/dsv.js", "index": 177, "index2": 173, "size": 4838, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-dsv/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "name": "./node_modules/d3-dsv/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./dsv.js", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./dsv.js", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/csv.js", "module": "./node_modules/d3-dsv/src/csv.js", "moduleName": "./node_modules/d3-dsv/src/csv.js", "type": "harmony side effect evaluation", "userRequest": "./dsv.js", "loc": "1:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/tsv.js", "module": "./node_modules/d3-dsv/src/tsv.js", "moduleName": "./node_modules/d3-dsv/src/tsv.js", "type": "harmony side effect evaluation", "userRequest": "./dsv.js", "loc": "1:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/csv.js", "module": "./node_modules/d3-dsv/src/csv.js", "moduleName": "./node_modules/d3-dsv/src/csv.js", "type": "harmony import specifier", "userRequest": "./dsv.js", "loc": "3:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/tsv.js", "module": "./node_modules/d3-dsv/src/tsv.js", "moduleName": "./node_modules/d3-dsv/src/tsv.js", "type": "harmony import specifier", "userRequest": "./dsv.js", "loc": "3:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dsv", "loc": "15:15-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var EOL = {},\n EOF = {},\n QUOTE = 34,\n NEWLINE = 10,\n RETURN = 13;\n\nfunction objectConverter(columns) {\n return new Function(\"d\", \"return {\" + columns.map(function(name, i) {\n return JSON.stringify(name) + \": d[\" + i + \"] || \\\"\\\"\";\n }).join(\",\") + \"}\");\n}\n\nfunction customConverter(columns, f) {\n var object = objectConverter(columns);\n return function(row, i) {\n return f(object(row), i, columns);\n };\n}\n\n// Compute unique columns in order of discovery.\nfunction inferColumns(rows) {\n var columnSet = Object.create(null),\n columns = [];\n\n rows.forEach(function(row) {\n for (var column in row) {\n if (!(column in columnSet)) {\n columns.push(columnSet[column] = column);\n }\n }\n });\n\n return columns;\n}\n\nfunction pad(value, width) {\n var s = value + \"\", length = s.length;\n return length < width ? new Array(width - length + 1).join(0) + s : s;\n}\n\nfunction formatYear(year) {\n return year < 0 ? \"-\" + pad(-year, 6)\n : year > 9999 ? \"+\" + pad(year, 6)\n : pad(year, 4);\n}\n\nfunction formatDate(date) {\n var hours = date.getUTCHours(),\n minutes = date.getUTCMinutes(),\n seconds = date.getUTCSeconds(),\n milliseconds = date.getUTCMilliseconds();\n return isNaN(date) ? \"Invalid Date\"\n : formatYear(date.getUTCFullYear(), 4) + \"-\" + pad(date.getUTCMonth() + 1, 2) + \"-\" + pad(date.getUTCDate(), 2)\n + (milliseconds ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \":\" + pad(seconds, 2) + \".\" + pad(milliseconds, 3) + \"Z\"\n : seconds ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \":\" + pad(seconds, 2) + \"Z\"\n : minutes || hours ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \"Z\"\n : \"\");\n}\n\nexport default function(delimiter) {\n var reFormat = new RegExp(\"[\\\"\" + delimiter + \"\\n\\r]\"),\n DELIMITER = delimiter.charCodeAt(0);\n\n function parse(text, f) {\n var convert, columns, rows = parseRows(text, function(row, i) {\n if (convert) return convert(row, i - 1);\n columns = row, convert = f ? customConverter(row, f) : objectConverter(row);\n });\n rows.columns = columns || [];\n return rows;\n }\n\n function parseRows(text, f) {\n var rows = [], // output rows\n N = text.length,\n I = 0, // current character index\n n = 0, // current line number\n t, // current token\n eof = N <= 0, // current token followed by EOF?\n eol = false; // current token followed by EOL?\n\n // Strip the trailing newline.\n if (text.charCodeAt(N - 1) === NEWLINE) --N;\n if (text.charCodeAt(N - 1) === RETURN) --N;\n\n function token() {\n if (eof) return EOF;\n if (eol) return eol = false, EOL;\n\n // Unescape quotes.\n var i, j = I, c;\n if (text.charCodeAt(j) === QUOTE) {\n while (I++ < N && text.charCodeAt(I) !== QUOTE || text.charCodeAt(++I) === QUOTE);\n if ((i = I) >= N) eof = true;\n else if ((c = text.charCodeAt(I++)) === NEWLINE) eol = true;\n else if (c === RETURN) { eol = true; if (text.charCodeAt(I) === NEWLINE) ++I; }\n return text.slice(j + 1, i - 1).replace(/\"\"/g, \"\\\"\");\n }\n\n // Find next delimiter or newline.\n while (I < N) {\n if ((c = text.charCodeAt(i = I++)) === NEWLINE) eol = true;\n else if (c === RETURN) { eol = true; if (text.charCodeAt(I) === NEWLINE) ++I; }\n else if (c !== DELIMITER) continue;\n return text.slice(j, i);\n }\n\n // Return last token before EOF.\n return eof = true, text.slice(j, N);\n }\n\n while ((t = token()) !== EOF) {\n var row = [];\n while (t !== EOL && t !== EOF) row.push(t), t = token();\n if (f && (row = f(row, n++)) == null) continue;\n rows.push(row);\n }\n\n return rows;\n }\n\n function preformatBody(rows, columns) {\n return rows.map(function(row) {\n return columns.map(function(column) {\n return formatValue(row[column]);\n }).join(delimiter);\n });\n }\n\n function format(rows, columns) {\n if (columns == null) columns = inferColumns(rows);\n return [columns.map(formatValue).join(delimiter)].concat(preformatBody(rows, columns)).join(\"\\n\");\n }\n\n function formatBody(rows, columns) {\n if (columns == null) columns = inferColumns(rows);\n return preformatBody(rows, columns).join(\"\\n\");\n }\n\n function formatRows(rows) {\n return rows.map(formatRow).join(\"\\n\");\n }\n\n function formatRow(row) {\n return row.map(formatValue).join(delimiter);\n }\n\n function formatValue(value) {\n return value == null ? \"\"\n : value instanceof Date ? formatDate(value)\n : reFormat.test(value += \"\") ? \"\\\"\" + value.replace(/\"/g, \"\\\"\\\"\") + \"\\\"\"\n : value;\n }\n\n return {\n parse: parse,\n parseRows: parseRows,\n format: format,\n formatBody: formatBody,\n formatRows: formatRows,\n formatRow: formatRow,\n formatValue: formatValue\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/csv.js", "name": "./node_modules/d3-dsv/src/csv.js", "index": 178, "index2": 174, "size": 331, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-dsv/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "name": "./node_modules/d3-dsv/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dsv", "loc": "21:26-34" } ], "usedExports": [ "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue" ], "providedExports": [ "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue" ], "optimizationBailout": [], "depth": 4, "source": "import dsv from \"./dsv.js\";\n\nvar csv = dsv(\",\");\n\nexport var csvParse = csv.parse;\nexport var csvParseRows = csv.parseRows;\nexport var csvFormat = csv.format;\nexport var csvFormatBody = csv.formatBody;\nexport var csvFormatRows = csv.formatRows;\nexport var csvFormatRow = csv.formatRow;\nexport var csvFormatValue = csv.formatValue;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/tsv.js", "name": "./node_modules/d3-dsv/src/tsv.js", "index": 179, "index2": 175, "size": 332, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-dsv/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "name": "./node_modules/d3-dsv/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dsv", "loc": "22:26-34" } ], "usedExports": [ "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue" ], "providedExports": [ "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue" ], "optimizationBailout": [], "depth": 4, "source": "import dsv from \"./dsv.js\";\n\nvar tsv = dsv(\"\\t\");\n\nexport var tsvParse = tsv.parse;\nexport var tsvParseRows = tsv.parseRows;\nexport var tsvFormat = tsv.format;\nexport var tsvFormatBody = tsv.formatBody;\nexport var tsvFormatRows = tsv.formatRows;\nexport var tsvFormatRow = tsv.formatRow;\nexport var tsvFormatValue = tsv.formatValue;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/autoType.js", "name": "./node_modules/d3-dsv/src/autoType.js", "index": 180, "index2": 176, "size": 794, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-dsv/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "name": "./node_modules/d3-dsv/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./autoType.js", "loc": "4:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./autoType.js", "loc": "4:0-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function autoType(object) {\n for (var key in object) {\n var value = object[key].trim(), number, m;\n if (!value) value = null;\n else if (value === \"true\") value = true;\n else if (value === \"false\") value = false;\n else if (value === \"NaN\") value = NaN;\n else if (!isNaN(number = +value)) value = number;\n else if (m = value.match(/^([-+]\\d{2})?\\d{4}(-\\d{2}(-\\d{2})?)?(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{3})?)?(Z|[-+]\\d{2}:\\d{2})?)?$/)) {\n if (fixtz && !!m[4] && !m[7]) value = value.replace(/-/g, \"/\").replace(/T/, \" \");\n value = new Date(value);\n }\n else continue;\n object[key] = value;\n }\n return object;\n}\n\n// https://github.com/d3/d3-dsv/issues/45\nvar fixtz = new Date(\"2019-01-01T00:00\").getHours() || new Date(\"2019-07-01T00:00\").getHours();" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/linear.js", "name": "./node_modules/d3-ease/src/linear.js", "index": 182, "index2": 178, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./linear.js", "loc": "1:0-3:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./linear.js", "loc": "1:0-3:21" } ], "usedExports": [ "linear" ], "providedExports": [ "linear" ], "optimizationBailout": [], "depth": 4, "source": "export function linear(t) {\n return +t;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/quad.js", "name": "./node_modules/d3-ease/src/quad.js", "index": 183, "index2": 179, "size": 192, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quad.js", "loc": "5:0-10:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "5:0-10:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "5:0-10:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "5:0-10:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "5:0-10:19" } ], "usedExports": [ "quadInOut", "quadIn", "quadOut" ], "providedExports": [ "quadIn", "quadOut", "quadInOut" ], "optimizationBailout": [], "depth": 4, "source": "export function quadIn(t) {\n return t * t;\n}\n\nexport function quadOut(t) {\n return t * (2 - t);\n}\n\nexport function quadInOut(t) {\n return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/poly.js", "name": "./node_modules/d3-ease/src/poly.js", "index": 184, "index2": 180, "size": 596, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./poly.js", "loc": "19:0-24:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "19:0-24:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "19:0-24:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "19:0-24:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "19:0-24:19" } ], "usedExports": [ "polyInOut", "polyIn", "polyOut" ], "providedExports": [ "polyIn", "polyOut", "polyInOut" ], "optimizationBailout": [], "depth": 4, "source": "var exponent = 3;\n\nexport var polyIn = (function custom(e) {\n e = +e;\n\n function polyIn(t) {\n return Math.pow(t, e);\n }\n\n polyIn.exponent = custom;\n\n return polyIn;\n})(exponent);\n\nexport var polyOut = (function custom(e) {\n e = +e;\n\n function polyOut(t) {\n return 1 - Math.pow(1 - t, e);\n }\n\n polyOut.exponent = custom;\n\n return polyOut;\n})(exponent);\n\nexport var polyInOut = (function custom(e) {\n e = +e;\n\n function polyInOut(t) {\n return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;\n }\n\n polyInOut.exponent = custom;\n\n return polyInOut;\n})(exponent);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/sin.js", "name": "./node_modules/d3-ease/src/sin.js", "index": 185, "index2": 181, "size": 236, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sin.js", "loc": "26:0-31:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "26:0-31:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "26:0-31:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "26:0-31:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "26:0-31:18" } ], "usedExports": [ "sinInOut", "sinIn", "sinOut" ], "providedExports": [ "sinIn", "sinOut", "sinInOut" ], "optimizationBailout": [], "depth": 4, "source": "var pi = Math.PI,\n halfPi = pi / 2;\n\nexport function sinIn(t) {\n return 1 - Math.cos(t * halfPi);\n}\n\nexport function sinOut(t) {\n return Math.sin(t * halfPi);\n}\n\nexport function sinInOut(t) {\n return (1 - Math.cos(pi * t)) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/exp.js", "name": "./node_modules/d3-ease/src/exp.js", "index": 186, "index2": 182, "size": 251, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./exp.js", "loc": "33:0-38:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "33:0-38:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "33:0-38:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "33:0-38:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "33:0-38:18" } ], "usedExports": [ "expInOut", "expIn", "expOut" ], "providedExports": [ "expIn", "expOut", "expInOut" ], "optimizationBailout": [], "depth": 4, "source": "export function expIn(t) {\n return Math.pow(2, 10 * t - 10);\n}\n\nexport function expOut(t) {\n return 1 - Math.pow(2, -10 * t);\n}\n\nexport function expInOut(t) {\n return ((t *= 2) <= 1 ? Math.pow(2, 10 * t - 10) : 2 - Math.pow(2, 10 - 10 * t)) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/circle.js", "name": "./node_modules/d3-ease/src/circle.js", "index": 187, "index2": 183, "size": 261, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./circle.js", "loc": "40:0-45:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "40:0-45:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "40:0-45:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "40:0-45:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "40:0-45:21" } ], "usedExports": [ "circleInOut", "circleIn", "circleOut" ], "providedExports": [ "circleIn", "circleOut", "circleInOut" ], "optimizationBailout": [], "depth": 4, "source": "export function circleIn(t) {\n return 1 - Math.sqrt(1 - t * t);\n}\n\nexport function circleOut(t) {\n return Math.sqrt(1 - --t * t);\n}\n\nexport function circleInOut(t) {\n return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/bounce.js", "name": "./node_modules/d3-ease/src/bounce.js", "index": 188, "index2": 184, "size": 521, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bounce.js", "loc": "47:0-52:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "47:0-52:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "47:0-52:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "47:0-52:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "47:0-52:21" } ], "usedExports": [ "bounceOut", "bounceIn", "bounceInOut" ], "providedExports": [ "bounceIn", "bounceOut", "bounceInOut" ], "optimizationBailout": [], "depth": 4, "source": "var b1 = 4 / 11,\n b2 = 6 / 11,\n b3 = 8 / 11,\n b4 = 3 / 4,\n b5 = 9 / 11,\n b6 = 10 / 11,\n b7 = 15 / 16,\n b8 = 21 / 22,\n b9 = 63 / 64,\n b0 = 1 / b1 / b1;\n\nexport function bounceIn(t) {\n return 1 - bounceOut(1 - t);\n}\n\nexport function bounceOut(t) {\n return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9;\n}\n\nexport function bounceInOut(t) {\n return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/back.js", "name": "./node_modules/d3-ease/src/back.js", "index": 189, "index2": 185, "size": 653, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./back.js", "loc": "54:0-59:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "54:0-59:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "54:0-59:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "54:0-59:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "54:0-59:19" } ], "usedExports": [ "backInOut", "backIn", "backOut" ], "providedExports": [ "backIn", "backOut", "backInOut" ], "optimizationBailout": [], "depth": 4, "source": "var overshoot = 1.70158;\n\nexport var backIn = (function custom(s) {\n s = +s;\n\n function backIn(t) {\n return t * t * ((s + 1) * t - s);\n }\n\n backIn.overshoot = custom;\n\n return backIn;\n})(overshoot);\n\nexport var backOut = (function custom(s) {\n s = +s;\n\n function backOut(t) {\n return --t * t * ((s + 1) * t + s) + 1;\n }\n\n backOut.overshoot = custom;\n\n return backOut;\n})(overshoot);\n\nexport var backInOut = (function custom(s) {\n s = +s;\n\n function backInOut(t) {\n return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;\n }\n\n backInOut.overshoot = custom;\n\n return backInOut;\n})(overshoot);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/elastic.js", "name": "./node_modules/d3-ease/src/elastic.js", "index": 190, "index2": 186, "size": 1309, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./elastic.js", "loc": "61:0-66:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "61:0-66:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "61:0-66:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "61:0-66:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "61:0-66:22" } ], "usedExports": [ "elasticOut", "elasticIn", "elasticInOut" ], "providedExports": [ "elasticIn", "elasticOut", "elasticInOut" ], "optimizationBailout": [], "depth": 4, "source": "var tau = 2 * Math.PI,\n amplitude = 1,\n period = 0.3;\n\nexport var elasticIn = (function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticIn(t) {\n return a * Math.pow(2, 10 * --t) * Math.sin((s - t) / p);\n }\n\n elasticIn.amplitude = function(a) { return custom(a, p * tau); };\n elasticIn.period = function(p) { return custom(a, p); };\n\n return elasticIn;\n})(amplitude, period);\n\nexport var elasticOut = (function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticOut(t) {\n return 1 - a * Math.pow(2, -10 * (t = +t)) * Math.sin((t + s) / p);\n }\n\n elasticOut.amplitude = function(a) { return custom(a, p * tau); };\n elasticOut.period = function(p) { return custom(a, p); };\n\n return elasticOut;\n})(amplitude, period);\n\nexport var elasticInOut = (function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticInOut(t) {\n return ((t = t * 2 - 1) < 0\n ? a * Math.pow(2, 10 * t) * Math.sin((s - t) / p)\n : 2 - a * Math.pow(2, -10 * t) * Math.sin((s + t) / p)) / 2;\n }\n\n elasticInOut.amplitude = function(a) { return custom(a, p * tau); };\n elasticInOut.period = function(p) { return custom(a, p); };\n\n return elasticInOut;\n})(amplitude, period);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/blob.js", "name": "./node_modules/d3-fetch/src/blob.js", "index": 192, "index2": 188, "size": 234, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./blob", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./blob", "loc": "1:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function responseBlob(response) {\n if (!response.ok) throw new Error(response.status + \" \" + response.statusText);\n return response.blob();\n}\n\nexport default function(input, init) {\n return fetch(input, init).then(responseBlob);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/buffer.js", "name": "./node_modules/d3-fetch/src/buffer.js", "index": 193, "index2": 189, "size": 255, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./buffer", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./buffer", "loc": "2:0-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function responseArrayBuffer(response) {\n if (!response.ok) throw new Error(response.status + \" \" + response.statusText);\n return response.arrayBuffer();\n}\n\nexport default function(input, init) {\n return fetch(input, init).then(responseArrayBuffer);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/text.js", "name": "./node_modules/d3-fetch/src/text.js", "index": 195, "index2": 190, "size": 234, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/xml.js", "module": "./node_modules/d3-fetch/src/xml.js", "moduleName": "./node_modules/d3-fetch/src/xml.js", "type": "harmony side effect evaluation", "userRequest": "./text", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony side effect evaluation", "userRequest": "./text", "loc": "2:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/xml.js", "module": "./node_modules/d3-fetch/src/xml.js", "moduleName": "./node_modules/d3-fetch/src/xml.js", "type": "harmony import specifier", "userRequest": "./text", "loc": "5:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./text", "loc": "6:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./text", "loc": "6:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony import specifier", "userRequest": "./text", "loc": "7:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony import specifier", "userRequest": "./text", "loc": "16:9-13" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function responseText(response) {\n if (!response.ok) throw new Error(response.status + \" \" + response.statusText);\n return response.text();\n}\n\nexport default function(input, init) {\n return fetch(input, init).then(responseText);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "name": "./node_modules/d3-fetch/src/dsv.js", "index": 194, "index2": 191, "size": 707, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./dsv", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./dsv", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./dsv", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./dsv", "loc": "3:0-47" } ], "usedExports": [ "default", "csv", "tsv" ], "providedExports": [ "default", "csv", "tsv" ], "optimizationBailout": [], "depth": 4, "source": "import {csvParse, dsvFormat, tsvParse} from \"d3-dsv\";\nimport text from \"./text\";\n\nfunction dsvParse(parse) {\n return function(input, init, row) {\n if (arguments.length === 2 && typeof init === \"function\") row = init, init = undefined;\n return text(input, init).then(function(response) {\n return parse(response, row);\n });\n };\n}\n\nexport default function dsv(delimiter, input, init, row) {\n if (arguments.length === 3 && typeof init === \"function\") row = init, init = undefined;\n var format = dsvFormat(delimiter);\n return text(input, init).then(function(response) {\n return format.parse(response, row);\n });\n}\n\nexport var csv = dsvParse(csvParse);\nexport var tsv = dsvParse(tsvParse);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/image.js", "name": "./node_modules/d3-fetch/src/image.js", "index": 196, "index2": 192, "size": 275, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./image", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./image", "loc": "4:0-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(input, init) {\n return new Promise(function(resolve, reject) {\n var image = new Image;\n for (var key in init) image[key] = init[key];\n image.onerror = reject;\n image.onload = function() { resolve(image); };\n image.src = input;\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/json.js", "name": "./node_modules/d3-fetch/src/json.js", "index": 197, "index2": 193, "size": 234, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./json", "loc": "5:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./json", "loc": "5:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function responseJson(response) {\n if (!response.ok) throw new Error(response.status + \" \" + response.statusText);\n return response.json();\n}\n\nexport default function(input, init) {\n return fetch(input, init).then(responseJson);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/xml.js", "name": "./node_modules/d3-fetch/src/xml.js", "index": 198, "index2": 194, "size": 336, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./xml", "loc": "7:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./xml", "loc": "7:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./xml", "loc": "7:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./xml", "loc": "7:0-48" } ], "usedExports": [ "default", "html", "svg" ], "providedExports": [ "default", "html", "svg" ], "optimizationBailout": [], "depth": 4, "source": "import text from \"./text\";\n\nfunction parser(type) {\n return function(input, init) {\n return text(input, init).then(function(text) {\n return (new DOMParser).parseFromString(text, type);\n });\n };\n}\n\nexport default parser(\"application/xml\");\n\nexport var html = parser(\"text/html\");\n\nexport var svg = parser(\"image/svg+xml\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/center.js", "name": "./node_modules/d3-force/src/center.js", "index": 200, "index2": 196, "size": 654, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./center", "loc": "1:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./center", "loc": "1:0-48" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(x, y) {\n var nodes;\n\n if (x == null) x = 0;\n if (y == null) y = 0;\n\n function force() {\n var i,\n n = nodes.length,\n node,\n sx = 0,\n sy = 0;\n\n for (i = 0; i < n; ++i) {\n node = nodes[i], sx += node.x, sy += node.y;\n }\n\n for (sx = sx / n - x, sy = sy / n - y, i = 0; i < n; ++i) {\n node = nodes[i], node.x -= sx, node.y -= sy;\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n };\n\n force.x = function(_) {\n return arguments.length ? (x = +_, force) : x;\n };\n\n force.y = function(_) {\n return arguments.length ? (y = +_, force) : y;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "index": 204, "index2": 212, "size": 2113, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 73, "building": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "module": "./node_modules/d3-quadtree/src/index.js", "moduleName": "./node_modules/d3-quadtree/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quadtree.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "module": "./node_modules/d3-quadtree/src/index.js", "moduleName": "./node_modules/d3-quadtree/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quadtree.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-quadtree", "loc": "17:36-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-quadtree", "loc": "31:13-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import tree_add, {addAll as tree_addAll} from \"./add.js\";\nimport tree_cover from \"./cover.js\";\nimport tree_data from \"./data.js\";\nimport tree_extent from \"./extent.js\";\nimport tree_find from \"./find.js\";\nimport tree_remove, {removeAll as tree_removeAll} from \"./remove.js\";\nimport tree_root from \"./root.js\";\nimport tree_size from \"./size.js\";\nimport tree_visit from \"./visit.js\";\nimport tree_visitAfter from \"./visitAfter.js\";\nimport tree_x, {defaultX} from \"./x.js\";\nimport tree_y, {defaultY} from \"./y.js\";\n\nexport default function quadtree(nodes, x, y) {\n var tree = new Quadtree(x == null ? defaultX : x, y == null ? defaultY : y, NaN, NaN, NaN, NaN);\n return nodes == null ? tree : tree.addAll(nodes);\n}\n\nfunction Quadtree(x, y, x0, y0, x1, y1) {\n this._x = x;\n this._y = y;\n this._x0 = x0;\n this._y0 = y0;\n this._x1 = x1;\n this._y1 = y1;\n this._root = undefined;\n}\n\nfunction leaf_copy(leaf) {\n var copy = {data: leaf.data}, next = copy;\n while (leaf = leaf.next) next = next.next = {data: leaf.data};\n return copy;\n}\n\nvar treeProto = quadtree.prototype = Quadtree.prototype;\n\ntreeProto.copy = function() {\n var copy = new Quadtree(this._x, this._y, this._x0, this._y0, this._x1, this._y1),\n node = this._root,\n nodes,\n child;\n\n if (!node) return copy;\n\n if (!node.length) return copy._root = leaf_copy(node), copy;\n\n nodes = [{source: node, target: copy._root = new Array(4)}];\n while (node = nodes.pop()) {\n for (var i = 0; i < 4; ++i) {\n if (child = node.source[i]) {\n if (child.length) nodes.push({source: child, target: node.target[i] = new Array(4)});\n else node.target[i] = leaf_copy(child);\n }\n }\n }\n\n return copy;\n};\n\ntreeProto.add = tree_add;\ntreeProto.addAll = tree_addAll;\ntreeProto.cover = tree_cover;\ntreeProto.data = tree_data;\ntreeProto.extent = tree_extent;\ntreeProto.find = tree_find;\ntreeProto.remove = tree_remove;\ntreeProto.removeAll = tree_removeAll;\ntreeProto.root = tree_root;\ntreeProto.size = tree_size;\ntreeProto.visit = tree_visit;\ntreeProto.visitAfter = tree_visitAfter;\ntreeProto.x = tree_x;\ntreeProto.y = tree_y;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "name": "./node_modules/d3-force/src/collide.js", "index": 201, "index2": 213, "size": 2447, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./collide", "loc": "2:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./collide", "loc": "2:0-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\nimport jiggle from \"./jiggle\";\nimport {quadtree} from \"d3-quadtree\";\n\nfunction x(d) {\n return d.x + d.vx;\n}\n\nfunction y(d) {\n return d.y + d.vy;\n}\n\nexport default function(radius) {\n var nodes,\n radii,\n strength = 1,\n iterations = 1;\n\n if (typeof radius !== \"function\") radius = constant(radius == null ? 1 : +radius);\n\n function force() {\n var i, n = nodes.length,\n tree,\n node,\n xi,\n yi,\n ri,\n ri2;\n\n for (var k = 0; k < iterations; ++k) {\n tree = quadtree(nodes, x, y).visitAfter(prepare);\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n ri = radii[node.index], ri2 = ri * ri;\n xi = node.x + node.vx;\n yi = node.y + node.vy;\n tree.visit(apply);\n }\n }\n\n function apply(quad, x0, y0, x1, y1) {\n var data = quad.data, rj = quad.r, r = ri + rj;\n if (data) {\n if (data.index > node.index) {\n var x = xi - data.x - data.vx,\n y = yi - data.y - data.vy,\n l = x * x + y * y;\n if (l < r * r) {\n if (x === 0) x = jiggle(), l += x * x;\n if (y === 0) y = jiggle(), l += y * y;\n l = (r - (l = Math.sqrt(l))) / l * strength;\n node.vx += (x *= l) * (r = (rj *= rj) / (ri2 + rj));\n node.vy += (y *= l) * r;\n data.vx -= x * (r = 1 - r);\n data.vy -= y * r;\n }\n }\n return;\n }\n return x0 > xi + r || x1 < xi - r || y0 > yi + r || y1 < yi - r;\n }\n }\n\n function prepare(quad) {\n if (quad.data) return quad.r = radii[quad.data.index];\n for (var i = quad.r = 0; i < 4; ++i) {\n if (quad[i] && quad[i].r > quad.r) {\n quad.r = quad[i].r;\n }\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length, node;\n radii = new Array(n);\n for (i = 0; i < n; ++i) node = nodes[i], radii[node.index] = +radius(node, i, nodes);\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.iterations = function(_) {\n return arguments.length ? (iterations = +_, force) : iterations;\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = +_, force) : strength;\n };\n\n force.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : radius;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "name": "./node_modules/d3-force/src/link.js", "index": 218, "index2": 214, "size": 3213, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./link", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./link", "loc": "3:0-44" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\nimport jiggle from \"./jiggle\";\nimport {map} from \"d3-collection\";\n\nfunction index(d) {\n return d.index;\n}\n\nfunction find(nodeById, nodeId) {\n var node = nodeById.get(nodeId);\n if (!node) throw new Error(\"missing: \" + nodeId);\n return node;\n}\n\nexport default function(links) {\n var id = index,\n strength = defaultStrength,\n strengths,\n distance = constant(30),\n distances,\n nodes,\n count,\n bias,\n iterations = 1;\n\n if (links == null) links = [];\n\n function defaultStrength(link) {\n return 1 / Math.min(count[link.source.index], count[link.target.index]);\n }\n\n function force(alpha) {\n for (var k = 0, n = links.length; k < iterations; ++k) {\n for (var i = 0, link, source, target, x, y, l, b; i < n; ++i) {\n link = links[i], source = link.source, target = link.target;\n x = target.x + target.vx - source.x - source.vx || jiggle();\n y = target.y + target.vy - source.y - source.vy || jiggle();\n l = Math.sqrt(x * x + y * y);\n l = (l - distances[i]) / l * alpha * strengths[i];\n x *= l, y *= l;\n target.vx -= x * (b = bias[i]);\n target.vy -= y * b;\n source.vx += x * (b = 1 - b);\n source.vy += y * b;\n }\n }\n }\n\n function initialize() {\n if (!nodes) return;\n\n var i,\n n = nodes.length,\n m = links.length,\n nodeById = map(nodes, id),\n link;\n\n for (i = 0, count = new Array(n); i < m; ++i) {\n link = links[i], link.index = i;\n if (typeof link.source !== \"object\") link.source = find(nodeById, link.source);\n if (typeof link.target !== \"object\") link.target = find(nodeById, link.target);\n count[link.source.index] = (count[link.source.index] || 0) + 1;\n count[link.target.index] = (count[link.target.index] || 0) + 1;\n }\n\n for (i = 0, bias = new Array(m); i < m; ++i) {\n link = links[i], bias[i] = count[link.source.index] / (count[link.source.index] + count[link.target.index]);\n }\n\n strengths = new Array(m), initializeStrength();\n distances = new Array(m), initializeDistance();\n }\n\n function initializeStrength() {\n if (!nodes) return;\n\n for (var i = 0, n = links.length; i < n; ++i) {\n strengths[i] = +strength(links[i], i, links);\n }\n }\n\n function initializeDistance() {\n if (!nodes) return;\n\n for (var i = 0, n = links.length; i < n; ++i) {\n distances[i] = +distance(links[i], i, links);\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.links = function(_) {\n return arguments.length ? (links = _, initialize(), force) : links;\n };\n\n force.id = function(_) {\n return arguments.length ? (id = _, force) : id;\n };\n\n force.iterations = function(_) {\n return arguments.length ? (iterations = +_, force) : iterations;\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initializeStrength(), force) : strength;\n };\n\n force.distance = function(_) {\n return arguments.length ? (distance = typeof _ === \"function\" ? _ : constant(+_), initializeDistance(), force) : distance;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "name": "./node_modules/d3-force/src/simulation.js", "index": 220, "index2": 215, "size": 3691, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony side effect evaluation", "userRequest": "./simulation", "loc": "4:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./simulation", "loc": "6:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./simulation", "loc": "6:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./simulation", "loc": "17:52-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./simulation", "loc": "17:55-56" } ], "usedExports": [ "x", "y", "default" ], "providedExports": [ "x", "y", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {dispatch} from \"d3-dispatch\";\nimport {map} from \"d3-collection\";\nimport {timer} from \"d3-timer\";\n\nexport function x(d) {\n return d.x;\n}\n\nexport function y(d) {\n return d.y;\n}\n\nvar initialRadius = 10,\n initialAngle = Math.PI * (3 - Math.sqrt(5));\n\nexport default function(nodes) {\n var simulation,\n alpha = 1,\n alphaMin = 0.001,\n alphaDecay = 1 - Math.pow(alphaMin, 1 / 300),\n alphaTarget = 0,\n velocityDecay = 0.6,\n forces = map(),\n stepper = timer(step),\n event = dispatch(\"tick\", \"end\");\n\n if (nodes == null) nodes = [];\n\n function step() {\n tick();\n event.call(\"tick\", simulation);\n if (alpha < alphaMin) {\n stepper.stop();\n event.call(\"end\", simulation);\n }\n }\n\n function tick(iterations) {\n var i, n = nodes.length, node;\n\n if (iterations === undefined) iterations = 1;\n\n for (var k = 0; k < iterations; ++k) {\n alpha += (alphaTarget - alpha) * alphaDecay;\n\n forces.each(function (force) {\n force(alpha);\n });\n\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n if (node.fx == null) node.x += node.vx *= velocityDecay;\n else node.x = node.fx, node.vx = 0;\n if (node.fy == null) node.y += node.vy *= velocityDecay;\n else node.y = node.fy, node.vy = 0;\n }\n }\n\n return simulation;\n }\n\n function initializeNodes() {\n for (var i = 0, n = nodes.length, node; i < n; ++i) {\n node = nodes[i], node.index = i;\n if (node.fx != null) node.x = node.fx;\n if (node.fy != null) node.y = node.fy;\n if (isNaN(node.x) || isNaN(node.y)) {\n var radius = initialRadius * Math.sqrt(i), angle = i * initialAngle;\n node.x = radius * Math.cos(angle);\n node.y = radius * Math.sin(angle);\n }\n if (isNaN(node.vx) || isNaN(node.vy)) {\n node.vx = node.vy = 0;\n }\n }\n }\n\n function initializeForce(force) {\n if (force.initialize) force.initialize(nodes);\n return force;\n }\n\n initializeNodes();\n\n return simulation = {\n tick: tick,\n\n restart: function() {\n return stepper.restart(step), simulation;\n },\n\n stop: function() {\n return stepper.stop(), simulation;\n },\n\n nodes: function(_) {\n return arguments.length ? (nodes = _, initializeNodes(), forces.each(initializeForce), simulation) : nodes;\n },\n\n alpha: function(_) {\n return arguments.length ? (alpha = +_, simulation) : alpha;\n },\n\n alphaMin: function(_) {\n return arguments.length ? (alphaMin = +_, simulation) : alphaMin;\n },\n\n alphaDecay: function(_) {\n return arguments.length ? (alphaDecay = +_, simulation) : +alphaDecay;\n },\n\n alphaTarget: function(_) {\n return arguments.length ? (alphaTarget = +_, simulation) : alphaTarget;\n },\n\n velocityDecay: function(_) {\n return arguments.length ? (velocityDecay = 1 - _, simulation) : 1 - velocityDecay;\n },\n\n force: function(name, _) {\n return arguments.length > 1 ? ((_ == null ? forces.remove(name) : forces.set(name, initializeForce(_))), simulation) : forces.get(name);\n },\n\n find: function(x, y, radius) {\n var i = 0,\n n = nodes.length,\n dx,\n dy,\n d2,\n node,\n closest;\n\n if (radius == null) radius = Infinity;\n else radius *= radius;\n\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n dx = x - node.x;\n dy = y - node.y;\n d2 = dx * dx + dy * dy;\n if (d2 < radius) closest = node, radius = d2;\n }\n\n return closest;\n },\n\n on: function(name, _) {\n return arguments.length > 1 ? (event.on(name, _), simulation) : event.on(name);\n }\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "name": "./node_modules/d3-force/src/manyBody.js", "index": 219, "index2": 216, "size": 3218, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./manyBody", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./manyBody", "loc": "4:0-52" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\nimport jiggle from \"./jiggle\";\nimport {quadtree} from \"d3-quadtree\";\nimport {x, y} from \"./simulation\";\n\nexport default function() {\n var nodes,\n node,\n alpha,\n strength = constant(-30),\n strengths,\n distanceMin2 = 1,\n distanceMax2 = Infinity,\n theta2 = 0.81;\n\n function force(_) {\n var i, n = nodes.length, tree = quadtree(nodes, x, y).visitAfter(accumulate);\n for (alpha = _, i = 0; i < n; ++i) node = nodes[i], tree.visit(apply);\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length, node;\n strengths = new Array(n);\n for (i = 0; i < n; ++i) node = nodes[i], strengths[node.index] = +strength(node, i, nodes);\n }\n\n function accumulate(quad) {\n var strength = 0, q, c, weight = 0, x, y, i;\n\n // For internal nodes, accumulate forces from child quadrants.\n if (quad.length) {\n for (x = y = i = 0; i < 4; ++i) {\n if ((q = quad[i]) && (c = Math.abs(q.value))) {\n strength += q.value, weight += c, x += c * q.x, y += c * q.y;\n }\n }\n quad.x = x / weight;\n quad.y = y / weight;\n }\n\n // For leaf nodes, accumulate forces from coincident quadrants.\n else {\n q = quad;\n q.x = q.data.x;\n q.y = q.data.y;\n do strength += strengths[q.data.index];\n while (q = q.next);\n }\n\n quad.value = strength;\n }\n\n function apply(quad, x1, _, x2) {\n if (!quad.value) return true;\n\n var x = quad.x - node.x,\n y = quad.y - node.y,\n w = x2 - x1,\n l = x * x + y * y;\n\n // Apply the Barnes-Hut approximation if possible.\n // Limit forces for very close nodes; randomize direction if coincident.\n if (w * w / theta2 < l) {\n if (l < distanceMax2) {\n if (x === 0) x = jiggle(), l += x * x;\n if (y === 0) y = jiggle(), l += y * y;\n if (l < distanceMin2) l = Math.sqrt(distanceMin2 * l);\n node.vx += x * quad.value * alpha / l;\n node.vy += y * quad.value * alpha / l;\n }\n return true;\n }\n\n // Otherwise, process points directly.\n else if (quad.length || l >= distanceMax2) return;\n\n // Limit forces for very close nodes; randomize direction if coincident.\n if (quad.data !== node || quad.next) {\n if (x === 0) x = jiggle(), l += x * x;\n if (y === 0) y = jiggle(), l += y * y;\n if (l < distanceMin2) l = Math.sqrt(distanceMin2 * l);\n }\n\n do if (quad.data !== node) {\n w = strengths[quad.data.index] * alpha / l;\n node.vx += x * w;\n node.vy += y * w;\n } while (quad = quad.next);\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.distanceMin = function(_) {\n return arguments.length ? (distanceMin2 = _ * _, force) : Math.sqrt(distanceMin2);\n };\n\n force.distanceMax = function(_) {\n return arguments.length ? (distanceMax2 = _ * _, force) : Math.sqrt(distanceMax2);\n };\n\n force.theta = function(_) {\n return arguments.length ? (theta2 = _ * _, force) : Math.sqrt(theta2);\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "name": "./node_modules/d3-force/src/radial.js", "index": 221, "index2": 217, "size": 1477, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./radial", "loc": "5:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./radial", "loc": "5:0-48" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\n\nexport default function(radius, x, y) {\n var nodes,\n strength = constant(0.1),\n strengths,\n radiuses;\n\n if (typeof radius !== \"function\") radius = constant(+radius);\n if (x == null) x = 0;\n if (y == null) y = 0;\n\n function force(alpha) {\n for (var i = 0, n = nodes.length; i < n; ++i) {\n var node = nodes[i],\n dx = node.x - x || 1e-6,\n dy = node.y - y || 1e-6,\n r = Math.sqrt(dx * dx + dy * dy),\n k = (radiuses[i] - r) * strengths[i] * alpha / r;\n node.vx += dx * k;\n node.vy += dy * k;\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length;\n strengths = new Array(n);\n radiuses = new Array(n);\n for (i = 0; i < n; ++i) {\n radiuses[i] = +radius(nodes[i], i, nodes);\n strengths[i] = isNaN(radiuses[i]) ? 0 : +strength(nodes[i], i, nodes);\n }\n }\n\n force.initialize = function(_) {\n nodes = _, initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : radius;\n };\n\n force.x = function(_) {\n return arguments.length ? (x = +_, force) : x;\n };\n\n force.y = function(_) {\n return arguments.length ? (y = +_, force) : y;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "name": "./node_modules/d3-force/src/x.js", "index": 222, "index2": 218, "size": 1030, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./x", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./x", "loc": "7:0-38" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\n\nexport default function(x) {\n var strength = constant(0.1),\n nodes,\n strengths,\n xz;\n\n if (typeof x !== \"function\") x = constant(x == null ? 0 : +x);\n\n function force(alpha) {\n for (var i = 0, n = nodes.length, node; i < n; ++i) {\n node = nodes[i], node.vx += (xz[i] - node.x) * strengths[i] * alpha;\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length;\n strengths = new Array(n);\n xz = new Array(n);\n for (i = 0; i < n; ++i) {\n strengths[i] = isNaN(xz[i] = +x(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes);\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : x;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "name": "./node_modules/d3-force/src/y.js", "index": 223, "index2": 219, "size": 1030, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./y", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./y", "loc": "8:0-38" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\n\nexport default function(y) {\n var strength = constant(0.1),\n nodes,\n strengths,\n yz;\n\n if (typeof y !== \"function\") y = constant(y == null ? 0 : +y);\n\n function force(alpha) {\n for (var i = 0, n = nodes.length, node; i < n; ++i) {\n node = nodes[i], node.vy += (yz[i] - node.y) * strengths[i] * alpha;\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length;\n strengths = new Array(n);\n yz = new Array(n);\n for (i = 0; i < n; ++i) {\n strengths[i] = isNaN(yz[i] = +y(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes);\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : y;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatSpecifier.js", "name": "./node_modules/d3-format/src/formatSpecifier.js", "index": 230, "index2": 224, "size": 1719, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./formatSpecifier.js", "loc": "3:0-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./formatSpecifier.js", "loc": "3:0-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./formatSpecifier.js", "loc": "3:0-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatSpecifier.js", "loc": "4:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "7:14-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatSpecifier.js", "loc": "24:16-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatSpecifier.js", "loc": "134:35-50" } ], "usedExports": [ "default", "FormatSpecifier" ], "providedExports": [ "default", "FormatSpecifier" ], "optimizationBailout": [], "depth": 4, "source": "// [[fill]align][sign][symbol][0][width][,][.precision][~][type]\nvar re = /^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;\n\nexport default function formatSpecifier(specifier) {\n if (!(match = re.exec(specifier))) throw new Error(\"invalid format: \" + specifier);\n var match;\n return new FormatSpecifier({\n fill: match[1],\n align: match[2],\n sign: match[3],\n symbol: match[4],\n zero: match[5],\n width: match[6],\n comma: match[7],\n precision: match[8] && match[8].slice(1),\n trim: match[9],\n type: match[10]\n });\n}\n\nformatSpecifier.prototype = FormatSpecifier.prototype; // instanceof\n\nexport function FormatSpecifier(specifier) {\n this.fill = specifier.fill === undefined ? \" \" : specifier.fill + \"\";\n this.align = specifier.align === undefined ? \">\" : specifier.align + \"\";\n this.sign = specifier.sign === undefined ? \"-\" : specifier.sign + \"\";\n this.symbol = specifier.symbol === undefined ? \"\" : specifier.symbol + \"\";\n this.zero = !!specifier.zero;\n this.width = specifier.width === undefined ? undefined : +specifier.width;\n this.comma = !!specifier.comma;\n this.precision = specifier.precision === undefined ? undefined : +specifier.precision;\n this.trim = !!specifier.trim;\n this.type = specifier.type === undefined ? \"\" : specifier.type + \"\";\n}\n\nFormatSpecifier.prototype.toString = function() {\n return this.fill\n + this.align\n + this.sign\n + this.symbol\n + (this.zero ? \"0\" : \"\")\n + (this.width === undefined ? \"\" : Math.max(1, this.width | 0))\n + (this.comma ? \",\" : \"\")\n + (this.precision === undefined ? \"\" : \".\" + Math.max(0, this.precision | 0))\n + (this.trim ? \"~\" : \"\")\n + this.type;\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "index": 226, "index2": 231, "size": 6031, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/defaultLocale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } } ], "profile": { "factory": 50, "building": 45 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "module": "./node_modules/d3-format/src/defaultLocale.js", "moduleName": "./node_modules/d3-format/src/defaultLocale.js", "type": "harmony side effect evaluation", "userRequest": "./locale.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./locale.js", "loc": "2:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./locale.js", "loc": "2:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "module": "./node_modules/d3-format/src/defaultLocale.js", "moduleName": "./node_modules/d3-format/src/defaultLocale.js", "type": "harmony import specifier", "userRequest": "./locale.js", "loc": "16:11-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import exponent from \"./exponent.js\";\nimport formatGroup from \"./formatGroup.js\";\nimport formatNumerals from \"./formatNumerals.js\";\nimport formatSpecifier from \"./formatSpecifier.js\";\nimport formatTrim from \"./formatTrim.js\";\nimport formatTypes from \"./formatTypes.js\";\nimport {prefixExponent} from \"./formatPrefixAuto.js\";\nimport identity from \"./identity.js\";\n\nvar map = Array.prototype.map,\n prefixes = [\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"µ\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];\n\nexport default function(locale) {\n var group = locale.grouping === undefined || locale.thousands === undefined ? identity : formatGroup(map.call(locale.grouping, Number), locale.thousands + \"\"),\n currencyPrefix = locale.currency === undefined ? \"\" : locale.currency[0] + \"\",\n currencySuffix = locale.currency === undefined ? \"\" : locale.currency[1] + \"\",\n decimal = locale.decimal === undefined ? \".\" : locale.decimal + \"\",\n numerals = locale.numerals === undefined ? identity : formatNumerals(map.call(locale.numerals, String)),\n percent = locale.percent === undefined ? \"%\" : locale.percent + \"\",\n minus = locale.minus === undefined ? \"-\" : locale.minus + \"\",\n nan = locale.nan === undefined ? \"NaN\" : locale.nan + \"\";\n\n function newFormat(specifier) {\n specifier = formatSpecifier(specifier);\n\n var fill = specifier.fill,\n align = specifier.align,\n sign = specifier.sign,\n symbol = specifier.symbol,\n zero = specifier.zero,\n width = specifier.width,\n comma = specifier.comma,\n precision = specifier.precision,\n trim = specifier.trim,\n type = specifier.type;\n\n // The \"n\" type is an alias for \",g\".\n if (type === \"n\") comma = true, type = \"g\";\n\n // The \"\" type, and any invalid type, is an alias for \".12~g\".\n else if (!formatTypes[type]) precision === undefined && (precision = 12), trim = true, type = \"g\";\n\n // If zero fill is specified, padding goes after sign and before digits.\n if (zero || (fill === \"0\" && align === \"=\")) zero = true, fill = \"0\", align = \"=\";\n\n // Compute the prefix and suffix.\n // For SI-prefix, the suffix is lazily computed.\n var prefix = symbol === \"$\" ? currencyPrefix : symbol === \"#\" && /[boxX]/.test(type) ? \"0\" + type.toLowerCase() : \"\",\n suffix = symbol === \"$\" ? currencySuffix : /[%p]/.test(type) ? percent : \"\";\n\n // What format function should we use?\n // Is this an integer type?\n // Can this type generate exponential notation?\n var formatType = formatTypes[type],\n maybeSuffix = /[defgprs%]/.test(type);\n\n // Set the default precision if not specified,\n // or clamp the specified precision to the supported range.\n // For significant precision, it must be in [1, 21].\n // For fixed precision, it must be in [0, 20].\n precision = precision === undefined ? 6\n : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision))\n : Math.max(0, Math.min(20, precision));\n\n function format(value) {\n var valuePrefix = prefix,\n valueSuffix = suffix,\n i, n, c;\n\n if (type === \"c\") {\n valueSuffix = formatType(value) + valueSuffix;\n value = \"\";\n } else {\n value = +value;\n\n // Perform the initial formatting.\n var valueNegative = value < 0;\n value = isNaN(value) ? nan : formatType(Math.abs(value), precision);\n\n // Trim insignificant zeros.\n if (trim) value = formatTrim(value);\n\n // If a negative value rounds to zero during formatting, treat as positive.\n if (valueNegative && +value === 0) valueNegative = false;\n\n // Compute the prefix and suffix.\n valuePrefix = (valueNegative ? (sign === \"(\" ? sign : minus) : sign === \"-\" || sign === \"(\" ? \"\" : sign) + valuePrefix;\n\n valueSuffix = (type === \"s\" ? prefixes[8 + prefixExponent / 3] : \"\") + valueSuffix + (valueNegative && sign === \"(\" ? \")\" : \"\");\n\n // Break the formatted value into the integer “value” part that can be\n // grouped, and fractional or exponential “suffix” part that is not.\n if (maybeSuffix) {\n i = -1, n = value.length;\n while (++i < n) {\n if (c = value.charCodeAt(i), 48 > c || c > 57) {\n valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;\n value = value.slice(0, i);\n break;\n }\n }\n }\n }\n\n // If the fill character is not \"0\", grouping is applied before padding.\n if (comma && !zero) value = group(value, Infinity);\n\n // Compute the padding.\n var length = valuePrefix.length + value.length + valueSuffix.length,\n padding = length < width ? new Array(width - length + 1).join(fill) : \"\";\n\n // If the fill character is \"0\", grouping is applied after padding.\n if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = \"\";\n\n // Reconstruct the final output based on the desired alignment.\n switch (align) {\n case \"<\": value = valuePrefix + value + valueSuffix + padding; break;\n case \"=\": value = valuePrefix + padding + value + valueSuffix; break;\n case \"^\": value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length); break;\n default: value = padding + valuePrefix + value + valueSuffix; break;\n }\n\n return numerals(value);\n }\n\n format.toString = function() {\n return specifier + \"\";\n };\n\n return format;\n }\n\n function formatPrefix(specifier, value) {\n var f = newFormat((specifier = formatSpecifier(specifier), specifier.type = \"f\", specifier)),\n e = Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3,\n k = Math.pow(10, -e),\n prefix = prefixes[8 + e / 3];\n return function(value) {\n return f(k * value) + prefix;\n };\n }\n\n return {\n format: newFormat,\n formatPrefix: formatPrefix\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "index": 225, "index2": 232, "size": 378, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 828, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./defaultLocale.js", "loc": "1:0-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "12:13-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "28:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "114:53-59" } ], "usedExports": [ "formatPrefix", "format", "default" ], "providedExports": [ "format", "formatPrefix", "default" ], "optimizationBailout": [], "depth": 4, "source": "import formatLocale from \"./locale.js\";\n\nvar locale;\nexport var format;\nexport var formatPrefix;\n\ndefaultLocale({\n decimal: \".\",\n thousands: \",\",\n grouping: [3],\n currency: [\"$\", \"\"],\n minus: \"-\"\n});\n\nexport default function defaultLocale(definition) {\n locale = formatLocale(definition);\n format = locale.format;\n formatPrefix = locale.formatPrefix;\n return locale;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionFixed.js", "name": "./node_modules/d3-format/src/precisionFixed.js", "index": 237, "index2": 233, "size": 122, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 828, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./precisionFixed.js", "loc": "4:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./precisionFixed.js", "loc": "4:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "24:60-74" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import exponent from \"./exponent.js\";\n\nexport default function(step) {\n return Math.max(0, -exponent(Math.abs(step)));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionPrefix.js", "name": "./node_modules/d3-format/src/precisionPrefix.js", "index": 238, "index2": 234, "size": 193, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 828, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./precisionPrefix.js", "loc": "5:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./precisionPrefix.js", "loc": "5:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "11:60-75" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import exponent from \"./exponent.js\";\n\nexport default function(step, value) {\n return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3 - exponent(Math.abs(step)));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionRound.js", "name": "./node_modules/d3-format/src/precisionRound.js", "index": 239, "index2": 235, "size": 189, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 828, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./precisionRound.js", "loc": "6:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./precisionRound.js", "loc": "6:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "19:60-74" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import exponent from \"./exponent.js\";\n\nexport default function(step, max) {\n step = Math.abs(step), max = Math.abs(max) - step;\n return Math.max(0, exponent(max) - exponent(step)) + 1;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/stream.js", "name": "./node_modules/d3-geo/src/stream.js", "index": 245, "index2": 240, "size": 2303, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/area.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "name": "./node_modules/d3-geo/src/area.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 114, "building": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "module": "./node_modules/d3-geo/src/projection/fit.js", "moduleName": "./node_modules/d3-geo/src/projection/fit.js", "type": "harmony side effect evaluation", "userRequest": "../stream.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "../stream.js", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony side effect evaluation", "userRequest": "./stream.js", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./stream.js", "loc": "4:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony side effect evaluation", "userRequest": "./stream.js", "loc": "4:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony side effect evaluation", "userRequest": "./stream.js", "loc": "5:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "module": "./node_modules/d3-geo/src/projection/fit.js", "moduleName": "./node_modules/d3-geo/src/projection/fit.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "8:2-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "18:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "24:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "29:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./stream.js", "loc": "33:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./stream.js", "loc": "33:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "34:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "39:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./stream.js", "loc": "51:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./stream.js", "loc": "72:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./stream.js", "loc": "122:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./stream.js", "loc": "149:2-8" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function streamGeometry(geometry, stream) {\n if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) {\n streamGeometryType[geometry.type](geometry, stream);\n }\n}\n\nvar streamObjectType = {\n Feature: function(object, stream) {\n streamGeometry(object.geometry, stream);\n },\n FeatureCollection: function(object, stream) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n) streamGeometry(features[i].geometry, stream);\n }\n};\n\nvar streamGeometryType = {\n Sphere: function(object, stream) {\n stream.sphere();\n },\n Point: function(object, stream) {\n object = object.coordinates;\n stream.point(object[0], object[1], object[2]);\n },\n MultiPoint: function(object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) object = coordinates[i], stream.point(object[0], object[1], object[2]);\n },\n LineString: function(object, stream) {\n streamLine(object.coordinates, stream, 0);\n },\n MultiLineString: function(object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) streamLine(coordinates[i], stream, 0);\n },\n Polygon: function(object, stream) {\n streamPolygon(object.coordinates, stream);\n },\n MultiPolygon: function(object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) streamPolygon(coordinates[i], stream);\n },\n GeometryCollection: function(object, stream) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n) streamGeometry(geometries[i], stream);\n }\n};\n\nfunction streamLine(coordinates, stream, closed) {\n var i = -1, n = coordinates.length - closed, coordinate;\n stream.lineStart();\n while (++i < n) coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]);\n stream.lineEnd();\n}\n\nfunction streamPolygon(coordinates, stream) {\n var i = -1, n = coordinates.length;\n stream.polygonStart();\n while (++i < n) streamLine(coordinates[i], stream, 1);\n stream.polygonEnd();\n}\n\nexport default function(object, stream) {\n if (object && streamObjectType.hasOwnProperty(object.type)) {\n streamObjectType[object.type](object, stream);\n } else {\n streamGeometry(object, stream);\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "name": "./node_modules/d3-geo/src/area.js", "index": 241, "index2": 241, "size": 1970, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./area.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "2:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "24:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "27:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "31:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "113:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "118:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "123:2-12" } ], "usedExports": [ "default", "areaStream", "areaRingSum" ], "providedExports": [ "areaRingSum", "areaStream", "default" ], "optimizationBailout": [], "depth": 4, "source": "import adder from \"./adder.js\";\nimport {atan2, cos, quarterPi, radians, sin, tau} from \"./math.js\";\nimport noop from \"./noop.js\";\nimport stream from \"./stream.js\";\n\nexport var areaRingSum = adder();\n\nvar areaSum = adder(),\n lambda00,\n phi00,\n lambda0,\n cosPhi0,\n sinPhi0;\n\nexport var areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function() {\n areaRingSum.reset();\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function() {\n var areaRing = +areaRingSum;\n areaSum.add(areaRing < 0 ? tau + areaRing : areaRing);\n this.lineStart = this.lineEnd = this.point = noop;\n },\n sphere: function() {\n areaSum.add(tau);\n }\n};\n\nfunction areaRingStart() {\n areaStream.point = areaPointFirst;\n}\n\nfunction areaRingEnd() {\n areaPoint(lambda00, phi00);\n}\n\nfunction areaPointFirst(lambda, phi) {\n areaStream.point = areaPoint;\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n lambda0 = lambda, cosPhi0 = cos(phi = phi / 2 + quarterPi), sinPhi0 = sin(phi);\n}\n\nfunction areaPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n phi = phi / 2 + quarterPi; // half the angular distance from south pole\n\n // Spherical excess E for a spherical triangle with vertices: south pole,\n // previous point, current point. Uses a formula derived from Cagnoli’s\n // theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).\n var dLambda = lambda - lambda0,\n sdLambda = dLambda >= 0 ? 1 : -1,\n adLambda = sdLambda * dLambda,\n cosPhi = cos(phi),\n sinPhi = sin(phi),\n k = sinPhi0 * sinPhi,\n u = cosPhi0 * cosPhi + k * cos(adLambda),\n v = k * sdLambda * sin(adLambda);\n areaRingSum.add(atan2(v, u));\n\n // Advance the previous points.\n lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;\n}\n\nexport default function(object) {\n areaSum.reset();\n stream(object, areaStream);\n return areaSum * 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "name": "./node_modules/d3-geo/src/bounds.js", "index": 246, "index2": 243, "size": 5550, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bounds.js", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounds.js", "loc": "2:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import adder from \"./adder.js\";\nimport {areaStream, areaRingSum} from \"./area.js\";\nimport {cartesian, cartesianCross, cartesianNormalizeInPlace, spherical} from \"./cartesian.js\";\nimport {abs, degrees, epsilon, radians} from \"./math.js\";\nimport stream from \"./stream.js\";\n\nvar lambda0, phi0, lambda1, phi1, // bounds\n lambda2, // previous lambda-coordinate\n lambda00, phi00, // first point\n p0, // previous 3D point\n deltaSum = adder(),\n ranges,\n range;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: boundsLineStart,\n lineEnd: boundsLineEnd,\n polygonStart: function() {\n boundsStream.point = boundsRingPoint;\n boundsStream.lineStart = boundsRingStart;\n boundsStream.lineEnd = boundsRingEnd;\n deltaSum.reset();\n areaStream.polygonStart();\n },\n polygonEnd: function() {\n areaStream.polygonEnd();\n boundsStream.point = boundsPoint;\n boundsStream.lineStart = boundsLineStart;\n boundsStream.lineEnd = boundsLineEnd;\n if (areaRingSum < 0) lambda0 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n else if (deltaSum > epsilon) phi1 = 90;\n else if (deltaSum < -epsilon) phi0 = -90;\n range[0] = lambda0, range[1] = lambda1;\n },\n sphere: function() {\n lambda0 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n }\n};\n\nfunction boundsPoint(lambda, phi) {\n ranges.push(range = [lambda0 = lambda, lambda1 = lambda]);\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n}\n\nfunction linePoint(lambda, phi) {\n var p = cartesian([lambda * radians, phi * radians]);\n if (p0) {\n var normal = cartesianCross(p0, p),\n equatorial = [normal[1], -normal[0], 0],\n inflection = cartesianCross(equatorial, normal);\n cartesianNormalizeInPlace(inflection);\n inflection = spherical(inflection);\n var delta = lambda - lambda2,\n sign = delta > 0 ? 1 : -1,\n lambdai = inflection[0] * degrees * sign,\n phii,\n antimeridian = abs(delta) > 180;\n if (antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = inflection[1] * degrees;\n if (phii > phi1) phi1 = phii;\n } else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = -inflection[1] * degrees;\n if (phii < phi0) phi0 = phii;\n } else {\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n }\n if (antimeridian) {\n if (lambda < lambda2) {\n if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda;\n } else {\n if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda;\n }\n } else {\n if (lambda1 >= lambda0) {\n if (lambda < lambda0) lambda0 = lambda;\n if (lambda > lambda1) lambda1 = lambda;\n } else {\n if (lambda > lambda2) {\n if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda;\n } else {\n if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda;\n }\n }\n }\n } else {\n ranges.push(range = [lambda0 = lambda, lambda1 = lambda]);\n }\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n p0 = p, lambda2 = lambda;\n}\n\nfunction boundsLineStart() {\n boundsStream.point = linePoint;\n}\n\nfunction boundsLineEnd() {\n range[0] = lambda0, range[1] = lambda1;\n boundsStream.point = boundsPoint;\n p0 = null;\n}\n\nfunction boundsRingPoint(lambda, phi) {\n if (p0) {\n var delta = lambda - lambda2;\n deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);\n } else {\n lambda00 = lambda, phi00 = phi;\n }\n areaStream.point(lambda, phi);\n linePoint(lambda, phi);\n}\n\nfunction boundsRingStart() {\n areaStream.lineStart();\n}\n\nfunction boundsRingEnd() {\n boundsRingPoint(lambda00, phi00);\n areaStream.lineEnd();\n if (abs(deltaSum) > epsilon) lambda0 = -(lambda1 = 180);\n range[0] = lambda0, range[1] = lambda1;\n p0 = null;\n}\n\n// Finds the left-right distance between two longitudes.\n// This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want\n// the distance between ±180° to be 360°.\nfunction angle(lambda0, lambda1) {\n return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;\n}\n\nfunction rangeCompare(a, b) {\n return a[0] - b[0];\n}\n\nfunction rangeContains(range, x) {\n return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;\n}\n\nexport default function(feature) {\n var i, n, a, b, merged, deltaMax, delta;\n\n phi1 = lambda1 = -(lambda0 = phi0 = Infinity);\n ranges = [];\n stream(feature, boundsStream);\n\n // First, sort ranges by their minimum longitudes.\n if (n = ranges.length) {\n ranges.sort(rangeCompare);\n\n // Then, merge any ranges that overlap.\n for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {\n b = ranges[i];\n if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {\n if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1];\n if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0];\n } else {\n merged.push(a = b);\n }\n }\n\n // Finally, find the largest gap between the merged ranges.\n // The final bounding box will be the inverse of this gap.\n for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {\n b = merged[i];\n if ((delta = angle(a[1], b[0])) > deltaMax) deltaMax = delta, lambda0 = b[0], lambda1 = a[1];\n }\n }\n\n ranges = range = null;\n\n return lambda0 === Infinity || phi0 === Infinity\n ? [[NaN, NaN], [NaN, NaN]]\n : [[lambda0, phi0], [lambda1, phi1]];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "name": "./node_modules/d3-geo/src/centroid.js", "index": 248, "index2": 244, "size": 3792, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./centroid.js", "loc": "3:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./centroid.js", "loc": "3:0-53" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {asin, atan2, cos, degrees, epsilon, epsilon2, radians, sin, sqrt} from \"./math.js\";\nimport noop from \"./noop.js\";\nimport stream from \"./stream.js\";\n\nvar W0, W1,\n X0, Y0, Z0,\n X1, Y1, Z1,\n X2, Y2, Z2,\n lambda00, phi00, // first point\n x0, y0, z0; // previous point\n\nvar centroidStream = {\n sphere: noop,\n point: centroidPoint,\n lineStart: centroidLineStart,\n lineEnd: centroidLineEnd,\n polygonStart: function() {\n centroidStream.lineStart = centroidRingStart;\n centroidStream.lineEnd = centroidRingEnd;\n },\n polygonEnd: function() {\n centroidStream.lineStart = centroidLineStart;\n centroidStream.lineEnd = centroidLineEnd;\n }\n};\n\n// Arithmetic mean of Cartesian vectors.\nfunction centroidPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n centroidPointCartesian(cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi));\n}\n\nfunction centroidPointCartesian(x, y, z) {\n ++W0;\n X0 += (x - X0) / W0;\n Y0 += (y - Y0) / W0;\n Z0 += (z - Z0) / W0;\n}\n\nfunction centroidLineStart() {\n centroidStream.point = centroidLinePointFirst;\n}\n\nfunction centroidLinePointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidStream.point = centroidLinePoint;\n centroidPointCartesian(x0, y0, z0);\n}\n\nfunction centroidLinePoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi),\n x = cosPhi * cos(lambda),\n y = cosPhi * sin(lambda),\n z = sin(phi),\n w = atan2(sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n}\n\nfunction centroidLineEnd() {\n centroidStream.point = centroidPoint;\n}\n\n// See J. E. Brock, The Inertia Tensor for a Spherical Triangle,\n// J. Applied Mechanics 42, 239 (1975).\nfunction centroidRingStart() {\n centroidStream.point = centroidRingPointFirst;\n}\n\nfunction centroidRingEnd() {\n centroidRingPoint(lambda00, phi00);\n centroidStream.point = centroidPoint;\n}\n\nfunction centroidRingPointFirst(lambda, phi) {\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n centroidStream.point = centroidRingPoint;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidPointCartesian(x0, y0, z0);\n}\n\nfunction centroidRingPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi),\n x = cosPhi * cos(lambda),\n y = cosPhi * sin(lambda),\n z = sin(phi),\n cx = y0 * z - z0 * y,\n cy = z0 * x - x0 * z,\n cz = x0 * y - y0 * x,\n m = sqrt(cx * cx + cy * cy + cz * cz),\n w = asin(m), // line weight = angle\n v = m && -w / m; // area weight multiplier\n X2 += v * cx;\n Y2 += v * cy;\n Z2 += v * cz;\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n}\n\nexport default function(object) {\n W0 = W1 =\n X0 = Y0 = Z0 =\n X1 = Y1 = Z1 =\n X2 = Y2 = Z2 = 0;\n stream(object, centroidStream);\n\n var x = X2,\n y = Y2,\n z = Z2,\n m = x * x + y * y + z * z;\n\n // If the area-weighted ccentroid is undefined, fall back to length-weighted ccentroid.\n if (m < epsilon2) {\n x = X1, y = Y1, z = Z1;\n // If the feature has zero length, fall back to arithmetic mean of point vectors.\n if (W1 < epsilon) x = X0, y = Y0, z = Z0;\n m = x * x + y * y + z * z;\n // If the feature still has an undefined ccentroid, then return.\n if (m < epsilon2) return [NaN, NaN];\n }\n\n return [atan2(y, x) * degrees, asin(z / sqrt(m)) * degrees];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "name": "./node_modules/d3-geo/src/rotation.js", "index": 251, "index2": 247, "size": 2523, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony side effect evaluation", "userRequest": "../rotation.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony side effect evaluation", "userRequest": "./rotation.js", "loc": "4:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../rotation.js", "loc": "7:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./rotation.js", "loc": "32:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rotation.js", "loc": "32:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../rotation.js", "loc": "44:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./rotation.js", "loc": "52:13-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../rotation.js", "loc": "147:13-26" } ], "usedExports": [ "default", "rotateRadians" ], "providedExports": [ "rotateRadians", "default" ], "optimizationBailout": [], "depth": 4, "source": "import compose from \"./compose.js\";\nimport {abs, asin, atan2, cos, degrees, pi, radians, sin, tau} from \"./math.js\";\n\nfunction rotationIdentity(lambda, phi) {\n return [abs(lambda) > pi ? lambda + Math.round(-lambda / tau) * tau : lambda, phi];\n}\n\nrotationIdentity.invert = rotationIdentity;\n\nexport function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {\n return (deltaLambda %= tau) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))\n : rotationLambda(deltaLambda))\n : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)\n : rotationIdentity);\n}\n\nfunction forwardRotationLambda(deltaLambda) {\n return function(lambda, phi) {\n return lambda += deltaLambda, [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n };\n}\n\nfunction rotationLambda(deltaLambda) {\n var rotation = forwardRotationLambda(deltaLambda);\n rotation.invert = forwardRotationLambda(-deltaLambda);\n return rotation;\n}\n\nfunction rotationPhiGamma(deltaPhi, deltaGamma) {\n var cosDeltaPhi = cos(deltaPhi),\n sinDeltaPhi = sin(deltaPhi),\n cosDeltaGamma = cos(deltaGamma),\n sinDeltaGamma = sin(deltaGamma);\n\n function rotation(lambda, phi) {\n var cosPhi = cos(phi),\n x = cos(lambda) * cosPhi,\n y = sin(lambda) * cosPhi,\n z = sin(phi),\n k = z * cosDeltaPhi + x * sinDeltaPhi;\n return [\n atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),\n asin(k * cosDeltaGamma + y * sinDeltaGamma)\n ];\n }\n\n rotation.invert = function(lambda, phi) {\n var cosPhi = cos(phi),\n x = cos(lambda) * cosPhi,\n y = sin(lambda) * cosPhi,\n z = sin(phi),\n k = z * cosDeltaGamma - y * sinDeltaGamma;\n return [\n atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),\n asin(k * cosDeltaPhi - x * sinDeltaPhi)\n ];\n };\n\n return rotation;\n}\n\nexport default function(rotate) {\n rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);\n\n function forward(coordinates) {\n coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n }\n\n forward.invert = function(coordinates) {\n coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n };\n\n return forward;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "name": "./node_modules/d3-geo/src/circle.js", "index": 249, "index2": 248, "size": 2385, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony side effect evaluation", "userRequest": "../circle.js", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./circle.js", "loc": "4:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "4:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../circle.js", "loc": "14:4-16" } ], "usedExports": [ "default", "circleStream" ], "providedExports": [ "circleStream", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {cartesian, cartesianNormalizeInPlace, spherical} from \"./cartesian.js\";\nimport constant from \"./constant.js\";\nimport {acos, cos, degrees, epsilon, radians, sin, tau} from \"./math.js\";\nimport {rotateRadians} from \"./rotation.js\";\n\n// Generates a circle centered at [0°, 0°], with a given radius and precision.\nexport function circleStream(stream, radius, delta, direction, t0, t1) {\n if (!delta) return;\n var cosRadius = cos(radius),\n sinRadius = sin(radius),\n step = direction * delta;\n if (t0 == null) {\n t0 = radius + direction * tau;\n t1 = radius - step / 2;\n } else {\n t0 = circleRadius(cosRadius, t0);\n t1 = circleRadius(cosRadius, t1);\n if (direction > 0 ? t0 < t1 : t0 > t1) t0 += direction * tau;\n }\n for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);\n stream.point(point[0], point[1]);\n }\n}\n\n// Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\nfunction circleRadius(cosRadius, point) {\n point = cartesian(point), point[0] -= cosRadius;\n cartesianNormalizeInPlace(point);\n var radius = acos(-point[1]);\n return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;\n}\n\nexport default function() {\n var center = constant([0, 0]),\n radius = constant(90),\n precision = constant(6),\n ring,\n rotate,\n stream = {point: point};\n\n function point(x, y) {\n ring.push(x = rotate(x, y));\n x[0] *= degrees, x[1] *= degrees;\n }\n\n function circle() {\n var c = center.apply(this, arguments),\n r = radius.apply(this, arguments) * radians,\n p = precision.apply(this, arguments) * radians;\n ring = [];\n rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n circleStream(stream, r, p, 1);\n c = {type: \"Polygon\", coordinates: [ring]};\n ring = rotate = null;\n return c;\n }\n\n circle.center = function(_) {\n return arguments.length ? (center = typeof _ === \"function\" ? _ : constant([+_[0], +_[1]]), circle) : center;\n };\n\n circle.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), circle) : radius;\n };\n\n circle.precision = function(_) {\n return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant(+_), circle) : precision;\n };\n\n return circle;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "name": "./node_modules/d3-geo/src/clip/antimeridian.js", "index": 253, "index2": 254, "size": 2903, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../clip/antimeridian.js", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./clip/antimeridian.js", "loc": "5:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./clip/antimeridian.js", "loc": "5:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../clip/antimeridian.js", "loc": "66:30-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../clip/antimeridian.js", "loc": "97:95-111" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import clip from \"./index.js\";\nimport {abs, atan, cos, epsilon, halfPi, pi, sin} from \"../math.js\";\n\nexport default clip(\n function() { return true; },\n clipAntimeridianLine,\n clipAntimeridianInterpolate,\n [-pi, -halfPi]\n);\n\n// Takes a line and cuts into visible segments. Return values: 0 - there were\n// intersections or the line was empty; 1 - no intersections; 2 - there were\n// intersections, and the first and last segments should be rejoined.\nfunction clipAntimeridianLine(stream) {\n var lambda0 = NaN,\n phi0 = NaN,\n sign0 = NaN,\n clean; // no intersections\n\n return {\n lineStart: function() {\n stream.lineStart();\n clean = 1;\n },\n point: function(lambda1, phi1) {\n var sign1 = lambda1 > 0 ? pi : -pi,\n delta = abs(lambda1 - lambda0);\n if (abs(delta - pi) < epsilon) { // line crosses a pole\n stream.point(lambda0, phi0 = (phi0 + phi1) / 2 > 0 ? halfPi : -halfPi);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n stream.point(lambda1, phi0);\n clean = 0;\n } else if (sign0 !== sign1 && delta >= pi) { // line crosses antimeridian\n if (abs(lambda0 - sign0) < epsilon) lambda0 -= sign0 * epsilon; // handle degeneracies\n if (abs(lambda1 - sign1) < epsilon) lambda1 -= sign1 * epsilon;\n phi0 = clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n clean = 0;\n }\n stream.point(lambda0 = lambda1, phi0 = phi1);\n sign0 = sign1;\n },\n lineEnd: function() {\n stream.lineEnd();\n lambda0 = phi0 = NaN;\n },\n clean: function() {\n return 2 - clean; // if intersections, rejoin first and last segments\n }\n };\n}\n\nfunction clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1) {\n var cosPhi0,\n cosPhi1,\n sinLambda0Lambda1 = sin(lambda0 - lambda1);\n return abs(sinLambda0Lambda1) > epsilon\n ? atan((sin(phi0) * (cosPhi1 = cos(phi1)) * sin(lambda1)\n - sin(phi1) * (cosPhi0 = cos(phi0)) * sin(lambda0))\n / (cosPhi0 * cosPhi1 * sinLambda0Lambda1))\n : (phi0 + phi1) / 2;\n}\n\nfunction clipAntimeridianInterpolate(from, to, direction, stream) {\n var phi;\n if (from == null) {\n phi = direction * halfPi;\n stream.point(-pi, phi);\n stream.point(0, phi);\n stream.point(pi, phi);\n stream.point(pi, 0);\n stream.point(pi, -phi);\n stream.point(0, -phi);\n stream.point(-pi, -phi);\n stream.point(-pi, 0);\n stream.point(-pi, phi);\n } else if (abs(from[0] - to[0]) > epsilon) {\n var lambda = from[0] < to[0] ? pi : -pi;\n phi = direction * lambda / 2;\n stream.point(-lambda, phi);\n stream.point(0, phi);\n stream.point(lambda, phi);\n } else {\n stream.point(to[0], to[1]);\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "name": "./node_modules/d3-geo/src/clip/circle.js", "index": 259, "index2": 255, "size": 6011, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../clip/circle.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./clip/circle.js", "loc": "6:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./clip/circle.js", "loc": "6:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../clip/circle.js", "loc": "97:46-56" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {cartesian, cartesianAddInPlace, cartesianCross, cartesianDot, cartesianScale, spherical} from \"../cartesian.js\";\nimport {circleStream} from \"../circle.js\";\nimport {abs, cos, epsilon, pi, radians, sqrt} from \"../math.js\";\nimport pointEqual from \"../pointEqual.js\";\nimport clip from \"./index.js\";\n\nexport default function(radius) {\n var cr = cos(radius),\n delta = 6 * radians,\n smallRadius = cr > 0,\n notHemisphere = abs(cr) > epsilon; // TODO optimise for this common case\n\n function interpolate(from, to, direction, stream) {\n circleStream(stream, radius, delta, direction, from, to);\n }\n\n function visible(lambda, phi) {\n return cos(lambda) * cos(phi) > cr;\n }\n\n // Takes a line and cuts into visible segments. Return values used for polygon\n // clipping: 0 - there were intersections or the line was empty; 1 - no\n // intersections 2 - there were intersections, and the first and last segments\n // should be rejoined.\n function clipLine(stream) {\n var point0, // previous point\n c0, // code for previous point\n v0, // visibility of previous point\n v00, // visibility of first point\n clean; // no intersections\n return {\n lineStart: function() {\n v00 = v0 = false;\n clean = 1;\n },\n point: function(lambda, phi) {\n var point1 = [lambda, phi],\n point2,\n v = visible(lambda, phi),\n c = smallRadius\n ? v ? 0 : code(lambda, phi)\n : v ? code(lambda + (lambda < 0 ? pi : -pi), phi) : 0;\n if (!point0 && (v00 = v0 = v)) stream.lineStart();\n // Handle degeneracies.\n // TODO ignore if not clipping polygons.\n if (v !== v0) {\n point2 = intersect(point0, point1);\n if (!point2 || pointEqual(point0, point2) || pointEqual(point1, point2)) {\n point1[0] += epsilon;\n point1[1] += epsilon;\n v = visible(point1[0], point1[1]);\n }\n }\n if (v !== v0) {\n clean = 0;\n if (v) {\n // outside going in\n stream.lineStart();\n point2 = intersect(point1, point0);\n stream.point(point2[0], point2[1]);\n } else {\n // inside going out\n point2 = intersect(point0, point1);\n stream.point(point2[0], point2[1]);\n stream.lineEnd();\n }\n point0 = point2;\n } else if (notHemisphere && point0 && smallRadius ^ v) {\n var t;\n // If the codes for two points are different, or are both zero,\n // and there this segment intersects with the small circle.\n if (!(c & c0) && (t = intersect(point1, point0, true))) {\n clean = 0;\n if (smallRadius) {\n stream.lineStart();\n stream.point(t[0][0], t[0][1]);\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n } else {\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n stream.lineStart();\n stream.point(t[0][0], t[0][1]);\n }\n }\n }\n if (v && (!point0 || !pointEqual(point0, point1))) {\n stream.point(point1[0], point1[1]);\n }\n point0 = point1, v0 = v, c0 = c;\n },\n lineEnd: function() {\n if (v0) stream.lineEnd();\n point0 = null;\n },\n // Rejoin first and last segments if there were intersections and the first\n // and last points were visible.\n clean: function() {\n return clean | ((v00 && v0) << 1);\n }\n };\n }\n\n // Intersects the great circle between a and b with the clip circle.\n function intersect(a, b, two) {\n var pa = cartesian(a),\n pb = cartesian(b);\n\n // We have two planes, n1.p = d1 and n2.p = d2.\n // Find intersection line p(t) = c1 n1 + c2 n2 + t (n1 ⨯ n2).\n var n1 = [1, 0, 0], // normal\n n2 = cartesianCross(pa, pb),\n n2n2 = cartesianDot(n2, n2),\n n1n2 = n2[0], // cartesianDot(n1, n2),\n determinant = n2n2 - n1n2 * n1n2;\n\n // Two polar points.\n if (!determinant) return !two && a;\n\n var c1 = cr * n2n2 / determinant,\n c2 = -cr * n1n2 / determinant,\n n1xn2 = cartesianCross(n1, n2),\n A = cartesianScale(n1, c1),\n B = cartesianScale(n2, c2);\n cartesianAddInPlace(A, B);\n\n // Solve |p(t)|^2 = 1.\n var u = n1xn2,\n w = cartesianDot(A, u),\n uu = cartesianDot(u, u),\n t2 = w * w - uu * (cartesianDot(A, A) - 1);\n\n if (t2 < 0) return;\n\n var t = sqrt(t2),\n q = cartesianScale(u, (-w - t) / uu);\n cartesianAddInPlace(q, A);\n q = spherical(q);\n\n if (!two) return q;\n\n // Two intersection points.\n var lambda0 = a[0],\n lambda1 = b[0],\n phi0 = a[1],\n phi1 = b[1],\n z;\n\n if (lambda1 < lambda0) z = lambda0, lambda0 = lambda1, lambda1 = z;\n\n var delta = lambda1 - lambda0,\n polar = abs(delta - pi) < epsilon,\n meridian = polar || delta < epsilon;\n\n if (!polar && phi1 < phi0) z = phi0, phi0 = phi1, phi1 = z;\n\n // Check that the first point is between a and b.\n if (meridian\n ? polar\n ? phi0 + phi1 > 0 ^ q[1] < (abs(q[0] - lambda0) < epsilon ? phi0 : phi1)\n : phi0 <= q[1] && q[1] <= phi1\n : delta > pi ^ (lambda0 <= q[0] && q[0] <= lambda1)) {\n var q1 = cartesianScale(u, (-w + t) / uu);\n cartesianAddInPlace(q1, A);\n return [q, spherical(q1)];\n }\n }\n\n // Generates a 4-bit vector representing the location of a point relative to\n // the small circle's bounding box.\n function code(lambda, phi) {\n var r = smallRadius ? radius : pi - radius,\n code = 0;\n if (lambda < -r) code |= 1; // left\n else if (lambda > r) code |= 2; // right\n if (phi < -r) code |= 4; // below\n else if (phi > r) code |= 8; // above\n return code;\n }\n\n return clip(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-pi, radius - pi]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "name": "./node_modules/d3-geo/src/clip/rectangle.js", "index": 261, "index2": 257, "size": 5054, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony side effect evaluation", "userRequest": "../clip/rectangle.js", "loc": "1:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/extent.js", "module": "./node_modules/d3-geo/src/clip/extent.js", "moduleName": "./node_modules/d3-geo/src/clip/extent.js", "type": "harmony side effect evaluation", "userRequest": "./rectangle.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../clip/rectangle.js", "loc": "3:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./clip/rectangle.js", "loc": "8:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./clip/rectangle.js", "loc": "8:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/extent.js", "module": "./node_modules/d3-geo/src/clip/extent.js", "moduleName": "./node_modules/d3-geo/src/clip/extent.js", "type": "harmony import specifier", "userRequest": "./rectangle.js", "loc": "14:63-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../clip/rectangle.js", "loc": "35:95-108" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../clip/rectangle.js", "loc": "101:93-106" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {abs, epsilon} from \"../math.js\";\nimport clipBuffer from \"./buffer.js\";\nimport clipLine from \"./line.js\";\nimport clipRejoin from \"./rejoin.js\";\nimport {merge} from \"d3-array\";\n\nvar clipMax = 1e9, clipMin = -clipMax;\n\n// TODO Use d3-polygon’s polygonContains here for the ring check?\n// TODO Eliminate duplicate buffering in clipBuffer and polygon.push?\n\nexport default function clipRectangle(x0, y0, x1, y1) {\n\n function visible(x, y) {\n return x0 <= x && x <= x1 && y0 <= y && y <= y1;\n }\n\n function interpolate(from, to, direction, stream) {\n var a = 0, a1 = 0;\n if (from == null\n || (a = corner(from, direction)) !== (a1 = corner(to, direction))\n || comparePoint(from, to) < 0 ^ direction > 0) {\n do stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);\n while ((a = (a + direction + 4) % 4) !== a1);\n } else {\n stream.point(to[0], to[1]);\n }\n }\n\n function corner(p, direction) {\n return abs(p[0] - x0) < epsilon ? direction > 0 ? 0 : 3\n : abs(p[0] - x1) < epsilon ? direction > 0 ? 2 : 1\n : abs(p[1] - y0) < epsilon ? direction > 0 ? 1 : 0\n : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon\n }\n\n function compareIntersection(a, b) {\n return comparePoint(a.x, b.x);\n }\n\n function comparePoint(a, b) {\n var ca = corner(a, 1),\n cb = corner(b, 1);\n return ca !== cb ? ca - cb\n : ca === 0 ? b[1] - a[1]\n : ca === 1 ? a[0] - b[0]\n : ca === 2 ? a[1] - b[1]\n : b[0] - a[0];\n }\n\n return function(stream) {\n var activeStream = stream,\n bufferStream = clipBuffer(),\n segments,\n polygon,\n ring,\n x__, y__, v__, // first point\n x_, y_, v_, // previous point\n first,\n clean;\n\n var clipStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: polygonStart,\n polygonEnd: polygonEnd\n };\n\n function point(x, y) {\n if (visible(x, y)) activeStream.point(x, y);\n }\n\n function polygonInside() {\n var winding = 0;\n\n for (var i = 0, n = polygon.length; i < n; ++i) {\n for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) {\n a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1];\n if (a1 <= y1) { if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0)) ++winding; }\n else { if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0)) --winding; }\n }\n }\n\n return winding;\n }\n\n // Buffer geometry within a polygon and then clip it en masse.\n function polygonStart() {\n activeStream = bufferStream, segments = [], polygon = [], clean = true;\n }\n\n function polygonEnd() {\n var startInside = polygonInside(),\n cleanInside = clean && startInside,\n visible = (segments = merge(segments)).length;\n if (cleanInside || visible) {\n stream.polygonStart();\n if (cleanInside) {\n stream.lineStart();\n interpolate(null, null, 1, stream);\n stream.lineEnd();\n }\n if (visible) {\n clipRejoin(segments, compareIntersection, startInside, interpolate, stream);\n }\n stream.polygonEnd();\n }\n activeStream = stream, segments = polygon = ring = null;\n }\n\n function lineStart() {\n clipStream.point = linePoint;\n if (polygon) polygon.push(ring = []);\n first = true;\n v_ = false;\n x_ = y_ = NaN;\n }\n\n // TODO rather than special-case polygons, simply handle them separately.\n // Ideally, coincident intersection points should be jittered to avoid\n // clipping issues.\n function lineEnd() {\n if (segments) {\n linePoint(x__, y__);\n if (v__ && v_) bufferStream.rejoin();\n segments.push(bufferStream.result());\n }\n clipStream.point = point;\n if (v_) activeStream.lineEnd();\n }\n\n function linePoint(x, y) {\n var v = visible(x, y);\n if (polygon) ring.push([x, y]);\n if (first) {\n x__ = x, y__ = y, v__ = v;\n first = false;\n if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n }\n } else {\n if (v && v_) activeStream.point(x, y);\n else {\n var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))],\n b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))];\n if (clipLine(a, b, x0, y0, x1, y1)) {\n if (!v_) {\n activeStream.lineStart();\n activeStream.point(a[0], a[1]);\n }\n activeStream.point(b[0], b[1]);\n if (!v) activeStream.lineEnd();\n clean = false;\n } else if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n clean = false;\n }\n }\n }\n x_ = x, y_ = y, v_ = v;\n }\n\n return clipStream;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/extent.js", "name": "./node_modules/d3-geo/src/clip/extent.js", "index": 260, "index2": 258, "size": 540, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./clip/extent.js", "loc": "7:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./clip/extent.js", "loc": "7:0-58" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import clipRectangle from \"./rectangle.js\";\n\nexport default function() {\n var x0 = 0,\n y0 = 0,\n x1 = 960,\n y1 = 500,\n cache,\n cacheStream,\n clip;\n\n return clip = {\n stream: function(stream) {\n return cache && cacheStream === stream ? cache : cache = clipRectangle(x0, y0, x1, y1)(cacheStream = stream);\n },\n extent: function(_) {\n return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]];\n }\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "name": "./node_modules/d3-geo/src/length.js", "index": 265, "index2": 259, "size": 1321, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/distance.js", "module": "./node_modules/d3-geo/src/distance.js", "moduleName": "./node_modules/d3-geo/src/distance.js", "type": "harmony side effect evaluation", "userRequest": "./length.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/distance.js", "module": "./node_modules/d3-geo/src/distance.js", "moduleName": "./node_modules/d3-geo/src/distance.js", "type": "harmony import specifier", "userRequest": "./length.js", "loc": "9:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./length.js", "loc": "13:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./length.js", "loc": "13:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import adder from \"./adder.js\";\nimport {abs, atan2, cos, radians, sin, sqrt} from \"./math.js\";\nimport noop from \"./noop.js\";\nimport stream from \"./stream.js\";\n\nvar lengthSum = adder(),\n lambda0,\n sinPhi0,\n cosPhi0;\n\nvar lengthStream = {\n sphere: noop,\n point: noop,\n lineStart: lengthLineStart,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop\n};\n\nfunction lengthLineStart() {\n lengthStream.point = lengthPointFirst;\n lengthStream.lineEnd = lengthLineEnd;\n}\n\nfunction lengthLineEnd() {\n lengthStream.point = lengthStream.lineEnd = noop;\n}\n\nfunction lengthPointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n lambda0 = lambda, sinPhi0 = sin(phi), cosPhi0 = cos(phi);\n lengthStream.point = lengthPoint;\n}\n\nfunction lengthPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var sinPhi = sin(phi),\n cosPhi = cos(phi),\n delta = abs(lambda - lambda0),\n cosDelta = cos(delta),\n sinDelta = sin(delta),\n x = cosPhi * sinDelta,\n y = cosPhi0 * sinPhi - sinPhi0 * cosPhi * cosDelta,\n z = sinPhi0 * sinPhi + cosPhi0 * cosPhi * cosDelta;\n lengthSum.add(atan2(sqrt(x * x + y * y), z));\n lambda0 = lambda, sinPhi0 = sinPhi, cosPhi0 = cosPhi;\n}\n\nexport default function(object) {\n lengthSum.reset();\n stream(object, lengthStream);\n return +lengthSum;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/distance.js", "name": "./node_modules/d3-geo/src/distance.js", "index": 264, "index2": 260, "size": 232, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony side effect evaluation", "userRequest": "./distance.js", "loc": "2:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./distance.js", "loc": "10:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./distance.js", "loc": "10:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./distance.js", "loc": "58:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./distance.js", "loc": "64:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./distance.js", "loc": "67:11-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import length from \"./length.js\";\n\nvar coordinates = [null, null],\n object = {type: \"LineString\", coordinates: coordinates};\n\nexport default function(a, b) {\n coordinates[0] = a;\n coordinates[1] = b;\n return length(object);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "name": "./node_modules/d3-geo/src/contains.js", "index": 263, "index2": 261, "size": 2998, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./contains.js", "loc": "9:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./contains.js", "loc": "9:0-53" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {default as polygonContains} from \"./polygonContains.js\";\nimport {default as distance} from \"./distance.js\";\nimport {epsilon2, radians} from \"./math.js\";\n\nvar containsObjectType = {\n Feature: function(object, point) {\n return containsGeometry(object.geometry, point);\n },\n FeatureCollection: function(object, point) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n) if (containsGeometry(features[i].geometry, point)) return true;\n return false;\n }\n};\n\nvar containsGeometryType = {\n Sphere: function() {\n return true;\n },\n Point: function(object, point) {\n return containsPoint(object.coordinates, point);\n },\n MultiPoint: function(object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) if (containsPoint(coordinates[i], point)) return true;\n return false;\n },\n LineString: function(object, point) {\n return containsLine(object.coordinates, point);\n },\n MultiLineString: function(object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) if (containsLine(coordinates[i], point)) return true;\n return false;\n },\n Polygon: function(object, point) {\n return containsPolygon(object.coordinates, point);\n },\n MultiPolygon: function(object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) if (containsPolygon(coordinates[i], point)) return true;\n return false;\n },\n GeometryCollection: function(object, point) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n) if (containsGeometry(geometries[i], point)) return true;\n return false;\n }\n};\n\nfunction containsGeometry(geometry, point) {\n return geometry && containsGeometryType.hasOwnProperty(geometry.type)\n ? containsGeometryType[geometry.type](geometry, point)\n : false;\n}\n\nfunction containsPoint(coordinates, point) {\n return distance(coordinates, point) === 0;\n}\n\nfunction containsLine(coordinates, point) {\n var ao, bo, ab;\n for (var i = 0, n = coordinates.length; i < n; i++) {\n bo = distance(coordinates[i], point);\n if (bo === 0) return true;\n if (i > 0) {\n ab = distance(coordinates[i], coordinates[i - 1]);\n if (\n ab > 0 &&\n ao <= ab &&\n bo <= ab &&\n (ao + bo - ab) * (1 - Math.pow((ao - bo) / ab, 2)) < epsilon2 * ab\n )\n return true;\n }\n ao = bo;\n }\n return false;\n}\n\nfunction containsPolygon(coordinates, point) {\n return !!polygonContains(coordinates.map(ringRadians), pointRadians(point));\n}\n\nfunction ringRadians(ring) {\n return ring = ring.map(pointRadians), ring.pop(), ring;\n}\n\nfunction pointRadians(point) {\n return [point[0] * radians, point[1] * radians];\n}\n\nexport default function(object, point) {\n return (object && containsObjectType.hasOwnProperty(object.type)\n ? containsObjectType[object.type]\n : containsGeometry)(object, point);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "name": "./node_modules/d3-geo/src/graticule.js", "index": 266, "index2": 262, "size": 3037, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./graticule.js", "loc": "11:0-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./graticule.js", "loc": "11:0-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./graticule.js", "loc": "11:0-86" } ], "usedExports": [ "default", "graticule10" ], "providedExports": [ "default", "graticule10" ], "optimizationBailout": [], "depth": 4, "source": "import {range} from \"d3-array\";\nimport {abs, ceil, epsilon} from \"./math.js\";\n\nfunction graticuleX(y0, y1, dy) {\n var y = range(y0, y1 - epsilon, dy).concat(y1);\n return function(x) { return y.map(function(y) { return [x, y]; }); };\n}\n\nfunction graticuleY(x0, x1, dx) {\n var x = range(x0, x1 - epsilon, dx).concat(x1);\n return function(y) { return x.map(function(x) { return [x, y]; }); };\n}\n\nexport default function graticule() {\n var x1, x0, X1, X0,\n y1, y0, Y1, Y0,\n dx = 10, dy = dx, DX = 90, DY = 360,\n x, y, X, Y,\n precision = 2.5;\n\n function graticule() {\n return {type: \"MultiLineString\", coordinates: lines()};\n }\n\n function lines() {\n return range(ceil(X0 / DX) * DX, X1, DX).map(X)\n .concat(range(ceil(Y0 / DY) * DY, Y1, DY).map(Y))\n .concat(range(ceil(x0 / dx) * dx, x1, dx).filter(function(x) { return abs(x % DX) > epsilon; }).map(x))\n .concat(range(ceil(y0 / dy) * dy, y1, dy).filter(function(y) { return abs(y % DY) > epsilon; }).map(y));\n }\n\n graticule.lines = function() {\n return lines().map(function(coordinates) { return {type: \"LineString\", coordinates: coordinates}; });\n };\n\n graticule.outline = function() {\n return {\n type: \"Polygon\",\n coordinates: [\n X(X0).concat(\n Y(Y1).slice(1),\n X(X1).reverse().slice(1),\n Y(Y0).reverse().slice(1))\n ]\n };\n };\n\n graticule.extent = function(_) {\n if (!arguments.length) return graticule.extentMinor();\n return graticule.extentMajor(_).extentMinor(_);\n };\n\n graticule.extentMajor = function(_) {\n if (!arguments.length) return [[X0, Y0], [X1, Y1]];\n X0 = +_[0][0], X1 = +_[1][0];\n Y0 = +_[0][1], Y1 = +_[1][1];\n if (X0 > X1) _ = X0, X0 = X1, X1 = _;\n if (Y0 > Y1) _ = Y0, Y0 = Y1, Y1 = _;\n return graticule.precision(precision);\n };\n\n graticule.extentMinor = function(_) {\n if (!arguments.length) return [[x0, y0], [x1, y1]];\n x0 = +_[0][0], x1 = +_[1][0];\n y0 = +_[0][1], y1 = +_[1][1];\n if (x0 > x1) _ = x0, x0 = x1, x1 = _;\n if (y0 > y1) _ = y0, y0 = y1, y1 = _;\n return graticule.precision(precision);\n };\n\n graticule.step = function(_) {\n if (!arguments.length) return graticule.stepMinor();\n return graticule.stepMajor(_).stepMinor(_);\n };\n\n graticule.stepMajor = function(_) {\n if (!arguments.length) return [DX, DY];\n DX = +_[0], DY = +_[1];\n return graticule;\n };\n\n graticule.stepMinor = function(_) {\n if (!arguments.length) return [dx, dy];\n dx = +_[0], dy = +_[1];\n return graticule;\n };\n\n graticule.precision = function(_) {\n if (!arguments.length) return precision;\n precision = +_;\n x = graticuleX(y0, y1, 90);\n y = graticuleY(x0, x1, precision);\n X = graticuleX(Y0, Y1, 90);\n Y = graticuleY(X0, X1, precision);\n return graticule;\n };\n\n return graticule\n .extentMajor([[-180, -90 + epsilon], [180, 90 - epsilon]])\n .extentMinor([[-180, -80 - epsilon], [180, 80 + epsilon]]);\n}\n\nexport function graticule10() {\n return graticule()();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "name": "./node_modules/d3-geo/src/interpolate.js", "index": 267, "index2": 263, "size": 914, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./interpolate.js", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./interpolate.js", "loc": "12:0-59" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {asin, atan2, cos, degrees, haversin, radians, sin, sqrt} from \"./math.js\";\n\nexport default function(a, b) {\n var x0 = a[0] * radians,\n y0 = a[1] * radians,\n x1 = b[0] * radians,\n y1 = b[1] * radians,\n cy0 = cos(y0),\n sy0 = sin(y0),\n cy1 = cos(y1),\n sy1 = sin(y1),\n kx0 = cy0 * cos(x0),\n ky0 = cy0 * sin(x0),\n kx1 = cy1 * cos(x1),\n ky1 = cy1 * sin(x1),\n d = 2 * asin(sqrt(haversin(y1 - y0) + cy0 * cy1 * haversin(x1 - x0))),\n k = sin(d);\n\n var interpolate = d ? function(t) {\n var B = sin(t *= d) / k,\n A = sin(d - t) / k,\n x = A * kx0 + B * kx1,\n y = A * ky0 + B * ky1,\n z = A * sy0 + B * sy1;\n return [\n atan2(y, x) * degrees,\n atan2(z, sqrt(x * x + y * y)) * degrees\n ];\n } : function() {\n return [x0 * degrees, y0 * degrees];\n };\n\n interpolate.distance = d;\n\n return interpolate;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "index": 268, "index2": 271, "size": 1877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./path/index.js", "loc": "14:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./path/index.js", "loc": "14:0-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import identity from \"../identity.js\";\nimport stream from \"../stream.js\";\nimport pathArea from \"./area.js\";\nimport pathBounds from \"./bounds.js\";\nimport pathCentroid from \"./centroid.js\";\nimport PathContext from \"./context.js\";\nimport pathMeasure from \"./measure.js\";\nimport PathString from \"./string.js\";\n\nexport default function(projection, context) {\n var pointRadius = 4.5,\n projectionStream,\n contextStream;\n\n function path(object) {\n if (object) {\n if (typeof pointRadius === \"function\") contextStream.pointRadius(+pointRadius.apply(this, arguments));\n stream(object, projectionStream(contextStream));\n }\n return contextStream.result();\n }\n\n path.area = function(object) {\n stream(object, projectionStream(pathArea));\n return pathArea.result();\n };\n\n path.measure = function(object) {\n stream(object, projectionStream(pathMeasure));\n return pathMeasure.result();\n };\n\n path.bounds = function(object) {\n stream(object, projectionStream(pathBounds));\n return pathBounds.result();\n };\n\n path.centroid = function(object) {\n stream(object, projectionStream(pathCentroid));\n return pathCentroid.result();\n };\n\n path.projection = function(_) {\n return arguments.length ? (projectionStream = _ == null ? (projection = null, identity) : (projection = _).stream, path) : projection;\n };\n\n path.context = function(_) {\n if (!arguments.length) return context;\n contextStream = _ == null ? (context = null, new PathString) : new PathContext(context = _);\n if (typeof pointRadius !== \"function\") contextStream.pointRadius(pointRadius);\n return path;\n };\n\n path.pointRadius = function(_) {\n if (!arguments.length) return pointRadius;\n pointRadius = typeof _ === \"function\" ? _ : (contextStream.pointRadius(+_), +_);\n return path;\n };\n\n return path.projection(projection).context(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/transform.js", "name": "./node_modules/d3-geo/src/transform.js", "index": 281, "index2": 273, "size": 701, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony side effect evaluation", "userRequest": "../transform.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony side effect evaluation", "userRequest": "../transform.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../transform.js", "loc": "7:67-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../transform.js", "loc": "8:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../transform.js", "loc": "12:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../transform.js", "loc": "13:9-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../transform.js", "loc": "19:9-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transform.js", "loc": "34:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform.js", "loc": "34:0-55" } ], "usedExports": [ "default", "transformer" ], "providedExports": [ "default", "transformer" ], "optimizationBailout": [], "depth": 4, "source": "export default function(methods) {\n return {\n stream: transformer(methods)\n };\n}\n\nexport function transformer(methods) {\n return function(stream) {\n var s = new TransformStream;\n for (var key in methods) s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n}\n\nfunction TransformStream() {}\n\nTransformStream.prototype = {\n constructor: TransformStream,\n point: function(x, y) { this.stream.point(x, y); },\n sphere: function() { this.stream.sphere(); },\n lineStart: function() { this.stream.lineStart(); },\n lineEnd: function() { this.stream.lineEnd(); },\n polygonStart: function() { this.stream.polygonStart(); },\n polygonEnd: function() { this.stream.polygonEnd(); }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "name": "./node_modules/d3-geo/src/projection/index.js", "index": 280, "index2": 276, "size": 5455, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "module": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "moduleName": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equirectangular.js", "module": "./node_modules/d3-geo/src/projection/equirectangular.js", "moduleName": "./node_modules/d3-geo/src/projection/equirectangular.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "7:10-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equirectangular.js", "module": "./node_modules/d3-geo/src/projection/equirectangular.js", "moduleName": "./node_modules/d3-geo/src/projection/equirectangular.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "10:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "12:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "13:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "14:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "14:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "15:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "19:10-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/index.js", "loc": "26:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/index.js", "loc": "26:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/index.js", "loc": "26:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "module": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "moduleName": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "26:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "34:9-19" } ], "usedExports": [ "default", "projectionMutator" ], "providedExports": [ "default", "projectionMutator" ], "optimizationBailout": [], "depth": 4, "source": "import clipAntimeridian from \"../clip/antimeridian.js\";\nimport clipCircle from \"../clip/circle.js\";\nimport clipRectangle from \"../clip/rectangle.js\";\nimport compose from \"../compose.js\";\nimport identity from \"../identity.js\";\nimport {cos, degrees, radians, sin, sqrt} from \"../math.js\";\nimport {rotateRadians} from \"../rotation.js\";\nimport {transformer} from \"../transform.js\";\nimport {fitExtent, fitSize, fitWidth, fitHeight} from \"./fit.js\";\nimport resample from \"./resample.js\";\n\nvar transformRadians = transformer({\n point: function(x, y) {\n this.stream.point(x * radians, y * radians);\n }\n});\n\nfunction transformRotate(rotate) {\n return transformer({\n point: function(x, y) {\n var r = rotate(x, y);\n return this.stream.point(r[0], r[1]);\n }\n });\n}\n\nfunction scaleTranslate(k, dx, dy) {\n function transform(x, y) {\n return [dx + k * x, dy - k * y];\n }\n transform.invert = function(x, y) {\n return [(x - dx) / k, (dy - y) / k];\n };\n return transform;\n}\n\nfunction scaleTranslateRotate(k, dx, dy, alpha) {\n var cosAlpha = cos(alpha),\n sinAlpha = sin(alpha),\n a = cosAlpha * k,\n b = sinAlpha * k,\n ai = cosAlpha / k,\n bi = sinAlpha / k,\n ci = (sinAlpha * dy - cosAlpha * dx) / k,\n fi = (sinAlpha * dx + cosAlpha * dy) / k;\n function transform(x, y) {\n return [a * x - b * y + dx, dy - b * x - a * y];\n }\n transform.invert = function(x, y) {\n return [ai * x - bi * y + ci, fi - bi * x - ai * y];\n };\n return transform;\n}\n\nexport default function projection(project) {\n return projectionMutator(function() { return project; })();\n}\n\nexport function projectionMutator(projectAt) {\n var project,\n k = 150, // scale\n x = 480, y = 250, // translate\n lambda = 0, phi = 0, // center\n deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate, // pre-rotate\n alpha = 0, // post-rotate\n theta = null, preclip = clipAntimeridian, // pre-clip angle\n x0 = null, y0, x1, y1, postclip = identity, // post-clip extent\n delta2 = 0.5, // precision\n projectResample,\n projectTransform,\n projectRotateTransform,\n cache,\n cacheStream;\n\n function projection(point) {\n return projectRotateTransform(point[0] * radians, point[1] * radians);\n }\n\n function invert(point) {\n point = projectRotateTransform.invert(point[0], point[1]);\n return point && [point[0] * degrees, point[1] * degrees];\n }\n\n projection.stream = function(stream) {\n return cache && cacheStream === stream ? cache : cache = transformRadians(transformRotate(rotate)(preclip(projectResample(postclip(cacheStream = stream)))));\n };\n\n projection.preclip = function(_) {\n return arguments.length ? (preclip = _, theta = undefined, reset()) : preclip;\n };\n\n projection.postclip = function(_) {\n return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip;\n };\n\n projection.clipAngle = function(_) {\n return arguments.length ? (preclip = +_ ? clipCircle(theta = _ * radians) : (theta = null, clipAntimeridian), reset()) : theta * degrees;\n };\n\n projection.clipExtent = function(_) {\n return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipRectangle(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n\n projection.scale = function(_) {\n return arguments.length ? (k = +_, recenter()) : k;\n };\n\n projection.translate = function(_) {\n return arguments.length ? (x = +_[0], y = +_[1], recenter()) : [x, y];\n };\n\n projection.center = function(_) {\n return arguments.length ? (lambda = _[0] % 360 * radians, phi = _[1] % 360 * radians, recenter()) : [lambda * degrees, phi * degrees];\n };\n\n projection.rotate = function(_) {\n return arguments.length ? (deltaLambda = _[0] % 360 * radians, deltaPhi = _[1] % 360 * radians, deltaGamma = _.length > 2 ? _[2] % 360 * radians : 0, recenter()) : [deltaLambda * degrees, deltaPhi * degrees, deltaGamma * degrees];\n };\n\n projection.angle = function(_) {\n return arguments.length ? (alpha = _ % 360 * radians, recenter()) : alpha * degrees;\n };\n\n projection.precision = function(_) {\n return arguments.length ? (projectResample = resample(projectTransform, delta2 = _ * _), reset()) : sqrt(delta2);\n };\n\n projection.fitExtent = function(extent, object) {\n return fitExtent(projection, extent, object);\n };\n\n projection.fitSize = function(size, object) {\n return fitSize(projection, size, object);\n };\n\n projection.fitWidth = function(width, object) {\n return fitWidth(projection, width, object);\n };\n\n projection.fitHeight = function(height, object) {\n return fitHeight(projection, height, object);\n };\n\n function recenter() {\n var center = scaleTranslateRotate(k, 0, 0, alpha).apply(null, project(lambda, phi)),\n transform = (alpha ? scaleTranslateRotate : scaleTranslate)(k, x - center[0], y - center[1], alpha);\n rotate = rotateRadians(deltaLambda, deltaPhi, deltaGamma);\n projectTransform = compose(project, transform);\n projectRotateTransform = compose(rotate, projectTransform);\n projectResample = resample(projectTransform, delta2);\n return reset();\n }\n\n function reset() {\n cache = cacheStream = null;\n return projection;\n }\n\n return function() {\n project = projectAt.apply(this, arguments);\n projection.invert = project.invert && invert;\n return recenter();\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "name": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "index": 277, "index2": 278, "size": 880, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albers.js", "module": "./node_modules/d3-geo/src/projection/albers.js", "moduleName": "./node_modules/d3-geo/src/projection/albers.js", "type": "harmony side effect evaluation", "userRequest": "./conicEqualArea.js", "loc": "1:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony side effect evaluation", "userRequest": "./conicEqualArea.js", "loc": "3:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albers.js", "module": "./node_modules/d3-geo/src/projection/albers.js", "moduleName": "./node_modules/d3-geo/src/projection/albers.js", "type": "harmony import specifier", "userRequest": "./conicEqualArea.js", "loc": "4:9-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/conicEqualArea.js", "loc": "20:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicEqualArea.js", "loc": "20:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicEqualArea.js", "loc": "20:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./conicEqualArea.js", "loc": "29:15-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./conicEqualArea.js", "loc": "30:15-29" } ], "usedExports": [ "default", "conicEqualAreaRaw" ], "providedExports": [ "conicEqualAreaRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {abs, asin, atan2, cos, epsilon, sign, sin, sqrt} from \"../math.js\";\nimport {conicProjection} from \"./conic.js\";\nimport {cylindricalEqualAreaRaw} from \"./cylindricalEqualArea.js\";\n\nexport function conicEqualAreaRaw(y0, y1) {\n var sy0 = sin(y0), n = (sy0 + sin(y1)) / 2;\n\n // Are the parallels symmetrical around the Equator?\n if (abs(n) < epsilon) return cylindricalEqualAreaRaw(y0);\n\n var c = 1 + sy0 * (2 * n - sy0), r0 = sqrt(c) / n;\n\n function project(x, y) {\n var r = sqrt(c - 2 * n * sin(y)) / n;\n return [r * sin(x *= n), r0 - r * cos(x)];\n }\n\n project.invert = function(x, y) {\n var r0y = r0 - y;\n return [atan2(x, abs(r0y)) / n * sign(r0y), asin((c - (x * x + r0y * r0y) * n * n) / (2 * n))];\n };\n\n return project;\n}\n\nexport default function() {\n return conicProjection(conicEqualAreaRaw)\n .scale(155.424)\n .center([0, 33.6442]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albers.js", "name": "./node_modules/d3-geo/src/projection/albers.js", "index": 276, "index2": 279, "size": 238, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony side effect evaluation", "userRequest": "./albers.js", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/albers.js", "loc": "15:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/albers.js", "loc": "15:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./albers.js", "loc": "28:16-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import conicEqualArea from \"./conicEqualArea.js\";\n\nexport default function() {\n return conicEqualArea()\n .parallels([29.5, 45.5])\n .scale(1070)\n .translate([480, 250])\n .rotate([96, 0])\n .center([-0.6, 38.7]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "name": "./node_modules/d3-geo/src/projection/albersUsa.js", "index": 284, "index2": 280, "size": 4227, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/albersUsa.js", "loc": "16:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/albersUsa.js", "loc": "16:0-66" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {epsilon} from \"../math.js\";\nimport albers from \"./albers.js\";\nimport conicEqualArea from \"./conicEqualArea.js\";\nimport {fitExtent, fitSize, fitWidth, fitHeight} from \"./fit.js\";\n\n// The projections must have mutually exclusive clip regions on the sphere,\n// as this will avoid emitting interleaving lines and polygons.\nfunction multiplex(streams) {\n var n = streams.length;\n return {\n point: function(x, y) { var i = -1; while (++i < n) streams[i].point(x, y); },\n sphere: function() { var i = -1; while (++i < n) streams[i].sphere(); },\n lineStart: function() { var i = -1; while (++i < n) streams[i].lineStart(); },\n lineEnd: function() { var i = -1; while (++i < n) streams[i].lineEnd(); },\n polygonStart: function() { var i = -1; while (++i < n) streams[i].polygonStart(); },\n polygonEnd: function() { var i = -1; while (++i < n) streams[i].polygonEnd(); }\n };\n}\n\n// A composite projection for the United States, configured by default for\n// 960×500. The projection also works quite well at 960×600 if you change the\n// scale to 1285 and adjust the translate accordingly. The set of standard\n// parallels for each region comes from USGS, which is published here:\n// http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\nexport default function() {\n var cache,\n cacheStream,\n lower48 = albers(), lower48Point,\n alaska = conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n hawaii = conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n point, pointStream = {point: function(x, y) { point = [x, y]; }};\n\n function albersUsa(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (lower48Point.point(x, y), point)\n || (alaskaPoint.point(x, y), point)\n || (hawaiiPoint.point(x, y), point);\n }\n\n albersUsa.invert = function(coordinates) {\n var k = lower48.scale(),\n t = lower48.translate(),\n x = (coordinates[0] - t[0]) / k,\n y = (coordinates[1] - t[1]) / k;\n return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n : lower48).invert(coordinates);\n };\n\n albersUsa.stream = function(stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);\n };\n\n albersUsa.precision = function(_) {\n if (!arguments.length) return lower48.precision();\n lower48.precision(_), alaska.precision(_), hawaii.precision(_);\n return reset();\n };\n\n albersUsa.scale = function(_) {\n if (!arguments.length) return lower48.scale();\n lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_);\n return albersUsa.translate(lower48.translate());\n };\n\n albersUsa.translate = function(_) {\n if (!arguments.length) return lower48.translate();\n var k = lower48.scale(), x = +_[0], y = +_[1];\n\n lower48Point = lower48\n .translate(_)\n .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n .stream(pointStream);\n\n alaskaPoint = alaska\n .translate([x - 0.307 * k, y + 0.201 * k])\n .clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n\n hawaiiPoint = hawaii\n .translate([x - 0.205 * k, y + 0.212 * k])\n .clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n\n return reset();\n };\n\n albersUsa.fitExtent = function(extent, object) {\n return fitExtent(albersUsa, extent, object);\n };\n\n albersUsa.fitSize = function(size, object) {\n return fitSize(albersUsa, size, object);\n };\n\n albersUsa.fitWidth = function(width, object) {\n return fitWidth(albersUsa, width, object);\n };\n\n albersUsa.fitHeight = function(height, object) {\n return fitHeight(albersUsa, height, object);\n };\n\n function reset() {\n cache = cacheStream = null;\n return albersUsa;\n }\n\n return albersUsa.scale(1070);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "name": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "index": 285, "index2": 282, "size": 456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/azimuthalEqualArea.js", "loc": "17:0-135" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/azimuthalEqualArea.js", "loc": "17:0-135" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/azimuthalEqualArea.js", "loc": "17:0-135" } ], "usedExports": [ "default", "azimuthalEqualAreaRaw" ], "providedExports": [ "azimuthalEqualAreaRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {asin, sqrt} from \"../math.js\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal.js\";\nimport projection from \"./index.js\";\n\nexport var azimuthalEqualAreaRaw = azimuthalRaw(function(cxcy) {\n return sqrt(2 / (1 + cxcy));\n});\n\nazimuthalEqualAreaRaw.invert = azimuthalInvert(function(z) {\n return 2 * asin(z / 2);\n});\n\nexport default function() {\n return projection(azimuthalEqualAreaRaw)\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "name": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "index": 287, "index2": 283, "size": 452, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/azimuthalEquidistant.js", "loc": "18:0-143" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/azimuthalEquidistant.js", "loc": "18:0-143" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/azimuthalEquidistant.js", "loc": "18:0-143" } ], "usedExports": [ "default", "azimuthalEquidistantRaw" ], "providedExports": [ "azimuthalEquidistantRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {acos, sin} from \"../math.js\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal.js\";\nimport projection from \"./index.js\";\n\nexport var azimuthalEquidistantRaw = azimuthalRaw(function(c) {\n return (c = acos(c)) && c / sin(c);\n});\n\nazimuthalEquidistantRaw.invert = azimuthalInvert(function(z) {\n return z;\n});\n\nexport default function() {\n return projection(azimuthalEquidistantRaw)\n .scale(79.4188)\n .clipAngle(180 - 1e-3);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "name": "./node_modules/d3-geo/src/projection/mercator.js", "index": 289, "index2": 284, "size": 1557, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony side effect evaluation", "userRequest": "./mercator.js", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony side effect evaluation", "userRequest": "./mercator.js", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "./mercator.js", "loc": "13:10-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "./mercator.js", "loc": "14:17-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/mercator.js", "loc": "27:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/mercator.js", "loc": "27:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/mercator.js", "loc": "27:0-95" } ], "usedExports": [ "default", "mercatorRaw", "mercatorProjection" ], "providedExports": [ "mercatorRaw", "default", "mercatorProjection" ], "optimizationBailout": [], "depth": 4, "source": "import {atan, exp, halfPi, log, pi, tan, tau} from \"../math.js\";\nimport rotation from \"../rotation.js\";\nimport projection from \"./index.js\";\n\nexport function mercatorRaw(lambda, phi) {\n return [lambda, log(tan((halfPi + phi) / 2))];\n}\n\nmercatorRaw.invert = function(x, y) {\n return [x, 2 * atan(exp(y)) - halfPi];\n};\n\nexport default function() {\n return mercatorProjection(mercatorRaw)\n .scale(961 / tau);\n}\n\nexport function mercatorProjection(project) {\n var m = projection(project),\n center = m.center,\n scale = m.scale,\n translate = m.translate,\n clipExtent = m.clipExtent,\n x0 = null, y0, x1, y1; // clip extent\n\n m.scale = function(_) {\n return arguments.length ? (scale(_), reclip()) : scale();\n };\n\n m.translate = function(_) {\n return arguments.length ? (translate(_), reclip()) : translate();\n };\n\n m.center = function(_) {\n return arguments.length ? (center(_), reclip()) : center();\n };\n\n m.clipExtent = function(_) {\n return arguments.length ? ((_ == null ? x0 = y0 = x1 = y1 = null : (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1])), reclip()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n\n function reclip() {\n var k = pi * scale(),\n t = m(rotation(m.rotate()).invert([0, 0]));\n return clipExtent(x0 == null\n ? [[t[0] - k, t[1] - k], [t[0] + k, t[1] + k]] : project === mercatorRaw\n ? [[Math.max(t[0] - k, x0), y0], [Math.min(t[0] + k, x1), y1]]\n : [[x0, Math.max(t[1] - k, y0)], [x1, Math.min(t[1] + k, y1)]]);\n }\n\n return reclip();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "name": "./node_modules/d3-geo/src/projection/conicConformal.js", "index": 288, "index2": 285, "size": 1026, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/conicConformal.js", "loc": "19:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicConformal.js", "loc": "19:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicConformal.js", "loc": "19:0-119" } ], "usedExports": [ "default", "conicConformalRaw" ], "providedExports": [ "conicConformalRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {abs, atan, atan2, cos, epsilon, halfPi, log, pow, sign, sin, sqrt, tan} from \"../math.js\";\nimport {conicProjection} from \"./conic.js\";\nimport {mercatorRaw} from \"./mercator.js\";\n\nfunction tany(y) {\n return tan((halfPi + y) / 2);\n}\n\nexport function conicConformalRaw(y0, y1) {\n var cy0 = cos(y0),\n n = y0 === y1 ? sin(y0) : log(cy0 / cos(y1)) / log(tany(y1) / tany(y0)),\n f = cy0 * pow(tany(y0), n) / n;\n\n if (!n) return mercatorRaw;\n\n function project(x, y) {\n if (f > 0) { if (y < -halfPi + epsilon) y = -halfPi + epsilon; }\n else { if (y > halfPi - epsilon) y = halfPi - epsilon; }\n var r = f / pow(tany(y), n);\n return [r * sin(n * x), f - r * cos(n * x)];\n }\n\n project.invert = function(x, y) {\n var fy = f - y, r = sign(n) * sqrt(x * x + fy * fy);\n return [atan2(x, abs(fy)) / n * sign(fy), 2 * atan(pow(f / r, 1 / n)) - halfPi];\n };\n\n return project;\n}\n\nexport default function() {\n return conicProjection(conicConformalRaw)\n .scale(109.5)\n .parallels([30, 30]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equirectangular.js", "name": "./node_modules/d3-geo/src/projection/equirectangular.js", "index": 291, "index2": 286, "size": 256, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "./equirectangular.js", "loc": "3:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "./equirectangular.js", "loc": "10:31-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/equirectangular.js", "loc": "23:0-123" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/equirectangular.js", "loc": "23:0-123" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/equirectangular.js", "loc": "23:0-123" } ], "usedExports": [ "default", "equirectangularRaw" ], "providedExports": [ "equirectangularRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import projection from \"./index.js\";\n\nexport function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n}\n\nequirectangularRaw.invert = equirectangularRaw;\n\nexport default function() {\n return projection(equirectangularRaw)\n .scale(152.63);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "name": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "index": 290, "index2": 287, "size": 780, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/conicEquidistant.js", "loc": "21:0-127" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicEquidistant.js", "loc": "21:0-127" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicEquidistant.js", "loc": "21:0-127" } ], "usedExports": [ "default", "conicEquidistantRaw" ], "providedExports": [ "conicEquidistantRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {abs, atan2, cos, epsilon, sign, sin, sqrt} from \"../math.js\";\nimport {conicProjection} from \"./conic.js\";\nimport {equirectangularRaw} from \"./equirectangular.js\";\n\nexport function conicEquidistantRaw(y0, y1) {\n var cy0 = cos(y0),\n n = y0 === y1 ? sin(y0) : (cy0 - cos(y1)) / (y1 - y0),\n g = cy0 / n + y0;\n\n if (abs(n) < epsilon) return equirectangularRaw;\n\n function project(x, y) {\n var gy = g - y, nx = n * x;\n return [gy * sin(nx), g - gy * cos(nx)];\n }\n\n project.invert = function(x, y) {\n var gy = g - y;\n return [atan2(x, abs(gy)) / n * sign(gy), g - sign(n) * sqrt(x * x + gy * gy)];\n };\n\n return project;\n}\n\nexport default function() {\n return conicProjection(conicEquidistantRaw)\n .scale(131.154)\n .center([0, 13.9389]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "name": "./node_modules/d3-geo/src/projection/equalEarth.js", "index": 292, "index2": 288, "size": 1024, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/equalEarth.js", "loc": "22:0-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/equalEarth.js", "loc": "22:0-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/equalEarth.js", "loc": "22:0-103" } ], "usedExports": [ "default", "equalEarthRaw" ], "providedExports": [ "equalEarthRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import projection from \"./index.js\";\nimport {abs, asin, cos, epsilon2, sin, sqrt} from \"../math.js\";\n\nvar A1 = 1.340264,\n A2 = -0.081106,\n A3 = 0.000893,\n A4 = 0.003796,\n M = sqrt(3) / 2,\n iterations = 12;\n\nexport function equalEarthRaw(lambda, phi) {\n var l = asin(M * sin(phi)), l2 = l * l, l6 = l2 * l2 * l2;\n return [\n lambda * cos(l) / (M * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2))),\n l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2))\n ];\n}\n\nequalEarthRaw.invert = function(x, y) {\n var l = y, l2 = l * l, l6 = l2 * l2 * l2;\n for (var i = 0, delta, fy, fpy; i < iterations; ++i) {\n fy = l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2)) - y;\n fpy = A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2);\n l -= delta = fy / fpy, l2 = l * l, l6 = l2 * l2 * l2;\n if (abs(delta) < epsilon2) break;\n }\n return [\n M * x * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2)) / cos(l),\n asin(sin(l) / M)\n ];\n};\n\nexport default function() {\n return projection(equalEarthRaw)\n .scale(177.158);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "name": "./node_modules/d3-geo/src/projection/gnomonic.js", "index": 293, "index2": 289, "size": 396, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/gnomonic.js", "loc": "24:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/gnomonic.js", "loc": "24:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/gnomonic.js", "loc": "24:0-95" } ], "usedExports": [ "default", "gnomonicRaw" ], "providedExports": [ "gnomonicRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {atan, cos, sin} from \"../math.js\";\nimport {azimuthalInvert} from \"./azimuthal.js\";\nimport projection from \"./index.js\";\n\nexport function gnomonicRaw(x, y) {\n var cy = cos(y), k = cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n}\n\ngnomonicRaw.invert = azimuthalInvert(atan);\n\nexport default function() {\n return projection(gnomonicRaw)\n .scale(144.049)\n .clipAngle(60);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "name": "./node_modules/d3-geo/src/projection/identity.js", "index": 294, "index2": 290, "size": 2307, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/identity.js", "loc": "25:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/identity.js", "loc": "25:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import clipRectangle from \"../clip/rectangle.js\";\nimport identity from \"../identity.js\";\nimport {transformer} from \"../transform.js\";\nimport {fitExtent, fitSize, fitWidth, fitHeight} from \"./fit.js\";\n\nfunction scaleTranslate(kx, ky, tx, ty) {\n return kx === 1 && ky === 1 && tx === 0 && ty === 0 ? identity : transformer({\n point: function(x, y) {\n this.stream.point(x * kx + tx, y * ky + ty);\n }\n });\n}\n\nexport default function() {\n var k = 1, tx = 0, ty = 0, sx = 1, sy = 1, transform = identity, // scale, translate and reflect\n x0 = null, y0, x1, y1, // clip extent\n postclip = identity,\n cache,\n cacheStream,\n projection;\n\n function reset() {\n cache = cacheStream = null;\n return projection;\n }\n\n return projection = {\n stream: function(stream) {\n return cache && cacheStream === stream ? cache : cache = transform(postclip(cacheStream = stream));\n },\n postclip: function(_) {\n return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip;\n },\n clipExtent: function(_) {\n return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipRectangle(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n },\n scale: function(_) {\n return arguments.length ? (transform = scaleTranslate((k = +_) * sx, k * sy, tx, ty), reset()) : k;\n },\n translate: function(_) {\n return arguments.length ? (transform = scaleTranslate(k * sx, k * sy, tx = +_[0], ty = +_[1]), reset()) : [tx, ty];\n },\n reflectX: function(_) {\n return arguments.length ? (transform = scaleTranslate(k * (sx = _ ? -1 : 1), k * sy, tx, ty), reset()) : sx < 0;\n },\n reflectY: function(_) {\n return arguments.length ? (transform = scaleTranslate(k * sx, k * (sy = _ ? -1 : 1), tx, ty), reset()) : sy < 0;\n },\n fitExtent: function(extent, object) {\n return fitExtent(projection, extent, object);\n },\n fitSize: function(size, object) {\n return fitSize(projection, size, object);\n },\n fitWidth: function(width, object) {\n return fitWidth(projection, width, object);\n },\n fitHeight: function(height, object) {\n return fitHeight(projection, height, object);\n }\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "name": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "index": 295, "index2": 291, "size": 1046, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/naturalEarth1.js", "loc": "28:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/naturalEarth1.js", "loc": "28:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/naturalEarth1.js", "loc": "28:0-115" } ], "usedExports": [ "default", "naturalEarth1Raw" ], "providedExports": [ "naturalEarth1Raw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import projection from \"./index.js\";\nimport {abs, epsilon} from \"../math.js\";\n\nexport function naturalEarth1Raw(lambda, phi) {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n return [\n lambda * (0.8707 - 0.131979 * phi2 + phi4 * (-0.013791 + phi4 * (0.003971 * phi2 - 0.001529 * phi4))),\n phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4)))\n ];\n}\n\nnaturalEarth1Raw.invert = function(x, y) {\n var phi = y, i = 25, delta;\n do {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n phi -= delta = (phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4))) - y) /\n (1.007226 + phi2 * (0.015085 * 3 + phi4 * (-0.044475 * 7 + 0.028874 * 9 * phi2 - 0.005916 * 11 * phi4)));\n } while (abs(delta) > epsilon && --i > 0);\n return [\n x / (0.8707 + (phi2 = phi * phi) * (-0.131979 + phi2 * (-0.013791 + phi2 * phi2 * phi2 * (0.003971 - 0.001529 * phi2)))),\n phi\n ];\n};\n\nexport default function() {\n return projection(naturalEarth1Raw)\n .scale(175.295);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "name": "./node_modules/d3-geo/src/projection/orthographic.js", "index": 296, "index2": 292, "size": 385, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/orthographic.js", "loc": "29:0-111" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/orthographic.js", "loc": "29:0-111" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/orthographic.js", "loc": "29:0-111" } ], "usedExports": [ "default", "orthographicRaw" ], "providedExports": [ "orthographicRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {asin, cos, epsilon, sin} from \"../math.js\";\nimport {azimuthalInvert} from \"./azimuthal.js\";\nimport projection from \"./index.js\";\n\nexport function orthographicRaw(x, y) {\n return [cos(y) * sin(x), sin(y)];\n}\n\northographicRaw.invert = azimuthalInvert(asin);\n\nexport default function() {\n return projection(orthographicRaw)\n .scale(249.5)\n .clipAngle(90 + epsilon);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "name": "./node_modules/d3-geo/src/projection/stereographic.js", "index": 297, "index2": 293, "size": 445, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/stereographic.js", "loc": "30:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/stereographic.js", "loc": "30:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/stereographic.js", "loc": "30:0-115" } ], "usedExports": [ "default", "stereographicRaw" ], "providedExports": [ "stereographicRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {atan, cos, sin} from \"../math.js\";\nimport {azimuthalInvert} from \"./azimuthal.js\";\nimport projection from \"./index.js\";\n\nexport function stereographicRaw(x, y) {\n var cy = cos(y), k = 1 + cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n}\n\nstereographicRaw.invert = azimuthalInvert(function(z) {\n return 2 * atan(z);\n});\n\nexport default function() {\n return projection(stereographicRaw)\n .scale(250)\n .clipAngle(142);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "name": "./node_modules/d3-geo/src/projection/transverseMercator.js", "index": 298, "index2": 294, "size": 768, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/transverseMercator.js", "loc": "31:0-135" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/transverseMercator.js", "loc": "31:0-135" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/transverseMercator.js", "loc": "31:0-135" } ], "usedExports": [ "default", "transverseMercatorRaw" ], "providedExports": [ "transverseMercatorRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {atan, exp, halfPi, log, tan} from \"../math.js\";\nimport {mercatorProjection} from \"./mercator.js\";\n\nexport function transverseMercatorRaw(lambda, phi) {\n return [log(tan((halfPi + phi) / 2)), -lambda];\n}\n\ntransverseMercatorRaw.invert = function(x, y) {\n return [-y, 2 * atan(exp(x)) - halfPi];\n};\n\nexport default function() {\n var m = mercatorProjection(transverseMercatorRaw),\n center = m.center,\n rotate = m.rotate;\n\n m.center = function(_) {\n return arguments.length ? center([-_[1], _[0]]) : (_ = center(), [_[1], -_[0]]);\n };\n\n m.rotate = function(_) {\n return arguments.length ? rotate([_[0], _[1], _.length > 2 ? _[2] + 90 : 90]) : (_ = rotate(), [_[0], _[1], _[2] - 90]);\n };\n\n return rotate([0, 0, 90])\n .scale(159.155);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/cluster.js", "name": "./node_modules/d3-hierarchy/src/cluster.js", "index": 300, "index2": 296, "size": 2093, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cluster.js", "loc": "1:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cluster.js", "loc": "1:0-48" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function defaultSeparation(a, b) {\n return a.parent === b.parent ? 1 : 2;\n}\n\nfunction meanX(children) {\n return children.reduce(meanXReduce, 0) / children.length;\n}\n\nfunction meanXReduce(x, c) {\n return x + c.x;\n}\n\nfunction maxY(children) {\n return 1 + children.reduce(maxYReduce, 0);\n}\n\nfunction maxYReduce(y, c) {\n return Math.max(y, c.y);\n}\n\nfunction leafLeft(node) {\n var children;\n while (children = node.children) node = children[0];\n return node;\n}\n\nfunction leafRight(node) {\n var children;\n while (children = node.children) node = children[children.length - 1];\n return node;\n}\n\nexport default function() {\n var separation = defaultSeparation,\n dx = 1,\n dy = 1,\n nodeSize = false;\n\n function cluster(root) {\n var previousNode,\n x = 0;\n\n // First walk, computing the initial x & y values.\n root.eachAfter(function(node) {\n var children = node.children;\n if (children) {\n node.x = meanX(children);\n node.y = maxY(children);\n } else {\n node.x = previousNode ? x += separation(node, previousNode) : 0;\n node.y = 0;\n previousNode = node;\n }\n });\n\n var left = leafLeft(root),\n right = leafRight(root),\n x0 = left.x - separation(left, right) / 2,\n x1 = right.x + separation(right, left) / 2;\n\n // Second walk, normalizing x & y to the desired size.\n return root.eachAfter(nodeSize ? function(node) {\n node.x = (node.x - root.x) * dx;\n node.y = (root.y - node.y) * dy;\n } : function(node) {\n node.x = (node.x - x0) / (x1 - x0) * dx;\n node.y = (1 - (root.y ? node.y / root.y : 1)) * dy;\n });\n }\n\n cluster.separation = function(x) {\n return arguments.length ? (separation = x, cluster) : separation;\n };\n\n cluster.size = function(x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? null : [dx, dy]);\n };\n\n cluster.nodeSize = function(x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? [dx, dy] : null);\n };\n\n return cluster;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "index": 301, "index2": 308, "size": 1907, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/tree.js", "module": "./node_modules/d3-hierarchy/src/tree.js", "moduleName": "./node_modules/d3-hierarchy/src/tree.js", "type": "harmony side effect evaluation", "userRequest": "./hierarchy/index.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hierarchy/index.js", "loc": "2:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hierarchy/index.js", "loc": "2:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony side effect evaluation", "userRequest": "./hierarchy/index.js", "loc": "2:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony import specifier", "userRequest": "./hierarchy/index.js", "loc": "33:41-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony import specifier", "userRequest": "./hierarchy/index.js", "loc": "57:92-105" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/tree.js", "module": "./node_modules/d3-hierarchy/src/tree.js", "moduleName": "./node_modules/d3-hierarchy/src/tree.js", "type": "harmony import specifier", "userRequest": "./hierarchy/index.js", "loc": "74:35-39" } ], "usedExports": [ "default", "Node", "computeHeight" ], "providedExports": [ "default", "computeHeight", "Node" ], "optimizationBailout": [], "depth": 4, "source": "import node_count from \"./count.js\";\nimport node_each from \"./each.js\";\nimport node_eachBefore from \"./eachBefore.js\";\nimport node_eachAfter from \"./eachAfter.js\";\nimport node_sum from \"./sum.js\";\nimport node_sort from \"./sort.js\";\nimport node_path from \"./path.js\";\nimport node_ancestors from \"./ancestors.js\";\nimport node_descendants from \"./descendants.js\";\nimport node_leaves from \"./leaves.js\";\nimport node_links from \"./links.js\";\n\nexport default function hierarchy(data, children) {\n var root = new Node(data),\n valued = +data.value && (root.value = data.value),\n node,\n nodes = [root],\n child,\n childs,\n i,\n n;\n\n if (children == null) children = defaultChildren;\n\n while (node = nodes.pop()) {\n if (valued) node.value = +node.data.value;\n if ((childs = children(node.data)) && (n = childs.length)) {\n node.children = new Array(n);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new Node(childs[i]));\n child.parent = node;\n child.depth = node.depth + 1;\n }\n }\n }\n\n return root.eachBefore(computeHeight);\n}\n\nfunction node_copy() {\n return hierarchy(this).eachBefore(copyData);\n}\n\nfunction defaultChildren(d) {\n return d.children;\n}\n\nfunction copyData(node) {\n node.data = node.data.data;\n}\n\nexport function computeHeight(node) {\n var height = 0;\n do node.height = height;\n while ((node = node.parent) && (node.height < ++height));\n}\n\nexport function Node(data) {\n this.data = data;\n this.depth =\n this.height = 0;\n this.parent = null;\n}\n\nNode.prototype = hierarchy.prototype = {\n constructor: Node,\n count: node_count,\n each: node_each,\n eachAfter: node_eachAfter,\n eachBefore: node_eachBefore,\n sum: node_sum,\n sort: node_sort,\n path: node_path,\n ancestors: node_ancestors,\n descendants: node_descendants,\n leaves: node_leaves,\n links: node_links,\n copy: node_copy\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "name": "./node_modules/d3-hierarchy/src/pack/enclose.js", "index": 317, "index2": 312, "size": 2979, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/siblings.js", "module": "./node_modules/d3-hierarchy/src/pack/siblings.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/siblings.js", "type": "harmony side effect evaluation", "userRequest": "./enclose.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pack/enclose.js", "loc": "5:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pack/enclose.js", "loc": "5:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/siblings.js", "module": "./node_modules/d3-hierarchy/src/pack/siblings.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/siblings.js", "type": "harmony import specifier", "userRequest": "./enclose.js", "loc": "107:64-71" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {shuffle, slice} from \"../array.js\";\n\nexport default function(circles) {\n var i = 0, n = (circles = shuffle(slice.call(circles))).length, B = [], p, e;\n\n while (i < n) {\n p = circles[i];\n if (e && enclosesWeak(e, p)) ++i;\n else e = encloseBasis(B = extendBasis(B, p)), i = 0;\n }\n\n return e;\n}\n\nfunction extendBasis(B, p) {\n var i, j;\n\n if (enclosesWeakAll(p, B)) return [p];\n\n // If we get here then B must have at least one element.\n for (i = 0; i < B.length; ++i) {\n if (enclosesNot(p, B[i])\n && enclosesWeakAll(encloseBasis2(B[i], p), B)) {\n return [B[i], p];\n }\n }\n\n // If we get here then B must have at least two elements.\n for (i = 0; i < B.length - 1; ++i) {\n for (j = i + 1; j < B.length; ++j) {\n if (enclosesNot(encloseBasis2(B[i], B[j]), p)\n && enclosesNot(encloseBasis2(B[i], p), B[j])\n && enclosesNot(encloseBasis2(B[j], p), B[i])\n && enclosesWeakAll(encloseBasis3(B[i], B[j], p), B)) {\n return [B[i], B[j], p];\n }\n }\n }\n\n // If we get here then something is very wrong.\n throw new Error;\n}\n\nfunction enclosesNot(a, b) {\n var dr = a.r - b.r, dx = b.x - a.x, dy = b.y - a.y;\n return dr < 0 || dr * dr < dx * dx + dy * dy;\n}\n\nfunction enclosesWeak(a, b) {\n var dr = a.r - b.r + 1e-6, dx = b.x - a.x, dy = b.y - a.y;\n return dr > 0 && dr * dr > dx * dx + dy * dy;\n}\n\nfunction enclosesWeakAll(a, B) {\n for (var i = 0; i < B.length; ++i) {\n if (!enclosesWeak(a, B[i])) {\n return false;\n }\n }\n return true;\n}\n\nfunction encloseBasis(B) {\n switch (B.length) {\n case 1: return encloseBasis1(B[0]);\n case 2: return encloseBasis2(B[0], B[1]);\n case 3: return encloseBasis3(B[0], B[1], B[2]);\n }\n}\n\nfunction encloseBasis1(a) {\n return {\n x: a.x,\n y: a.y,\n r: a.r\n };\n}\n\nfunction encloseBasis2(a, b) {\n var x1 = a.x, y1 = a.y, r1 = a.r,\n x2 = b.x, y2 = b.y, r2 = b.r,\n x21 = x2 - x1, y21 = y2 - y1, r21 = r2 - r1,\n l = Math.sqrt(x21 * x21 + y21 * y21);\n return {\n x: (x1 + x2 + x21 / l * r21) / 2,\n y: (y1 + y2 + y21 / l * r21) / 2,\n r: (l + r1 + r2) / 2\n };\n}\n\nfunction encloseBasis3(a, b, c) {\n var x1 = a.x, y1 = a.y, r1 = a.r,\n x2 = b.x, y2 = b.y, r2 = b.r,\n x3 = c.x, y3 = c.y, r3 = c.r,\n a2 = x1 - x2,\n a3 = x1 - x3,\n b2 = y1 - y2,\n b3 = y1 - y3,\n c2 = r2 - r1,\n c3 = r3 - r1,\n d1 = x1 * x1 + y1 * y1 - r1 * r1,\n d2 = d1 - x2 * x2 - y2 * y2 + r2 * r2,\n d3 = d1 - x3 * x3 - y3 * y3 + r3 * r3,\n ab = a3 * b2 - a2 * b3,\n xa = (b2 * d3 - b3 * d2) / (ab * 2) - x1,\n xb = (b3 * c2 - b2 * c3) / ab,\n ya = (a3 * d2 - a2 * d3) / (ab * 2) - y1,\n yb = (a2 * c3 - a3 * c2) / ab,\n A = xb * xb + yb * yb - 1,\n B = 2 * (r1 + xa * xb + ya * yb),\n C = xa * xa + ya * ya - r1 * r1,\n r = -(A ? (B + Math.sqrt(B * B - 4 * A * C)) / (2 * A) : C / B);\n return {\n x: x1 + xa + xb * r,\n y: y1 + ya + yb * r,\n r: r\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/siblings.js", "name": "./node_modules/d3-hierarchy/src/pack/siblings.js", "index": 316, "index2": 313, "size": 3170, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony side effect evaluation", "userRequest": "./siblings.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pack/siblings.js", "loc": "4:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pack/siblings.js", "loc": "4:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony import specifier", "userRequest": "./siblings.js", "loc": "63:10-21" } ], "usedExports": [ "default", "packEnclose" ], "providedExports": [ "packEnclose", "default" ], "optimizationBailout": [], "depth": 4, "source": "import enclose from \"./enclose.js\";\n\nfunction place(b, a, c) {\n var dx = b.x - a.x, x, a2,\n dy = b.y - a.y, y, b2,\n d2 = dx * dx + dy * dy;\n if (d2) {\n a2 = a.r + c.r, a2 *= a2;\n b2 = b.r + c.r, b2 *= b2;\n if (a2 > b2) {\n x = (d2 + b2 - a2) / (2 * d2);\n y = Math.sqrt(Math.max(0, b2 / d2 - x * x));\n c.x = b.x - x * dx - y * dy;\n c.y = b.y - x * dy + y * dx;\n } else {\n x = (d2 + a2 - b2) / (2 * d2);\n y = Math.sqrt(Math.max(0, a2 / d2 - x * x));\n c.x = a.x + x * dx - y * dy;\n c.y = a.y + x * dy + y * dx;\n }\n } else {\n c.x = a.x + c.r;\n c.y = a.y;\n }\n}\n\nfunction intersects(a, b) {\n var dr = a.r + b.r - 1e-6, dx = b.x - a.x, dy = b.y - a.y;\n return dr > 0 && dr * dr > dx * dx + dy * dy;\n}\n\nfunction score(node) {\n var a = node._,\n b = node.next._,\n ab = a.r + b.r,\n dx = (a.x * b.r + b.x * a.r) / ab,\n dy = (a.y * b.r + b.y * a.r) / ab;\n return dx * dx + dy * dy;\n}\n\nfunction Node(circle) {\n this._ = circle;\n this.next = null;\n this.previous = null;\n}\n\nexport function packEnclose(circles) {\n if (!(n = circles.length)) return 0;\n\n var a, b, c, n, aa, ca, i, j, k, sj, sk;\n\n // Place the first circle.\n a = circles[0], a.x = 0, a.y = 0;\n if (!(n > 1)) return a.r;\n\n // Place the second circle.\n b = circles[1], a.x = -b.r, b.x = a.r, b.y = 0;\n if (!(n > 2)) return a.r + b.r;\n\n // Place the third circle.\n place(b, a, c = circles[2]);\n\n // Initialize the front-chain using the first three circles a, b and c.\n a = new Node(a), b = new Node(b), c = new Node(c);\n a.next = c.previous = b;\n b.next = a.previous = c;\n c.next = b.previous = a;\n\n // Attempt to place each remaining circle…\n pack: for (i = 3; i < n; ++i) {\n place(a._, b._, c = circles[i]), c = new Node(c);\n\n // Find the closest intersecting circle on the front-chain, if any.\n // “Closeness” is determined by linear distance along the front-chain.\n // “Ahead” or “behind” is likewise determined by linear distance.\n j = b.next, k = a.previous, sj = b._.r, sk = a._.r;\n do {\n if (sj <= sk) {\n if (intersects(j._, c._)) {\n b = j, a.next = b, b.previous = a, --i;\n continue pack;\n }\n sj += j._.r, j = j.next;\n } else {\n if (intersects(k._, c._)) {\n a = k, a.next = b, b.previous = a, --i;\n continue pack;\n }\n sk += k._.r, k = k.previous;\n }\n } while (j !== k.next);\n\n // Success! Insert the new circle c between a and b.\n c.previous = a, c.next = b, a.next = b.previous = b = c;\n\n // Compute the new closest circle pair to the centroid.\n aa = score(a);\n while ((c = c.next) !== b) {\n if ((ca = score(c)) < aa) {\n a = c, aa = ca;\n }\n }\n b = a.next;\n }\n\n // Compute the enclosing circle of the front chain.\n a = [b._], c = b; while ((c = c.next) !== b) a.push(c._); c = enclose(a);\n\n // Translate the circles to put the enclosing circle around the origin.\n for (i = 0; i < n; ++i) a = circles[i], a.x -= c.x, a.y -= c.y;\n\n return c.r;\n}\n\nexport default function(circles) {\n packEnclose(circles);\n return circles;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "name": "./node_modules/d3-hierarchy/src/pack/index.js", "index": 313, "index2": 314, "size": 1926, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pack/index.js", "loc": "3:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pack/index.js", "loc": "3:0-48" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {packEnclose} from \"./siblings.js\";\nimport {optional} from \"../accessors.js\";\nimport constant, {constantZero} from \"../constant.js\";\n\nfunction defaultRadius(d) {\n return Math.sqrt(d.value);\n}\n\nexport default function() {\n var radius = null,\n dx = 1,\n dy = 1,\n padding = constantZero;\n\n function pack(root) {\n root.x = dx / 2, root.y = dy / 2;\n if (radius) {\n root.eachBefore(radiusLeaf(radius))\n .eachAfter(packChildren(padding, 0.5))\n .eachBefore(translateChild(1));\n } else {\n root.eachBefore(radiusLeaf(defaultRadius))\n .eachAfter(packChildren(constantZero, 1))\n .eachAfter(packChildren(padding, root.r / Math.min(dx, dy)))\n .eachBefore(translateChild(Math.min(dx, dy) / (2 * root.r)));\n }\n return root;\n }\n\n pack.radius = function(x) {\n return arguments.length ? (radius = optional(x), pack) : radius;\n };\n\n pack.size = function(x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], pack) : [dx, dy];\n };\n\n pack.padding = function(x) {\n return arguments.length ? (padding = typeof x === \"function\" ? x : constant(+x), pack) : padding;\n };\n\n return pack;\n}\n\nfunction radiusLeaf(radius) {\n return function(node) {\n if (!node.children) {\n node.r = Math.max(0, +radius(node) || 0);\n }\n };\n}\n\nfunction packChildren(padding, k) {\n return function(node) {\n if (children = node.children) {\n var children,\n i,\n n = children.length,\n r = padding(node) * k || 0,\n e;\n\n if (r) for (i = 0; i < n; ++i) children[i].r += r;\n e = packEnclose(children);\n if (r) for (i = 0; i < n; ++i) children[i].r -= r;\n node.r = e + r;\n }\n };\n}\n\nfunction translateChild(k) {\n return function(node) {\n var parent = node.parent;\n node.r *= k;\n if (parent) {\n node.x = parent.x + k * node.x;\n node.y = parent.y + k * node.y;\n }\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/dice.js", "name": "./node_modules/d3-hierarchy/src/treemap/dice.js", "index": 321, "index2": 316, "size": 309, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony side effect evaluation", "userRequest": "./dice.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/squarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "type": "harmony side effect evaluation", "userRequest": "./dice.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/sliceDice.js", "module": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "type": "harmony side effect evaluation", "userRequest": "./dice.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/partition.js", "module": "./node_modules/d3-hierarchy/src/partition.js", "moduleName": "./node_modules/d3-hierarchy/src/partition.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/dice.js", "loc": "2:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/sliceDice.js", "module": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "type": "harmony import specifier", "userRequest": "./dice.js", "loc": "5:30-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/dice.js", "loc": "11:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/dice.js", "loc": "11:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony import specifier", "userRequest": "./dice.js", "loc": "21:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/partition.js", "module": "./node_modules/d3-hierarchy/src/partition.js", "moduleName": "./node_modules/d3-hierarchy/src/partition.js", "type": "harmony import specifier", "userRequest": "./treemap/dice.js", "loc": "24:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/squarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "type": "harmony import specifier", "userRequest": "./dice.js", "loc": "47:18-29" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(parent, x0, y0, x1, y1) {\n var nodes = parent.children,\n node,\n i = -1,\n n = nodes.length,\n k = parent.value && (x1 - x0) / parent.value;\n\n while (++i < n) {\n node = nodes[i], node.y0 = y0, node.y1 = y1;\n node.x0 = x0, node.x1 = x0 += node.value * k;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/partition.js", "name": "./node_modules/d3-hierarchy/src/partition.js", "index": 319, "index2": 317, "size": 1272, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./partition.js", "loc": "6:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./partition.js", "loc": "6:0-52" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import roundNode from \"./treemap/round.js\";\nimport treemapDice from \"./treemap/dice.js\";\n\nexport default function() {\n var dx = 1,\n dy = 1,\n padding = 0,\n round = false;\n\n function partition(root) {\n var n = root.height + 1;\n root.x0 =\n root.y0 = padding;\n root.x1 = dx;\n root.y1 = dy / n;\n root.eachBefore(positionNode(dy, n));\n if (round) root.eachBefore(roundNode);\n return root;\n }\n\n function positionNode(dy, n) {\n return function(node) {\n if (node.children) {\n treemapDice(node, node.x0, dy * (node.depth + 1) / n, node.x1, dy * (node.depth + 2) / n);\n }\n var x0 = node.x0,\n y0 = node.y0,\n x1 = node.x1 - padding,\n y1 = node.y1 - padding;\n if (x1 < x0) x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0) y0 = y1 = (y0 + y1) / 2;\n node.x0 = x0;\n node.y0 = y0;\n node.x1 = x1;\n node.y1 = y1;\n };\n }\n\n partition.round = function(x) {\n return arguments.length ? (round = !!x, partition) : round;\n };\n\n partition.size = function(x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], partition) : [dx, dy];\n };\n\n partition.padding = function(x) {\n return arguments.length ? (padding = +x, partition) : padding;\n };\n\n return partition;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "name": "./node_modules/d3-hierarchy/src/stratify.js", "index": 322, "index2": 318, "size": 1940, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./stratify.js", "loc": "7:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./stratify.js", "loc": "7:0-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {required} from \"./accessors.js\";\nimport {Node, computeHeight} from \"./hierarchy/index.js\";\n\nvar keyPrefix = \"$\", // Protect against keys like “__proto__”.\n preroot = {depth: -1},\n ambiguous = {};\n\nfunction defaultId(d) {\n return d.id;\n}\n\nfunction defaultParentId(d) {\n return d.parentId;\n}\n\nexport default function() {\n var id = defaultId,\n parentId = defaultParentId;\n\n function stratify(data) {\n var d,\n i,\n n = data.length,\n root,\n parent,\n node,\n nodes = new Array(n),\n nodeId,\n nodeKey,\n nodeByKey = {};\n\n for (i = 0; i < n; ++i) {\n d = data[i], node = nodes[i] = new Node(d);\n if ((nodeId = id(d, i, data)) != null && (nodeId += \"\")) {\n nodeKey = keyPrefix + (node.id = nodeId);\n nodeByKey[nodeKey] = nodeKey in nodeByKey ? ambiguous : node;\n }\n }\n\n for (i = 0; i < n; ++i) {\n node = nodes[i], nodeId = parentId(data[i], i, data);\n if (nodeId == null || !(nodeId += \"\")) {\n if (root) throw new Error(\"multiple roots\");\n root = node;\n } else {\n parent = nodeByKey[keyPrefix + nodeId];\n if (!parent) throw new Error(\"missing: \" + nodeId);\n if (parent === ambiguous) throw new Error(\"ambiguous: \" + nodeId);\n if (parent.children) parent.children.push(node);\n else parent.children = [node];\n node.parent = parent;\n }\n }\n\n if (!root) throw new Error(\"no root\");\n root.parent = preroot;\n root.eachBefore(function(node) { node.depth = node.parent.depth + 1; --n; }).eachBefore(computeHeight);\n root.parent = null;\n if (n > 0) throw new Error(\"cycle\");\n\n return root;\n }\n\n stratify.id = function(x) {\n return arguments.length ? (id = required(x), stratify) : id;\n };\n\n stratify.parentId = function(x) {\n return arguments.length ? (parentId = required(x), stratify) : parentId;\n };\n\n return stratify;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/tree.js", "name": "./node_modules/d3-hierarchy/src/tree.js", "index": 323, "index2": 319, "size": 7063, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./tree.js", "loc": "8:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tree.js", "loc": "8:0-42" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Node} from \"./hierarchy/index.js\";\n\nfunction defaultSeparation(a, b) {\n return a.parent === b.parent ? 1 : 2;\n}\n\n// function radialSeparation(a, b) {\n// return (a.parent === b.parent ? 1 : 2) / a.depth;\n// }\n\n// This function is used to traverse the left contour of a subtree (or\n// subforest). It returns the successor of v on this contour. This successor is\n// either given by the leftmost child of v or by the thread of v. The function\n// returns null if and only if v is on the highest level of its subtree.\nfunction nextLeft(v) {\n var children = v.children;\n return children ? children[0] : v.t;\n}\n\n// This function works analogously to nextLeft.\nfunction nextRight(v) {\n var children = v.children;\n return children ? children[children.length - 1] : v.t;\n}\n\n// Shifts the current subtree rooted at w+. This is done by increasing\n// prelim(w+) and mod(w+) by shift.\nfunction moveSubtree(wm, wp, shift) {\n var change = shift / (wp.i - wm.i);\n wp.c -= change;\n wp.s += shift;\n wm.c += change;\n wp.z += shift;\n wp.m += shift;\n}\n\n// All other shifts, applied to the smaller subtrees between w- and w+, are\n// performed by this function. To prepare the shifts, we have to adjust\n// change(w+), shift(w+), and change(w-).\nfunction executeShifts(v) {\n var shift = 0,\n change = 0,\n children = v.children,\n i = children.length,\n w;\n while (--i >= 0) {\n w = children[i];\n w.z += shift;\n w.m += shift;\n shift += w.s + (change += w.c);\n }\n}\n\n// If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,\n// returns the specified (default) ancestor.\nfunction nextAncestor(vim, v, ancestor) {\n return vim.a.parent === v.parent ? vim.a : ancestor;\n}\n\nfunction TreeNode(node, i) {\n this._ = node;\n this.parent = null;\n this.children = null;\n this.A = null; // default ancestor\n this.a = this; // ancestor\n this.z = 0; // prelim\n this.m = 0; // mod\n this.c = 0; // change\n this.s = 0; // shift\n this.t = null; // thread\n this.i = i; // number\n}\n\nTreeNode.prototype = Object.create(Node.prototype);\n\nfunction treeRoot(root) {\n var tree = new TreeNode(root, 0),\n node,\n nodes = [tree],\n child,\n children,\n i,\n n;\n\n while (node = nodes.pop()) {\n if (children = node._.children) {\n node.children = new Array(n = children.length);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new TreeNode(children[i], i));\n child.parent = node;\n }\n }\n }\n\n (tree.parent = new TreeNode(null, 0)).children = [tree];\n return tree;\n}\n\n// Node-link tree diagram using the Reingold-Tilford \"tidy\" algorithm\nexport default function() {\n var separation = defaultSeparation,\n dx = 1,\n dy = 1,\n nodeSize = null;\n\n function tree(root) {\n var t = treeRoot(root);\n\n // Compute the layout using Buchheim et al.’s algorithm.\n t.eachAfter(firstWalk), t.parent.m = -t.z;\n t.eachBefore(secondWalk);\n\n // If a fixed node size is specified, scale x and y.\n if (nodeSize) root.eachBefore(sizeNode);\n\n // If a fixed tree size is specified, scale x and y based on the extent.\n // Compute the left-most, right-most, and depth-most nodes for extents.\n else {\n var left = root,\n right = root,\n bottom = root;\n root.eachBefore(function(node) {\n if (node.x < left.x) left = node;\n if (node.x > right.x) right = node;\n if (node.depth > bottom.depth) bottom = node;\n });\n var s = left === right ? 1 : separation(left, right) / 2,\n tx = s - left.x,\n kx = dx / (right.x + s + tx),\n ky = dy / (bottom.depth || 1);\n root.eachBefore(function(node) {\n node.x = (node.x + tx) * kx;\n node.y = node.depth * ky;\n });\n }\n\n return root;\n }\n\n // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is\n // applied recursively to the children of v, as well as the function\n // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the\n // node v is placed to the midpoint of its outermost children.\n function firstWalk(v) {\n var children = v.children,\n siblings = v.parent.children,\n w = v.i ? siblings[v.i - 1] : null;\n if (children) {\n executeShifts(v);\n var midpoint = (children[0].z + children[children.length - 1].z) / 2;\n if (w) {\n v.z = w.z + separation(v._, w._);\n v.m = v.z - midpoint;\n } else {\n v.z = midpoint;\n }\n } else if (w) {\n v.z = w.z + separation(v._, w._);\n }\n v.parent.A = apportion(v, w, v.parent.A || siblings[0]);\n }\n\n // Computes all real x-coordinates by summing up the modifiers recursively.\n function secondWalk(v) {\n v._.x = v.z + v.parent.m;\n v.m += v.parent.m;\n }\n\n // The core of the algorithm. Here, a new subtree is combined with the\n // previous subtrees. Threads are used to traverse the inside and outside\n // contours of the left and right subtree up to the highest common level. The\n // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the\n // superscript o means outside and i means inside, the subscript - means left\n // subtree and + means right subtree. For summing up the modifiers along the\n // contour, we use respective variables si+, si-, so-, and so+. Whenever two\n // nodes of the inside contours conflict, we compute the left one of the\n // greatest uncommon ancestors using the function ANCESTOR and call MOVE\n // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.\n // Finally, we add a new thread (if necessary).\n function apportion(v, w, ancestor) {\n if (w) {\n var vip = v,\n vop = v,\n vim = w,\n vom = vip.parent.children[0],\n sip = vip.m,\n sop = vop.m,\n sim = vim.m,\n som = vom.m,\n shift;\n while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {\n vom = nextLeft(vom);\n vop = nextRight(vop);\n vop.a = v;\n shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);\n if (shift > 0) {\n moveSubtree(nextAncestor(vim, v, ancestor), v, shift);\n sip += shift;\n sop += shift;\n }\n sim += vim.m;\n sip += vip.m;\n som += vom.m;\n sop += vop.m;\n }\n if (vim && !nextRight(vop)) {\n vop.t = vim;\n vop.m += sim - sop;\n }\n if (vip && !nextLeft(vom)) {\n vom.t = vip;\n vom.m += sip - som;\n ancestor = v;\n }\n }\n return ancestor;\n }\n\n function sizeNode(node) {\n node.x *= dx;\n node.y = node.depth * dy;\n }\n\n tree.separation = function(x) {\n return arguments.length ? (separation = x, tree) : separation;\n };\n\n tree.size = function(x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : (nodeSize ? null : [dx, dy]);\n };\n\n tree.nodeSize = function(x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : (nodeSize ? [dx, dy] : null);\n };\n\n return tree;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/slice.js", "name": "./node_modules/d3-hierarchy/src/treemap/slice.js", "index": 326, "index2": 320, "size": 309, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony side effect evaluation", "userRequest": "./slice.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/squarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "type": "harmony side effect evaluation", "userRequest": "./slice.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/sliceDice.js", "module": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "type": "harmony side effect evaluation", "userRequest": "./slice.js", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/sliceDice.js", "module": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "type": "harmony import specifier", "userRequest": "./slice.js", "loc": "5:22-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/slice.js", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/slice.js", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony import specifier", "userRequest": "./slice.js", "loc": "22:13-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/squarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "type": "harmony import specifier", "userRequest": "./slice.js", "loc": "48:9-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(parent, x0, y0, x1, y1) {\n var nodes = parent.children,\n node,\n i = -1,\n n = nodes.length,\n k = parent.value && (y1 - y0) / parent.value;\n\n while (++i < n) {\n node = nodes[i], node.x0 = x0, node.x1 = x1;\n node.y0 = y0, node.y1 = y0 += node.value * k;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/squarify.js", "name": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "index": 325, "index2": 321, "size": 1874, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony side effect evaluation", "userRequest": "./squarify.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony side effect evaluation", "userRequest": "./squarify.js", "loc": "3:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "./squarify.js", "loc": "7:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/squarify.js", "loc": "14:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/squarify.js", "loc": "14:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony import specifier", "userRequest": "./squarify.js", "loc": "26:32-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony import specifier", "userRequest": "./squarify.js", "loc": "36:3-6" } ], "usedExports": [ "default", "squarifyRatio", "phi" ], "providedExports": [ "phi", "squarifyRatio", "default" ], "optimizationBailout": [], "depth": 4, "source": "import treemapDice from \"./dice.js\";\nimport treemapSlice from \"./slice.js\";\n\nexport var phi = (1 + Math.sqrt(5)) / 2;\n\nexport function squarifyRatio(ratio, parent, x0, y0, x1, y1) {\n var rows = [],\n nodes = parent.children,\n row,\n nodeValue,\n i0 = 0,\n i1 = 0,\n n = nodes.length,\n dx, dy,\n value = parent.value,\n sumValue,\n minValue,\n maxValue,\n newRatio,\n minRatio,\n alpha,\n beta;\n\n while (i0 < n) {\n dx = x1 - x0, dy = y1 - y0;\n\n // Find the next non-empty node.\n do sumValue = nodes[i1++].value; while (!sumValue && i1 < n);\n minValue = maxValue = sumValue;\n alpha = Math.max(dy / dx, dx / dy) / (value * ratio);\n beta = sumValue * sumValue * alpha;\n minRatio = Math.max(maxValue / beta, beta / minValue);\n\n // Keep adding nodes while the aspect ratio maintains or improves.\n for (; i1 < n; ++i1) {\n sumValue += nodeValue = nodes[i1].value;\n if (nodeValue < minValue) minValue = nodeValue;\n if (nodeValue > maxValue) maxValue = nodeValue;\n beta = sumValue * sumValue * alpha;\n newRatio = Math.max(maxValue / beta, beta / minValue);\n if (newRatio > minRatio) { sumValue -= nodeValue; break; }\n minRatio = newRatio;\n }\n\n // Position and record the row orientation.\n rows.push(row = {value: sumValue, dice: dx < dy, children: nodes.slice(i0, i1)});\n if (row.dice) treemapDice(row, x0, y0, x1, value ? y0 += dy * sumValue / value : y1);\n else treemapSlice(row, x0, y0, value ? x0 += dx * sumValue / value : x1, y1);\n value -= sumValue, i0 = i1;\n }\n\n return rows;\n}\n\nexport default (function custom(ratio) {\n\n function squarify(parent, x0, y0, x1, y1) {\n squarifyRatio(ratio, parent, x0, y0, x1, y1);\n }\n\n squarify.ratio = function(x) {\n return custom((x = +x) > 1 ? x : 1);\n };\n\n return squarify;\n})(phi);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "name": "./node_modules/d3-hierarchy/src/treemap/index.js", "index": 324, "index2": 322, "size": 2822, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/index.js", "loc": "9:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/index.js", "loc": "9:0-54" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import roundNode from \"./round.js\";\nimport squarify from \"./squarify.js\";\nimport {required} from \"../accessors.js\";\nimport constant, {constantZero} from \"../constant.js\";\n\nexport default function() {\n var tile = squarify,\n round = false,\n dx = 1,\n dy = 1,\n paddingStack = [0],\n paddingInner = constantZero,\n paddingTop = constantZero,\n paddingRight = constantZero,\n paddingBottom = constantZero,\n paddingLeft = constantZero;\n\n function treemap(root) {\n root.x0 =\n root.y0 = 0;\n root.x1 = dx;\n root.y1 = dy;\n root.eachBefore(positionNode);\n paddingStack = [0];\n if (round) root.eachBefore(roundNode);\n return root;\n }\n\n function positionNode(node) {\n var p = paddingStack[node.depth],\n x0 = node.x0 + p,\n y0 = node.y0 + p,\n x1 = node.x1 - p,\n y1 = node.y1 - p;\n if (x1 < x0) x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0) y0 = y1 = (y0 + y1) / 2;\n node.x0 = x0;\n node.y0 = y0;\n node.x1 = x1;\n node.y1 = y1;\n if (node.children) {\n p = paddingStack[node.depth + 1] = paddingInner(node) / 2;\n x0 += paddingLeft(node) - p;\n y0 += paddingTop(node) - p;\n x1 -= paddingRight(node) - p;\n y1 -= paddingBottom(node) - p;\n if (x1 < x0) x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0) y0 = y1 = (y0 + y1) / 2;\n tile(node, x0, y0, x1, y1);\n }\n }\n\n treemap.round = function(x) {\n return arguments.length ? (round = !!x, treemap) : round;\n };\n\n treemap.size = function(x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], treemap) : [dx, dy];\n };\n\n treemap.tile = function(x) {\n return arguments.length ? (tile = required(x), treemap) : tile;\n };\n\n treemap.padding = function(x) {\n return arguments.length ? treemap.paddingInner(x).paddingOuter(x) : treemap.paddingInner();\n };\n\n treemap.paddingInner = function(x) {\n return arguments.length ? (paddingInner = typeof x === \"function\" ? x : constant(+x), treemap) : paddingInner;\n };\n\n treemap.paddingOuter = function(x) {\n return arguments.length ? treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x) : treemap.paddingTop();\n };\n\n treemap.paddingTop = function(x) {\n return arguments.length ? (paddingTop = typeof x === \"function\" ? x : constant(+x), treemap) : paddingTop;\n };\n\n treemap.paddingRight = function(x) {\n return arguments.length ? (paddingRight = typeof x === \"function\" ? x : constant(+x), treemap) : paddingRight;\n };\n\n treemap.paddingBottom = function(x) {\n return arguments.length ? (paddingBottom = typeof x === \"function\" ? x : constant(+x), treemap) : paddingBottom;\n };\n\n treemap.paddingLeft = function(x) {\n return arguments.length ? (paddingLeft = typeof x === \"function\" ? x : constant(+x), treemap) : paddingLeft;\n };\n\n return treemap;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/binary.js", "name": "./node_modules/d3-hierarchy/src/treemap/binary.js", "index": 327, "index2": 323, "size": 1266, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/binary.js", "loc": "10:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/binary.js", "loc": "10:0-61" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(parent, x0, y0, x1, y1) {\n var nodes = parent.children,\n i, n = nodes.length,\n sum, sums = new Array(n + 1);\n\n for (sums[0] = sum = i = 0; i < n; ++i) {\n sums[i + 1] = sum += nodes[i].value;\n }\n\n partition(0, n, parent.value, x0, y0, x1, y1);\n\n function partition(i, j, value, x0, y0, x1, y1) {\n if (i >= j - 1) {\n var node = nodes[i];\n node.x0 = x0, node.y0 = y0;\n node.x1 = x1, node.y1 = y1;\n return;\n }\n\n var valueOffset = sums[i],\n valueTarget = (value / 2) + valueOffset,\n k = i + 1,\n hi = j - 1;\n\n while (k < hi) {\n var mid = k + hi >>> 1;\n if (sums[mid] < valueTarget) k = mid + 1;\n else hi = mid;\n }\n\n if ((valueTarget - sums[k - 1]) < (sums[k] - valueTarget) && i + 1 < k) --k;\n\n var valueLeft = sums[k] - valueOffset,\n valueRight = value - valueLeft;\n\n if ((x1 - x0) > (y1 - y0)) {\n var xk = (x0 * valueRight + x1 * valueLeft) / value;\n partition(i, k, valueLeft, x0, y0, xk, y1);\n partition(k, j, valueRight, xk, y0, x1, y1);\n } else {\n var yk = (y0 * valueRight + y1 * valueLeft) / value;\n partition(i, k, valueLeft, x0, y0, x1, yk);\n partition(k, j, valueRight, x0, yk, x1, y1);\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/sliceDice.js", "name": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "index": 328, "index2": 324, "size": 176, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/sliceDice.js", "loc": "13:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/sliceDice.js", "loc": "13:0-67" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import dice from \"./dice.js\";\nimport slice from \"./slice.js\";\n\nexport default function(parent, x0, y0, x1, y1) {\n (parent.depth & 1 ? slice : dice)(parent, x0, y0, x1, y1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "name": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "index": 329, "index2": 325, "size": 1038, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/resquarify.js", "loc": "15:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/resquarify.js", "loc": "15:0-69" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import treemapDice from \"./dice.js\";\nimport treemapSlice from \"./slice.js\";\nimport {phi, squarifyRatio} from \"./squarify.js\";\n\nexport default (function custom(ratio) {\n\n function resquarify(parent, x0, y0, x1, y1) {\n if ((rows = parent._squarify) && (rows.ratio === ratio)) {\n var rows,\n row,\n nodes,\n i,\n j = -1,\n n,\n m = rows.length,\n value = parent.value;\n\n while (++j < m) {\n row = rows[j], nodes = row.children;\n for (i = row.value = 0, n = nodes.length; i < n; ++i) row.value += nodes[i].value;\n if (row.dice) treemapDice(row, x0, y0, x1, y0 += (y1 - y0) * row.value / value);\n else treemapSlice(row, x0, y0, x0 += (x1 - x0) * row.value / value, y1);\n value -= row.value;\n }\n } else {\n parent._squarify = rows = squarifyRatio(ratio, parent, x0, y0, x1, y1);\n rows.ratio = ratio;\n }\n }\n\n resquarify.ratio = function(x) {\n return custom((x = +x) > 1 ? x : 1);\n };\n\n return resquarify;\n})(phi);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/discrete.js", "name": "./node_modules/d3-interpolate/src/discrete.js", "index": 331, "index2": 327, "size": 154, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./discrete.js", "loc": "6:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./discrete.js", "loc": "6:0-61" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(range) {\n var n = range.length;\n return function(t) {\n return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hue.js", "name": "./node_modules/d3-interpolate/src/hue.js", "index": 332, "index2": 328, "size": 178, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hue.js", "loc": "7:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hue.js", "loc": "7:0-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {hue} from \"./color.js\";\n\nexport default function(a, b) {\n var i = hue(+a, +b);\n return function(t) {\n var x = i(t);\n return x - 360 * Math.floor(x / 360);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/round.js", "name": "./node_modules/d3-interpolate/src/round.js", "index": 333, "index2": 329, "size": 122, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./round.js", "loc": "11:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./round.js", "loc": "11:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "101:48-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n return a = +a, b = +b, function(t) {\n return Math.round(a * (1 - t) + b * t);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/zoom.js", "name": "./node_modules/d3-interpolate/src/zoom.js", "index": 334, "index2": 330, "size": 1387, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./zoom.js", "loc": "14:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./zoom.js", "loc": "14:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "61:20-35" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var rho = Math.SQRT2,\n rho2 = 2,\n rho4 = 4,\n epsilon2 = 1e-12;\n\nfunction cosh(x) {\n return ((x = Math.exp(x)) + 1 / x) / 2;\n}\n\nfunction sinh(x) {\n return ((x = Math.exp(x)) - 1 / x) / 2;\n}\n\nfunction tanh(x) {\n return ((x = Math.exp(2 * x)) - 1) / (x + 1);\n}\n\n// p0 = [ux0, uy0, w0]\n// p1 = [ux1, uy1, w1]\nexport default function(p0, p1) {\n var ux0 = p0[0], uy0 = p0[1], w0 = p0[2],\n ux1 = p1[0], uy1 = p1[1], w1 = p1[2],\n dx = ux1 - ux0,\n dy = uy1 - uy0,\n d2 = dx * dx + dy * dy,\n i,\n S;\n\n // Special case for u0 ≅ u1.\n if (d2 < epsilon2) {\n S = Math.log(w1 / w0) / rho;\n i = function(t) {\n return [\n ux0 + t * dx,\n uy0 + t * dy,\n w0 * Math.exp(rho * t * S)\n ];\n }\n }\n\n // General case.\n else {\n var d1 = Math.sqrt(d2),\n b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),\n b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),\n r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),\n r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);\n S = (r1 - r0) / rho;\n i = function(t) {\n var s = t * S,\n coshr0 = cosh(r0),\n u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));\n return [\n ux0 + u * dx,\n uy0 + u * dy,\n w0 * coshr0 / cosh(rho * s + r0)\n ];\n }\n }\n\n i.duration = S * 1000;\n\n return i;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "name": "./node_modules/d3-interpolate/src/hsl.js", "index": 335, "index2": 331, "size": 550, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hsl.js", "loc": "16:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hsl.js", "loc": "16:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hsl.js", "loc": "16:0-82" } ], "usedExports": [ "default", "hslLong" ], "providedExports": [ "default", "hslLong" ], "optimizationBailout": [], "depth": 4, "source": "import {hsl as colorHsl} from \"d3-color\";\nimport color, {hue} from \"./color.js\";\n\nfunction hsl(hue) {\n return function(start, end) {\n var h = hue((start = colorHsl(start)).h, (end = colorHsl(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n}\n\nexport default hsl(hue);\nexport var hslLong = hsl(color);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "name": "./node_modules/d3-interpolate/src/lab.js", "index": 336, "index2": 332, "size": 450, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./lab.js", "loc": "17:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "17:0-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {lab as colorLab} from \"d3-color\";\nimport color from \"./color.js\";\n\nexport default function lab(start, end) {\n var l = color((start = colorLab(start)).l, (end = colorLab(end)).l),\n a = color(start.a, end.a),\n b = color(start.b, end.b),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.l = l(t);\n start.a = a(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "name": "./node_modules/d3-interpolate/src/hcl.js", "index": 337, "index2": 333, "size": 550, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hcl.js", "loc": "18:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hcl.js", "loc": "18:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hcl.js", "loc": "18:0-82" } ], "usedExports": [ "default", "hclLong" ], "providedExports": [ "default", "hclLong" ], "optimizationBailout": [], "depth": 4, "source": "import {hcl as colorHcl} from \"d3-color\";\nimport color, {hue} from \"./color.js\";\n\nfunction hcl(hue) {\n return function(start, end) {\n var h = hue((start = colorHcl(start)).h, (end = colorHcl(end)).h),\n c = color(start.c, end.c),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.h = h(t);\n start.c = c(t);\n start.l = l(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n}\n\nexport default hcl(hue);\nexport var hclLong = hcl(color);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "name": "./node_modules/d3-interpolate/src/cubehelix.js", "index": 338, "index2": 334, "size": 763, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "4:15-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "4:18-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "6:18-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cubehelix.js", "loc": "19:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubehelix.js", "loc": "19:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubehelix.js", "loc": "19:0-106" } ], "usedExports": [ "cubehelixLong", "default" ], "providedExports": [ "default", "cubehelixLong" ], "optimizationBailout": [], "depth": 4, "source": "import {cubehelix as colorCubehelix} from \"d3-color\";\nimport color, {hue} from \"./color.js\";\n\nfunction cubehelix(hue) {\n return (function cubehelixGamma(y) {\n y = +y;\n\n function cubehelix(start, end) {\n var h = hue((start = colorCubehelix(start)).h, (end = colorCubehelix(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(Math.pow(t, y));\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n cubehelix.gamma = cubehelixGamma;\n\n return cubehelix;\n })(1);\n}\n\nexport default cubehelix(hue);\nexport var cubehelixLong = cubehelix(color);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/piecewise.js", "name": "./node_modules/d3-interpolate/src/piecewise.js", "index": 339, "index2": 335, "size": 310, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./piecewise.js", "loc": "20:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./piecewise.js", "loc": "20:0-52" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function piecewise(interpolate, values) {\n var i = 0, n = values.length - 1, v = values[0], I = new Array(n < 0 ? 0 : n);\n while (i < n) I[i] = interpolate(v, v = values[++i]);\n return function(t) {\n var i = Math.max(0, Math.min(n - 1, Math.floor(t *= n)));\n return I[i](t - i);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/quantize.js", "name": "./node_modules/d3-interpolate/src/quantize.js", "index": 340, "index2": 336, "size": 163, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quantize.js", "loc": "21:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quantize.js", "loc": "21:0-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(interpolator, n) {\n var samples = new Array(n);\n for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1));\n return samples;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/area.js", "name": "./node_modules/d3-polygon/src/area.js", "index": 343, "index2": 339, "size": 243, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 765, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "1:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony export imported specifier", "userRequest": "./area.js", "loc": "1:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(polygon) {\n var i = -1,\n n = polygon.length,\n a,\n b = polygon[n - 1],\n area = 0;\n\n while (++i < n) {\n a = b;\n b = polygon[i];\n area += a[1] * b[0] - a[0] * b[1];\n }\n\n return area / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/centroid.js", "name": "./node_modules/d3-polygon/src/centroid.js", "index": 344, "index2": 340, "size": 346, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 765, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./centroid.js", "loc": "2:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony export imported specifier", "userRequest": "./centroid.js", "loc": "2:0-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(polygon) {\n var i = -1,\n n = polygon.length,\n x = 0,\n y = 0,\n a,\n b = polygon[n - 1],\n c,\n k = 0;\n\n while (++i < n) {\n a = b;\n b = polygon[i];\n k += c = a[0] * b[1] - b[0] * a[1];\n x += (a[0] + b[0]) * c;\n y += (a[1] + b[1]) * c;\n }\n\n return k *= 3, [x / k, y / k];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/hull.js", "name": "./node_modules/d3-polygon/src/hull.js", "index": 345, "index2": 342, "size": 1713, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 765, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hull.js", "loc": "3:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hull.js", "loc": "3:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import cross from \"./cross.js\";\n\nfunction lexicographicOrder(a, b) {\n return a[0] - b[0] || a[1] - b[1];\n}\n\n// Computes the upper convex hull per the monotone chain algorithm.\n// Assumes points.length >= 3, is sorted by x, unique in y.\n// Returns an array of indices into points in left-to-right order.\nfunction computeUpperHullIndexes(points) {\n var n = points.length,\n indexes = [0, 1],\n size = 2;\n\n for (var i = 2; i < n; ++i) {\n while (size > 1 && cross(points[indexes[size - 2]], points[indexes[size - 1]], points[i]) <= 0) --size;\n indexes[size++] = i;\n }\n\n return indexes.slice(0, size); // remove popped points\n}\n\nexport default function(points) {\n if ((n = points.length) < 3) return null;\n\n var i,\n n,\n sortedPoints = new Array(n),\n flippedPoints = new Array(n);\n\n for (i = 0; i < n; ++i) sortedPoints[i] = [+points[i][0], +points[i][1], i];\n sortedPoints.sort(lexicographicOrder);\n for (i = 0; i < n; ++i) flippedPoints[i] = [sortedPoints[i][0], -sortedPoints[i][1]];\n\n var upperIndexes = computeUpperHullIndexes(sortedPoints),\n lowerIndexes = computeUpperHullIndexes(flippedPoints);\n\n // Construct the hull polygon, removing possible duplicate endpoints.\n var skipLeft = lowerIndexes[0] === upperIndexes[0],\n skipRight = lowerIndexes[lowerIndexes.length - 1] === upperIndexes[upperIndexes.length - 1],\n hull = [];\n\n // Add upper hull in right-to-l order.\n // Then add lower hull in left-to-right order.\n for (i = upperIndexes.length - 1; i >= 0; --i) hull.push(points[sortedPoints[upperIndexes[i]][2]]);\n for (i = +skipLeft; i < lowerIndexes.length - skipRight; ++i) hull.push(points[sortedPoints[lowerIndexes[i]][2]]);\n\n return hull;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/contains.js", "name": "./node_modules/d3-polygon/src/contains.js", "index": 347, "index2": 343, "size": 411, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 765, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./contains.js", "loc": "4:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony export imported specifier", "userRequest": "./contains.js", "loc": "4:0-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(polygon, point) {\n var n = polygon.length,\n p = polygon[n - 1],\n x = point[0], y = point[1],\n x0 = p[0], y0 = p[1],\n x1, y1,\n inside = false;\n\n for (var i = 0; i < n; ++i) {\n p = polygon[i], x1 = p[0], y1 = p[1];\n if (((y1 > y) !== (y0 > y)) && (x < (x0 - x1) * (y - y1) / (y0 - y1) + x1)) inside = !inside;\n x0 = x1, y0 = y1;\n }\n\n return inside;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/length.js", "name": "./node_modules/d3-polygon/src/length.js", "index": 348, "index2": 344, "size": 375, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 765, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./length.js", "loc": "5:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony export imported specifier", "userRequest": "./length.js", "loc": "5:0-53" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(polygon) {\n var i = -1,\n n = polygon.length,\n b = polygon[n - 1],\n xa,\n ya,\n xb = b[0],\n yb = b[1],\n perimeter = 0;\n\n while (++i < n) {\n xa = xb;\n ya = yb;\n b = polygon[i];\n xb = b[0];\n yb = b[1];\n xa -= xb;\n ya -= yb;\n perimeter += Math.sqrt(xa * xa + ya * ya);\n }\n\n return perimeter;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/uniform.js", "name": "./node_modules/d3-random/src/uniform.js", "index": 351, "index2": 348, "size": 440, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./uniform", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./uniform", "loc": "1:0-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\n\nexport default (function sourceRandomUniform(source) {\n function randomUniform(min, max) {\n min = min == null ? 0 : +min;\n max = max == null ? 1 : +max;\n if (arguments.length === 1) max = min, min = 0;\n else max -= min;\n return function() {\n return source() * max + min;\n };\n }\n\n randomUniform.source = sourceRandomUniform;\n\n return randomUniform;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/normal.js", "name": "./node_modules/d3-random/src/normal.js", "index": 353, "index2": 349, "size": 713, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./normal", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./normal", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/logNormal.js", "module": "./node_modules/d3-random/src/logNormal.js", "moduleName": "./node_modules/d3-random/src/logNormal.js", "type": "harmony side effect evaluation", "userRequest": "./normal", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/logNormal.js", "module": "./node_modules/d3-random/src/logNormal.js", "moduleName": "./node_modules/d3-random/src/logNormal.js", "type": "harmony import specifier", "userRequest": "./normal", "loc": "6:23-29" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\n\nexport default (function sourceRandomNormal(source) {\n function randomNormal(mu, sigma) {\n var x, r;\n mu = mu == null ? 0 : +mu;\n sigma = sigma == null ? 1 : +sigma;\n return function() {\n var y;\n\n // If available, use the second previously-generated uniform random.\n if (x != null) y = x, x = null;\n\n // Otherwise, generate a new x and y.\n else do {\n x = source() * 2 - 1;\n y = source() * 2 - 1;\n r = x * x + y * y;\n } while (!r || r > 1);\n\n return mu + sigma * y * Math.sqrt(-2 * Math.log(r) / r);\n };\n }\n\n randomNormal.source = sourceRandomNormal;\n\n return randomNormal;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/logNormal.js", "name": "./node_modules/d3-random/src/logNormal.js", "index": 354, "index2": 350, "size": 405, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./logNormal", "loc": "3:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./logNormal", "loc": "3:0-55" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\nimport normal from \"./normal\";\n\nexport default (function sourceRandomLogNormal(source) {\n function randomLogNormal() {\n var randomNormal = normal.source(source).apply(this, arguments);\n return function() {\n return Math.exp(randomNormal());\n };\n }\n\n randomLogNormal.source = sourceRandomLogNormal;\n\n return randomLogNormal;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/irwinHall.js", "name": "./node_modules/d3-random/src/irwinHall.js", "index": 356, "index2": 351, "size": 345, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/bates.js", "module": "./node_modules/d3-random/src/bates.js", "moduleName": "./node_modules/d3-random/src/bates.js", "type": "harmony side effect evaluation", "userRequest": "./irwinHall", "loc": "2:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./irwinHall", "loc": "5:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./irwinHall", "loc": "5:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/bates.js", "module": "./node_modules/d3-random/src/bates.js", "moduleName": "./node_modules/d3-random/src/bates.js", "type": "harmony import specifier", "userRequest": "./irwinHall", "loc": "6:26-35" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\n\nexport default (function sourceRandomIrwinHall(source) {\n function randomIrwinHall(n) {\n return function() {\n for (var sum = 0, i = 0; i < n; ++i) sum += source();\n return sum;\n };\n }\n\n randomIrwinHall.source = sourceRandomIrwinHall;\n\n return randomIrwinHall;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/bates.js", "name": "./node_modules/d3-random/src/bates.js", "index": 355, "index2": 352, "size": 375, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bates", "loc": "4:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bates", "loc": "4:0-47" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\nimport irwinHall from \"./irwinHall\";\n\nexport default (function sourceRandomBates(source) {\n function randomBates(n) {\n var randomIrwinHall = irwinHall.source(source)(n);\n return function() {\n return randomIrwinHall() / n;\n };\n }\n\n randomBates.source = sourceRandomBates;\n\n return randomBates;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/exponential.js", "name": "./node_modules/d3-random/src/exponential.js", "index": 357, "index2": 353, "size": 329, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./exponential", "loc": "6:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exponential", "loc": "6:0-59" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\n\nexport default (function sourceRandomExponential(source) {\n function randomExponential(lambda) {\n return function() {\n return -Math.log(1 - source()) / lambda;\n };\n }\n\n randomExponential.source = sourceRandomExponential;\n\n return randomExponential;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "name": "./node_modules/d3-scale/src/ordinal.js", "index": 361, "index2": 357, "size": 1108, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/band.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "name": "./node_modules/d3-scale/src/band.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } } ], "profile": { "factory": 104, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony side effect evaluation", "userRequest": "./ordinal", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony import specifier", "userRequest": "./ordinal", "loc": "6:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./ordinal", "loc": "22:0-25:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ordinal", "loc": "22:0-25:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ordinal", "loc": "22:0-25:19" } ], "usedExports": [ "default", "implicit" ], "providedExports": [ "implicit", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {map} from \"d3-collection\";\nimport {slice} from \"./array\";\nimport {initRange} from \"./init\";\n\nexport var implicit = {name: \"implicit\"};\n\nexport default function ordinal() {\n var index = map(),\n domain = [],\n range = [],\n unknown = implicit;\n\n function scale(d) {\n var key = d + \"\", i = index.get(key);\n if (!i) {\n if (unknown !== implicit) return unknown;\n index.set(key, i = domain.push(d));\n }\n return range[(i - 1) % range.length];\n }\n\n scale.domain = function(_) {\n if (!arguments.length) return domain.slice();\n domain = [], index = map();\n var i = -1, n = _.length, d, key;\n while (++i < n) if (!index.has(key = (d = _[i]) + \"\")) index.set(key, domain.push(d));\n return scale;\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), scale) : range.slice();\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n scale.copy = function() {\n return ordinal(domain, range).unknown(unknown);\n };\n\n initRange.apply(scale, arguments);\n\n return scale;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "name": "./node_modules/d3-scale/src/band.js", "index": 359, "index2": 358, "size": 2637, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./band", "loc": "1:0-4:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./band", "loc": "1:0-4:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./band", "loc": "1:0-4:16" } ], "usedExports": [ "default", "point" ], "providedExports": [ "default", "point" ], "optimizationBailout": [], "depth": 4, "source": "import {range as sequence} from \"d3-array\";\nimport {initRange} from \"./init\";\nimport ordinal from \"./ordinal\";\n\nexport default function band() {\n var scale = ordinal().unknown(undefined),\n domain = scale.domain,\n ordinalRange = scale.range,\n range = [0, 1],\n step,\n bandwidth,\n round = false,\n paddingInner = 0,\n paddingOuter = 0,\n align = 0.5;\n\n delete scale.unknown;\n\n function rescale() {\n var n = domain().length,\n reverse = range[1] < range[0],\n start = range[reverse - 0],\n stop = range[1 - reverse];\n step = (stop - start) / Math.max(1, n - paddingInner + paddingOuter * 2);\n if (round) step = Math.floor(step);\n start += (stop - start - step * (n - paddingInner)) * align;\n bandwidth = step * (1 - paddingInner);\n if (round) start = Math.round(start), bandwidth = Math.round(bandwidth);\n var values = sequence(n).map(function(i) { return start + step * i; });\n return ordinalRange(reverse ? values.reverse() : values);\n }\n\n scale.domain = function(_) {\n return arguments.length ? (domain(_), rescale()) : domain();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = [+_[0], +_[1]], rescale()) : range.slice();\n };\n\n scale.rangeRound = function(_) {\n return range = [+_[0], +_[1]], round = true, rescale();\n };\n\n scale.bandwidth = function() {\n return bandwidth;\n };\n\n scale.step = function() {\n return step;\n };\n\n scale.round = function(_) {\n return arguments.length ? (round = !!_, rescale()) : round;\n };\n\n scale.padding = function(_) {\n return arguments.length ? (paddingInner = Math.min(1, paddingOuter = +_), rescale()) : paddingInner;\n };\n\n scale.paddingInner = function(_) {\n return arguments.length ? (paddingInner = Math.min(1, _), rescale()) : paddingInner;\n };\n\n scale.paddingOuter = function(_) {\n return arguments.length ? (paddingOuter = +_, rescale()) : paddingOuter;\n };\n\n scale.align = function(_) {\n return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align;\n };\n\n scale.copy = function() {\n return band(domain(), range)\n .round(round)\n .paddingInner(paddingInner)\n .paddingOuter(paddingOuter)\n .align(align);\n };\n\n return initRange.apply(rescale(), arguments);\n}\n\nfunction pointish(scale) {\n var copy = scale.copy;\n\n scale.padding = scale.paddingOuter;\n delete scale.paddingInner;\n delete scale.paddingOuter;\n\n scale.copy = function() {\n return pointish(copy());\n };\n\n return scale;\n}\n\nexport function point() {\n return pointish(band.apply(null, arguments).paddingInner(1));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "name": "./node_modules/d3-scale/src/tickFormat.js", "index": 368, "index2": 362, "size": 1122, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony side effect evaluation", "userRequest": "./tickFormat", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./tickFormat", "loc": "16:11-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./tickFormat", "loc": "72:0-74:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tickFormat", "loc": "72:0-74:22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {tickStep} from \"d3-array\";\nimport {format, formatPrefix, formatSpecifier, precisionFixed, precisionPrefix, precisionRound} from \"d3-format\";\n\nexport default function(start, stop, count, specifier) {\n var step = tickStep(start, stop, count),\n precision;\n specifier = formatSpecifier(specifier == null ? \",f\" : specifier);\n switch (specifier.type) {\n case \"s\": {\n var value = Math.max(Math.abs(start), Math.abs(stop));\n if (specifier.precision == null && !isNaN(precision = precisionPrefix(step, value))) specifier.precision = precision;\n return formatPrefix(specifier, value);\n }\n case \"\":\n case \"e\":\n case \"g\":\n case \"p\":\n case \"r\": {\n if (specifier.precision == null && !isNaN(precision = precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === \"e\");\n break;\n }\n case \"f\":\n case \"%\": {\n if (specifier.precision == null && !isNaN(precision = precisionFixed(step))) specifier.precision = precision - (specifier.type === \"%\") * 2;\n break;\n }\n }\n return format(specifier);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "name": "./node_modules/d3-scale/src/linear.js", "index": 364, "index2": 363, "size": 1757, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "10:0-12:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./linear", "loc": "10:0-12:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "24:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "28:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "33:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "50:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "54:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "56:25-34" } ], "usedExports": [ "linearish", "default" ], "providedExports": [ "linearish", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {ticks, tickIncrement} from \"d3-array\";\nimport continuous, {copy, identity} from \"./continuous\";\nimport {initRange} from \"./init\";\nimport tickFormat from \"./tickFormat\";\n\nexport function linearish(scale) {\n var domain = scale.domain;\n\n scale.ticks = function(count) {\n var d = domain();\n return ticks(d[0], d[d.length - 1], count == null ? 10 : count);\n };\n\n scale.tickFormat = function(count, specifier) {\n var d = domain();\n return tickFormat(d[0], d[d.length - 1], count == null ? 10 : count, specifier);\n };\n\n scale.nice = function(count) {\n if (count == null) count = 10;\n\n var d = domain(),\n i0 = 0,\n i1 = d.length - 1,\n start = d[i0],\n stop = d[i1],\n step;\n\n if (stop < start) {\n step = start, start = stop, stop = step;\n step = i0, i0 = i1, i1 = step;\n }\n\n step = tickIncrement(start, stop, count);\n\n if (step > 0) {\n start = Math.floor(start / step) * step;\n stop = Math.ceil(stop / step) * step;\n step = tickIncrement(start, stop, count);\n } else if (step < 0) {\n start = Math.ceil(start * step) / step;\n stop = Math.floor(stop * step) / step;\n step = tickIncrement(start, stop, count);\n }\n\n if (step > 0) {\n d[i0] = Math.floor(start / step) * step;\n d[i1] = Math.ceil(stop / step) * step;\n domain(d);\n } else if (step < 0) {\n d[i0] = Math.ceil(start * step) / step;\n d[i1] = Math.floor(stop * step) / step;\n domain(d);\n }\n\n return scale;\n };\n\n return scale;\n}\n\nexport default function linear() {\n var scale = continuous(identity, identity);\n\n scale.copy = function() {\n return copy(scale, linear());\n };\n\n initRange.apply(scale, arguments);\n\n return linearish(scale);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "name": "./node_modules/d3-scale/src/identity.js", "index": 363, "index2": 364, "size": 660, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./identity", "loc": "6:0-8:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./identity", "loc": "6:0-8:20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {map} from \"./array\";\nimport {linearish} from \"./linear\";\nimport number from \"./number\";\n\nexport default function identity(domain) {\n var unknown;\n\n function scale(x) {\n return isNaN(x = +x) ? unknown : x;\n }\n\n scale.invert = scale;\n\n scale.domain = scale.range = function(_) {\n return arguments.length ? (domain = map.call(_, number), scale) : domain.slice();\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n scale.copy = function() {\n return identity(domain).unknown(unknown);\n };\n\n domain = arguments.length ? map.call(domain, number) : [0, 1];\n\n return linearish(scale);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "name": "./node_modules/d3-scale/src/log.js", "index": 369, "index2": 366, "size": 3384, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./log", "loc": "4:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./log", "loc": "4:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./log", "loc": "14:0-16:15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./log", "loc": "14:0-16:15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./log", "loc": "60:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./log", "loc": "64:14-21" } ], "usedExports": [ "loggish", "default" ], "providedExports": [ "loggish", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {ticks} from \"d3-array\";\nimport {format} from \"d3-format\";\nimport nice from \"./nice\";\nimport {copy, transformer} from \"./continuous\";\nimport {initRange} from \"./init\";\n\nfunction transformLog(x) {\n return Math.log(x);\n}\n\nfunction transformExp(x) {\n return Math.exp(x);\n}\n\nfunction transformLogn(x) {\n return -Math.log(-x);\n}\n\nfunction transformExpn(x) {\n return -Math.exp(-x);\n}\n\nfunction pow10(x) {\n return isFinite(x) ? +(\"1e\" + x) : x < 0 ? 0 : x;\n}\n\nfunction powp(base) {\n return base === 10 ? pow10\n : base === Math.E ? Math.exp\n : function(x) { return Math.pow(base, x); };\n}\n\nfunction logp(base) {\n return base === Math.E ? Math.log\n : base === 10 && Math.log10\n || base === 2 && Math.log2\n || (base = Math.log(base), function(x) { return Math.log(x) / base; });\n}\n\nfunction reflect(f) {\n return function(x) {\n return -f(-x);\n };\n}\n\nexport function loggish(transform) {\n var scale = transform(transformLog, transformExp),\n domain = scale.domain,\n base = 10,\n logs,\n pows;\n\n function rescale() {\n logs = logp(base), pows = powp(base);\n if (domain()[0] < 0) {\n logs = reflect(logs), pows = reflect(pows);\n transform(transformLogn, transformExpn);\n } else {\n transform(transformLog, transformExp);\n }\n return scale;\n }\n\n scale.base = function(_) {\n return arguments.length ? (base = +_, rescale()) : base;\n };\n\n scale.domain = function(_) {\n return arguments.length ? (domain(_), rescale()) : domain();\n };\n\n scale.ticks = function(count) {\n var d = domain(),\n u = d[0],\n v = d[d.length - 1],\n r;\n\n if (r = v < u) i = u, u = v, v = i;\n\n var i = logs(u),\n j = logs(v),\n p,\n k,\n t,\n n = count == null ? 10 : +count,\n z = [];\n\n if (!(base % 1) && j - i < n) {\n i = Math.round(i) - 1, j = Math.round(j) + 1;\n if (u > 0) for (; i < j; ++i) {\n for (k = 1, p = pows(i); k < base; ++k) {\n t = p * k;\n if (t < u) continue;\n if (t > v) break;\n z.push(t);\n }\n } else for (; i < j; ++i) {\n for (k = base - 1, p = pows(i); k >= 1; --k) {\n t = p * k;\n if (t < u) continue;\n if (t > v) break;\n z.push(t);\n }\n }\n } else {\n z = ticks(i, j, Math.min(j - i, n)).map(pows);\n }\n\n return r ? z.reverse() : z;\n };\n\n scale.tickFormat = function(count, specifier) {\n if (specifier == null) specifier = base === 10 ? \".0e\" : \",\";\n if (typeof specifier !== \"function\") specifier = format(specifier);\n if (count === Infinity) return specifier;\n if (count == null) count = 10;\n var k = Math.max(1, base * count / scale.ticks().length); // TODO fast estimate?\n return function(d) {\n var i = d / pows(Math.round(logs(d)));\n if (i * base < base - 0.5) i *= base;\n return i <= k ? specifier(d) : \"\";\n };\n };\n\n scale.nice = function() {\n return domain(nice(domain(), {\n floor: function(x) { return pows(Math.floor(logs(x))); },\n ceil: function(x) { return pows(Math.ceil(logs(x))); }\n }));\n };\n\n return scale;\n}\n\nexport default function log() {\n var scale = loggish(transformer()).domain([1, 10]);\n\n scale.copy = function() {\n return copy(scale, log()).base(scale.base());\n };\n\n initRange.apply(scale, arguments);\n\n return scale;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "name": "./node_modules/d3-scale/src/symlog.js", "index": 371, "index2": 367, "size": 839, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./symlog", "loc": "5:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./symlog", "loc": "6:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symlog", "loc": "18:0-20:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symlog", "loc": "18:0-20:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./symlog", "loc": "70:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./symlog", "loc": "74:14-23" } ], "usedExports": [ "symlogish", "default" ], "providedExports": [ "symlogish", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {linearish} from \"./linear\";\nimport {copy, transformer} from \"./continuous\";\nimport {initRange} from \"./init\";\n\nfunction transformSymlog(c) {\n return function(x) {\n return Math.sign(x) * Math.log1p(Math.abs(x / c));\n };\n}\n\nfunction transformSymexp(c) {\n return function(x) {\n return Math.sign(x) * Math.expm1(Math.abs(x)) * c;\n };\n}\n\nexport function symlogish(transform) {\n var c = 1, scale = transform(transformSymlog(c), transformSymexp(c));\n\n scale.constant = function(_) {\n return arguments.length ? transform(transformSymlog(c = +_), transformSymexp(c)) : c;\n };\n\n return linearish(scale);\n}\n\nexport default function symlog() {\n var scale = symlogish(transformer());\n\n scale.copy = function() {\n return copy(scale, symlog()).constant(scale.constant());\n };\n\n return initRange.apply(scale, arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "name": "./node_modules/d3-scale/src/pow.js", "index": 372, "index2": 368, "size": 1174, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./pow", "loc": "6:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./pow", "loc": "7:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pow", "loc": "27:0-30:15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pow", "loc": "27:0-30:15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pow", "loc": "27:0-30:15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./pow", "loc": "80:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./pow", "loc": "84:14-20" } ], "usedExports": [ "powish", "default", "sqrt" ], "providedExports": [ "powish", "default", "sqrt" ], "optimizationBailout": [], "depth": 4, "source": "import {linearish} from \"./linear\";\nimport {copy, identity, transformer} from \"./continuous\";\nimport {initRange} from \"./init\";\n\nfunction transformPow(exponent) {\n return function(x) {\n return x < 0 ? -Math.pow(-x, exponent) : Math.pow(x, exponent);\n };\n}\n\nfunction transformSqrt(x) {\n return x < 0 ? -Math.sqrt(-x) : Math.sqrt(x);\n}\n\nfunction transformSquare(x) {\n return x < 0 ? -x * x : x * x;\n}\n\nexport function powish(transform) {\n var scale = transform(identity, identity),\n exponent = 1;\n\n function rescale() {\n return exponent === 1 ? transform(identity, identity)\n : exponent === 0.5 ? transform(transformSqrt, transformSquare)\n : transform(transformPow(exponent), transformPow(1 / exponent));\n }\n\n scale.exponent = function(_) {\n return arguments.length ? (exponent = +_, rescale()) : exponent;\n };\n\n return linearish(scale);\n}\n\nexport default function pow() {\n var scale = powish(transformer());\n\n scale.copy = function() {\n return copy(scale, pow()).exponent(scale.exponent());\n };\n\n initRange.apply(scale, arguments);\n\n return scale;\n}\n\nexport function sqrt() {\n return pow.apply(null, arguments).exponent(0.5);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "name": "./node_modules/d3-scale/src/quantile.js", "index": 373, "index2": 369, "size": 1489, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quantile", "loc": "32:0-34:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quantile", "loc": "32:0-34:20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {ascending, bisect, quantile as threshold} from \"d3-array\";\nimport {slice} from \"./array\";\nimport {initRange} from \"./init\";\n\nexport default function quantile() {\n var domain = [],\n range = [],\n thresholds = [],\n unknown;\n\n function rescale() {\n var i = 0, n = Math.max(1, range.length);\n thresholds = new Array(n - 1);\n while (++i < n) thresholds[i - 1] = threshold(domain, i / n);\n return scale;\n }\n\n function scale(x) {\n return isNaN(x = +x) ? unknown : range[bisect(thresholds, x)];\n }\n\n scale.invertExtent = function(y) {\n var i = range.indexOf(y);\n return i < 0 ? [NaN, NaN] : [\n i > 0 ? thresholds[i - 1] : domain[0],\n i < thresholds.length ? thresholds[i] : domain[domain.length - 1]\n ];\n };\n\n scale.domain = function(_) {\n if (!arguments.length) return domain.slice();\n domain = [];\n for (var i = 0, n = _.length, d; i < n; ++i) if (d = _[i], d != null && !isNaN(d = +d)) domain.push(d);\n domain.sort(ascending);\n return rescale();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), rescale()) : range.slice();\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n scale.quantiles = function() {\n return thresholds.slice();\n };\n\n scale.copy = function() {\n return quantile()\n .domain(domain)\n .range(range)\n .unknown(unknown);\n };\n\n return initRange.apply(scale, arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "name": "./node_modules/d3-scale/src/quantize.js", "index": 374, "index2": 370, "size": 1341, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quantize", "loc": "36:0-38:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quantize", "loc": "36:0-38:20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {bisect} from \"d3-array\";\nimport {slice} from \"./array\";\nimport {linearish} from \"./linear\";\nimport {initRange} from \"./init\";\n\nexport default function quantize() {\n var x0 = 0,\n x1 = 1,\n n = 1,\n domain = [0.5],\n range = [0, 1],\n unknown;\n\n function scale(x) {\n return x <= x ? range[bisect(domain, x, 0, n)] : unknown;\n }\n\n function rescale() {\n var i = -1;\n domain = new Array(n);\n while (++i < n) domain[i] = ((i + 1) * x1 - (i - n) * x0) / (n + 1);\n return scale;\n }\n\n scale.domain = function(_) {\n return arguments.length ? (x0 = +_[0], x1 = +_[1], rescale()) : [x0, x1];\n };\n\n scale.range = function(_) {\n return arguments.length ? (n = (range = slice.call(_)).length - 1, rescale()) : range.slice();\n };\n\n scale.invertExtent = function(y) {\n var i = range.indexOf(y);\n return i < 0 ? [NaN, NaN]\n : i < 1 ? [x0, domain[0]]\n : i >= n ? [domain[n - 1], x1]\n : [domain[i - 1], domain[i]];\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : scale;\n };\n\n scale.thresholds = function() {\n return domain.slice();\n };\n\n scale.copy = function() {\n return quantize()\n .domain([x0, x1])\n .range(range)\n .unknown(unknown);\n };\n\n return initRange.apply(linearish(scale), arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "name": "./node_modules/d3-scale/src/threshold.js", "index": 375, "index2": 371, "size": 1012, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./threshold", "loc": "40:0-42:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./threshold", "loc": "40:0-42:21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {bisect} from \"d3-array\";\nimport {slice} from \"./array\";\nimport {initRange} from \"./init\";\n\nexport default function threshold() {\n var domain = [0.5],\n range = [0, 1],\n unknown,\n n = 1;\n\n function scale(x) {\n return x <= x ? range[bisect(domain, x, 0, n)] : unknown;\n }\n\n scale.domain = function(_) {\n return arguments.length ? (domain = slice.call(_), n = Math.min(domain.length, range.length - 1), scale) : domain.slice();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), n = Math.min(domain.length, range.length - 1), scale) : range.slice();\n };\n\n scale.invertExtent = function(y) {\n var i = range.indexOf(y);\n return [domain[i - 1], domain[i]];\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n scale.copy = function() {\n return threshold()\n .domain(domain)\n .range(range)\n .unknown(unknown);\n };\n\n return initRange.apply(scale, arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/interval.js", "name": "./node_modules/d3-time/src/interval.js", "index": 378, "index2": 372, "size": 2164, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-3:23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./interval.js", "loc": "1:0-3:23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcYear.js", "module": "./node_modules/d3-time/src/utcYear.js", "moduleName": "./node_modules/d3-time/src/utcYear.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMonth.js", "module": "./node_modules/d3-time/src/utcMonth.js", "moduleName": "./node_modules/d3-time/src/utcMonth.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "module": "./node_modules/d3-time/src/utcWeek.js", "moduleName": "./node_modules/d3-time/src/utcWeek.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcDay.js", "module": "./node_modules/d3-time/src/utcDay.js", "moduleName": "./node_modules/d3-time/src/utcDay.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "module": "./node_modules/d3-time/src/utcHour.js", "moduleName": "./node_modules/d3-time/src/utcHour.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "module": "./node_modules/d3-time/src/utcMinute.js", "moduleName": "./node_modules/d3-time/src/utcMinute.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/year.js", "module": "./node_modules/d3-time/src/year.js", "moduleName": "./node_modules/d3-time/src/year.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/month.js", "module": "./node_modules/d3-time/src/month.js", "moduleName": "./node_modules/d3-time/src/month.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "module": "./node_modules/d3-time/src/week.js", "moduleName": "./node_modules/d3-time/src/week.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "module": "./node_modules/d3-time/src/day.js", "moduleName": "./node_modules/d3-time/src/day.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "module": "./node_modules/d3-time/src/second.js", "moduleName": "./node_modules/d3-time/src/second.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/millisecond.js", "module": "./node_modules/d3-time/src/millisecond.js", "moduleName": "./node_modules/d3-time/src/millisecond.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/year.js", "module": "./node_modules/d3-time/src/year.js", "moduleName": "./node_modules/d3-time/src/year.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "3:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/month.js", "module": "./node_modules/d3-time/src/month.js", "moduleName": "./node_modules/d3-time/src/month.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "3:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcYear.js", "module": "./node_modules/d3-time/src/utcYear.js", "moduleName": "./node_modules/d3-time/src/utcYear.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "3:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMonth.js", "module": "./node_modules/d3-time/src/utcMonth.js", "moduleName": "./node_modules/d3-time/src/utcMonth.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "3:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/millisecond.js", "module": "./node_modules/d3-time/src/millisecond.js", "moduleName": "./node_modules/d3-time/src/millisecond.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "3:18-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "module": "./node_modules/d3-time/src/day.js", "moduleName": "./node_modules/d3-time/src/day.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:10-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcDay.js", "module": "./node_modules/d3-time/src/utcDay.js", "moduleName": "./node_modules/d3-time/src/utcDay.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "module": "./node_modules/d3-time/src/second.js", "moduleName": "./node_modules/d3-time/src/second.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "module": "./node_modules/d3-time/src/utcHour.js", "moduleName": "./node_modules/d3-time/src/utcHour.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "module": "./node_modules/d3-time/src/utcMinute.js", "moduleName": "./node_modules/d3-time/src/utcMinute.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:16-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "module": "./node_modules/d3-time/src/utcWeek.js", "moduleName": "./node_modules/d3-time/src/utcWeek.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "5:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "module": "./node_modules/d3-time/src/week.js", "moduleName": "./node_modules/d3-time/src/week.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "5:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/millisecond.js", "module": "./node_modules/d3-time/src/millisecond.js", "moduleName": "./node_modules/d3-time/src/millisecond.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "16:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcYear.js", "module": "./node_modules/d3-time/src/utcYear.js", "moduleName": "./node_modules/d3-time/src/utcYear.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "16:59-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/year.js", "module": "./node_modules/d3-time/src/year.js", "moduleName": "./node_modules/d3-time/src/year.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "16:59-67" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var t0 = new Date,\n t1 = new Date;\n\nexport default function newInterval(floori, offseti, count, field) {\n\n function interval(date) {\n return floori(date = arguments.length === 0 ? new Date : new Date(+date)), date;\n }\n\n interval.floor = function(date) {\n return floori(date = new Date(+date)), date;\n };\n\n interval.ceil = function(date) {\n return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;\n };\n\n interval.round = function(date) {\n var d0 = interval(date),\n d1 = interval.ceil(date);\n return date - d0 < d1 - date ? d0 : d1;\n };\n\n interval.offset = function(date, step) {\n return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;\n };\n\n interval.range = function(start, stop, step) {\n var range = [], previous;\n start = interval.ceil(start);\n step = step == null ? 1 : Math.floor(step);\n if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date\n do range.push(previous = new Date(+start)), offseti(start, step), floori(start);\n while (previous < start && start < stop);\n return range;\n };\n\n interval.filter = function(test) {\n return newInterval(function(date) {\n if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);\n }, function(date, step) {\n if (date >= date) {\n if (step < 0) while (++step <= 0) {\n while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty\n } else while (--step >= 0) {\n while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty\n }\n }\n });\n };\n\n if (count) {\n interval.count = function(start, end) {\n t0.setTime(+start), t1.setTime(+end);\n floori(t0), floori(t1);\n return Math.floor(count(t0, t1));\n };\n\n interval.every = function(step) {\n step = Math.floor(step);\n return !isFinite(step) || !(step > 0) ? null\n : !(step > 1) ? interval\n : interval.filter(field\n ? function(d) { return field(d) % step === 0; }\n : function(d) { return interval.count(0, d) % step === 0; });\n };\n }\n\n return interval;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/year.js", "name": "./node_modules/d3-time/src/year.js", "index": 377, "index2": 373, "size": 757, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./year.js", "loc": "58:0-61:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./year.js", "loc": "58:0-61:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./year.js", "loc": "58:0-61:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:34-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "521:31-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "550:30-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "556:32-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "556:51-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "564:30-38" } ], "usedExports": [ "default", "years" ], "providedExports": [ "default", "years" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\n\nvar year = interval(function(date) {\n date.setMonth(0, 1);\n date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setFullYear(date.getFullYear() + step);\n}, function(start, end) {\n return end.getFullYear() - start.getFullYear();\n}, function(date) {\n return date.getFullYear();\n});\n\n// An optimized implementation for this simple case.\nyear.every = function(k) {\n return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : interval(function(date) {\n date.setFullYear(Math.floor(date.getFullYear() / k) * k);\n date.setMonth(0, 1);\n date.setHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setFullYear(date.getFullYear() + step * k);\n });\n};\n\nexport default year;\nexport var years = year.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/month.js", "name": "./node_modules/d3-time/src/month.js", "index": 379, "index2": 374, "size": 417, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./month.js", "loc": "53:0-56:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./month.js", "loc": "53:0-56:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./month.js", "loc": "53:0-56:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:44-53" } ], "usedExports": [ "default", "months" ], "providedExports": [ "default", "months" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\n\nvar month = interval(function(date) {\n date.setDate(1);\n date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setMonth(date.getMonth() + step);\n}, function(start, end) {\n return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;\n}, function(date) {\n return date.getMonth();\n});\n\nexport default month;\nexport var months = month.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "name": "./node_modules/d3-time/src/week.js", "index": 380, "index2": 376, "size": 969, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:55-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "225:40-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "225:64-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "550:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "555:32-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "555:50-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "556:13-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "564:13-23" } ], "usedExports": [ "monday", "sunday", "thursday", "sundays", "mondays", "tuesday", "tuesdays", "wednesday", "wednesdays", "thursdays", "friday", "fridays", "saturday", "saturdays" ], "providedExports": [ "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sundays", "mondays", "tuesdays", "wednesdays", "thursdays", "fridays", "saturdays" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationMinute, durationWeek} from \"./duration.js\";\n\nfunction weekday(i) {\n return interval(function(date) {\n date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);\n date.setHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setDate(date.getDate() + step * 7);\n }, function(start, end) {\n return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationWeek;\n });\n}\n\nexport var sunday = weekday(0);\nexport var monday = weekday(1);\nexport var tuesday = weekday(2);\nexport var wednesday = weekday(3);\nexport var thursday = weekday(4);\nexport var friday = weekday(5);\nexport var saturday = weekday(6);\n\nexport var sundays = sunday.range;\nexport var mondays = monday.range;\nexport var tuesdays = tuesday.range;\nexport var wednesdays = wednesday.range;\nexport var thursdays = thursday.range;\nexport var fridays = friday.range;\nexport var saturdays = saturday.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "name": "./node_modules/d3-time/src/day.js", "index": 382, "index2": 377, "size": 468, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./day.js", "loc": "29:0-32:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./day.js", "loc": "29:0-32:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./day.js", "loc": "29:0-32:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:65-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "226:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "521:17-24" } ], "usedExports": [ "default", "days" ], "providedExports": [ "default", "days" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationDay, durationMinute} from \"./duration.js\";\n\nvar day = interval(function(date) {\n date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setDate(date.getDate() + step);\n}, function(start, end) {\n return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationDay;\n}, function(date) {\n return date.getDate() - 1;\n});\n\nexport default day;\nexport var days = day.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "name": "./node_modules/d3-time/src/hour.js", "index": 383, "index2": 378, "size": 512, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hour.js", "loc": "24:0-27:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hour.js", "loc": "24:0-27:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hour.js", "loc": "24:0-27:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:74-82" } ], "usedExports": [ "default", "hours" ], "providedExports": [ "default", "hours" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationHour, durationMinute, durationSecond} from \"./duration.js\";\n\nvar hour = interval(function(date) {\n date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond - date.getMinutes() * durationMinute);\n}, function(date, step) {\n date.setTime(+date + step * durationHour);\n}, function(start, end) {\n return (end - start) / durationHour;\n}, function(date) {\n return date.getHours();\n});\n\nexport default hour;\nexport var hours = hour.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "name": "./node_modules/d3-time/src/minute.js", "index": 384, "index2": 379, "size": 475, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./minute.js", "loc": "19:0-22:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./minute.js", "loc": "19:0-22:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./minute.js", "loc": "19:0-22:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:84-94" } ], "usedExports": [ "default", "minutes" ], "providedExports": [ "default", "minutes" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationMinute, durationSecond} from \"./duration.js\";\n\nvar minute = interval(function(date) {\n date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond);\n}, function(date, step) {\n date.setTime(+date + step * durationMinute);\n}, function(start, end) {\n return (end - start) / durationMinute;\n}, function(date) {\n return date.getMinutes();\n});\n\nexport default minute;\nexport var minutes = minute.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "name": "./node_modules/d3-time/src/second.js", "index": 385, "index2": 380, "size": 425, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:90-99" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./second.js", "loc": "12:0-17:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./second.js", "loc": "12:0-17:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./second.js", "loc": "12:0-17:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./second.js", "loc": "12:0-17:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./second.js", "loc": "12:0-17:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:96-106" } ], "usedExports": [ "default", "seconds" ], "providedExports": [ "default", "seconds" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationSecond} from \"./duration.js\";\n\nvar second = interval(function(date) {\n date.setTime(date - date.getMilliseconds());\n}, function(date, step) {\n date.setTime(+date + step * durationSecond);\n}, function(start, end) {\n return (end - start) / durationSecond;\n}, function(date) {\n return date.getUTCSeconds();\n});\n\nexport default second;\nexport var seconds = second.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/millisecond.js", "name": "./node_modules/d3-time/src/millisecond.js", "index": 386, "index2": 381, "size": 671, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./millisecond.js", "loc": "5:0-10:26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./millisecond.js", "loc": "5:0-10:26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./millisecond.js", "loc": "5:0-10:26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./millisecond.js", "loc": "5:0-10:26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./millisecond.js", "loc": "5:0-10:26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:101-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:108-123" } ], "usedExports": [ "default", "milliseconds" ], "providedExports": [ "default", "milliseconds" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\n\nvar millisecond = interval(function() {\n // noop\n}, function(date, step) {\n date.setTime(+date + step);\n}, function(start, end) {\n return end - start;\n});\n\n// An optimized implementation for this simple case.\nmillisecond.every = function(k) {\n k = Math.floor(k);\n if (!isFinite(k) || !(k > 0)) return null;\n if (!(k > 1)) return millisecond;\n return interval(function(date) {\n date.setTime(Math.floor(date / k) * k);\n }, function(date, step) {\n date.setTime(+date + step * k);\n }, function(start, end) {\n return (end - start) / k;\n });\n};\n\nexport default millisecond;\nexport var milliseconds = millisecond.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "name": "./node_modules/d3-time/src/utcWeek.js", "index": 389, "index2": 382, "size": 985, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:53-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "218:40-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "218:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "624:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "629:32-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "629:49-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "630:13-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "638:13-22" } ], "usedExports": [ "utcSunday", "utcMonday", "utcThursday", "utcSundays", "utcMondays", "utcTuesday", "utcTuesdays", "utcWednesday", "utcWednesdays", "utcThursdays", "utcFriday", "utcFridays", "utcSaturday", "utcSaturdays" ], "providedExports": [ "utcSunday", "utcMonday", "utcTuesday", "utcWednesday", "utcThursday", "utcFriday", "utcSaturday", "utcSundays", "utcMondays", "utcTuesdays", "utcWednesdays", "utcThursdays", "utcFridays", "utcSaturdays" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationWeek} from \"./duration.js\";\n\nfunction utcWeekday(i) {\n return interval(function(date) {\n date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);\n date.setUTCHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setUTCDate(date.getUTCDate() + step * 7);\n }, function(start, end) {\n return (end - start) / durationWeek;\n });\n}\n\nexport var utcSunday = utcWeekday(0);\nexport var utcMonday = utcWeekday(1);\nexport var utcTuesday = utcWeekday(2);\nexport var utcWednesday = utcWeekday(3);\nexport var utcThursday = utcWeekday(4);\nexport var utcFriday = utcWeekday(5);\nexport var utcSaturday = utcWeekday(6);\n\nexport var utcSundays = utcSunday.range;\nexport var utcMondays = utcMonday.range;\nexport var utcTuesdays = utcTuesday.range;\nexport var utcWednesdays = utcWednesday.range;\nexport var utcThursdays = utcThursday.range;\nexport var utcFridays = utcFriday.range;\nexport var utcSaturdays = utcSaturday.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcDay.js", "name": "./node_modules/d3-time/src/utcDay.js", "index": 390, "index2": 383, "size": 403, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:62-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcDay.js", "loc": "73:0-76:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcDay.js", "loc": "73:0-76:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcDay.js", "loc": "73:0-76:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "219:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "595:17-23" } ], "usedExports": [ "default", "utcDays" ], "providedExports": [ "default", "utcDays" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationDay} from \"./duration.js\";\n\nvar utcDay = interval(function(date) {\n date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setUTCDate(date.getUTCDate() + step);\n}, function(start, end) {\n return (end - start) / durationDay;\n}, function(date) {\n return date.getUTCDate() - 1;\n});\n\nexport default utcDay;\nexport var utcDays = utcDay.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcYear.js", "name": "./node_modules/d3-time/src/utcYear.js", "index": 391, "index2": 384, "size": 811, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:34-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcYear.js", "loc": "102:0-105:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcYear.js", "loc": "102:0-105:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcYear.js", "loc": "102:0-105:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "595:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "624:29-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "630:31-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "630:49-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "638:29-36" } ], "usedExports": [ "default", "utcYears" ], "providedExports": [ "default", "utcYears" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\n\nvar utcYear = interval(function(date) {\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setUTCFullYear(date.getUTCFullYear() + step);\n}, function(start, end) {\n return end.getUTCFullYear() - start.getUTCFullYear();\n}, function(date) {\n return date.getUTCFullYear();\n});\n\n// An optimized implementation for this simple case.\nutcYear.every = function(k) {\n return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : interval(function(date) {\n date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setUTCFullYear(date.getUTCFullYear() + step * k);\n });\n};\n\nexport default utcYear;\nexport var utcYears = utcYear.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "name": "./node_modules/d3-time-format/src/locale.js", "index": 388, "index2": 385, "size": 17799, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/defaultLocale.js", "issuerId": null, "issuerName": "./node_modules/d3-time-format/src/defaultLocale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "name": "./node_modules/d3-time-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/defaultLocale.js", "name": "./node_modules/d3-time-format/src/defaultLocale.js", "profile": { "factory": 418, "building": 18, "dependencies": 0 } } ], "profile": { "factory": 31, "building": 51, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/defaultLocale.js", "module": "./node_modules/d3-time-format/src/defaultLocale.js", "moduleName": "./node_modules/d3-time-format/src/defaultLocale.js", "type": "harmony side effect evaluation", "userRequest": "./locale.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./locale.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./locale.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/defaultLocale.js", "module": "./node_modules/d3-time-format/src/defaultLocale.js", "moduleName": "./node_modules/d3-time-format/src/defaultLocale.js", "type": "harmony import specifier", "userRequest": "./locale.js", "loc": "21:11-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {\n timeDay,\n timeSunday,\n timeMonday,\n timeThursday,\n timeYear,\n utcDay,\n utcSunday,\n utcMonday,\n utcThursday,\n utcYear\n} from \"d3-time\";\n\nfunction localDate(d) {\n if (0 <= d.y && d.y < 100) {\n var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);\n date.setFullYear(d.y);\n return date;\n }\n return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);\n}\n\nfunction utcDate(d) {\n if (0 <= d.y && d.y < 100) {\n var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));\n date.setUTCFullYear(d.y);\n return date;\n }\n return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));\n}\n\nfunction newDate(y, m, d) {\n return {y: y, m: m, d: d, H: 0, M: 0, S: 0, L: 0};\n}\n\nexport default function formatLocale(locale) {\n var locale_dateTime = locale.dateTime,\n locale_date = locale.date,\n locale_time = locale.time,\n locale_periods = locale.periods,\n locale_weekdays = locale.days,\n locale_shortWeekdays = locale.shortDays,\n locale_months = locale.months,\n locale_shortMonths = locale.shortMonths;\n\n var periodRe = formatRe(locale_periods),\n periodLookup = formatLookup(locale_periods),\n weekdayRe = formatRe(locale_weekdays),\n weekdayLookup = formatLookup(locale_weekdays),\n shortWeekdayRe = formatRe(locale_shortWeekdays),\n shortWeekdayLookup = formatLookup(locale_shortWeekdays),\n monthRe = formatRe(locale_months),\n monthLookup = formatLookup(locale_months),\n shortMonthRe = formatRe(locale_shortMonths),\n shortMonthLookup = formatLookup(locale_shortMonths);\n\n var formats = {\n \"a\": formatShortWeekday,\n \"A\": formatWeekday,\n \"b\": formatShortMonth,\n \"B\": formatMonth,\n \"c\": null,\n \"d\": formatDayOfMonth,\n \"e\": formatDayOfMonth,\n \"f\": formatMicroseconds,\n \"H\": formatHour24,\n \"I\": formatHour12,\n \"j\": formatDayOfYear,\n \"L\": formatMilliseconds,\n \"m\": formatMonthNumber,\n \"M\": formatMinutes,\n \"p\": formatPeriod,\n \"q\": formatQuarter,\n \"Q\": formatUnixTimestamp,\n \"s\": formatUnixTimestampSeconds,\n \"S\": formatSeconds,\n \"u\": formatWeekdayNumberMonday,\n \"U\": formatWeekNumberSunday,\n \"V\": formatWeekNumberISO,\n \"w\": formatWeekdayNumberSunday,\n \"W\": formatWeekNumberMonday,\n \"x\": null,\n \"X\": null,\n \"y\": formatYear,\n \"Y\": formatFullYear,\n \"Z\": formatZone,\n \"%\": formatLiteralPercent\n };\n\n var utcFormats = {\n \"a\": formatUTCShortWeekday,\n \"A\": formatUTCWeekday,\n \"b\": formatUTCShortMonth,\n \"B\": formatUTCMonth,\n \"c\": null,\n \"d\": formatUTCDayOfMonth,\n \"e\": formatUTCDayOfMonth,\n \"f\": formatUTCMicroseconds,\n \"H\": formatUTCHour24,\n \"I\": formatUTCHour12,\n \"j\": formatUTCDayOfYear,\n \"L\": formatUTCMilliseconds,\n \"m\": formatUTCMonthNumber,\n \"M\": formatUTCMinutes,\n \"p\": formatUTCPeriod,\n \"q\": formatUTCQuarter,\n \"Q\": formatUnixTimestamp,\n \"s\": formatUnixTimestampSeconds,\n \"S\": formatUTCSeconds,\n \"u\": formatUTCWeekdayNumberMonday,\n \"U\": formatUTCWeekNumberSunday,\n \"V\": formatUTCWeekNumberISO,\n \"w\": formatUTCWeekdayNumberSunday,\n \"W\": formatUTCWeekNumberMonday,\n \"x\": null,\n \"X\": null,\n \"y\": formatUTCYear,\n \"Y\": formatUTCFullYear,\n \"Z\": formatUTCZone,\n \"%\": formatLiteralPercent\n };\n\n var parses = {\n \"a\": parseShortWeekday,\n \"A\": parseWeekday,\n \"b\": parseShortMonth,\n \"B\": parseMonth,\n \"c\": parseLocaleDateTime,\n \"d\": parseDayOfMonth,\n \"e\": parseDayOfMonth,\n \"f\": parseMicroseconds,\n \"H\": parseHour24,\n \"I\": parseHour24,\n \"j\": parseDayOfYear,\n \"L\": parseMilliseconds,\n \"m\": parseMonthNumber,\n \"M\": parseMinutes,\n \"p\": parsePeriod,\n \"q\": parseQuarter,\n \"Q\": parseUnixTimestamp,\n \"s\": parseUnixTimestampSeconds,\n \"S\": parseSeconds,\n \"u\": parseWeekdayNumberMonday,\n \"U\": parseWeekNumberSunday,\n \"V\": parseWeekNumberISO,\n \"w\": parseWeekdayNumberSunday,\n \"W\": parseWeekNumberMonday,\n \"x\": parseLocaleDate,\n \"X\": parseLocaleTime,\n \"y\": parseYear,\n \"Y\": parseFullYear,\n \"Z\": parseZone,\n \"%\": parseLiteralPercent\n };\n\n // These recursive directive definitions must be deferred.\n formats.x = newFormat(locale_date, formats);\n formats.X = newFormat(locale_time, formats);\n formats.c = newFormat(locale_dateTime, formats);\n utcFormats.x = newFormat(locale_date, utcFormats);\n utcFormats.X = newFormat(locale_time, utcFormats);\n utcFormats.c = newFormat(locale_dateTime, utcFormats);\n\n function newFormat(specifier, formats) {\n return function(date) {\n var string = [],\n i = -1,\n j = 0,\n n = specifier.length,\n c,\n pad,\n format;\n\n if (!(date instanceof Date)) date = new Date(+date);\n\n while (++i < n) {\n if (specifier.charCodeAt(i) === 37) {\n string.push(specifier.slice(j, i));\n if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);\n else pad = c === \"e\" ? \" \" : \"0\";\n if (format = formats[c]) c = format(date, pad);\n string.push(c);\n j = i + 1;\n }\n }\n\n string.push(specifier.slice(j, i));\n return string.join(\"\");\n };\n }\n\n function newParse(specifier, Z) {\n return function(string) {\n var d = newDate(1900, undefined, 1),\n i = parseSpecifier(d, specifier, string += \"\", 0),\n week, day;\n if (i != string.length) return null;\n\n // If a UNIX timestamp is specified, return it.\n if (\"Q\" in d) return new Date(d.Q);\n if (\"s\" in d) return new Date(d.s * 1000 + (\"L\" in d ? d.L : 0));\n\n // If this is utcParse, never use the local timezone.\n if (Z && !(\"Z\" in d)) d.Z = 0;\n\n // The am-pm flag is 0 for AM, and 1 for PM.\n if (\"p\" in d) d.H = d.H % 12 + d.p * 12;\n\n // If the month was not specified, inherit from the quarter.\n if (d.m === undefined) d.m = \"q\" in d ? d.q : 0;\n\n // Convert day-of-week and week-of-year to day-of-year.\n if (\"V\" in d) {\n if (d.V < 1 || d.V > 53) return null;\n if (!(\"w\" in d)) d.w = 1;\n if (\"Z\" in d) {\n week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();\n week = day > 4 || day === 0 ? utcMonday.ceil(week) : utcMonday(week);\n week = utcDay.offset(week, (d.V - 1) * 7);\n d.y = week.getUTCFullYear();\n d.m = week.getUTCMonth();\n d.d = week.getUTCDate() + (d.w + 6) % 7;\n } else {\n week = localDate(newDate(d.y, 0, 1)), day = week.getDay();\n week = day > 4 || day === 0 ? timeMonday.ceil(week) : timeMonday(week);\n week = timeDay.offset(week, (d.V - 1) * 7);\n d.y = week.getFullYear();\n d.m = week.getMonth();\n d.d = week.getDate() + (d.w + 6) % 7;\n }\n } else if (\"W\" in d || \"U\" in d) {\n if (!(\"w\" in d)) d.w = \"u\" in d ? d.u % 7 : \"W\" in d ? 1 : 0;\n day = \"Z\" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();\n d.m = 0;\n d.d = \"W\" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7;\n }\n\n // If a time zone is specified, all fields are interpreted as UTC and then\n // offset according to the specified time zone.\n if (\"Z\" in d) {\n d.H += d.Z / 100 | 0;\n d.M += d.Z % 100;\n return utcDate(d);\n }\n\n // Otherwise, all fields are in local time.\n return localDate(d);\n };\n }\n\n function parseSpecifier(d, specifier, string, j) {\n var i = 0,\n n = specifier.length,\n m = string.length,\n c,\n parse;\n\n while (i < n) {\n if (j >= m) return -1;\n c = specifier.charCodeAt(i++);\n if (c === 37) {\n c = specifier.charAt(i++);\n parse = parses[c in pads ? specifier.charAt(i++) : c];\n if (!parse || ((j = parse(d, string, j)) < 0)) return -1;\n } else if (c != string.charCodeAt(j++)) {\n return -1;\n }\n }\n\n return j;\n }\n\n function parsePeriod(d, string, i) {\n var n = periodRe.exec(string.slice(i));\n return n ? (d.p = periodLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseShortWeekday(d, string, i) {\n var n = shortWeekdayRe.exec(string.slice(i));\n return n ? (d.w = shortWeekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseWeekday(d, string, i) {\n var n = weekdayRe.exec(string.slice(i));\n return n ? (d.w = weekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseShortMonth(d, string, i) {\n var n = shortMonthRe.exec(string.slice(i));\n return n ? (d.m = shortMonthLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseMonth(d, string, i) {\n var n = monthRe.exec(string.slice(i));\n return n ? (d.m = monthLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseLocaleDateTime(d, string, i) {\n return parseSpecifier(d, locale_dateTime, string, i);\n }\n\n function parseLocaleDate(d, string, i) {\n return parseSpecifier(d, locale_date, string, i);\n }\n\n function parseLocaleTime(d, string, i) {\n return parseSpecifier(d, locale_time, string, i);\n }\n\n function formatShortWeekday(d) {\n return locale_shortWeekdays[d.getDay()];\n }\n\n function formatWeekday(d) {\n return locale_weekdays[d.getDay()];\n }\n\n function formatShortMonth(d) {\n return locale_shortMonths[d.getMonth()];\n }\n\n function formatMonth(d) {\n return locale_months[d.getMonth()];\n }\n\n function formatPeriod(d) {\n return locale_periods[+(d.getHours() >= 12)];\n }\n\n function formatQuarter(d) {\n return 1 + ~~(d.getMonth() / 3);\n }\n\n function formatUTCShortWeekday(d) {\n return locale_shortWeekdays[d.getUTCDay()];\n }\n\n function formatUTCWeekday(d) {\n return locale_weekdays[d.getUTCDay()];\n }\n\n function formatUTCShortMonth(d) {\n return locale_shortMonths[d.getUTCMonth()];\n }\n\n function formatUTCMonth(d) {\n return locale_months[d.getUTCMonth()];\n }\n\n function formatUTCPeriod(d) {\n return locale_periods[+(d.getUTCHours() >= 12)];\n }\n\n function formatUTCQuarter(d) {\n return 1 + ~~(d.getUTCMonth() / 3);\n }\n\n return {\n format: function(specifier) {\n var f = newFormat(specifier += \"\", formats);\n f.toString = function() { return specifier; };\n return f;\n },\n parse: function(specifier) {\n var p = newParse(specifier += \"\", false);\n p.toString = function() { return specifier; };\n return p;\n },\n utcFormat: function(specifier) {\n var f = newFormat(specifier += \"\", utcFormats);\n f.toString = function() { return specifier; };\n return f;\n },\n utcParse: function(specifier) {\n var p = newParse(specifier += \"\", true);\n p.toString = function() { return specifier; };\n return p;\n }\n };\n}\n\nvar pads = {\"-\": \"\", \"_\": \" \", \"0\": \"0\"},\n numberRe = /^\\s*\\d+/, // note: ignores next directive\n percentRe = /^%/,\n requoteRe = /[\\\\^$*+?|[\\]().{}]/g;\n\nfunction pad(value, fill, width) {\n var sign = value < 0 ? \"-\" : \"\",\n string = (sign ? -value : value) + \"\",\n length = string.length;\n return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);\n}\n\nfunction requote(s) {\n return s.replace(requoteRe, \"\\\\$&\");\n}\n\nfunction formatRe(names) {\n return new RegExp(\"^(?:\" + names.map(requote).join(\"|\") + \")\", \"i\");\n}\n\nfunction formatLookup(names) {\n var map = {}, i = -1, n = names.length;\n while (++i < n) map[names[i].toLowerCase()] = i;\n return map;\n}\n\nfunction parseWeekdayNumberSunday(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 1));\n return n ? (d.w = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekdayNumberMonday(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 1));\n return n ? (d.u = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekNumberSunday(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.U = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekNumberISO(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.V = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekNumberMonday(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.W = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseFullYear(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 4));\n return n ? (d.y = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseYear(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1;\n}\n\nfunction parseZone(d, string, i) {\n var n = /^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(string.slice(i, i + 6));\n return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || \"00\")), i + n[0].length) : -1;\n}\n\nfunction parseQuarter(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 1));\n return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1;\n}\n\nfunction parseMonthNumber(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.m = n[0] - 1, i + n[0].length) : -1;\n}\n\nfunction parseDayOfMonth(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.d = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseDayOfYear(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 3));\n return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseHour24(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.H = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseMinutes(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.M = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseSeconds(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.S = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseMilliseconds(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 3));\n return n ? (d.L = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseMicroseconds(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 6));\n return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1;\n}\n\nfunction parseLiteralPercent(d, string, i) {\n var n = percentRe.exec(string.slice(i, i + 1));\n return n ? i + n[0].length : -1;\n}\n\nfunction parseUnixTimestamp(d, string, i) {\n var n = numberRe.exec(string.slice(i));\n return n ? (d.Q = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseUnixTimestampSeconds(d, string, i) {\n var n = numberRe.exec(string.slice(i));\n return n ? (d.s = +n[0], i + n[0].length) : -1;\n}\n\nfunction formatDayOfMonth(d, p) {\n return pad(d.getDate(), p, 2);\n}\n\nfunction formatHour24(d, p) {\n return pad(d.getHours(), p, 2);\n}\n\nfunction formatHour12(d, p) {\n return pad(d.getHours() % 12 || 12, p, 2);\n}\n\nfunction formatDayOfYear(d, p) {\n return pad(1 + timeDay.count(timeYear(d), d), p, 3);\n}\n\nfunction formatMilliseconds(d, p) {\n return pad(d.getMilliseconds(), p, 3);\n}\n\nfunction formatMicroseconds(d, p) {\n return formatMilliseconds(d, p) + \"000\";\n}\n\nfunction formatMonthNumber(d, p) {\n return pad(d.getMonth() + 1, p, 2);\n}\n\nfunction formatMinutes(d, p) {\n return pad(d.getMinutes(), p, 2);\n}\n\nfunction formatSeconds(d, p) {\n return pad(d.getSeconds(), p, 2);\n}\n\nfunction formatWeekdayNumberMonday(d) {\n var day = d.getDay();\n return day === 0 ? 7 : day;\n}\n\nfunction formatWeekNumberSunday(d, p) {\n return pad(timeSunday.count(timeYear(d) - 1, d), p, 2);\n}\n\nfunction formatWeekNumberISO(d, p) {\n var day = d.getDay();\n d = (day >= 4 || day === 0) ? timeThursday(d) : timeThursday.ceil(d);\n return pad(timeThursday.count(timeYear(d), d) + (timeYear(d).getDay() === 4), p, 2);\n}\n\nfunction formatWeekdayNumberSunday(d) {\n return d.getDay();\n}\n\nfunction formatWeekNumberMonday(d, p) {\n return pad(timeMonday.count(timeYear(d) - 1, d), p, 2);\n}\n\nfunction formatYear(d, p) {\n return pad(d.getFullYear() % 100, p, 2);\n}\n\nfunction formatFullYear(d, p) {\n return pad(d.getFullYear() % 10000, p, 4);\n}\n\nfunction formatZone(d) {\n var z = d.getTimezoneOffset();\n return (z > 0 ? \"-\" : (z *= -1, \"+\"))\n + pad(z / 60 | 0, \"0\", 2)\n + pad(z % 60, \"0\", 2);\n}\n\nfunction formatUTCDayOfMonth(d, p) {\n return pad(d.getUTCDate(), p, 2);\n}\n\nfunction formatUTCHour24(d, p) {\n return pad(d.getUTCHours(), p, 2);\n}\n\nfunction formatUTCHour12(d, p) {\n return pad(d.getUTCHours() % 12 || 12, p, 2);\n}\n\nfunction formatUTCDayOfYear(d, p) {\n return pad(1 + utcDay.count(utcYear(d), d), p, 3);\n}\n\nfunction formatUTCMilliseconds(d, p) {\n return pad(d.getUTCMilliseconds(), p, 3);\n}\n\nfunction formatUTCMicroseconds(d, p) {\n return formatUTCMilliseconds(d, p) + \"000\";\n}\n\nfunction formatUTCMonthNumber(d, p) {\n return pad(d.getUTCMonth() + 1, p, 2);\n}\n\nfunction formatUTCMinutes(d, p) {\n return pad(d.getUTCMinutes(), p, 2);\n}\n\nfunction formatUTCSeconds(d, p) {\n return pad(d.getUTCSeconds(), p, 2);\n}\n\nfunction formatUTCWeekdayNumberMonday(d) {\n var dow = d.getUTCDay();\n return dow === 0 ? 7 : dow;\n}\n\nfunction formatUTCWeekNumberSunday(d, p) {\n return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);\n}\n\nfunction formatUTCWeekNumberISO(d, p) {\n var day = d.getUTCDay();\n d = (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);\n return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);\n}\n\nfunction formatUTCWeekdayNumberSunday(d) {\n return d.getUTCDay();\n}\n\nfunction formatUTCWeekNumberMonday(d, p) {\n return pad(utcMonday.count(utcYear(d) - 1, d), p, 2);\n}\n\nfunction formatUTCYear(d, p) {\n return pad(d.getUTCFullYear() % 100, p, 2);\n}\n\nfunction formatUTCFullYear(d, p) {\n return pad(d.getUTCFullYear() % 10000, p, 4);\n}\n\nfunction formatUTCZone() {\n return \"+0000\";\n}\n\nfunction formatLiteralPercent() {\n return \"%\";\n}\n\nfunction formatUnixTimestamp(d) {\n return +d;\n}\n\nfunction formatUnixTimestampSeconds(d) {\n return Math.floor(+d / 1000);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/defaultLocale.js", "name": "./node_modules/d3-time-format/src/defaultLocale.js", "index": 387, "index2": 386, "size": 870, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "name": "./node_modules/d3-time-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 418, "building": 18, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoFormat.js", "module": "./node_modules/d3-time-format/src/isoFormat.js", "moduleName": "./node_modules/d3-time-format/src/isoFormat.js", "type": "harmony side effect evaluation", "userRequest": "./defaultLocale.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoParse.js", "module": "./node_modules/d3-time-format/src/isoParse.js", "moduleName": "./node_modules/d3-time-format/src/isoParse.js", "type": "harmony side effect evaluation", "userRequest": "./defaultLocale.js", "loc": "2:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time-format", "loc": "7:117-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoParse.js", "module": "./node_modules/d3-time-format/src/isoParse.js", "moduleName": "./node_modules/d3-time-format/src/isoParse.js", "type": "harmony import specifier", "userRequest": "./defaultLocale.js", "loc": "11:6-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoFormat.js", "module": "./node_modules/d3-time-format/src/isoFormat.js", "moduleName": "./node_modules/d3-time-format/src/isoFormat.js", "type": "harmony import specifier", "userRequest": "./defaultLocale.js", "loc": "11:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time-format", "loc": "134:125-135" } ], "usedExports": [ "utcFormat", "timeFormat", "default", "timeParse", "utcParse" ], "providedExports": [ "timeFormat", "timeParse", "utcFormat", "utcParse", "default" ], "optimizationBailout": [], "depth": 4, "source": "import formatLocale from \"./locale.js\";\n\nvar locale;\nexport var timeFormat;\nexport var timeParse;\nexport var utcFormat;\nexport var utcParse;\n\ndefaultLocale({\n dateTime: \"%x, %X\",\n date: \"%-m/%-d/%Y\",\n time: \"%-I:%M:%S %p\",\n periods: [\"AM\", \"PM\"],\n days: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"],\n shortDays: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n months: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"],\n shortMonths: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"]\n});\n\nexport default function defaultLocale(definition) {\n locale = formatLocale(definition);\n timeFormat = locale.format;\n timeParse = locale.parse;\n utcFormat = locale.utcFormat;\n utcParse = locale.utcParse;\n return locale;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "name": "./node_modules/d3-scale/src/time.js", "index": 376, "index2": 387, "size": 4524, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony side effect evaluation", "userRequest": "./time", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "userRequest": "./time", "loc": "7:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./time", "loc": "44:0-46:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./time", "loc": "44:0-46:16" } ], "usedExports": [ "calendar", "default" ], "providedExports": [ "calendar", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {bisector, tickStep} from \"d3-array\";\nimport {timeYear, timeMonth, timeWeek, timeDay, timeHour, timeMinute, timeSecond, timeMillisecond} from \"d3-time\";\nimport {timeFormat} from \"d3-time-format\";\nimport {map} from \"./array\";\nimport continuous, {copy, identity} from \"./continuous\";\nimport {initRange} from \"./init\";\nimport nice from \"./nice\";\n\nvar durationSecond = 1000,\n durationMinute = durationSecond * 60,\n durationHour = durationMinute * 60,\n durationDay = durationHour * 24,\n durationWeek = durationDay * 7,\n durationMonth = durationDay * 30,\n durationYear = durationDay * 365;\n\nfunction date(t) {\n return new Date(t);\n}\n\nfunction number(t) {\n return t instanceof Date ? +t : +new Date(+t);\n}\n\nexport function calendar(year, month, week, day, hour, minute, second, millisecond, format) {\n var scale = continuous(identity, identity),\n invert = scale.invert,\n domain = scale.domain;\n\n var formatMillisecond = format(\".%L\"),\n formatSecond = format(\":%S\"),\n formatMinute = format(\"%I:%M\"),\n formatHour = format(\"%I %p\"),\n formatDay = format(\"%a %d\"),\n formatWeek = format(\"%b %d\"),\n formatMonth = format(\"%B\"),\n formatYear = format(\"%Y\");\n\n var tickIntervals = [\n [second, 1, durationSecond],\n [second, 5, 5 * durationSecond],\n [second, 15, 15 * durationSecond],\n [second, 30, 30 * durationSecond],\n [minute, 1, durationMinute],\n [minute, 5, 5 * durationMinute],\n [minute, 15, 15 * durationMinute],\n [minute, 30, 30 * durationMinute],\n [ hour, 1, durationHour ],\n [ hour, 3, 3 * durationHour ],\n [ hour, 6, 6 * durationHour ],\n [ hour, 12, 12 * durationHour ],\n [ day, 1, durationDay ],\n [ day, 2, 2 * durationDay ],\n [ week, 1, durationWeek ],\n [ month, 1, durationMonth ],\n [ month, 3, 3 * durationMonth ],\n [ year, 1, durationYear ]\n ];\n\n function tickFormat(date) {\n return (second(date) < date ? formatMillisecond\n : minute(date) < date ? formatSecond\n : hour(date) < date ? formatMinute\n : day(date) < date ? formatHour\n : month(date) < date ? (week(date) < date ? formatDay : formatWeek)\n : year(date) < date ? formatMonth\n : formatYear)(date);\n }\n\n function tickInterval(interval, start, stop, step) {\n if (interval == null) interval = 10;\n\n // If a desired tick count is specified, pick a reasonable tick interval\n // based on the extent of the domain and a rough estimate of tick size.\n // Otherwise, assume interval is already a time interval and use it.\n if (typeof interval === \"number\") {\n var target = Math.abs(stop - start) / interval,\n i = bisector(function(i) { return i[2]; }).right(tickIntervals, target);\n if (i === tickIntervals.length) {\n step = tickStep(start / durationYear, stop / durationYear, interval);\n interval = year;\n } else if (i) {\n i = tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i];\n step = i[1];\n interval = i[0];\n } else {\n step = Math.max(tickStep(start, stop, interval), 1);\n interval = millisecond;\n }\n }\n\n return step == null ? interval : interval.every(step);\n }\n\n scale.invert = function(y) {\n return new Date(invert(y));\n };\n\n scale.domain = function(_) {\n return arguments.length ? domain(map.call(_, number)) : domain().map(date);\n };\n\n scale.ticks = function(interval, step) {\n var d = domain(),\n t0 = d[0],\n t1 = d[d.length - 1],\n r = t1 < t0,\n t;\n if (r) t = t0, t0 = t1, t1 = t;\n t = tickInterval(interval, t0, t1, step);\n t = t ? t.range(t0, t1 + 1) : []; // inclusive stop\n return r ? t.reverse() : t;\n };\n\n scale.tickFormat = function(count, specifier) {\n return specifier == null ? tickFormat : format(specifier);\n };\n\n scale.nice = function(interval, step) {\n var d = domain();\n return (interval = tickInterval(interval, d[0], d[d.length - 1], step))\n ? domain(nice(d, interval))\n : scale;\n };\n\n scale.copy = function() {\n return copy(scale, calendar(year, month, week, day, hour, minute, second, millisecond, format));\n };\n\n return scale;\n}\n\nexport default function() {\n return initRange.apply(calendar(timeYear, timeMonth, timeWeek, timeDay, timeHour, timeMinute, timeSecond, timeMillisecond, timeFormat).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]), arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMonth.js", "name": "./node_modules/d3-time/src/utcMonth.js", "index": 393, "index2": 388, "size": 456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:43-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcMonth.js", "loc": "97:0-100:23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcMonth.js", "loc": "97:0-100:23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcMonth.js", "loc": "97:0-100:23" } ], "usedExports": [ "default", "utcMonths" ], "providedExports": [ "default", "utcMonths" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\n\nvar utcMonth = interval(function(date) {\n date.setUTCDate(1);\n date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setUTCMonth(date.getUTCMonth() + step);\n}, function(start, end) {\n return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;\n}, function(date) {\n return date.getUTCMonth();\n});\n\nexport default utcMonth;\nexport var utcMonths = utcMonth.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "name": "./node_modules/d3-time/src/utcHour.js", "index": 394, "index2": 389, "size": 405, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:70-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcHour.js", "loc": "68:0-71:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcHour.js", "loc": "68:0-71:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcHour.js", "loc": "68:0-71:22" } ], "usedExports": [ "default", "utcHours" ], "providedExports": [ "default", "utcHours" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationHour} from \"./duration.js\";\n\nvar utcHour = interval(function(date) {\n date.setUTCMinutes(0, 0, 0);\n}, function(date, step) {\n date.setTime(+date + step * durationHour);\n}, function(start, end) {\n return (end - start) / durationHour;\n}, function(date) {\n return date.getUTCHours();\n});\n\nexport default utcHour;\nexport var utcHours = utcHour.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "name": "./node_modules/d3-time/src/utcMinute.js", "index": 395, "index2": 390, "size": 418, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:79-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcMinute.js", "loc": "63:0-66:24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcMinute.js", "loc": "63:0-66:24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcMinute.js", "loc": "63:0-66:24" } ], "usedExports": [ "default", "utcMinutes" ], "providedExports": [ "default", "utcMinutes" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationMinute} from \"./duration.js\";\n\nvar utcMinute = interval(function(date) {\n date.setUTCSeconds(0, 0);\n}, function(date, step) {\n date.setTime(+date + step * durationMinute);\n}, function(start, end) {\n return (end - start) / durationMinute;\n}, function(date) {\n return date.getUTCMinutes();\n});\n\nexport default utcMinute;\nexport var utcMinutes = utcMinute.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "name": "./node_modules/d3-scale/src/utcTime.js", "index": 392, "index2": 391, "size": 441, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcTime", "loc": "48:0-50:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcTime", "loc": "48:0-50:19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {calendar} from \"./time\";\nimport {utcFormat} from \"d3-time-format\";\nimport {utcYear, utcMonth, utcWeek, utcDay, utcHour, utcMinute, utcSecond, utcMillisecond} from \"d3-time\";\nimport {initRange} from \"./init\";\n\nexport default function() {\n return initRange.apply(calendar(utcYear, utcMonth, utcWeek, utcDay, utcHour, utcMinute, utcSecond, utcMillisecond, utcFormat).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]), arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "name": "./node_modules/d3-scale/src/sequential.js", "index": 396, "index2": 392, "size": 2384, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./sequential", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./sequential", "loc": "53:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./sequential", "loc": "63:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./sequential", "loc": "73:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./sequential", "loc": "83:11-15" } ], "usedExports": [ "copy", "default", "sequentialLog", "sequentialPow", "sequentialSqrt", "sequentialSymlog" ], "providedExports": [ "copy", "default", "sequentialLog", "sequentialSymlog", "sequentialPow", "sequentialSqrt" ], "optimizationBailout": [], "depth": 4, "source": "import {identity} from \"./continuous\";\nimport {initInterpolator} from \"./init\";\nimport {linearish} from \"./linear\";\nimport {loggish} from \"./log\";\nimport {symlogish} from \"./symlog\";\nimport {powish} from \"./pow\";\n\nfunction transformer() {\n var x0 = 0,\n x1 = 1,\n t0,\n t1,\n k10,\n transform,\n interpolator = identity,\n clamp = false,\n unknown;\n\n function scale(x) {\n return isNaN(x = +x) ? unknown : interpolator(k10 === 0 ? 0.5 : (x = (transform(x) - t0) * k10, clamp ? Math.max(0, Math.min(1, x)) : x));\n }\n\n scale.domain = function(_) {\n return arguments.length ? (t0 = transform(x0 = +_[0]), t1 = transform(x1 = +_[1]), k10 = t0 === t1 ? 0 : 1 / (t1 - t0), scale) : [x0, x1];\n };\n\n scale.clamp = function(_) {\n return arguments.length ? (clamp = !!_, scale) : clamp;\n };\n\n scale.interpolator = function(_) {\n return arguments.length ? (interpolator = _, scale) : interpolator;\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n return function(t) {\n transform = t, t0 = t(x0), t1 = t(x1), k10 = t0 === t1 ? 0 : 1 / (t1 - t0);\n return scale;\n };\n}\n\nexport function copy(source, target) {\n return target\n .domain(source.domain())\n .interpolator(source.interpolator())\n .clamp(source.clamp())\n .unknown(source.unknown());\n}\n\nexport default function sequential() {\n var scale = linearish(transformer()(identity));\n\n scale.copy = function() {\n return copy(scale, sequential());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function sequentialLog() {\n var scale = loggish(transformer()).domain([1, 10]);\n\n scale.copy = function() {\n return copy(scale, sequentialLog()).base(scale.base());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function sequentialSymlog() {\n var scale = symlogish(transformer());\n\n scale.copy = function() {\n return copy(scale, sequentialSymlog()).constant(scale.constant());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function sequentialPow() {\n var scale = powish(transformer());\n\n scale.copy = function() {\n return copy(scale, sequentialPow()).exponent(scale.exponent());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function sequentialSqrt() {\n return sequentialPow.apply(null, arguments).exponent(0.5);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "name": "./node_modules/d3-scale/src/sequentialQuantile.js", "index": 397, "index2": 393, "size": 862, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequentialQuantile", "loc": "60:0-62:30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequentialQuantile", "loc": "60:0-62:30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {ascending, bisect} from \"d3-array\";\nimport {identity} from \"./continuous\";\nimport {initInterpolator} from \"./init\";\n\nexport default function sequentialQuantile() {\n var domain = [],\n interpolator = identity;\n\n function scale(x) {\n if (!isNaN(x = +x)) return interpolator((bisect(domain, x) - 1) / (domain.length - 1));\n }\n\n scale.domain = function(_) {\n if (!arguments.length) return domain.slice();\n domain = [];\n for (var i = 0, n = _.length, d; i < n; ++i) if (d = _[i], d != null && !isNaN(d = +d)) domain.push(d);\n domain.sort(ascending);\n return scale;\n };\n\n scale.interpolator = function(_) {\n return arguments.length ? (interpolator = _, scale) : interpolator;\n };\n\n scale.copy = function() {\n return sequentialQuantile(interpolator).domain(domain);\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "name": "./node_modules/d3-scale/src/diverging.js", "index": 398, "index2": 394, "size": 2394, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging", "loc": "64:0-70:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging", "loc": "64:0-70:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging", "loc": "64:0-70:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging", "loc": "64:0-70:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging", "loc": "64:0-70:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging", "loc": "64:0-70:21" } ], "usedExports": [ "default", "divergingLog", "divergingPow", "divergingSqrt", "divergingSymlog" ], "providedExports": [ "default", "divergingLog", "divergingSymlog", "divergingPow", "divergingSqrt" ], "optimizationBailout": [], "depth": 4, "source": "import {identity} from \"./continuous\";\nimport {initInterpolator} from \"./init\";\nimport {linearish} from \"./linear\";\nimport {loggish} from \"./log\";\nimport {copy} from \"./sequential\";\nimport {symlogish} from \"./symlog\";\nimport {powish} from \"./pow\";\n\nfunction transformer() {\n var x0 = 0,\n x1 = 0.5,\n x2 = 1,\n t0,\n t1,\n t2,\n k10,\n k21,\n interpolator = identity,\n transform,\n clamp = false,\n unknown;\n\n function scale(x) {\n return isNaN(x = +x) ? unknown : (x = 0.5 + ((x = +transform(x)) - t1) * (x < t1 ? k10 : k21), interpolator(clamp ? Math.max(0, Math.min(1, x)) : x));\n }\n\n scale.domain = function(_) {\n return arguments.length ? (t0 = transform(x0 = +_[0]), t1 = transform(x1 = +_[1]), t2 = transform(x2 = +_[2]), k10 = t0 === t1 ? 0 : 0.5 / (t1 - t0), k21 = t1 === t2 ? 0 : 0.5 / (t2 - t1), scale) : [x0, x1, x2];\n };\n\n scale.clamp = function(_) {\n return arguments.length ? (clamp = !!_, scale) : clamp;\n };\n\n scale.interpolator = function(_) {\n return arguments.length ? (interpolator = _, scale) : interpolator;\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n return function(t) {\n transform = t, t0 = t(x0), t1 = t(x1), t2 = t(x2), k10 = t0 === t1 ? 0 : 0.5 / (t1 - t0), k21 = t1 === t2 ? 0 : 0.5 / (t2 - t1);\n return scale;\n };\n}\n\nexport default function diverging() {\n var scale = linearish(transformer()(identity));\n\n scale.copy = function() {\n return copy(scale, diverging());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function divergingLog() {\n var scale = loggish(transformer()).domain([0.1, 1, 10]);\n\n scale.copy = function() {\n return copy(scale, divergingLog()).base(scale.base());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function divergingSymlog() {\n var scale = symlogish(transformer());\n\n scale.copy = function() {\n return copy(scale, divergingSymlog()).constant(scale.constant());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function divergingPow() {\n var scale = powish(transformer());\n\n scale.copy = function() {\n return copy(scale, divergingPow()).exponent(scale.exponent());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function divergingSqrt() {\n return divergingPow.apply(null, arguments).exponent(0.5);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/category10.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "index": 400, "index2": 397, "size": 123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/category10.js", "loc": "1:0-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/category10.js", "loc": "1:0-72" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Accent.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Accent.js", "index": 402, "index2": 398, "size": 111, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Accent.js", "loc": "2:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Accent.js", "loc": "2:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "index": 403, "index2": 399, "size": 111, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Dark2.js", "loc": "3:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Dark2.js", "loc": "3:0-62" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Paired.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Paired.js", "index": 404, "index2": 400, "size": 135, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Paired.js", "loc": "4:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Paired.js", "loc": "4:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "index": 405, "index2": 401, "size": 117, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Pastel1.js", "loc": "5:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Pastel1.js", "loc": "5:0-66" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "index": 406, "index2": 402, "size": 111, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Pastel2.js", "loc": "6:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Pastel2.js", "loc": "6:0-66" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set1.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Set1.js", "index": 407, "index2": 403, "size": 117, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Set1.js", "loc": "7:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Set1.js", "loc": "7:0-60" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set2.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Set2.js", "index": 408, "index2": 404, "size": 111, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Set2.js", "loc": "8:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Set2.js", "loc": "8:0-60" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set3.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Set3.js", "index": 409, "index2": 405, "size": 135, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Set3.js", "loc": "9:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Set3.js", "loc": "9:0-60" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "index": 410, "index2": 406, "size": 123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Tableau10.js", "loc": "10:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Tableau10.js", "loc": "10:0-70" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "index": 411, "index2": 408, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/BrBG.js", "loc": "11:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/BrBG.js", "loc": "11:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/BrBG.js", "loc": "11:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"d8b365f5f5f55ab4ac\",\n \"a6611adfc27d80cdc1018571\",\n \"a6611adfc27df5f5f580cdc1018571\",\n \"8c510ad8b365f6e8c3c7eae55ab4ac01665e\",\n \"8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e\",\n \"8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e\",\n \"8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e\",\n \"5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30\",\n \"5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "index": 413, "index2": 409, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/PRGn.js", "loc": "12:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PRGn.js", "loc": "12:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PRGn.js", "loc": "12:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"af8dc3f7f7f77fbf7b\",\n \"7b3294c2a5cfa6dba0008837\",\n \"7b3294c2a5cff7f7f7a6dba0008837\",\n \"762a83af8dc3e7d4e8d9f0d37fbf7b1b7837\",\n \"762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837\",\n \"762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837\",\n \"762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837\",\n \"40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b\",\n \"40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "index": 414, "index2": 410, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/PiYG.js", "loc": "13:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PiYG.js", "loc": "13:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PiYG.js", "loc": "13:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e9a3c9f7f7f7a1d76a\",\n \"d01c8bf1b6dab8e1864dac26\",\n \"d01c8bf1b6daf7f7f7b8e1864dac26\",\n \"c51b7de9a3c9fde0efe6f5d0a1d76a4d9221\",\n \"c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221\",\n \"c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221\",\n \"c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221\",\n \"8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419\",\n \"8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "index": 415, "index2": 411, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/PuOr.js", "loc": "14:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PuOr.js", "loc": "14:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PuOr.js", "loc": "14:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"998ec3f7f7f7f1a340\",\n \"5e3c99b2abd2fdb863e66101\",\n \"5e3c99b2abd2f7f7f7fdb863e66101\",\n \"542788998ec3d8daebfee0b6f1a340b35806\",\n \"542788998ec3d8daebf7f7f7fee0b6f1a340b35806\",\n \"5427888073acb2abd2d8daebfee0b6fdb863e08214b35806\",\n \"5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806\",\n \"2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08\",\n \"2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "index": 416, "index2": 412, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/RdBu.js", "loc": "15:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdBu.js", "loc": "15:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdBu.js", "loc": "15:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"ef8a62f7f7f767a9cf\",\n \"ca0020f4a58292c5de0571b0\",\n \"ca0020f4a582f7f7f792c5de0571b0\",\n \"b2182bef8a62fddbc7d1e5f067a9cf2166ac\",\n \"b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac\",\n \"b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac\",\n \"b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac\",\n \"67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061\",\n \"67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "index": 417, "index2": 413, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/RdGy.js", "loc": "16:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdGy.js", "loc": "16:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdGy.js", "loc": "16:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"ef8a62ffffff999999\",\n \"ca0020f4a582bababa404040\",\n \"ca0020f4a582ffffffbababa404040\",\n \"b2182bef8a62fddbc7e0e0e09999994d4d4d\",\n \"b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d\",\n \"b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d\",\n \"b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d\",\n \"67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a\",\n \"67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "index": 418, "index2": 414, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/RdYlBu.js", "loc": "17:0-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdYlBu.js", "loc": "17:0-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdYlBu.js", "loc": "17:0-91" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf91bfdb\",\n \"d7191cfdae61abd9e92c7bb6\",\n \"d7191cfdae61ffffbfabd9e92c7bb6\",\n \"d73027fc8d59fee090e0f3f891bfdb4575b4\",\n \"d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4\",\n \"d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4\",\n \"d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4\",\n \"a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695\",\n \"a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "index": 419, "index2": 415, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/RdYlGn.js", "loc": "18:0-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdYlGn.js", "loc": "18:0-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdYlGn.js", "loc": "18:0-91" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf91cf60\",\n \"d7191cfdae61a6d96a1a9641\",\n \"d7191cfdae61ffffbfa6d96a1a9641\",\n \"d73027fc8d59fee08bd9ef8b91cf601a9850\",\n \"d73027fc8d59fee08bffffbfd9ef8b91cf601a9850\",\n \"d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850\",\n \"d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850\",\n \"a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837\",\n \"a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "index": 420, "index2": 416, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/Spectral.js", "loc": "19:0-97" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/Spectral.js", "loc": "19:0-97" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/Spectral.js", "loc": "19:0-97" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf99d594\",\n \"d7191cfdae61abdda42b83ba\",\n \"d7191cfdae61ffffbfabdda42b83ba\",\n \"d53e4ffc8d59fee08be6f59899d5943288bd\",\n \"d53e4ffc8d59fee08bffffbfe6f59899d5943288bd\",\n \"d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd\",\n \"d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd\",\n \"9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2\",\n \"9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "index": 421, "index2": 417, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/BuGn.js", "loc": "20:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/BuGn.js", "loc": "20:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/BuGn.js", "loc": "20:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e5f5f999d8c92ca25f\",\n \"edf8fbb2e2e266c2a4238b45\",\n \"edf8fbb2e2e266c2a42ca25f006d2c\",\n \"edf8fbccece699d8c966c2a42ca25f006d2c\",\n \"edf8fbccece699d8c966c2a441ae76238b45005824\",\n \"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824\",\n \"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "index": 422, "index2": 418, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/BuPu.js", "loc": "21:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/BuPu.js", "loc": "21:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/BuPu.js", "loc": "21:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e0ecf49ebcda8856a7\",\n \"edf8fbb3cde38c96c688419d\",\n \"edf8fbb3cde38c96c68856a7810f7c\",\n \"edf8fbbfd3e69ebcda8c96c68856a7810f7c\",\n \"edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b\",\n \"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b\",\n \"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "index": 423, "index2": 419, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/GnBu.js", "loc": "22:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/GnBu.js", "loc": "22:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/GnBu.js", "loc": "22:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e0f3dba8ddb543a2ca\",\n \"f0f9e8bae4bc7bccc42b8cbe\",\n \"f0f9e8bae4bc7bccc443a2ca0868ac\",\n \"f0f9e8ccebc5a8ddb57bccc443a2ca0868ac\",\n \"f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\n \"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\n \"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "index": 424, "index2": 420, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/OrRd.js", "loc": "23:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/OrRd.js", "loc": "23:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/OrRd.js", "loc": "23:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fee8c8fdbb84e34a33\",\n \"fef0d9fdcc8afc8d59d7301f\",\n \"fef0d9fdcc8afc8d59e34a33b30000\",\n \"fef0d9fdd49efdbb84fc8d59e34a33b30000\",\n \"fef0d9fdd49efdbb84fc8d59ef6548d7301f990000\",\n \"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000\",\n \"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "index": 425, "index2": 421, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/PuBuGn.js", "loc": "24:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuBuGn.js", "loc": "24:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuBuGn.js", "loc": "24:0-98" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"ece2f0a6bddb1c9099\",\n \"f6eff7bdc9e167a9cf02818a\",\n \"f6eff7bdc9e167a9cf1c9099016c59\",\n \"f6eff7d0d1e6a6bddb67a9cf1c9099016c59\",\n \"f6eff7d0d1e6a6bddb67a9cf3690c002818a016450\",\n \"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450\",\n \"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "index": 426, "index2": 422, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/PuBu.js", "loc": "25:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuBu.js", "loc": "25:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuBu.js", "loc": "25:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"ece7f2a6bddb2b8cbe\",\n \"f1eef6bdc9e174a9cf0570b0\",\n \"f1eef6bdc9e174a9cf2b8cbe045a8d\",\n \"f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d\",\n \"f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\n \"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\n \"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "index": 427, "index2": 423, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/PuRd.js", "loc": "26:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuRd.js", "loc": "26:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuRd.js", "loc": "26:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e7e1efc994c7dd1c77\",\n \"f1eef6d7b5d8df65b0ce1256\",\n \"f1eef6d7b5d8df65b0dd1c77980043\",\n \"f1eef6d4b9dac994c7df65b0dd1c77980043\",\n \"f1eef6d4b9dac994c7df65b0e7298ace125691003f\",\n \"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f\",\n \"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "index": 428, "index2": 424, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/RdPu.js", "loc": "27:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/RdPu.js", "loc": "27:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/RdPu.js", "loc": "27:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fde0ddfa9fb5c51b8a\",\n \"feebe2fbb4b9f768a1ae017e\",\n \"feebe2fbb4b9f768a1c51b8a7a0177\",\n \"feebe2fcc5c0fa9fb5f768a1c51b8a7a0177\",\n \"feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\n \"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\n \"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "index": 429, "index2": 425, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/YlGnBu.js", "loc": "28:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlGnBu.js", "loc": "28:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlGnBu.js", "loc": "28:0-98" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"edf8b17fcdbb2c7fb8\",\n \"ffffcca1dab441b6c4225ea8\",\n \"ffffcca1dab441b6c42c7fb8253494\",\n \"ffffccc7e9b47fcdbb41b6c42c7fb8253494\",\n \"ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\n \"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\n \"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "index": 430, "index2": 426, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/YlGn.js", "loc": "29:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlGn.js", "loc": "29:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlGn.js", "loc": "29:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"f7fcb9addd8e31a354\",\n \"ffffccc2e69978c679238443\",\n \"ffffccc2e69978c67931a354006837\",\n \"ffffccd9f0a3addd8e78c67931a354006837\",\n \"ffffccd9f0a3addd8e78c67941ab5d238443005a32\",\n \"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32\",\n \"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "index": 431, "index2": 427, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/YlOrBr.js", "loc": "30:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlOrBr.js", "loc": "30:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlOrBr.js", "loc": "30:0-98" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fff7bcfec44fd95f0e\",\n \"ffffd4fed98efe9929cc4c02\",\n \"ffffd4fed98efe9929d95f0e993404\",\n \"ffffd4fee391fec44ffe9929d95f0e993404\",\n \"ffffd4fee391fec44ffe9929ec7014cc4c028c2d04\",\n \"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04\",\n \"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "index": 432, "index2": 428, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/YlOrRd.js", "loc": "31:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlOrRd.js", "loc": "31:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlOrRd.js", "loc": "31:0-98" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"ffeda0feb24cf03b20\",\n \"ffffb2fecc5cfd8d3ce31a1c\",\n \"ffffb2fecc5cfd8d3cf03b20bd0026\",\n \"ffffb2fed976feb24cfd8d3cf03b20bd0026\",\n \"ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\n \"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\n \"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "index": 433, "index2": 429, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Blues.js", "loc": "32:0-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Blues.js", "loc": "32:0-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Blues.js", "loc": "32:0-96" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"deebf79ecae13182bd\",\n \"eff3ffbdd7e76baed62171b5\",\n \"eff3ffbdd7e76baed63182bd08519c\",\n \"eff3ffc6dbef9ecae16baed63182bd08519c\",\n \"eff3ffc6dbef9ecae16baed64292c62171b5084594\",\n \"f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594\",\n \"f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "index": 434, "index2": 430, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Greens.js", "loc": "33:0-99" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Greens.js", "loc": "33:0-99" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Greens.js", "loc": "33:0-99" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e5f5e0a1d99b31a354\",\n \"edf8e9bae4b374c476238b45\",\n \"edf8e9bae4b374c47631a354006d2c\",\n \"edf8e9c7e9c0a1d99b74c47631a354006d2c\",\n \"edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32\",\n \"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32\",\n \"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "index": 435, "index2": 431, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Greys.js", "loc": "34:0-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Greys.js", "loc": "34:0-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Greys.js", "loc": "34:0-96" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"f0f0f0bdbdbd636363\",\n \"f7f7f7cccccc969696525252\",\n \"f7f7f7cccccc969696636363252525\",\n \"f7f7f7d9d9d9bdbdbd969696636363252525\",\n \"f7f7f7d9d9d9bdbdbd969696737373525252252525\",\n \"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525\",\n \"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "index": 436, "index2": 432, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Purples.js", "loc": "35:0-102" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Purples.js", "loc": "35:0-102" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Purples.js", "loc": "35:0-102" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"efedf5bcbddc756bb1\",\n \"f2f0f7cbc9e29e9ac86a51a3\",\n \"f2f0f7cbc9e29e9ac8756bb154278f\",\n \"f2f0f7dadaebbcbddc9e9ac8756bb154278f\",\n \"f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486\",\n \"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486\",\n \"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "index": 437, "index2": 433, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Reds.js", "loc": "36:0-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Reds.js", "loc": "36:0-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Reds.js", "loc": "36:0-93" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fee0d2fc9272de2d26\",\n \"fee5d9fcae91fb6a4acb181d\",\n \"fee5d9fcae91fb6a4ade2d26a50f15\",\n \"fee5d9fcbba1fc9272fb6a4ade2d26a50f15\",\n \"fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d\",\n \"fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d\",\n \"fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "index": 438, "index2": 434, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Oranges.js", "loc": "37:0-102" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Oranges.js", "loc": "37:0-102" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Oranges.js", "loc": "37:0-102" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fee6cefdae6be6550d\",\n \"feeddefdbe85fd8d3cd94701\",\n \"feeddefdbe85fd8d3ce6550da63603\",\n \"feeddefdd0a2fdae6bfd8d3ce6550da63603\",\n \"feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04\",\n \"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04\",\n \"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cividis.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/cividis.js", "index": 439, "index2": 435, "size": 494, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/cividis.js", "loc": "38:0-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/cividis.js", "loc": "38:0-76" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(t) {\n t = Math.max(0, Math.min(1, t));\n return \"rgb(\"\n + Math.max(0, Math.min(255, Math.round(-4.54 - t * (35.34 - t * (2381.73 - t * (6402.7 - t * (7024.72 - t * 2710.57))))))) + \", \"\n + Math.max(0, Math.min(255, Math.round(32.49 + t * (170.73 + t * (52.82 - t * (131.46 - t * (176.58 - t * 67.37))))))) + \", \"\n + Math.max(0, Math.min(255, Math.round(81.24 + t * (442.36 - t * (2482.43 - t * (6167.24 - t * (6614.94 - t * 2475.67)))))))\n + \")\";\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "index": 440, "index2": 436, "size": 188, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/cubehelix.js", "loc": "39:0-87" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/cubehelix.js", "loc": "39:0-87" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {cubehelix} from \"d3-color\";\nimport {interpolateCubehelixLong} from \"d3-interpolate\";\n\nexport default interpolateCubehelixLong(cubehelix(300, 0.5, 0.0), cubehelix(-240, 0.5, 1.0));\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "index": 441, "index2": 437, "size": 506, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/rainbow.js", "loc": "40:0-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/rainbow.js", "loc": "40:0-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/rainbow.js", "loc": "40:0-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/rainbow.js", "loc": "40:0-126" } ], "usedExports": [ "default", "warm", "cool" ], "providedExports": [ "warm", "cool", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {cubehelix} from \"d3-color\";\nimport {interpolateCubehelixLong} from \"d3-interpolate\";\n\nexport var warm = interpolateCubehelixLong(cubehelix(-100, 0.75, 0.35), cubehelix(80, 1.50, 0.8));\n\nexport var cool = interpolateCubehelixLong(cubehelix(260, 0.75, 0.35), cubehelix(80, 1.50, 0.8));\n\nvar c = cubehelix();\n\nexport default function(t) {\n if (t < 0 || t > 1) t -= Math.floor(t);\n var ts = Math.abs(t - 0.5);\n c.h = 360 * t - 100;\n c.s = 1.5 - 1.5 * ts;\n c.l = 0.8 - 0.9 * ts;\n return c + \"\";\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "index": 442, "index2": 438, "size": 316, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/sinebow.js", "loc": "41:0-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/sinebow.js", "loc": "41:0-76" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {rgb} from \"d3-color\";\n\nvar c = rgb(),\n pi_1_3 = Math.PI / 3,\n pi_2_3 = Math.PI * 2 / 3;\n\nexport default function(t) {\n var x;\n t = (0.5 - t) * Math.PI;\n c.r = 255 * (x = Math.sin(t)) * x;\n c.g = 255 * (x = Math.sin(t + pi_1_3)) * x;\n c.b = 255 * (x = Math.sin(t + pi_2_3)) * x;\n return c + \"\";\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/turbo.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/turbo.js", "index": 443, "index2": 439, "size": 505, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/turbo.js", "loc": "42:0-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/turbo.js", "loc": "42:0-72" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(t) {\n t = Math.max(0, Math.min(1, t));\n return \"rgb(\"\n + Math.max(0, Math.min(255, Math.round(34.61 + t * (1172.33 - t * (10793.56 - t * (33300.12 - t * (38394.49 - t * 14825.05))))))) + \", \"\n + Math.max(0, Math.min(255, Math.round(23.31 + t * (557.33 + t * (1225.33 - t * (3574.96 - t * (1073.77 + t * 707.56))))))) + \", \"\n + Math.max(0, Math.min(255, Math.round(27.2 + t * (3211.1 - t * (15327.97 - t * (27814 - t * (22569.18 - t * 6838.66)))))))\n + \")\";\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "index": 444, "index2": 440, "size": 6475, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/viridis.js", "loc": "43:0-163" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/viridis.js", "loc": "43:0-163" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/viridis.js", "loc": "43:0-163" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/viridis.js", "loc": "43:0-163" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/viridis.js", "loc": "43:0-163" } ], "usedExports": [ "default", "magma", "inferno", "plasma" ], "providedExports": [ "default", "magma", "inferno", "plasma" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nfunction ramp(range) {\n var n = range.length;\n return function(t) {\n return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];\n };\n}\n\nexport default ramp(colors(\"44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725\"));\n\nexport var magma = ramp(colors(\"00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf\"));\n\nexport var inferno = ramp(colors(\"00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4\"));\n\nexport var plasma = ramp(colors(\"0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921\"));\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "index": 446, "index2": 442, "size": 162, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./create", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./create", "loc": "1:0-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import creator from \"./creator\";\nimport select from \"./select\";\n\nexport default function(name) {\n return select(creator(name).call(document.documentElement));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/local.js", "name": "./node_modules/d3-selection/src/local.js", "index": 447, "index2": 443, "size": 536, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./local", "loc": "3:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./local", "loc": "3:0-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var nextId = 0;\n\nexport default function local() {\n return new Local;\n}\n\nfunction Local() {\n this._ = \"@\" + (++nextId).toString(36);\n}\n\nLocal.prototype = local.prototype = {\n constructor: Local,\n get: function(node) {\n var id = this._;\n while (!(id in node)) if (!(node = node.parentNode)) return;\n return node[id];\n },\n set: function(node, value) {\n return node[this._] = value;\n },\n remove: function(node) {\n return this._ in node && delete node[this._];\n },\n toString: function() {\n return this._;\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectAll.js", "name": "./node_modules/d3-selection/src/selectAll.js", "index": 448, "index2": 444, "size": 282, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selectAll", "loc": "10:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selectAll", "loc": "10:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Selection, root} from \"./selection/index\";\n\nexport default function(selector) {\n return typeof selector === \"string\"\n ? new Selection([document.querySelectorAll(selector)], [document.documentElement])\n : new Selection([selector == null ? [] : selector], root);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "name": "./node_modules/d3-selection/src/touches.js", "index": 449, "index2": 445, "size": 323, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./touches", "loc": "16:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./touches", "loc": "16:0-45" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import sourceEvent from \"./sourceEvent\";\nimport point from \"./point\";\n\nexport default function(node, touches) {\n if (touches == null) touches = sourceEvent().touches;\n\n for (var i = 0, n = touches ? touches.length : 0, points = new Array(n); i < n; ++i) {\n points[i] = point(node, touches[i]);\n }\n\n return points;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "name": "./node_modules/d3-shape/src/arc.js", "index": 451, "index2": 449, "size": 8589, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./arc.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./arc.js", "loc": "1:0-40" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {path} from \"d3-path\";\nimport constant from \"./constant.js\";\nimport {abs, acos, asin, atan2, cos, epsilon, halfPi, max, min, pi, sin, sqrt, tau} from \"./math.js\";\n\nfunction arcInnerRadius(d) {\n return d.innerRadius;\n}\n\nfunction arcOuterRadius(d) {\n return d.outerRadius;\n}\n\nfunction arcStartAngle(d) {\n return d.startAngle;\n}\n\nfunction arcEndAngle(d) {\n return d.endAngle;\n}\n\nfunction arcPadAngle(d) {\n return d && d.padAngle; // Note: optional!\n}\n\nfunction intersect(x0, y0, x1, y1, x2, y2, x3, y3) {\n var x10 = x1 - x0, y10 = y1 - y0,\n x32 = x3 - x2, y32 = y3 - y2,\n t = y32 * x10 - x32 * y10;\n if (t * t < epsilon) return;\n t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / t;\n return [x0 + t * x10, y0 + t * y10];\n}\n\n// Compute perpendicular offset line of length rc.\n// http://mathworld.wolfram.com/Circle-LineIntersection.html\nfunction cornerTangents(x0, y0, x1, y1, r1, rc, cw) {\n var x01 = x0 - x1,\n y01 = y0 - y1,\n lo = (cw ? rc : -rc) / sqrt(x01 * x01 + y01 * y01),\n ox = lo * y01,\n oy = -lo * x01,\n x11 = x0 + ox,\n y11 = y0 + oy,\n x10 = x1 + ox,\n y10 = y1 + oy,\n x00 = (x11 + x10) / 2,\n y00 = (y11 + y10) / 2,\n dx = x10 - x11,\n dy = y10 - y11,\n d2 = dx * dx + dy * dy,\n r = r1 - rc,\n D = x11 * y10 - x10 * y11,\n d = (dy < 0 ? -1 : 1) * sqrt(max(0, r * r * d2 - D * D)),\n cx0 = (D * dy - dx * d) / d2,\n cy0 = (-D * dx - dy * d) / d2,\n cx1 = (D * dy + dx * d) / d2,\n cy1 = (-D * dx + dy * d) / d2,\n dx0 = cx0 - x00,\n dy0 = cy0 - y00,\n dx1 = cx1 - x00,\n dy1 = cy1 - y00;\n\n // Pick the closer of the two intersection points.\n // TODO Is there a faster way to determine which intersection to use?\n if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1) cx0 = cx1, cy0 = cy1;\n\n return {\n cx: cx0,\n cy: cy0,\n x01: -ox,\n y01: -oy,\n x11: cx0 * (r1 / r - 1),\n y11: cy0 * (r1 / r - 1)\n };\n}\n\nexport default function() {\n var innerRadius = arcInnerRadius,\n outerRadius = arcOuterRadius,\n cornerRadius = constant(0),\n padRadius = null,\n startAngle = arcStartAngle,\n endAngle = arcEndAngle,\n padAngle = arcPadAngle,\n context = null;\n\n function arc() {\n var buffer,\n r,\n r0 = +innerRadius.apply(this, arguments),\n r1 = +outerRadius.apply(this, arguments),\n a0 = startAngle.apply(this, arguments) - halfPi,\n a1 = endAngle.apply(this, arguments) - halfPi,\n da = abs(a1 - a0),\n cw = a1 > a0;\n\n if (!context) context = buffer = path();\n\n // Ensure that the outer radius is always larger than the inner radius.\n if (r1 < r0) r = r1, r1 = r0, r0 = r;\n\n // Is it a point?\n if (!(r1 > epsilon)) context.moveTo(0, 0);\n\n // Or is it a circle or annulus?\n else if (da > tau - epsilon) {\n context.moveTo(r1 * cos(a0), r1 * sin(a0));\n context.arc(0, 0, r1, a0, a1, !cw);\n if (r0 > epsilon) {\n context.moveTo(r0 * cos(a1), r0 * sin(a1));\n context.arc(0, 0, r0, a1, a0, cw);\n }\n }\n\n // Or is it a circular or annular sector?\n else {\n var a01 = a0,\n a11 = a1,\n a00 = a0,\n a10 = a1,\n da0 = da,\n da1 = da,\n ap = padAngle.apply(this, arguments) / 2,\n rp = (ap > epsilon) && (padRadius ? +padRadius.apply(this, arguments) : sqrt(r0 * r0 + r1 * r1)),\n rc = min(abs(r1 - r0) / 2, +cornerRadius.apply(this, arguments)),\n rc0 = rc,\n rc1 = rc,\n t0,\n t1;\n\n // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.\n if (rp > epsilon) {\n var p0 = asin(rp / r0 * sin(ap)),\n p1 = asin(rp / r1 * sin(ap));\n if ((da0 -= p0 * 2) > epsilon) p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;\n else da0 = 0, a00 = a10 = (a0 + a1) / 2;\n if ((da1 -= p1 * 2) > epsilon) p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;\n else da1 = 0, a01 = a11 = (a0 + a1) / 2;\n }\n\n var x01 = r1 * cos(a01),\n y01 = r1 * sin(a01),\n x10 = r0 * cos(a10),\n y10 = r0 * sin(a10);\n\n // Apply rounded corners?\n if (rc > epsilon) {\n var x11 = r1 * cos(a11),\n y11 = r1 * sin(a11),\n x00 = r0 * cos(a00),\n y00 = r0 * sin(a00),\n oc;\n\n // Restrict the corner radius according to the sector angle.\n if (da < pi && (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10))) {\n var ax = x01 - oc[0],\n ay = y01 - oc[1],\n bx = x11 - oc[0],\n by = y11 - oc[1],\n kc = 1 / sin(acos((ax * bx + ay * by) / (sqrt(ax * ax + ay * ay) * sqrt(bx * bx + by * by))) / 2),\n lc = sqrt(oc[0] * oc[0] + oc[1] * oc[1]);\n rc0 = min(rc, (r0 - lc) / (kc - 1));\n rc1 = min(rc, (r1 - lc) / (kc + 1));\n }\n }\n\n // Is the sector collapsed to a line?\n if (!(da1 > epsilon)) context.moveTo(x01, y01);\n\n // Does the sector’s outer ring have rounded corners?\n else if (rc1 > epsilon) {\n t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);\n t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);\n\n context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01);\n\n // Have the corners merged?\n if (rc1 < rc) context.arc(t0.cx, t0.cy, rc1, atan2(t0.y01, t0.x01), atan2(t1.y01, t1.x01), !cw);\n\n // Otherwise, draw the two corners and the ring.\n else {\n context.arc(t0.cx, t0.cy, rc1, atan2(t0.y01, t0.x01), atan2(t0.y11, t0.x11), !cw);\n context.arc(0, 0, r1, atan2(t0.cy + t0.y11, t0.cx + t0.x11), atan2(t1.cy + t1.y11, t1.cx + t1.x11), !cw);\n context.arc(t1.cx, t1.cy, rc1, atan2(t1.y11, t1.x11), atan2(t1.y01, t1.x01), !cw);\n }\n }\n\n // Or is the outer ring just a circular arc?\n else context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw);\n\n // Is there no inner ring, and it’s a circular sector?\n // Or perhaps it’s an annular sector collapsed due to padding?\n if (!(r0 > epsilon) || !(da0 > epsilon)) context.lineTo(x10, y10);\n\n // Does the sector’s inner ring (or point) have rounded corners?\n else if (rc0 > epsilon) {\n t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);\n t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);\n\n context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01);\n\n // Have the corners merged?\n if (rc0 < rc) context.arc(t0.cx, t0.cy, rc0, atan2(t0.y01, t0.x01), atan2(t1.y01, t1.x01), !cw);\n\n // Otherwise, draw the two corners and the ring.\n else {\n context.arc(t0.cx, t0.cy, rc0, atan2(t0.y01, t0.x01), atan2(t0.y11, t0.x11), !cw);\n context.arc(0, 0, r0, atan2(t0.cy + t0.y11, t0.cx + t0.x11), atan2(t1.cy + t1.y11, t1.cx + t1.x11), cw);\n context.arc(t1.cx, t1.cy, rc0, atan2(t1.y11, t1.x11), atan2(t1.y01, t1.x01), !cw);\n }\n }\n\n // Or is the inner ring just a circular arc?\n else context.arc(0, 0, r0, a10, a00, cw);\n }\n\n context.closePath();\n\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n arc.centroid = function() {\n var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2,\n a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi / 2;\n return [cos(a) * r, sin(a) * r];\n };\n\n arc.innerRadius = function(_) {\n return arguments.length ? (innerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : innerRadius;\n };\n\n arc.outerRadius = function(_) {\n return arguments.length ? (outerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : outerRadius;\n };\n\n arc.cornerRadius = function(_) {\n return arguments.length ? (cornerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : cornerRadius;\n };\n\n arc.padRadius = function(_) {\n return arguments.length ? (padRadius = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), arc) : padRadius;\n };\n\n arc.startAngle = function(_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : startAngle;\n };\n\n arc.endAngle = function(_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : endAngle;\n };\n\n arc.padAngle = function(_) {\n return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : padAngle;\n };\n\n arc.context = function(_) {\n return arguments.length ? ((context = _ == null ? null : _), arc) : context;\n };\n\n return arc;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linear.js", "name": "./node_modules/d3-shape/src/curve/linear.js", "index": 456, "index2": 451, "size": 738, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/radial.js", "module": "./node_modules/d3-shape/src/curve/radial.js", "moduleName": "./node_modules/d3-shape/src/curve/radial.js", "type": "harmony side effect evaluation", "userRequest": "./linear.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./curve/linear.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony side effect evaluation", "userRequest": "./curve/linear.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/radial.js", "module": "./node_modules/d3-shape/src/curve/radial.js", "moduleName": "./node_modules/d3-shape/src/curve/radial.js", "type": "harmony import specifier", "userRequest": "./linear.js", "loc": "3:43-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./curve/linear.js", "loc": "11:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./curve/linear.js", "loc": "14:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/linear.js", "loc": "30:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/linear.js", "loc": "30:0-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function Linear(context) {\n this._context = context;\n}\n\nLinear.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; // proceed\n default: this._context.lineTo(x, y); break;\n }\n }\n};\n\nexport default function(context) {\n return new Linear(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "name": "./node_modules/d3-shape/src/line.js", "index": 457, "index2": 452, "size": 1525, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "module": "./node_modules/d3-shape/src/lineRadial.js", "moduleName": "./node_modules/d3-shape/src/lineRadial.js", "type": "harmony side effect evaluation", "userRequest": "./line.js", "loc": "2:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./line.js", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./line.js", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./line.js", "loc": "4:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "module": "./node_modules/d3-shape/src/lineRadial.js", "moduleName": "./node_modules/d3-shape/src/lineRadial.js", "type": "harmony import specifier", "userRequest": "./line.js", "loc": "18:20-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./line.js", "loc": "56:11-15" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {path} from \"d3-path\";\nimport constant from \"./constant.js\";\nimport curveLinear from \"./curve/linear.js\";\nimport {x as pointX, y as pointY} from \"./point.js\";\n\nexport default function() {\n var x = pointX,\n y = pointY,\n defined = constant(true),\n context = null,\n curve = curveLinear,\n output = null;\n\n function line(data) {\n var i,\n n = data.length,\n d,\n defined0 = false,\n buffer;\n\n if (context == null) output = curve(buffer = path());\n\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0) output.lineStart();\n else output.lineEnd();\n }\n if (defined0) output.point(+x(d, i, data), +y(d, i, data));\n }\n\n if (buffer) return output = null, buffer + \"\" || null;\n }\n\n line.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), line) : x;\n };\n\n line.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), line) : y;\n };\n\n line.defined = function(_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), line) : defined;\n };\n\n line.curve = function(_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;\n };\n\n line.context = function(_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;\n };\n\n return line;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "name": "./node_modules/d3-shape/src/area.js", "index": 454, "index2": 453, "size": 2929, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./area.js", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "2:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "6:10-14" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {path} from \"d3-path\";\nimport constant from \"./constant.js\";\nimport curveLinear from \"./curve/linear.js\";\nimport line from \"./line.js\";\nimport {x as pointX, y as pointY} from \"./point.js\";\n\nexport default function() {\n var x0 = pointX,\n x1 = null,\n y0 = constant(0),\n y1 = pointY,\n defined = constant(true),\n context = null,\n curve = curveLinear,\n output = null;\n\n function area(data) {\n var i,\n j,\n k,\n n = data.length,\n d,\n defined0 = false,\n buffer,\n x0z = new Array(n),\n y0z = new Array(n);\n\n if (context == null) output = curve(buffer = path());\n\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0) {\n j = i;\n output.areaStart();\n output.lineStart();\n } else {\n output.lineEnd();\n output.lineStart();\n for (k = i - 1; k >= j; --k) {\n output.point(x0z[k], y0z[k]);\n }\n output.lineEnd();\n output.areaEnd();\n }\n }\n if (defined0) {\n x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data);\n output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i]);\n }\n }\n\n if (buffer) return output = null, buffer + \"\" || null;\n }\n\n function arealine() {\n return line().defined(defined).curve(curve).context(context);\n }\n\n area.x = function(_) {\n return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant(+_), x1 = null, area) : x0;\n };\n\n area.x0 = function(_) {\n return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant(+_), area) : x0;\n };\n\n area.x1 = function(_) {\n return arguments.length ? (x1 = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), area) : x1;\n };\n\n area.y = function(_) {\n return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant(+_), y1 = null, area) : y0;\n };\n\n area.y0 = function(_) {\n return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant(+_), area) : y0;\n };\n\n area.y1 = function(_) {\n return arguments.length ? (y1 = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), area) : y1;\n };\n\n area.lineX0 =\n area.lineY0 = function() {\n return arealine().x(x0).y(y0);\n };\n\n area.lineY1 = function() {\n return arealine().x(x0).y(y1);\n };\n\n area.lineX1 = function() {\n return arealine().x(x1).y(y0);\n };\n\n area.defined = function(_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), area) : defined;\n };\n\n area.curve = function(_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), area) : curve;\n };\n\n area.context = function(_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), area) : context;\n };\n\n return area;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "name": "./node_modules/d3-shape/src/pie.js", "index": 458, "index2": 456, "size": 2348, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pie.js", "loc": "4:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pie.js", "loc": "4:0-40" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant.js\";\nimport descending from \"./descending.js\";\nimport identity from \"./identity.js\";\nimport {tau} from \"./math.js\";\n\nexport default function() {\n var value = identity,\n sortValues = descending,\n sort = null,\n startAngle = constant(0),\n endAngle = constant(tau),\n padAngle = constant(0);\n\n function pie(data) {\n var i,\n n = data.length,\n j,\n k,\n sum = 0,\n index = new Array(n),\n arcs = new Array(n),\n a0 = +startAngle.apply(this, arguments),\n da = Math.min(tau, Math.max(-tau, endAngle.apply(this, arguments) - a0)),\n a1,\n p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)),\n pa = p * (da < 0 ? -1 : 1),\n v;\n\n for (i = 0; i < n; ++i) {\n if ((v = arcs[index[i] = i] = +value(data[i], i, data)) > 0) {\n sum += v;\n }\n }\n\n // Optionally sort the arcs by previously-computed values or by data.\n if (sortValues != null) index.sort(function(i, j) { return sortValues(arcs[i], arcs[j]); });\n else if (sort != null) index.sort(function(i, j) { return sort(data[i], data[j]); });\n\n // Compute the arcs! They are stored in the original data's order.\n for (i = 0, k = sum ? (da - n * pa) / sum : 0; i < n; ++i, a0 = a1) {\n j = index[i], v = arcs[j], a1 = a0 + (v > 0 ? v * k : 0) + pa, arcs[j] = {\n data: data[j],\n index: i,\n value: v,\n startAngle: a0,\n endAngle: a1,\n padAngle: p\n };\n }\n\n return arcs;\n }\n\n pie.value = function(_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(+_), pie) : value;\n };\n\n pie.sortValues = function(_) {\n return arguments.length ? (sortValues = _, sort = null, pie) : sortValues;\n };\n\n pie.sort = function(_) {\n return arguments.length ? (sort = _, sortValues = null, pie) : sort;\n };\n\n pie.startAngle = function(_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : startAngle;\n };\n\n pie.endAngle = function(_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : endAngle;\n };\n\n pie.padAngle = function(_) {\n return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : padAngle;\n };\n\n return pie;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "name": "./node_modules/d3-shape/src/lineRadial.js", "index": 463, "index2": 458, "size": 402, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony side effect evaluation", "userRequest": "./lineRadial.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./lineRadial.js", "loc": "6:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lineRadial.js", "loc": "6:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lineRadial.js", "loc": "6:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./lineRadial.js", "loc": "19:41-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./lineRadial.js", "loc": "20:39-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./lineRadial.js", "loc": "21:42-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./lineRadial.js", "loc": "22:42-52" } ], "usedExports": [ "default", "lineRadial" ], "providedExports": [ "lineRadial", "default" ], "optimizationBailout": [], "depth": 4, "source": "import curveRadial, {curveRadialLinear} from \"./curve/radial.js\";\nimport line from \"./line.js\";\n\nexport function lineRadial(l) {\n var c = l.curve;\n\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n\n l.curve = function(_) {\n return arguments.length ? c(curveRadial(_)) : c()._curve;\n };\n\n return l;\n}\n\nexport default function() {\n return lineRadial(line().curve(curveRadialLinear));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "name": "./node_modules/d3-shape/src/areaRadial.js", "index": 461, "index2": 459, "size": 944, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./areaRadial.js", "loc": "5:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./areaRadial.js", "loc": "5:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./areaRadial.js", "loc": "5:0-77" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import curveRadial, {curveRadialLinear} from \"./curve/radial.js\";\nimport area from \"./area.js\";\nimport {lineRadial} from \"./lineRadial.js\";\n\nexport default function() {\n var a = area().curve(curveRadialLinear),\n c = a.curve,\n x0 = a.lineX0,\n x1 = a.lineX1,\n y0 = a.lineY0,\n y1 = a.lineY1;\n\n a.angle = a.x, delete a.x;\n a.startAngle = a.x0, delete a.x0;\n a.endAngle = a.x1, delete a.x1;\n a.radius = a.y, delete a.y;\n a.innerRadius = a.y0, delete a.y0;\n a.outerRadius = a.y1, delete a.y1;\n a.lineStartAngle = function() { return lineRadial(x0()); }, delete a.lineX0;\n a.lineEndAngle = function() { return lineRadial(x1()); }, delete a.lineX1;\n a.lineInnerRadius = function() { return lineRadial(y0()); }, delete a.lineY0;\n a.lineOuterRadius = function() { return lineRadial(y1()); }, delete a.lineY1;\n\n a.curve = function(_) {\n return arguments.length ? c(curveRadial(_)) : c()._curve;\n };\n\n return a;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pointRadial.js", "name": "./node_modules/d3-shape/src/pointRadial.js", "index": 464, "index2": 460, "size": 101, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony side effect evaluation", "userRequest": "../pointRadial.js", "loc": "5:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pointRadial.js", "loc": "7:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pointRadial.js", "loc": "7:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../pointRadial.js", "loc": "63:11-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../pointRadial.js", "loc": "64:11-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../pointRadial.js", "loc": "65:11-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../pointRadial.js", "loc": "66:11-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(x, y) {\n return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "name": "./node_modules/d3-shape/src/link/index.js", "index": 465, "index2": 462, "size": 2230, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./link/index.js", "loc": "8:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./link/index.js", "loc": "8:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./link/index.js", "loc": "8:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./link/index.js", "loc": "8:0-73" } ], "usedExports": [ "linkHorizontal", "linkVertical", "linkRadial" ], "providedExports": [ "linkHorizontal", "linkVertical", "linkRadial" ], "optimizationBailout": [], "depth": 4, "source": "import {path} from \"d3-path\";\nimport {slice} from \"../array.js\";\nimport constant from \"../constant.js\";\nimport {x as pointX, y as pointY} from \"../point.js\";\nimport pointRadial from \"../pointRadial.js\";\n\nfunction linkSource(d) {\n return d.source;\n}\n\nfunction linkTarget(d) {\n return d.target;\n}\n\nfunction link(curve) {\n var source = linkSource,\n target = linkTarget,\n x = pointX,\n y = pointY,\n context = null;\n\n function link() {\n var buffer, argv = slice.call(arguments), s = source.apply(this, argv), t = target.apply(this, argv);\n if (!context) context = buffer = path();\n curve(context, +x.apply(this, (argv[0] = s, argv)), +y.apply(this, argv), +x.apply(this, (argv[0] = t, argv)), +y.apply(this, argv));\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n link.source = function(_) {\n return arguments.length ? (source = _, link) : source;\n };\n\n link.target = function(_) {\n return arguments.length ? (target = _, link) : target;\n };\n\n link.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), link) : x;\n };\n\n link.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), link) : y;\n };\n\n link.context = function(_) {\n return arguments.length ? ((context = _ == null ? null : _), link) : context;\n };\n\n return link;\n}\n\nfunction curveHorizontal(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);\n}\n\nfunction curveVertical(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);\n}\n\nfunction curveRadial(context, x0, y0, x1, y1) {\n var p0 = pointRadial(x0, y0),\n p1 = pointRadial(x0, y0 = (y0 + y1) / 2),\n p2 = pointRadial(x1, y0),\n p3 = pointRadial(x1, y1);\n context.moveTo(p0[0], p0[1]);\n context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);\n}\n\nexport function linkHorizontal() {\n return link(curveHorizontal);\n}\n\nexport function linkVertical() {\n return link(curveVertical);\n}\n\nexport function linkRadial() {\n var l = link(curveRadial);\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n return l;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/circle.js", "name": "./node_modules/d3-shape/src/symbol/circle.js", "index": 468, "index2": 463, "size": 189, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/circle.js", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/circle.js", "loc": "11:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/circle.js", "loc": "11:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/circle.js", "loc": "12:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/circle.js", "loc": "22:22-28" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {pi, tau} from \"../math.js\";\n\nexport default {\n draw: function(context, size) {\n var r = Math.sqrt(size / pi);\n context.moveTo(r, 0);\n context.arc(0, 0, r, 0, tau);\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/cross.js", "name": "./node_modules/d3-shape/src/symbol/cross.js", "index": 469, "index2": 464, "size": 476, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/cross.js", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/cross.js", "loc": "12:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/cross.js", "loc": "12:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/cross.js", "loc": "13:2-7" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default {\n draw: function(context, size) {\n var r = Math.sqrt(size / 5) / 2;\n context.moveTo(-3 * r, -r);\n context.lineTo(-r, -r);\n context.lineTo(-r, -3 * r);\n context.lineTo(r, -3 * r);\n context.lineTo(r, -r);\n context.lineTo(3 * r, -r);\n context.lineTo(3 * r, r);\n context.lineTo(r, r);\n context.lineTo(r, 3 * r);\n context.lineTo(-r, 3 * r);\n context.lineTo(-r, r);\n context.lineTo(-3 * r, r);\n context.closePath();\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/diamond.js", "name": "./node_modules/d3-shape/src/symbol/diamond.js", "index": 470, "index2": 465, "size": 307, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/diamond.js", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/diamond.js", "loc": "13:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/diamond.js", "loc": "13:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/diamond.js", "loc": "14:2-9" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var tan30 = Math.sqrt(1 / 3),\n tan30_2 = tan30 * 2;\n\nexport default {\n draw: function(context, size) {\n var y = Math.sqrt(size / tan30_2),\n x = y * tan30;\n context.moveTo(0, -y);\n context.lineTo(x, 0);\n context.lineTo(0, y);\n context.lineTo(-x, 0);\n context.closePath();\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "name": "./node_modules/d3-shape/src/symbol/star.js", "index": 472, "index2": 467, "size": 612, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/star.js", "loc": "5:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/star.js", "loc": "15:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/star.js", "loc": "15:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/star.js", "loc": "16:2-6" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {pi, tau} from \"../math.js\";\n\nvar ka = 0.89081309152928522810,\n kr = Math.sin(pi / 10) / Math.sin(7 * pi / 10),\n kx = Math.sin(tau / 10) * kr,\n ky = -Math.cos(tau / 10) * kr;\n\nexport default {\n draw: function(context, size) {\n var r = Math.sqrt(size * ka),\n x = kx * r,\n y = ky * r;\n context.moveTo(0, -r);\n context.lineTo(x, y);\n for (var i = 1; i < 5; ++i) {\n var a = tau * i / 5,\n c = Math.cos(a),\n s = Math.sin(a);\n context.lineTo(s * r, -c * r);\n context.lineTo(c * x - s * y, s * x + c * y);\n }\n context.closePath();\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/square.js", "name": "./node_modules/d3-shape/src/symbol/square.js", "index": 471, "index2": 466, "size": 137, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/square.js", "loc": "6:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/square.js", "loc": "14:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/square.js", "loc": "14:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/square.js", "loc": "15:2-8" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default {\n draw: function(context, size) {\n var w = Math.sqrt(size),\n x = -w / 2;\n context.rect(x, x, w, w);\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/triangle.js", "name": "./node_modules/d3-shape/src/symbol/triangle.js", "index": 473, "index2": 468, "size": 255, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/triangle.js", "loc": "7:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/triangle.js", "loc": "16:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/triangle.js", "loc": "16:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/triangle.js", "loc": "17:2-10" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var sqrt3 = Math.sqrt(3);\n\nexport default {\n draw: function(context, size) {\n var y = -Math.sqrt(size / (sqrt3 * 3));\n context.moveTo(0, y * 2);\n context.lineTo(-sqrt3 * y, -y);\n context.lineTo(sqrt3 * y, -y);\n context.closePath();\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/wye.js", "name": "./node_modules/d3-shape/src/symbol/wye.js", "index": 474, "index2": 469, "size": 733, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/wye.js", "loc": "8:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/wye.js", "loc": "17:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/wye.js", "loc": "17:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/wye.js", "loc": "18:2-5" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var c = -0.5,\n s = Math.sqrt(3) / 2,\n k = 1 / Math.sqrt(12),\n a = (k / 2 + 1) * 3;\n\nexport default {\n draw: function(context, size) {\n var r = Math.sqrt(size / a),\n x0 = r / 2,\n y0 = r * k,\n x1 = x0,\n y1 = r * k + r,\n x2 = -x1,\n y2 = y1;\n context.moveTo(x0, y0);\n context.lineTo(x1, y1);\n context.lineTo(x2, y2);\n context.lineTo(c * x0 - s * y0, s * x0 + c * y0);\n context.lineTo(c * x1 - s * y1, s * x1 + c * y1);\n context.lineTo(c * x2 - s * y2, s * x2 + c * y2);\n context.lineTo(c * x0 + s * y0, c * y0 - s * x0);\n context.lineTo(c * x1 + s * y1, c * y1 - s * x1);\n context.lineTo(c * x2 + s * y2, c * y2 - s * x2);\n context.closePath();\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "name": "./node_modules/d3-shape/src/symbol.js", "index": 467, "index2": 470, "size": 1184, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol.js", "loc": "10:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol.js", "loc": "10:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol.js", "loc": "10:0-55" } ], "usedExports": [ "default", "symbols" ], "providedExports": [ "symbols", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {path} from \"d3-path\";\nimport circle from \"./symbol/circle.js\";\nimport cross from \"./symbol/cross.js\";\nimport diamond from \"./symbol/diamond.js\";\nimport star from \"./symbol/star.js\";\nimport square from \"./symbol/square.js\";\nimport triangle from \"./symbol/triangle.js\";\nimport wye from \"./symbol/wye.js\";\nimport constant from \"./constant.js\";\n\nexport var symbols = [\n circle,\n cross,\n diamond,\n square,\n star,\n triangle,\n wye\n];\n\nexport default function() {\n var type = constant(circle),\n size = constant(64),\n context = null;\n\n function symbol() {\n var buffer;\n if (!context) context = buffer = path();\n type.apply(this, arguments).draw(context, +size.apply(this, arguments));\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n symbol.type = function(_) {\n return arguments.length ? (type = typeof _ === \"function\" ? _ : constant(_), symbol) : type;\n };\n\n symbol.size = function(_) {\n return arguments.length ? (size = typeof _ === \"function\" ? _ : constant(+_), symbol) : size;\n };\n\n symbol.context = function(_) {\n return arguments.length ? (context = _ == null ? null : _, symbol) : context;\n };\n\n return symbol;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basis.js", "name": "./node_modules/d3-shape/src/curve/basis.js", "index": 477, "index2": 472, "size": 1436, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/bundle.js", "module": "./node_modules/d3-shape/src/curve/bundle.js", "moduleName": "./node_modules/d3-shape/src/curve/bundle.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisOpen.js", "module": "./node_modules/d3-shape/src/curve/basisOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/basisOpen.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "module": "./node_modules/d3-shape/src/curve/basisClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/basisClosed.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/bundle.js", "module": "./node_modules/d3-shape/src/curve/bundle.js", "moduleName": "./node_modules/d3-shape/src/curve/bundle.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "4:20-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/basis.js", "loc": "21:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/basis.js", "loc": "21:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisOpen.js", "module": "./node_modules/d3-shape/src/curve/basisOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/basisOpen.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "30:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "module": "./node_modules/d3-shape/src/curve/basisClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/basisClosed.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "43:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/bundle.js", "module": "./node_modules/d3-shape/src/curve/bundle.js", "moduleName": "./node_modules/d3-shape/src/curve/bundle.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "48:28-33" } ], "usedExports": [ "default", "point", "Basis" ], "providedExports": [ "point", "Basis", "default" ], "optimizationBailout": [], "depth": 4, "source": "export function point(that, x, y) {\n that._context.bezierCurveTo(\n (2 * that._x0 + that._x1) / 3,\n (2 * that._y0 + that._y1) / 3,\n (that._x0 + 2 * that._x1) / 3,\n (that._y0 + 2 * that._y1) / 3,\n (that._x0 + 4 * that._x1 + x) / 6,\n (that._y0 + 4 * that._y1 + y) / 6\n );\n}\n\nexport function Basis(context) {\n this._context = context;\n}\n\nBasis.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 3: point(this, this._x1, this._y1); // proceed\n case 2: this._context.lineTo(this._x1, this._y1); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\n\nexport default function(context) {\n return new Basis(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "name": "./node_modules/d3-shape/src/curve/basisClosed.js", "index": 475, "index2": 473, "size": 1536, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/basisClosed.js", "loc": "19:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/basisClosed.js", "loc": "19:0-67" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import noop from \"../noop.js\";\nimport {point} from \"./basis.js\";\n\nfunction BasisClosed(context) {\n this._context = context;\n}\n\nBasisClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x2, this._y2);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3);\n this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x2, this._y2);\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n break;\n }\n }\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._x2 = x, this._y2 = y; break;\n case 1: this._point = 2; this._x3 = x, this._y3 = y; break;\n case 2: this._point = 3; this._x4 = x, this._y4 = y; this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6); break;\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\n\nexport default function(context) {\n return new BasisClosed(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisOpen.js", "name": "./node_modules/d3-shape/src/curve/basisOpen.js", "index": 478, "index2": 474, "size": 1072, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/basisOpen.js", "loc": "20:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/basisOpen.js", "loc": "20:0-63" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {point} from \"./basis.js\";\n\nfunction BasisOpen(context) {\n this._context = context;\n}\n\nBasisOpen.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; var x0 = (this._x0 + 4 * this._x1 + x) / 6, y0 = (this._y0 + 4 * this._y1 + y) / 6; this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0); break;\n case 3: this._point = 4; // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\n\nexport default function(context) {\n return new BasisOpen(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/bundle.js", "name": "./node_modules/d3-shape/src/curve/bundle.js", "index": 479, "index2": 475, "size": 1084, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/bundle.js", "loc": "22:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/bundle.js", "loc": "22:0-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Basis} from \"./basis.js\";\n\nfunction Bundle(context, beta) {\n this._basis = new Basis(context);\n this._beta = beta;\n}\n\nBundle.prototype = {\n lineStart: function() {\n this._x = [];\n this._y = [];\n this._basis.lineStart();\n },\n lineEnd: function() {\n var x = this._x,\n y = this._y,\n j = x.length - 1;\n\n if (j > 0) {\n var x0 = x[0],\n y0 = y[0],\n dx = x[j] - x0,\n dy = y[j] - y0,\n i = -1,\n t;\n\n while (++i <= j) {\n t = i / j;\n this._basis.point(\n this._beta * x[i] + (1 - this._beta) * (x0 + t * dx),\n this._beta * y[i] + (1 - this._beta) * (y0 + t * dy)\n );\n }\n }\n\n this._x = this._y = null;\n this._basis.lineEnd();\n },\n point: function(x, y) {\n this._x.push(+x);\n this._y.push(+y);\n }\n};\n\nexport default (function custom(beta) {\n\n function bundle(context) {\n return beta === 1 ? new Basis(context) : new Bundle(context, beta);\n }\n\n bundle.beta = function(beta) {\n return custom(+beta);\n };\n\n return bundle;\n})(0.85);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinal.js", "name": "./node_modules/d3-shape/src/curve/cardinal.js", "index": 481, "index2": 476, "size": 1633, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalOpen.js", "module": "./node_modules/d3-shape/src/curve/cardinalOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalOpen.js", "type": "harmony side effect evaluation", "userRequest": "./cardinal.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "module": "./node_modules/d3-shape/src/curve/catmullRom.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRom.js", "type": "harmony side effect evaluation", "userRequest": "./cardinal.js", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "module": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "type": "harmony side effect evaluation", "userRequest": "./cardinal.js", "loc": "2:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/cardinal.js", "loc": "25:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/cardinal.js", "loc": "25:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalOpen.js", "module": "./node_modules/d3-shape/src/curve/cardinalOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalOpen.js", "type": "harmony import specifier", "userRequest": "./cardinal.js", "loc": "31:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "module": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "type": "harmony import specifier", "userRequest": "./cardinal.js", "loc": "43:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "module": "./node_modules/d3-shape/src/curve/catmullRom.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRom.js", "type": "harmony import specifier", "userRequest": "./cardinal.js", "loc": "80:56-64" } ], "usedExports": [ "default", "Cardinal", "point" ], "providedExports": [ "point", "Cardinal", "default" ], "optimizationBailout": [], "depth": 4, "source": "export function point(that, x, y) {\n that._context.bezierCurveTo(\n that._x1 + that._k * (that._x2 - that._x0),\n that._y1 + that._k * (that._y2 - that._y0),\n that._x2 + that._k * (that._x1 - x),\n that._y2 + that._k * (that._y1 - y),\n that._x2,\n that._y2\n );\n}\n\nexport function Cardinal(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n}\n\nCardinal.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 2: this._context.lineTo(this._x2, this._y2); break;\n case 3: point(this, this._x1, this._y1); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; this._x1 = x, this._y1 = y; break;\n case 2: this._point = 3; // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(tension) {\n\n function cardinal(context) {\n return new Cardinal(context, tension);\n }\n\n cardinal.tension = function(tension) {\n return custom(+tension);\n };\n\n return cardinal;\n})(0);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "name": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "index": 480, "index2": 477, "size": 1611, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony side effect evaluation", "userRequest": "./cardinalClosed.js", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/cardinalClosed.js", "loc": "23:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/cardinalClosed.js", "loc": "23:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony import specifier", "userRequest": "./cardinalClosed.js", "loc": "66:62-76" } ], "usedExports": [ "default", "CardinalClosed" ], "providedExports": [ "CardinalClosed", "default" ], "optimizationBailout": [], "depth": 4, "source": "import noop from \"../noop.js\";\nimport {point} from \"./cardinal.js\";\n\nexport function CardinalClosed(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n}\n\nCardinalClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.lineTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n this.point(this._x5, this._y5);\n break;\n }\n }\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._x3 = x, this._y3 = y; break;\n case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;\n case 2: this._point = 3; this._x5 = x, this._y5 = y; break;\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(tension) {\n\n function cardinal(context) {\n return new CardinalClosed(context, tension);\n }\n\n cardinal.tension = function(tension) {\n return custom(+tension);\n };\n\n return cardinal;\n})(0);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalOpen.js", "name": "./node_modules/d3-shape/src/curve/cardinalOpen.js", "index": 482, "index2": 478, "size": 1291, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomOpen.js", "module": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "type": "harmony side effect evaluation", "userRequest": "./cardinalOpen.js", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/cardinalOpen.js", "loc": "24:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/cardinalOpen.js", "loc": "24:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomOpen.js", "module": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "type": "harmony import specifier", "userRequest": "./cardinalOpen.js", "loc": "54:60-72" } ], "usedExports": [ "default", "CardinalOpen" ], "providedExports": [ "CardinalOpen", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {point} from \"./cardinal.js\";\n\nexport function CardinalOpen(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n}\n\nCardinalOpen.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;\n case 3: this._point = 4; // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(tension) {\n\n function cardinal(context) {\n return new CardinalOpen(context, tension);\n }\n\n cardinal.tension = function(tension) {\n return custom(+tension);\n };\n\n return cardinal;\n})(0);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "name": "./node_modules/d3-shape/src/curve/catmullRom.js", "index": 484, "index2": 479, "size": 2643, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomOpen.js", "module": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "type": "harmony side effect evaluation", "userRequest": "./catmullRom.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony side effect evaluation", "userRequest": "./catmullRom.js", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/catmullRom.js", "loc": "28:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/catmullRom.js", "loc": "28:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomOpen.js", "module": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "type": "harmony import specifier", "userRequest": "./catmullRom.js", "loc": "41:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony import specifier", "userRequest": "./catmullRom.js", "loc": "53:15-20" } ], "usedExports": [ "default", "point" ], "providedExports": [ "point", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {epsilon} from \"../math.js\";\nimport {Cardinal} from \"./cardinal.js\";\n\nexport function point(that, x, y) {\n var x1 = that._x1,\n y1 = that._y1,\n x2 = that._x2,\n y2 = that._y2;\n\n if (that._l01_a > epsilon) {\n var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,\n n = 3 * that._l01_a * (that._l01_a + that._l12_a);\n x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;\n y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;\n }\n\n if (that._l23_a > epsilon) {\n var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,\n m = 3 * that._l23_a * (that._l23_a + that._l12_a);\n x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;\n y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;\n }\n\n that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);\n}\n\nfunction CatmullRom(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n}\n\nCatmullRom.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 2: this._context.lineTo(this._x2, this._y2); break;\n case 3: this.point(this._x2, this._y2); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n\n if (this._point) {\n var x23 = this._x2 - x,\n y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; // proceed\n default: point(this, x, y); break;\n }\n\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(alpha) {\n\n function catmullRom(context) {\n return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);\n }\n\n catmullRom.alpha = function(alpha) {\n return custom(+alpha);\n };\n\n return catmullRom;\n})(0.5);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "name": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "index": 483, "index2": 480, "size": 2092, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/catmullRomClosed.js", "loc": "26:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/catmullRomClosed.js", "loc": "26:0-77" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {CardinalClosed} from \"./cardinalClosed.js\";\nimport noop from \"../noop.js\";\nimport {point} from \"./catmullRom.js\";\n\nfunction CatmullRomClosed(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n}\n\nCatmullRomClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.lineTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n this.point(this._x5, this._y5);\n break;\n }\n }\n },\n point: function(x, y) {\n x = +x, y = +y;\n\n if (this._point) {\n var x23 = this._x2 - x,\n y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n\n switch (this._point) {\n case 0: this._point = 1; this._x3 = x, this._y3 = y; break;\n case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;\n case 2: this._point = 3; this._x5 = x, this._y5 = y; break;\n default: point(this, x, y); break;\n }\n\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(alpha) {\n\n function catmullRom(context) {\n return alpha ? new CatmullRomClosed(context, alpha) : new CardinalClosed(context, 0);\n }\n\n catmullRom.alpha = function(alpha) {\n return custom(+alpha);\n };\n\n return catmullRom;\n})(0.5);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomOpen.js", "name": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "index": 485, "index2": 481, "size": 1766, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/catmullRomOpen.js", "loc": "27:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/catmullRomOpen.js", "loc": "27:0-73" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {CardinalOpen} from \"./cardinalOpen.js\";\nimport {point} from \"./catmullRom.js\";\n\nfunction CatmullRomOpen(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n}\n\nCatmullRomOpen.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n\n if (this._point) {\n var x23 = this._x2 - x,\n y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n\n switch (this._point) {\n case 0: this._point = 1; break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;\n case 3: this._point = 4; // proceed\n default: point(this, x, y); break;\n }\n\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(alpha) {\n\n function catmullRom(context) {\n return alpha ? new CatmullRomOpen(context, alpha) : new CardinalOpen(context, 0);\n }\n\n catmullRom.alpha = function(alpha) {\n return custom(+alpha);\n };\n\n return catmullRom;\n})(0.5);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "name": "./node_modules/d3-shape/src/curve/linearClosed.js", "index": 486, "index2": 482, "size": 517, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/linearClosed.js", "loc": "29:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/linearClosed.js", "loc": "29:0-69" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import noop from \"../noop.js\";\n\nfunction LinearClosed(context) {\n this._context = context;\n}\n\nLinearClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._point) this._context.closePath();\n },\n point: function(x, y) {\n x = +x, y = +y;\n if (this._point) this._context.lineTo(x, y);\n else this._point = 1, this._context.moveTo(x, y);\n }\n};\n\nexport default function(context) {\n return new LinearClosed(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/monotone.js", "name": "./node_modules/d3-shape/src/curve/monotone.js", "index": 487, "index2": 483, "size": 3203, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/monotone.js", "loc": "31:0-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/monotone.js", "loc": "31:0-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/monotone.js", "loc": "31:0-93" } ], "usedExports": [ "monotoneX", "monotoneY" ], "providedExports": [ "monotoneX", "monotoneY" ], "optimizationBailout": [], "depth": 4, "source": "function sign(x) {\n return x < 0 ? -1 : 1;\n}\n\n// Calculate the slopes of the tangents (Hermite-type interpolation) based on\n// the following paper: Steffen, M. 1990. A Simple Method for Monotonic\n// Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.\n// NOV(II), P. 443, 1990.\nfunction slope3(that, x2, y2) {\n var h0 = that._x1 - that._x0,\n h1 = x2 - that._x1,\n s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),\n s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),\n p = (s0 * h1 + s1 * h0) / (h0 + h1);\n return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;\n}\n\n// Calculate a one-sided slope.\nfunction slope2(that, t) {\n var h = that._x1 - that._x0;\n return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;\n}\n\n// According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations\n// \"you can express cubic Hermite interpolation in terms of cubic Bézier curves\n// with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1\".\nfunction point(that, t0, t1) {\n var x0 = that._x0,\n y0 = that._y0,\n x1 = that._x1,\n y1 = that._y1,\n dx = (x1 - x0) / 3;\n that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);\n}\n\nfunction MonotoneX(context) {\n this._context = context;\n}\n\nMonotoneX.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 =\n this._y0 = this._y1 =\n this._t0 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 2: this._context.lineTo(this._x1, this._y1); break;\n case 3: point(this, this._t0, slope2(this, this._t0)); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n var t1 = NaN;\n\n x = +x, y = +y;\n if (x === this._x1 && y === this._y1) return; // Ignore coincident points.\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; point(this, slope2(this, t1 = slope3(this, x, y)), t1); break;\n default: point(this, this._t0, t1 = slope3(this, x, y)); break;\n }\n\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n this._t0 = t1;\n }\n}\n\nfunction MonotoneY(context) {\n this._context = new ReflectContext(context);\n}\n\n(MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function(x, y) {\n MonotoneX.prototype.point.call(this, y, x);\n};\n\nfunction ReflectContext(context) {\n this._context = context;\n}\n\nReflectContext.prototype = {\n moveTo: function(x, y) { this._context.moveTo(y, x); },\n closePath: function() { this._context.closePath(); },\n lineTo: function(x, y) { this._context.lineTo(y, x); },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); }\n};\n\nexport function monotoneX(context) {\n return new MonotoneX(context);\n}\n\nexport function monotoneY(context) {\n return new MonotoneY(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/natural.js", "name": "./node_modules/d3-shape/src/curve/natural.js", "index": 488, "index2": 484, "size": 1761, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/natural.js", "loc": "32:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/natural.js", "loc": "32:0-59" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function Natural(context) {\n this._context = context;\n}\n\nNatural.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x = [];\n this._y = [];\n },\n lineEnd: function() {\n var x = this._x,\n y = this._y,\n n = x.length;\n\n if (n) {\n this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);\n if (n === 2) {\n this._context.lineTo(x[1], y[1]);\n } else {\n var px = controlPoints(x),\n py = controlPoints(y);\n for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {\n this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);\n }\n }\n }\n\n if (this._line || (this._line !== 0 && n === 1)) this._context.closePath();\n this._line = 1 - this._line;\n this._x = this._y = null;\n },\n point: function(x, y) {\n this._x.push(+x);\n this._y.push(+y);\n }\n};\n\n// See https://www.particleincell.com/2012/bezier-splines/ for derivation.\nfunction controlPoints(x) {\n var i,\n n = x.length - 1,\n m,\n a = new Array(n),\n b = new Array(n),\n r = new Array(n);\n a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];\n for (i = 1; i < n - 1; ++i) a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];\n a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];\n for (i = 1; i < n; ++i) m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];\n a[n - 1] = r[n - 1] / b[n - 1];\n for (i = n - 2; i >= 0; --i) a[i] = (r[i] - a[i + 1]) / b[i];\n b[n - 1] = (x[n] + a[n - 1]) / 2;\n for (i = 0; i < n - 1; ++i) b[i] = 2 * x[i + 1] - a[i + 1];\n return [a, b];\n}\n\nexport default function(context) {\n return new Natural(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/step.js", "name": "./node_modules/d3-shape/src/curve/step.js", "index": 489, "index2": 485, "size": 1367, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/step.js", "loc": "33:0-113" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/step.js", "loc": "33:0-113" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/step.js", "loc": "33:0-113" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/step.js", "loc": "33:0-113" } ], "usedExports": [ "default", "stepAfter", "stepBefore" ], "providedExports": [ "default", "stepBefore", "stepAfter" ], "optimizationBailout": [], "depth": 4, "source": "function Step(context, t) {\n this._context = context;\n this._t = t;\n}\n\nStep.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x = this._y = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n if (0 < this._t && this._t < 1 && this._point === 2) this._context.lineTo(this._x, this._y);\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n if (this._line >= 0) this._t = 1 - this._t, this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; // proceed\n default: {\n if (this._t <= 0) {\n this._context.lineTo(this._x, y);\n this._context.lineTo(x, y);\n } else {\n var x1 = this._x * (1 - this._t) + x * this._t;\n this._context.lineTo(x1, this._y);\n this._context.lineTo(x1, y);\n }\n break;\n }\n }\n this._x = x, this._y = y;\n }\n};\n\nexport default function(context) {\n return new Step(context, 0.5);\n}\n\nexport function stepBefore(context) {\n return new Step(context, 0);\n}\n\nexport function stepAfter(context) {\n return new Step(context, 1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/none.js", "name": "./node_modules/d3-shape/src/offset/none.js", "index": 492, "index2": 487, "size": 309, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/wiggle.js", "module": "./node_modules/d3-shape/src/offset/wiggle.js", "moduleName": "./node_modules/d3-shape/src/offset/wiggle.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/silhouette.js", "module": "./node_modules/d3-shape/src/offset/silhouette.js", "moduleName": "./node_modules/d3-shape/src/offset/silhouette.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/expand.js", "module": "./node_modules/d3-shape/src/offset/expand.js", "moduleName": "./node_modules/d3-shape/src/offset/expand.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony side effect evaluation", "userRequest": "./offset/none.js", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/silhouette.js", "module": "./node_modules/d3-shape/src/offset/silhouette.js", "moduleName": "./node_modules/d3-shape/src/offset/silhouette.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "9:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/expand.js", "module": "./node_modules/d3-shape/src/offset/expand.js", "moduleName": "./node_modules/d3-shape/src/offset/expand.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "9:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./offset/none.js", "loc": "13:15-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/wiggle.js", "module": "./node_modules/d3-shape/src/offset/wiggle.js", "moduleName": "./node_modules/d3-shape/src/offset/wiggle.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "23:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./offset/none.js", "loc": "38:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./offset/none.js", "loc": "38:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./offset/none.js", "loc": "53:52-62" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(series, order) {\n if (!((n = series.length) > 1)) return;\n for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {\n s0 = s1, s1 = series[order[i]];\n for (j = 0; j < m; ++j) {\n s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1];\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/none.js", "name": "./node_modules/d3-shape/src/order/none.js", "index": 491, "index2": 486, "size": 120, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/reverse.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/order/reverse.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/reverse.js", "name": "./node_modules/d3-shape/src/order/reverse.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 14, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/reverse.js", "module": "./node_modules/d3-shape/src/order/reverse.js", "moduleName": "./node_modules/d3-shape/src/order/reverse.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/ascending.js", "module": "./node_modules/d3-shape/src/order/ascending.js", "moduleName": "./node_modules/d3-shape/src/order/ascending.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/appearance.js", "module": "./node_modules/d3-shape/src/order/appearance.js", "moduleName": "./node_modules/d3-shape/src/order/appearance.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony side effect evaluation", "userRequest": "./order/none.js", "loc": "4:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/reverse.js", "module": "./node_modules/d3-shape/src/order/reverse.js", "moduleName": "./node_modules/d3-shape/src/order/reverse.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "4:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/ascending.js", "module": "./node_modules/d3-shape/src/order/ascending.js", "moduleName": "./node_modules/d3-shape/src/order/ascending.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "5:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/appearance.js", "module": "./node_modules/d3-shape/src/order/appearance.js", "moduleName": "./node_modules/d3-shape/src/order/appearance.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "5:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./order/none.js", "loc": "12:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/none.js", "loc": "45:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/none.js", "loc": "45:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./order/none.js", "loc": "49:51-60" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(series) {\n var n = series.length, o = new Array(n);\n while (--n >= 0) o[n] = n;\n return o;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "name": "./node_modules/d3-shape/src/stack.js", "index": 490, "index2": 488, "size": 1444, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./stack.js", "loc": "35:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./stack.js", "loc": "35:0-44" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {slice} from \"./array.js\";\nimport constant from \"./constant.js\";\nimport offsetNone from \"./offset/none.js\";\nimport orderNone from \"./order/none.js\";\n\nfunction stackValue(d, key) {\n return d[key];\n}\n\nexport default function() {\n var keys = constant([]),\n order = orderNone,\n offset = offsetNone,\n value = stackValue;\n\n function stack(data) {\n var kz = keys.apply(this, arguments),\n i,\n m = data.length,\n n = kz.length,\n sz = new Array(n),\n oz;\n\n for (i = 0; i < n; ++i) {\n for (var ki = kz[i], si = sz[i] = new Array(m), j = 0, sij; j < m; ++j) {\n si[j] = sij = [0, +value(data[j], ki, j, data)];\n sij.data = data[j];\n }\n si.key = ki;\n }\n\n for (i = 0, oz = order(sz); i < n; ++i) {\n sz[oz[i]].index = i;\n }\n\n offset(sz, oz);\n return sz;\n }\n\n stack.keys = function(_) {\n return arguments.length ? (keys = typeof _ === \"function\" ? _ : constant(slice.call(_)), stack) : keys;\n };\n\n stack.value = function(_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(+_), stack) : value;\n };\n\n stack.order = function(_) {\n return arguments.length ? (order = _ == null ? orderNone : typeof _ === \"function\" ? _ : constant(slice.call(_)), stack) : order;\n };\n\n stack.offset = function(_) {\n return arguments.length ? (offset = _ == null ? offsetNone : _, stack) : offset;\n };\n\n return stack;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/expand.js", "name": "./node_modules/d3-shape/src/offset/expand.js", "index": 493, "index2": 489, "size": 322, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./offset/expand.js", "loc": "36:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./offset/expand.js", "loc": "36:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series, order) {\n if (!((n = series.length) > 0)) return;\n for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {\n for (y = i = 0; i < n; ++i) y += series[i][j][1] || 0;\n if (y) for (i = 0; i < n; ++i) series[i][j][1] /= y;\n }\n none(series, order);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/diverging.js", "name": "./node_modules/d3-shape/src/offset/diverging.js", "index": 494, "index2": 490, "size": 431, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./offset/diverging.js", "loc": "37:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./offset/diverging.js", "loc": "37:0-70" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(series, order) {\n if (!((n = series.length) > 0)) return;\n for (var i, j = 0, d, dy, yp, yn, n, m = series[order[0]].length; j < m; ++j) {\n for (yp = yn = 0, i = 0; i < n; ++i) {\n if ((dy = (d = series[order[i]][j])[1] - d[0]) > 0) {\n d[0] = yp, d[1] = yp += dy;\n } else if (dy < 0) {\n d[1] = yn, d[0] = yn += dy;\n } else {\n d[0] = 0, d[1] = dy;\n }\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/silhouette.js", "name": "./node_modules/d3-shape/src/offset/silhouette.js", "index": 495, "index2": 491, "size": 317, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./offset/silhouette.js", "loc": "39:0-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./offset/silhouette.js", "loc": "39:0-72" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series, order) {\n if (!((n = series.length) > 0)) return;\n for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) {\n for (var i = 0, y = 0; i < n; ++i) y += series[i][j][1] || 0;\n s0[j][1] += s0[j][0] = -y / 2;\n }\n none(series, order);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/wiggle.js", "name": "./node_modules/d3-shape/src/offset/wiggle.js", "index": 496, "index2": 492, "size": 743, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./offset/wiggle.js", "loc": "40:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./offset/wiggle.js", "loc": "40:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series, order) {\n if (!((n = series.length) > 0) || !((m = (s0 = series[order[0]]).length) > 0)) return;\n for (var y = 0, j = 1, s0, m, n; j < m; ++j) {\n for (var i = 0, s1 = 0, s2 = 0; i < n; ++i) {\n var si = series[order[i]],\n sij0 = si[j][1] || 0,\n sij1 = si[j - 1][1] || 0,\n s3 = (sij0 - sij1) / 2;\n for (var k = 0; k < i; ++k) {\n var sk = series[order[k]],\n skj0 = sk[j][1] || 0,\n skj1 = sk[j - 1][1] || 0;\n s3 += skj0 - skj1;\n }\n s1 += sij0, s2 += s3 * sij0;\n }\n s0[j - 1][1] += s0[j - 1][0] = y;\n if (s1) y -= s2 / s1;\n }\n s0[j - 1][1] += s0[j - 1][0] = y;\n none(series, order);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/appearance.js", "name": "./node_modules/d3-shape/src/order/appearance.js", "index": 497, "index2": 493, "size": 339, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/order/insideOut.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "name": "./node_modules/d3-shape/src/order/insideOut.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 16, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "module": "./node_modules/d3-shape/src/order/insideOut.js", "moduleName": "./node_modules/d3-shape/src/order/insideOut.js", "type": "harmony side effect evaluation", "userRequest": "./appearance.js", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "module": "./node_modules/d3-shape/src/order/insideOut.js", "moduleName": "./node_modules/d3-shape/src/order/insideOut.js", "type": "harmony import specifier", "userRequest": "./appearance.js", "loc": "9:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/appearance.js", "loc": "41:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/appearance.js", "loc": "41:0-70" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series) {\n var peaks = series.map(peak);\n return none(series).sort(function(a, b) { return peaks[a] - peaks[b]; });\n}\n\nfunction peak(series) {\n var i = -1, j = 0, n = series.length, vi, vj = -Infinity;\n while (++i < n) if ((vi = +series[i][1]) > vj) vj = vi, j = i;\n return j;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/ascending.js", "name": "./node_modules/d3-shape/src/order/ascending.js", "index": 498, "index2": 494, "size": 308, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/descending.js", "module": "./node_modules/d3-shape/src/order/descending.js", "moduleName": "./node_modules/d3-shape/src/order/descending.js", "type": "harmony side effect evaluation", "userRequest": "./ascending.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "module": "./node_modules/d3-shape/src/order/insideOut.js", "moduleName": "./node_modules/d3-shape/src/order/insideOut.js", "type": "harmony side effect evaluation", "userRequest": "./ascending.js", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/descending.js", "module": "./node_modules/d3-shape/src/order/descending.js", "moduleName": "./node_modules/d3-shape/src/order/descending.js", "type": "harmony import specifier", "userRequest": "./ascending.js", "loc": "4:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "module": "./node_modules/d3-shape/src/order/insideOut.js", "moduleName": "./node_modules/d3-shape/src/order/insideOut.js", "type": "harmony import specifier", "userRequest": "./ascending.js", "loc": "8:24-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/ascending.js", "loc": "42:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/ascending.js", "loc": "42:0-68" } ], "usedExports": [ "default", "sum" ], "providedExports": [ "default", "sum" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series) {\n var sums = series.map(sum);\n return none(series).sort(function(a, b) { return sums[a] - sums[b]; });\n}\n\nexport function sum(series) {\n var s = 0, i = -1, n = series.length, v;\n while (++i < n) if (v = +series[i][1]) s += v;\n return s;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/descending.js", "name": "./node_modules/d3-shape/src/order/descending.js", "index": 499, "index2": 495, "size": 115, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/descending.js", "loc": "43:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/descending.js", "loc": "43:0-70" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import ascending from \"./ascending.js\";\n\nexport default function(series) {\n return ascending(series).reverse();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "name": "./node_modules/d3-shape/src/order/insideOut.js", "index": 500, "index2": 496, "size": 518, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/insideOut.js", "loc": "44:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/insideOut.js", "loc": "44:0-68" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import appearance from \"./appearance.js\";\nimport {sum} from \"./ascending.js\";\n\nexport default function(series) {\n var n = series.length,\n i,\n j,\n sums = series.map(sum),\n order = appearance(series),\n top = 0,\n bottom = 0,\n tops = [],\n bottoms = [];\n\n for (i = 0; i < n; ++i) {\n j = order[i];\n if (top < bottom) {\n top += sums[j];\n tops.push(j);\n } else {\n bottom += sums[j];\n bottoms.push(j);\n }\n }\n\n return bottoms.reverse().concat(tops);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/reverse.js", "name": "./node_modules/d3-shape/src/order/reverse.js", "index": 501, "index2": 497, "size": 100, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/reverse.js", "loc": "46:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/reverse.js", "loc": "46:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series) {\n return none(series).reverse();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoFormat.js", "name": "./node_modules/d3-time-format/src/isoFormat.js", "index": 504, "index2": 500, "size": 287, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "name": "./node_modules/d3-time-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 418, "building": 18, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoParse.js", "module": "./node_modules/d3-time-format/src/isoParse.js", "moduleName": "./node_modules/d3-time-format/src/isoParse.js", "type": "harmony side effect evaluation", "userRequest": "./isoFormat.js", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./isoFormat.js", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./isoFormat.js", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoParse.js", "module": "./node_modules/d3-time-format/src/isoParse.js", "moduleName": "./node_modules/d3-time-format/src/isoParse.js", "type": "harmony import specifier", "userRequest": "./isoFormat.js", "loc": "11:15-27" } ], "usedExports": [ "default", "isoSpecifier" ], "providedExports": [ "isoSpecifier", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {utcFormat} from \"./defaultLocale.js\";\n\nexport var isoSpecifier = \"%Y-%m-%dT%H:%M:%S.%LZ\";\n\nfunction formatIsoNative(date) {\n return date.toISOString();\n}\n\nvar formatIso = Date.prototype.toISOString\n ? formatIsoNative\n : utcFormat(isoSpecifier);\n\nexport default formatIso;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoParse.js", "name": "./node_modules/d3-time-format/src/isoParse.js", "index": 505, "index2": 501, "size": 325, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "name": "./node_modules/d3-time-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 418, "building": 18, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./isoParse.js", "loc": "4:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./isoParse.js", "loc": "4:0-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {isoSpecifier} from \"./isoFormat.js\";\nimport {utcParse} from \"./defaultLocale.js\";\n\nfunction parseIsoNative(string) {\n var date = new Date(string);\n return isNaN(date) ? null : date;\n}\n\nvar parseIso = +new Date(\"2000-01-01T00:00:00.000Z\")\n ? parseIsoNative\n : utcParse(isoSpecifier);\n\nexport default parseIso;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/interval.js", "name": "./node_modules/d3-timer/src/interval.js", "index": 507, "index2": 503, "size": 403, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-timer/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "name": "./node_modules/d3-timer/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 98, "building": 72, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "11:0-13:23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./interval.js", "loc": "11:0-13:23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Timer, now} from \"./timer.js\";\n\nexport default function(callback, delay, time) {\n var t = new Timer, total = delay;\n if (delay == null) return t.restart(callback, delay, time), t;\n delay = +delay, time = time == null ? now() : +time;\n t.restart(function tick(elapsed) {\n elapsed += total;\n t.restart(tick, total += delay, time);\n callback(elapsed);\n }, delay, time);\n return t;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "index": 509, "index2": 513, "size": 1420, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 174, "building": 44 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "module": "./node_modules/d3-voronoi/src/index.js", "moduleName": "./node_modules/d3-voronoi/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./voronoi", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "module": "./node_modules/d3-voronoi/src/index.js", "moduleName": "./node_modules/d3-voronoi/src/index.js", "type": "harmony export imported specifier", "userRequest": "./voronoi", "loc": "1:0-45" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\nimport {x as pointX, y as pointY} from \"./point\";\nimport Diagram, {epsilon} from \"./Diagram\";\n\nexport default function() {\n var x = pointX,\n y = pointY,\n extent = null;\n\n function voronoi(data) {\n return new Diagram(data.map(function(d, i) {\n var s = [Math.round(x(d, i, data) / epsilon) * epsilon, Math.round(y(d, i, data) / epsilon) * epsilon];\n s.index = i;\n s.data = d;\n return s;\n }), extent);\n }\n\n voronoi.polygons = function(data) {\n return voronoi(data).polygons();\n };\n\n voronoi.links = function(data) {\n return voronoi(data).links();\n };\n\n voronoi.triangles = function(data) {\n return voronoi(data).triangles();\n };\n\n voronoi.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), voronoi) : x;\n };\n\n voronoi.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), voronoi) : y;\n };\n\n voronoi.extent = function(_) {\n return arguments.length ? (extent = _ == null ? null : [[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]], voronoi) : extent && [[extent[0][0], extent[0][1]], [extent[1][0], extent[1][1]]];\n };\n\n voronoi.size = function(_) {\n return arguments.length ? (extent = _ == null ? null : [[0, 0], [+_[0], +_[1]]], voronoi) : extent && [extent[1][0] - extent[0][0], extent[1][1] - extent[0][1]];\n };\n\n return voronoi;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/transform.js", "name": "./node_modules/d3-zoom/src/transform.js", "index": 522, "index2": 517, "size": 1395, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-zoom/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 67, "building": 95, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "module": "./node_modules/d3-zoom/src/index.js", "moduleName": "./node_modules/d3-zoom/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transform.js", "loc": "2:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "module": "./node_modules/d3-zoom/src/index.js", "moduleName": "./node_modules/d3-zoom/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform.js", "loc": "2:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "module": "./node_modules/d3-zoom/src/index.js", "moduleName": "./node_modules/d3-zoom/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform.js", "loc": "2:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "./transform.js", "loc": "8:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./transform.js", "loc": "30:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./transform.js", "loc": "131:23-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./transform.js", "loc": "140:47-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./transform.js", "loc": "145:68-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./transform.js", "loc": "168:55-64" } ], "usedExports": [ "identity", "Transform", "default" ], "providedExports": [ "Transform", "identity", "default" ], "optimizationBailout": [], "depth": 4, "source": "export function Transform(k, x, y) {\n this.k = k;\n this.x = x;\n this.y = y;\n}\n\nTransform.prototype = {\n constructor: Transform,\n scale: function(k) {\n return k === 1 ? this : new Transform(this.k * k, this.x, this.y);\n },\n translate: function(x, y) {\n return x === 0 & y === 0 ? this : new Transform(this.k, this.x + this.k * x, this.y + this.k * y);\n },\n apply: function(point) {\n return [point[0] * this.k + this.x, point[1] * this.k + this.y];\n },\n applyX: function(x) {\n return x * this.k + this.x;\n },\n applyY: function(y) {\n return y * this.k + this.y;\n },\n invert: function(location) {\n return [(location[0] - this.x) / this.k, (location[1] - this.y) / this.k];\n },\n invertX: function(x) {\n return (x - this.x) / this.k;\n },\n invertY: function(y) {\n return (y - this.y) / this.k;\n },\n rescaleX: function(x) {\n return x.copy().domain(x.range().map(this.invertX, this).map(x.invert, x));\n },\n rescaleY: function(y) {\n return y.copy().domain(y.range().map(this.invertY, this).map(y.invert, y));\n },\n toString: function() {\n return \"translate(\" + this.x + \",\" + this.y + \") scale(\" + this.k + \")\";\n }\n};\n\nexport var identity = new Transform(1, 0, 0);\n\ntransform.prototype = Transform.prototype;\n\nexport default function transform(node) {\n while (!node.__zoom) if (!(node = node.parentNode)) return identity;\n return node.__zoom;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "name": "./node_modules/d3-zoom/src/zoom.js", "index": 519, "index2": 519, "size": 14591, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-zoom/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 67, "building": 95, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "module": "./node_modules/d3-zoom/src/index.js", "moduleName": "./node_modules/d3-zoom/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./zoom.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "module": "./node_modules/d3-zoom/src/index.js", "moduleName": "./node_modules/d3-zoom/src/index.js", "type": "harmony export imported specifier", "userRequest": "./zoom.js", "loc": "1:0-42" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {dispatch} from \"d3-dispatch\";\nimport {dragDisable, dragEnable} from \"d3-drag\";\nimport {interpolateZoom} from \"d3-interpolate\";\nimport {event, customEvent, select, mouse, touch} from \"d3-selection\";\nimport {interrupt} from \"d3-transition\";\nimport constant from \"./constant.js\";\nimport ZoomEvent from \"./event.js\";\nimport {Transform, identity} from \"./transform.js\";\nimport noevent, {nopropagation} from \"./noevent.js\";\n\n// Ignore right-click, since that should open the context menu.\nfunction defaultFilter() {\n return !event.ctrlKey && !event.button;\n}\n\nfunction defaultExtent() {\n var e = this;\n if (e instanceof SVGElement) {\n e = e.ownerSVGElement || e;\n if (e.hasAttribute(\"viewBox\")) {\n e = e.viewBox.baseVal;\n return [[e.x, e.y], [e.x + e.width, e.y + e.height]];\n }\n return [[0, 0], [e.width.baseVal.value, e.height.baseVal.value]];\n }\n return [[0, 0], [e.clientWidth, e.clientHeight]];\n}\n\nfunction defaultTransform() {\n return this.__zoom || identity;\n}\n\nfunction defaultWheelDelta() {\n return -event.deltaY * (event.deltaMode === 1 ? 0.05 : event.deltaMode ? 1 : 0.002);\n}\n\nfunction defaultTouchable() {\n return navigator.maxTouchPoints || (\"ontouchstart\" in this);\n}\n\nfunction defaultConstrain(transform, extent, translateExtent) {\n var dx0 = transform.invertX(extent[0][0]) - translateExtent[0][0],\n dx1 = transform.invertX(extent[1][0]) - translateExtent[1][0],\n dy0 = transform.invertY(extent[0][1]) - translateExtent[0][1],\n dy1 = transform.invertY(extent[1][1]) - translateExtent[1][1];\n return transform.translate(\n dx1 > dx0 ? (dx0 + dx1) / 2 : Math.min(0, dx0) || Math.max(0, dx1),\n dy1 > dy0 ? (dy0 + dy1) / 2 : Math.min(0, dy0) || Math.max(0, dy1)\n );\n}\n\nexport default function() {\n var filter = defaultFilter,\n extent = defaultExtent,\n constrain = defaultConstrain,\n wheelDelta = defaultWheelDelta,\n touchable = defaultTouchable,\n scaleExtent = [0, Infinity],\n translateExtent = [[-Infinity, -Infinity], [Infinity, Infinity]],\n duration = 250,\n interpolate = interpolateZoom,\n listeners = dispatch(\"start\", \"zoom\", \"end\"),\n touchstarting,\n touchending,\n touchDelay = 500,\n wheelDelay = 150,\n clickDistance2 = 0;\n\n function zoom(selection) {\n selection\n .property(\"__zoom\", defaultTransform)\n .on(\"wheel.zoom\", wheeled)\n .on(\"mousedown.zoom\", mousedowned)\n .on(\"dblclick.zoom\", dblclicked)\n .filter(touchable)\n .on(\"touchstart.zoom\", touchstarted)\n .on(\"touchmove.zoom\", touchmoved)\n .on(\"touchend.zoom touchcancel.zoom\", touchended)\n .style(\"touch-action\", \"none\")\n .style(\"-webkit-tap-highlight-color\", \"rgba(0,0,0,0)\");\n }\n\n zoom.transform = function(collection, transform, point) {\n var selection = collection.selection ? collection.selection() : collection;\n selection.property(\"__zoom\", defaultTransform);\n if (collection !== selection) {\n schedule(collection, transform, point);\n } else {\n selection.interrupt().each(function() {\n gesture(this, arguments)\n .start()\n .zoom(null, typeof transform === \"function\" ? transform.apply(this, arguments) : transform)\n .end();\n });\n }\n };\n\n zoom.scaleBy = function(selection, k, p) {\n zoom.scaleTo(selection, function() {\n var k0 = this.__zoom.k,\n k1 = typeof k === \"function\" ? k.apply(this, arguments) : k;\n return k0 * k1;\n }, p);\n };\n\n zoom.scaleTo = function(selection, k, p) {\n zoom.transform(selection, function() {\n var e = extent.apply(this, arguments),\n t0 = this.__zoom,\n p0 = p == null ? centroid(e) : typeof p === \"function\" ? p.apply(this, arguments) : p,\n p1 = t0.invert(p0),\n k1 = typeof k === \"function\" ? k.apply(this, arguments) : k;\n return constrain(translate(scale(t0, k1), p0, p1), e, translateExtent);\n }, p);\n };\n\n zoom.translateBy = function(selection, x, y) {\n zoom.transform(selection, function() {\n return constrain(this.__zoom.translate(\n typeof x === \"function\" ? x.apply(this, arguments) : x,\n typeof y === \"function\" ? y.apply(this, arguments) : y\n ), extent.apply(this, arguments), translateExtent);\n });\n };\n\n zoom.translateTo = function(selection, x, y, p) {\n zoom.transform(selection, function() {\n var e = extent.apply(this, arguments),\n t = this.__zoom,\n p0 = p == null ? centroid(e) : typeof p === \"function\" ? p.apply(this, arguments) : p;\n return constrain(identity.translate(p0[0], p0[1]).scale(t.k).translate(\n typeof x === \"function\" ? -x.apply(this, arguments) : -x,\n typeof y === \"function\" ? -y.apply(this, arguments) : -y\n ), e, translateExtent);\n }, p);\n };\n\n function scale(transform, k) {\n k = Math.max(scaleExtent[0], Math.min(scaleExtent[1], k));\n return k === transform.k ? transform : new Transform(k, transform.x, transform.y);\n }\n\n function translate(transform, p0, p1) {\n var x = p0[0] - p1[0] * transform.k, y = p0[1] - p1[1] * transform.k;\n return x === transform.x && y === transform.y ? transform : new Transform(transform.k, x, y);\n }\n\n function centroid(extent) {\n return [(+extent[0][0] + +extent[1][0]) / 2, (+extent[0][1] + +extent[1][1]) / 2];\n }\n\n function schedule(transition, transform, point) {\n transition\n .on(\"start.zoom\", function() { gesture(this, arguments).start(); })\n .on(\"interrupt.zoom end.zoom\", function() { gesture(this, arguments).end(); })\n .tween(\"zoom\", function() {\n var that = this,\n args = arguments,\n g = gesture(that, args),\n e = extent.apply(that, args),\n p = point == null ? centroid(e) : typeof point === \"function\" ? point.apply(that, args) : point,\n w = Math.max(e[1][0] - e[0][0], e[1][1] - e[0][1]),\n a = that.__zoom,\n b = typeof transform === \"function\" ? transform.apply(that, args) : transform,\n i = interpolate(a.invert(p).concat(w / a.k), b.invert(p).concat(w / b.k));\n return function(t) {\n if (t === 1) t = b; // Avoid rounding error on end.\n else { var l = i(t), k = w / l[2]; t = new Transform(k, p[0] - l[0] * k, p[1] - l[1] * k); }\n g.zoom(null, t);\n };\n });\n }\n\n function gesture(that, args, clean) {\n return (!clean && that.__zooming) || new Gesture(that, args);\n }\n\n function Gesture(that, args) {\n this.that = that;\n this.args = args;\n this.active = 0;\n this.extent = extent.apply(that, args);\n this.taps = 0;\n }\n\n Gesture.prototype = {\n start: function() {\n if (++this.active === 1) {\n this.that.__zooming = this;\n this.emit(\"start\");\n }\n return this;\n },\n zoom: function(key, transform) {\n if (this.mouse && key !== \"mouse\") this.mouse[1] = transform.invert(this.mouse[0]);\n if (this.touch0 && key !== \"touch\") this.touch0[1] = transform.invert(this.touch0[0]);\n if (this.touch1 && key !== \"touch\") this.touch1[1] = transform.invert(this.touch1[0]);\n this.that.__zoom = transform;\n this.emit(\"zoom\");\n return this;\n },\n end: function() {\n if (--this.active === 0) {\n delete this.that.__zooming;\n this.emit(\"end\");\n }\n return this;\n },\n emit: function(type) {\n customEvent(new ZoomEvent(zoom, type, this.that.__zoom), listeners.apply, listeners, [type, this.that, this.args]);\n }\n };\n\n function wheeled() {\n if (!filter.apply(this, arguments)) return;\n var g = gesture(this, arguments),\n t = this.__zoom,\n k = Math.max(scaleExtent[0], Math.min(scaleExtent[1], t.k * Math.pow(2, wheelDelta.apply(this, arguments)))),\n p = mouse(this);\n\n // If the mouse is in the same location as before, reuse it.\n // If there were recent wheel events, reset the wheel idle timeout.\n if (g.wheel) {\n if (g.mouse[0][0] !== p[0] || g.mouse[0][1] !== p[1]) {\n g.mouse[1] = t.invert(g.mouse[0] = p);\n }\n clearTimeout(g.wheel);\n }\n\n // If this wheel event won’t trigger a transform change, ignore it.\n else if (t.k === k) return;\n\n // Otherwise, capture the mouse point and location at the start.\n else {\n g.mouse = [p, t.invert(p)];\n interrupt(this);\n g.start();\n }\n\n noevent();\n g.wheel = setTimeout(wheelidled, wheelDelay);\n g.zoom(\"mouse\", constrain(translate(scale(t, k), g.mouse[0], g.mouse[1]), g.extent, translateExtent));\n\n function wheelidled() {\n g.wheel = null;\n g.end();\n }\n }\n\n function mousedowned() {\n if (touchending || !filter.apply(this, arguments)) return;\n var g = gesture(this, arguments, true),\n v = select(event.view).on(\"mousemove.zoom\", mousemoved, true).on(\"mouseup.zoom\", mouseupped, true),\n p = mouse(this),\n x0 = event.clientX,\n y0 = event.clientY;\n\n dragDisable(event.view);\n nopropagation();\n g.mouse = [p, this.__zoom.invert(p)];\n interrupt(this);\n g.start();\n\n function mousemoved() {\n noevent();\n if (!g.moved) {\n var dx = event.clientX - x0, dy = event.clientY - y0;\n g.moved = dx * dx + dy * dy > clickDistance2;\n }\n g.zoom(\"mouse\", constrain(translate(g.that.__zoom, g.mouse[0] = mouse(g.that), g.mouse[1]), g.extent, translateExtent));\n }\n\n function mouseupped() {\n v.on(\"mousemove.zoom mouseup.zoom\", null);\n dragEnable(event.view, g.moved);\n noevent();\n g.end();\n }\n }\n\n function dblclicked() {\n if (!filter.apply(this, arguments)) return;\n var t0 = this.__zoom,\n p0 = mouse(this),\n p1 = t0.invert(p0),\n k1 = t0.k * (event.shiftKey ? 0.5 : 2),\n t1 = constrain(translate(scale(t0, k1), p0, p1), extent.apply(this, arguments), translateExtent);\n\n noevent();\n if (duration > 0) select(this).transition().duration(duration).call(schedule, t1, p0);\n else select(this).call(zoom.transform, t1);\n }\n\n function touchstarted() {\n if (!filter.apply(this, arguments)) return;\n var touches = event.touches,\n n = touches.length,\n g = gesture(this, arguments, event.changedTouches.length === n),\n started, i, t, p;\n\n nopropagation();\n for (i = 0; i < n; ++i) {\n t = touches[i], p = touch(this, touches, t.identifier);\n p = [p, this.__zoom.invert(p), t.identifier];\n if (!g.touch0) g.touch0 = p, started = true, g.taps = 1 + !!touchstarting;\n else if (!g.touch1 && g.touch0[2] !== p[2]) g.touch1 = p, g.taps = 0;\n }\n\n if (touchstarting) touchstarting = clearTimeout(touchstarting);\n\n if (started) {\n if (g.taps < 2) touchstarting = setTimeout(function() { touchstarting = null; }, touchDelay);\n interrupt(this);\n g.start();\n }\n }\n\n function touchmoved() {\n if (!this.__zooming) return;\n var g = gesture(this, arguments),\n touches = event.changedTouches,\n n = touches.length, i, t, p, l;\n\n noevent();\n if (touchstarting) touchstarting = clearTimeout(touchstarting);\n g.taps = 0;\n for (i = 0; i < n; ++i) {\n t = touches[i], p = touch(this, touches, t.identifier);\n if (g.touch0 && g.touch0[2] === t.identifier) g.touch0[0] = p;\n else if (g.touch1 && g.touch1[2] === t.identifier) g.touch1[0] = p;\n }\n t = g.that.__zoom;\n if (g.touch1) {\n var p0 = g.touch0[0], l0 = g.touch0[1],\n p1 = g.touch1[0], l1 = g.touch1[1],\n dp = (dp = p1[0] - p0[0]) * dp + (dp = p1[1] - p0[1]) * dp,\n dl = (dl = l1[0] - l0[0]) * dl + (dl = l1[1] - l0[1]) * dl;\n t = scale(t, Math.sqrt(dp / dl));\n p = [(p0[0] + p1[0]) / 2, (p0[1] + p1[1]) / 2];\n l = [(l0[0] + l1[0]) / 2, (l0[1] + l1[1]) / 2];\n }\n else if (g.touch0) p = g.touch0[0], l = g.touch0[1];\n else return;\n g.zoom(\"touch\", constrain(translate(t, p, l), g.extent, translateExtent));\n }\n\n function touchended() {\n if (!this.__zooming) return;\n var g = gesture(this, arguments),\n touches = event.changedTouches,\n n = touches.length, i, t;\n\n nopropagation();\n if (touchending) clearTimeout(touchending);\n touchending = setTimeout(function() { touchending = null; }, touchDelay);\n for (i = 0; i < n; ++i) {\n t = touches[i];\n if (g.touch0 && g.touch0[2] === t.identifier) delete g.touch0;\n else if (g.touch1 && g.touch1[2] === t.identifier) delete g.touch1;\n }\n if (g.touch1 && !g.touch0) g.touch0 = g.touch1, delete g.touch1;\n if (g.touch0) g.touch0[1] = this.__zoom.invert(g.touch0[0]);\n else {\n g.end();\n // If this was a dbltap, reroute to the (optional) dblclick.zoom handler.\n if (g.taps === 2) {\n var p = select(this).on(\"dblclick.zoom\");\n if (p) p.apply(this, arguments);\n }\n }\n }\n\n zoom.wheelDelta = function(_) {\n return arguments.length ? (wheelDelta = typeof _ === \"function\" ? _ : constant(+_), zoom) : wheelDelta;\n };\n\n zoom.filter = function(_) {\n return arguments.length ? (filter = typeof _ === \"function\" ? _ : constant(!!_), zoom) : filter;\n };\n\n zoom.touchable = function(_) {\n return arguments.length ? (touchable = typeof _ === \"function\" ? _ : constant(!!_), zoom) : touchable;\n };\n\n zoom.extent = function(_) {\n return arguments.length ? (extent = typeof _ === \"function\" ? _ : constant([[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]]), zoom) : extent;\n };\n\n zoom.scaleExtent = function(_) {\n return arguments.length ? (scaleExtent[0] = +_[0], scaleExtent[1] = +_[1], zoom) : [scaleExtent[0], scaleExtent[1]];\n };\n\n zoom.translateExtent = function(_) {\n return arguments.length ? (translateExtent[0][0] = +_[0][0], translateExtent[1][0] = +_[1][0], translateExtent[0][1] = +_[0][1], translateExtent[1][1] = +_[1][1], zoom) : [[translateExtent[0][0], translateExtent[0][1]], [translateExtent[1][0], translateExtent[1][1]]];\n };\n\n zoom.constrain = function(_) {\n return arguments.length ? (constrain = _, zoom) : constrain;\n };\n\n zoom.duration = function(_) {\n return arguments.length ? (duration = +_, zoom) : duration;\n };\n\n zoom.interpolate = function(_) {\n return arguments.length ? (interpolate = _, zoom) : interpolate;\n };\n\n zoom.on = function() {\n var value = listeners.on.apply(listeners, arguments);\n return value === listeners ? zoom : value;\n };\n\n zoom.clickDistance = function(_) {\n return arguments.length ? (clickDistance2 = (_ = +_) * _, zoom) : Math.sqrt(clickDistance2);\n };\n\n return zoom;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/number.js", "name": "./node_modules/d3-array/src/number.js", "index": 14, "index2": 8, "size": 63, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/mean.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "name": "./node_modules/d3-array/src/mean.js", "profile": { "factory": 198, "building": 41, "dependencies": 117 } } ], "profile": { "factory": 117, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "module": "./node_modules/d3-array/src/mean.js", "moduleName": "./node_modules/d3-array/src/mean.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/quantile.js", "module": "./node_modules/d3-array/src/quantile.js", "moduleName": "./node_modules/d3-array/src/quantile.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/variance.js", "module": "./node_modules/d3-array/src/variance.js", "moduleName": "./node_modules/d3-array/src/variance.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony side effect evaluation", "userRequest": "../number", "loc": "3:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/quantile.js", "module": "./node_modules/d3-array/src/quantile.js", "moduleName": "./node_modules/d3-array/src/quantile.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "4:33-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony import specifier", "userRequest": "../number", "loc": "7:28-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "module": "./node_modules/d3-array/src/mean.js", "moduleName": "./node_modules/d3-array/src/mean.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "12:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "13:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/variance.js", "module": "./node_modules/d3-array/src/variance.js", "moduleName": "./node_modules/d3-array/src/variance.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "14:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "module": "./node_modules/d3-array/src/mean.js", "moduleName": "./node_modules/d3-array/src/mean.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "19:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "21:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/variance.js", "module": "./node_modules/d3-array/src/variance.js", "moduleName": "./node_modules/d3-array/src/variance.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "24:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return x === null ? NaN : +x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/array.js", "name": "./node_modules/d3-array/src/array.js", "index": 17, "index2": 12, "size": 90, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/histogram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "name": "./node_modules/d3-array/src/histogram.js", "profile": { "factory": 198, "building": 41, "dependencies": 117 } } ], "profile": { "factory": 119, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony side effect evaluation", "userRequest": "../array", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony import specifier", "userRequest": "../array", "loc": "7:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "71:101-106" } ], "usedExports": [ "map", "slice" ], "providedExports": [ "slice", "map" ], "optimizationBailout": [], "depth": 5, "source": "var array = Array.prototype;\n\nexport var slice = array.slice;\nexport var map = array.map;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/constant.js", "name": "./node_modules/d3-array/src/constant.js", "index": 18, "index2": 13, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/histogram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "name": "./node_modules/d3-array/src/histogram.js", "profile": { "factory": 198, "building": 41, "dependencies": 117 } } ], "profile": { "factory": 119, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "63:69-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "67:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "71:92-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "71:118-126" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/identity.js", "name": "./node_modules/d3-array/src/identity.js", "index": 19, "index2": 14, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/histogram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "name": "./node_modules/d3-array/src/histogram.js", "profile": { "factory": 198, "building": 41, "dependencies": 117 } } ], "profile": { "factory": 119, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./identity", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./identity", "loc": "11:14-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/array.js", "name": "./node_modules/d3-axis/src/array.js", "index": 39, "index2": 34, "size": 42, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "issuerId": null, "issuerName": "./node_modules/d3-axis/src/axis.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "name": "./node_modules/d3-axis/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "name": "./node_modules/d3-axis/src/axis.js", "profile": { "factory": 187, "building": 33 } } ], "profile": { "factory": 124, "building": 39 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "126:27-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "130:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "134:63-68" } ], "usedExports": [ "slice" ], "providedExports": [ "slice" ], "optimizationBailout": [], "depth": 5, "source": "export var slice = Array.prototype.slice;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/identity.js", "name": "./node_modules/d3-axis/src/identity.js", "index": 40, "index2": 35, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "issuerId": null, "issuerName": "./node_modules/d3-axis/src/axis.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "name": "./node_modules/d3-axis/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "name": "./node_modules/d3-axis/src/axis.js", "profile": { "factory": 187, "building": 33 } } ], "profile": { "factory": 124, "building": 39 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony side effect evaluation", "userRequest": "./identity", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony import specifier", "userRequest": "./identity", "loc": "49:105-113" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "name": "./node_modules/d3-selection/src/selection/select.js", "index": 85, "index2": 74, "size": 653, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./select", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./select", "loc": "46:10-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\nimport selector from \"../selector\";\n\nexport default function(select) {\n if (typeof select !== \"function\") select = selector(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {\n if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {\n if (\"__data__\" in node) subnode.__data__ = node.__data__;\n subgroup[i] = subnode;\n }\n }\n }\n\n return new Selection(subgroups, this._parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "name": "./node_modules/d3-selection/src/selection/selectAll.js", "index": 86, "index2": 75, "size": 550, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./selectAll", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./selectAll", "loc": "47:13-32" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\nimport selectorAll from \"../selectorAll\";\n\nexport default function(select) {\n if (typeof select !== \"function\") select = selectorAll(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n subgroups.push(select.call(node, node.__data__, i, group));\n parents.push(node);\n }\n }\n }\n\n return new Selection(subgroups, parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "name": "./node_modules/d3-selection/src/selection/filter.js", "index": 87, "index2": 76, "size": 546, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./filter", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./filter", "loc": "48:10-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\nimport matcher from \"../matcher\";\n\nexport default function(match) {\n if (typeof match !== \"function\") match = matcher(match);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {\n if ((node = group[i]) && match.call(node, node.__data__, i, group)) {\n subgroup.push(node);\n }\n }\n }\n\n return new Selection(subgroups, this._parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/enter.js", "name": "./node_modules/d3-selection/src/selection/enter.js", "index": 89, "index2": 78, "size": 792, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony side effect evaluation", "userRequest": "./enter", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./enter", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony import specifier", "userRequest": "./enter", "loc": "21:21-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./enter", "loc": "50:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony import specifier", "userRequest": "./enter", "loc": "65:21-30" } ], "usedExports": [ "default", "EnterNode" ], "providedExports": [ "default", "EnterNode" ], "optimizationBailout": [], "depth": 5, "source": "import sparse from \"./sparse\";\nimport {Selection} from \"./index\";\n\nexport default function() {\n return new Selection(this._enter || this._groups.map(sparse), this._parents);\n}\n\nexport function EnterNode(parent, datum) {\n this.ownerDocument = parent.ownerDocument;\n this.namespaceURI = parent.namespaceURI;\n this._next = null;\n this._parent = parent;\n this.__data__ = datum;\n}\n\nEnterNode.prototype = {\n constructor: EnterNode,\n appendChild: function(child) { return this._parent.insertBefore(child, this._next); },\n insertBefore: function(child, next) { return this._parent.insertBefore(child, next); },\n querySelector: function(selector) { return this._parent.querySelector(selector); },\n querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "name": "./node_modules/d3-selection/src/selection/data.js", "index": 88, "index2": 80, "size": 3597, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./data", "loc": "4:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./data", "loc": "49:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\nimport {EnterNode} from \"./enter\";\nimport constant from \"../constant\";\n\nvar keyPrefix = \"$\"; // Protect against keys like “__proto__”.\n\nfunction bindIndex(parent, group, enter, update, exit, data) {\n var i = 0,\n node,\n groupLength = group.length,\n dataLength = data.length;\n\n // Put any non-null nodes that fit into update.\n // Put any null nodes into enter.\n // Put any remaining data into enter.\n for (; i < dataLength; ++i) {\n if (node = group[i]) {\n node.__data__ = data[i];\n update[i] = node;\n } else {\n enter[i] = new EnterNode(parent, data[i]);\n }\n }\n\n // Put any non-null nodes that don’t fit into exit.\n for (; i < groupLength; ++i) {\n if (node = group[i]) {\n exit[i] = node;\n }\n }\n}\n\nfunction bindKey(parent, group, enter, update, exit, data, key) {\n var i,\n node,\n nodeByKeyValue = {},\n groupLength = group.length,\n dataLength = data.length,\n keyValues = new Array(groupLength),\n keyValue;\n\n // Compute the key for each node.\n // If multiple nodes have the same key, the duplicates are added to exit.\n for (i = 0; i < groupLength; ++i) {\n if (node = group[i]) {\n keyValues[i] = keyValue = keyPrefix + key.call(node, node.__data__, i, group);\n if (keyValue in nodeByKeyValue) {\n exit[i] = node;\n } else {\n nodeByKeyValue[keyValue] = node;\n }\n }\n }\n\n // Compute the key for each datum.\n // If there a node associated with this key, join and add it to update.\n // If there is not (or the key is a duplicate), add it to enter.\n for (i = 0; i < dataLength; ++i) {\n keyValue = keyPrefix + key.call(parent, data[i], i, data);\n if (node = nodeByKeyValue[keyValue]) {\n update[i] = node;\n node.__data__ = data[i];\n nodeByKeyValue[keyValue] = null;\n } else {\n enter[i] = new EnterNode(parent, data[i]);\n }\n }\n\n // Add any remaining nodes that were not bound to data to exit.\n for (i = 0; i < groupLength; ++i) {\n if ((node = group[i]) && (nodeByKeyValue[keyValues[i]] === node)) {\n exit[i] = node;\n }\n }\n}\n\nexport default function(value, key) {\n if (!value) {\n data = new Array(this.size()), j = -1;\n this.each(function(d) { data[++j] = d; });\n return data;\n }\n\n var bind = key ? bindKey : bindIndex,\n parents = this._parents,\n groups = this._groups;\n\n if (typeof value !== \"function\") value = constant(value);\n\n for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) {\n var parent = parents[j],\n group = groups[j],\n groupLength = group.length,\n data = value.call(parent, parent && parent.__data__, j, parents),\n dataLength = data.length,\n enterGroup = enter[j] = new Array(dataLength),\n updateGroup = update[j] = new Array(dataLength),\n exitGroup = exit[j] = new Array(groupLength);\n\n bind(parent, group, enterGroup, updateGroup, exitGroup, data, key);\n\n // Now connect the enter nodes to their following update node, such that\n // appendChild can insert the materialized enter node before this node,\n // rather than at the end of the parent node.\n for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {\n if (previous = enterGroup[i0]) {\n if (i0 >= i1) i1 = i0 + 1;\n while (!(next = updateGroup[i1]) && ++i1 < dataLength);\n previous._next = next || null;\n }\n }\n }\n\n update = new Selection(update, parents);\n update._enter = enter;\n update._exit = exit;\n return update;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "name": "./node_modules/d3-selection/src/selection/exit.js", "index": 92, "index2": 81, "size": 176, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./exit", "loc": "6:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./exit", "loc": "51:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import sparse from \"./sparse\";\nimport {Selection} from \"./index\";\n\nexport default function() {\n return new Selection(this._exit || this._groups.map(sparse), this._parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/join.js", "name": "./node_modules/d3-selection/src/selection/join.js", "index": 93, "index2": 82, "size": 377, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./join", "loc": "7:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./join", "loc": "52:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(onenter, onupdate, onexit) {\n var enter = this.enter(), update = this, exit = this.exit();\n enter = typeof onenter === \"function\" ? onenter(enter) : enter.append(onenter + \"\");\n if (onupdate != null) update = onupdate(update);\n if (onexit == null) exit.remove(); else onexit(exit);\n return enter && update ? enter.merge(update).order() : update;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/merge.js", "name": "./node_modules/d3-selection/src/selection/merge.js", "index": 94, "index2": 83, "size": 575, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./merge", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./merge", "loc": "53:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\n\nexport default function(selection) {\n\n for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {\n for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {\n if (node = group0[i] || group1[i]) {\n merge[i] = node;\n }\n }\n }\n\n for (; j < m0; ++j) {\n merges[j] = groups0[j];\n }\n\n return new Selection(merges, this._parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/order.js", "name": "./node_modules/d3-selection/src/selection/order.js", "index": 95, "index2": 84, "size": 380, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./order", "loc": "9:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./order", "loc": "54:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n\n for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {\n for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {\n if (node = group[i]) {\n if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);\n next = node;\n }\n }\n }\n\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/sort.js", "name": "./node_modules/d3-selection/src/selection/sort.js", "index": 96, "index2": 85, "size": 681, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./sort", "loc": "10:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./sort", "loc": "55:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\n\nexport default function(compare) {\n if (!compare) compare = ascending;\n\n function compareNode(a, b) {\n return a && b ? compare(a.__data__, b.__data__) : !a - !b;\n }\n\n for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n sortgroup[i] = node;\n }\n }\n sortgroup.sort(compareNode);\n }\n\n return new Selection(sortgroups, this._parents).order();\n}\n\nfunction ascending(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/call.js", "name": "./node_modules/d3-selection/src/selection/call.js", "index": 97, "index2": 86, "size": 134, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./call", "loc": "11:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./call", "loc": "56:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var callback = arguments[0];\n arguments[0] = this;\n callback.apply(null, arguments);\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/nodes.js", "name": "./node_modules/d3-selection/src/selection/nodes.js", "index": 98, "index2": 87, "size": 140, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./nodes", "loc": "12:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "57:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var nodes = new Array(this.size()), i = -1;\n this.each(function() { nodes[++i] = this; });\n return nodes;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/node.js", "name": "./node_modules/d3-selection/src/selection/node.js", "index": 99, "index2": 88, "size": 258, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./node", "loc": "13:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./node", "loc": "58:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n\n for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {\n var node = group[i];\n if (node) return node;\n }\n }\n\n return null;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/size.js", "name": "./node_modules/d3-selection/src/selection/size.js", "index": 100, "index2": 89, "size": 98, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./size", "loc": "14:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./size", "loc": "59:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var size = 0;\n this.each(function() { ++size; });\n return size;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/empty.js", "name": "./node_modules/d3-selection/src/selection/empty.js", "index": 101, "index2": 90, "size": 53, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./empty", "loc": "15:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./empty", "loc": "60:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n return !this.node();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/each.js", "name": "./node_modules/d3-selection/src/selection/each.js", "index": 102, "index2": 91, "size": 289, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "16:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "61:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(callback) {\n\n for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {\n if (node = group[i]) callback.call(node, node.__data__, i, group);\n }\n }\n\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/attr.js", "name": "./node_modules/d3-selection/src/selection/attr.js", "index": 103, "index2": 92, "size": 1460, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./attr", "loc": "17:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./attr", "loc": "62:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import namespace from \"../namespace\";\n\nfunction attrRemove(name) {\n return function() {\n this.removeAttribute(name);\n };\n}\n\nfunction attrRemoveNS(fullname) {\n return function() {\n this.removeAttributeNS(fullname.space, fullname.local);\n };\n}\n\nfunction attrConstant(name, value) {\n return function() {\n this.setAttribute(name, value);\n };\n}\n\nfunction attrConstantNS(fullname, value) {\n return function() {\n this.setAttributeNS(fullname.space, fullname.local, value);\n };\n}\n\nfunction attrFunction(name, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.removeAttribute(name);\n else this.setAttribute(name, v);\n };\n}\n\nfunction attrFunctionNS(fullname, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.removeAttributeNS(fullname.space, fullname.local);\n else this.setAttributeNS(fullname.space, fullname.local, v);\n };\n}\n\nexport default function(name, value) {\n var fullname = namespace(name);\n\n if (arguments.length < 2) {\n var node = this.node();\n return fullname.local\n ? node.getAttributeNS(fullname.space, fullname.local)\n : node.getAttribute(fullname);\n }\n\n return this.each((value == null\n ? (fullname.local ? attrRemoveNS : attrRemove) : (typeof value === \"function\"\n ? (fullname.local ? attrFunctionNS : attrFunction)\n : (fullname.local ? attrConstantNS : attrConstant)))(fullname, value));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/property.js", "name": "./node_modules/d3-selection/src/selection/property.js", "index": 106, "index2": 95, "size": 617, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./property", "loc": "19:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./property", "loc": "64:12-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function propertyRemove(name) {\n return function() {\n delete this[name];\n };\n}\n\nfunction propertyConstant(name, value) {\n return function() {\n this[name] = value;\n };\n}\n\nfunction propertyFunction(name, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) delete this[name];\n else this[name] = v;\n };\n}\n\nexport default function(name, value) {\n return arguments.length > 1\n ? this.each((value == null\n ? propertyRemove : typeof value === \"function\"\n ? propertyFunction\n : propertyConstant)(name, value))\n : this.node()[name];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/classed.js", "name": "./node_modules/d3-selection/src/selection/classed.js", "index": 107, "index2": 96, "size": 1740, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./classed", "loc": "20:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./classed", "loc": "65:11-28" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function classArray(string) {\n return string.trim().split(/^|\\s+/);\n}\n\nfunction classList(node) {\n return node.classList || new ClassList(node);\n}\n\nfunction ClassList(node) {\n this._node = node;\n this._names = classArray(node.getAttribute(\"class\") || \"\");\n}\n\nClassList.prototype = {\n add: function(name) {\n var i = this._names.indexOf(name);\n if (i < 0) {\n this._names.push(name);\n this._node.setAttribute(\"class\", this._names.join(\" \"));\n }\n },\n remove: function(name) {\n var i = this._names.indexOf(name);\n if (i >= 0) {\n this._names.splice(i, 1);\n this._node.setAttribute(\"class\", this._names.join(\" \"));\n }\n },\n contains: function(name) {\n return this._names.indexOf(name) >= 0;\n }\n};\n\nfunction classedAdd(node, names) {\n var list = classList(node), i = -1, n = names.length;\n while (++i < n) list.add(names[i]);\n}\n\nfunction classedRemove(node, names) {\n var list = classList(node), i = -1, n = names.length;\n while (++i < n) list.remove(names[i]);\n}\n\nfunction classedTrue(names) {\n return function() {\n classedAdd(this, names);\n };\n}\n\nfunction classedFalse(names) {\n return function() {\n classedRemove(this, names);\n };\n}\n\nfunction classedFunction(names, value) {\n return function() {\n (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names);\n };\n}\n\nexport default function(name, value) {\n var names = classArray(name + \"\");\n\n if (arguments.length < 2) {\n var list = classList(this.node()), i = -1, n = names.length;\n while (++i < n) if (!list.contains(names[i])) return false;\n return true;\n }\n\n return this.each((typeof value === \"function\"\n ? classedFunction : value\n ? classedTrue\n : classedFalse)(names, value));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/text.js", "name": "./node_modules/d3-selection/src/selection/text.js", "index": 108, "index2": 97, "size": 528, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./text", "loc": "21:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./text", "loc": "66:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function textRemove() {\n this.textContent = \"\";\n}\n\nfunction textConstant(value) {\n return function() {\n this.textContent = value;\n };\n}\n\nfunction textFunction(value) {\n return function() {\n var v = value.apply(this, arguments);\n this.textContent = v == null ? \"\" : v;\n };\n}\n\nexport default function(value) {\n return arguments.length\n ? this.each(value == null\n ? textRemove : (typeof value === \"function\"\n ? textFunction\n : textConstant)(value))\n : this.node().textContent;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/html.js", "name": "./node_modules/d3-selection/src/selection/html.js", "index": 109, "index2": 98, "size": 520, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./html", "loc": "22:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./html", "loc": "67:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function htmlRemove() {\n this.innerHTML = \"\";\n}\n\nfunction htmlConstant(value) {\n return function() {\n this.innerHTML = value;\n };\n}\n\nfunction htmlFunction(value) {\n return function() {\n var v = value.apply(this, arguments);\n this.innerHTML = v == null ? \"\" : v;\n };\n}\n\nexport default function(value) {\n return arguments.length\n ? this.each(value == null\n ? htmlRemove : (typeof value === \"function\"\n ? htmlFunction\n : htmlConstant)(value))\n : this.node().innerHTML;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/raise.js", "name": "./node_modules/d3-selection/src/selection/raise.js", "index": 110, "index2": 99, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./raise", "loc": "23:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./raise", "loc": "68:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function raise() {\n if (this.nextSibling) this.parentNode.appendChild(this);\n}\n\nexport default function() {\n return this.each(raise);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/lower.js", "name": "./node_modules/d3-selection/src/selection/lower.js", "index": 111, "index2": 100, "size": 171, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./lower", "loc": "24:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./lower", "loc": "69:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function lower() {\n if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild);\n}\n\nexport default function() {\n return this.each(lower);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/append.js", "name": "./node_modules/d3-selection/src/selection/append.js", "index": 112, "index2": 102, "size": 235, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./append", "loc": "25:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./append", "loc": "70:10-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import creator from \"../creator\";\n\nexport default function(name) {\n var create = typeof name === \"function\" ? name : creator(name);\n return this.select(function() {\n return this.appendChild(create.apply(this, arguments));\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/insert.js", "name": "./node_modules/d3-selection/src/selection/insert.js", "index": 114, "index2": 103, "size": 468, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./insert", "loc": "26:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./insert", "loc": "71:10-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import creator from \"../creator\";\nimport selector from \"../selector\";\n\nfunction constantNull() {\n return null;\n}\n\nexport default function(name, before) {\n var create = typeof name === \"function\" ? name : creator(name),\n select = before == null ? constantNull : typeof before === \"function\" ? before : selector(before);\n return this.select(function() {\n return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null);\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/remove.js", "name": "./node_modules/d3-selection/src/selection/remove.js", "index": 115, "index2": 104, "size": 153, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./remove", "loc": "27:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./remove", "loc": "72:10-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function remove() {\n var parent = this.parentNode;\n if (parent) parent.removeChild(this);\n}\n\nexport default function() {\n return this.each(remove);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/clone.js", "name": "./node_modules/d3-selection/src/selection/clone.js", "index": 116, "index2": 105, "size": 453, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./clone", "loc": "28:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./clone", "loc": "73:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function selection_cloneShallow() {\n var clone = this.cloneNode(false), parent = this.parentNode;\n return parent ? parent.insertBefore(clone, this.nextSibling) : clone;\n}\n\nfunction selection_cloneDeep() {\n var clone = this.cloneNode(true), parent = this.parentNode;\n return parent ? parent.insertBefore(clone, this.nextSibling) : clone;\n}\n\nexport default function(deep) {\n return this.select(deep ? selection_cloneDeep : selection_cloneShallow);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/datum.js", "name": "./node_modules/d3-selection/src/selection/datum.js", "index": 117, "index2": 106, "size": 132, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./datum", "loc": "29:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./datum", "loc": "74:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(value) {\n return arguments.length\n ? this.property(\"__data__\", value)\n : this.node().__data__;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/dispatch.js", "name": "./node_modules/d3-selection/src/selection/dispatch.js", "index": 119, "index2": 108, "size": 891, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./dispatch", "loc": "31:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./dispatch", "loc": "76:12-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import defaultView from \"../window\";\n\nfunction dispatchEvent(node, type, params) {\n var window = defaultView(node),\n event = window.CustomEvent;\n\n if (typeof event === \"function\") {\n event = new event(type, params);\n } else {\n event = window.document.createEvent(\"Event\");\n if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail;\n else event.initEvent(type, false, false);\n }\n\n node.dispatchEvent(event);\n}\n\nfunction dispatchConstant(type, params) {\n return function() {\n return dispatchEvent(this, type, params);\n };\n}\n\nfunction dispatchFunction(type, params) {\n return function() {\n return dispatchEvent(this, type, params.apply(this, arguments));\n };\n}\n\nexport default function(type, params) {\n return this.each((typeof params === \"function\"\n ? dispatchFunction\n : dispatchConstant)(type, params));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/noevent.js", "name": "./node_modules/d3-drag/src/noevent.js", "index": 142, "index2": 136, "size": 202, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "issuerId": null, "issuerName": "./node_modules/d3-drag/src/nodrag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "name": "./node_modules/d3-drag/src/nodrag.js", "profile": { "factory": 77, "building": 60, "dependencies": 58 } } ], "profile": { "factory": 57, "building": 43, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony side effect evaluation", "userRequest": "./noevent.js", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "./noevent.js", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "6:52-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "8:37-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "19:31-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "56:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "64:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "75:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "87:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "99:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "113:8-21" } ], "usedExports": [ "default", "nopropagation" ], "providedExports": [ "nopropagation", "default" ], "optimizationBailout": [], "depth": 5, "source": "import {event} from \"d3-selection\";\n\nexport function nopropagation() {\n event.stopImmediatePropagation();\n}\n\nexport default function() {\n event.preventDefault();\n event.stopImmediatePropagation();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/define.js", "name": "./node_modules/d3-color/src/define.js", "index": 58, "index2": 46, "size": 340, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "issuerId": null, "issuerName": "./node_modules/d3-color/src/color.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "name": "./node_modules/d3-color/src/color.js", "profile": { "factory": 78, "building": 55, "dependencies": 61 } } ], "profile": { "factory": 63, "building": 43 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "39:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "39:29-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "45:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "45:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "113:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "113:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "170:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "242:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "242:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "328:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "328:17-23" } ], "usedExports": [ "default", "extend" ], "providedExports": [ "default", "extend" ], "optimizationBailout": [], "depth": 5, "source": "export default function(constructor, factory, prototype) {\n constructor.prototype = factory.prototype = prototype;\n prototype.constructor = constructor;\n}\n\nexport function extend(parent, definition) {\n var prototype = Object.create(parent.prototype);\n for (var key in definition) prototype[key] = definition[key];\n return prototype;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/constant.js", "name": "./node_modules/d3-interpolate/src/constant.js", "index": 61, "index2": 48, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/color.js", "module": "./node_modules/d3-interpolate/src/color.js", "moduleName": "./node_modules/d3-interpolate/src/color.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "8:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "13:40-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/color.js", "module": "./node_modules/d3-interpolate/src/color.js", "moduleName": "./node_modules/d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "17:82-90" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/color.js", "module": "./node_modules/d3-interpolate/src/color.js", "moduleName": "./node_modules/d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "22:42-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/color.js", "module": "./node_modules/d3-interpolate/src/color.js", "moduleName": "./node_modules/d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "28:28-36" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/color.js", "name": "./node_modules/d3-interpolate/src/color.js", "index": 60, "index2": 49, "size": 700, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/rgb.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "name": "./node_modules/d3-interpolate/src/rgb.js", "profile": { "factory": 113, "building": 47, "dependencies": 0 } } ], "profile": { "factory": 28, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hue.js", "module": "./node_modules/d3-interpolate/src/hue.js", "moduleName": "./node_modules/d3-interpolate/src/hue.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hue.js", "module": "./node_modules/d3-interpolate/src/hue.js", "moduleName": "./node_modules/d3-interpolate/src/hue.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "4:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "5:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "6:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "8:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "8:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "8:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "9:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "9:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "10:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "11:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "12:20-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "13:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "20:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "20:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "21:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "21:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "28:25-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "29:37-42" } ], "usedExports": [ "gamma", "default", "hue" ], "providedExports": [ "hue", "gamma", "default" ], "optimizationBailout": [], "depth": 5, "source": "import constant from \"./constant.js\";\n\nfunction linear(a, d) {\n return function(t) {\n return a + t * d;\n };\n}\n\nfunction exponential(a, b, y) {\n return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {\n return Math.pow(a + t * b, y);\n };\n}\n\nexport function hue(a, b) {\n var d = b - a;\n return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);\n}\n\nexport function gamma(y) {\n return (y = +y) === 1 ? nogamma : function(a, b) {\n return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);\n };\n}\n\nexport default function nogamma(a, b) {\n var d = b - a;\n return d ? linear(a, d) : constant(isNaN(a) ? b : a);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/sourceEvent.js", "name": "./node_modules/d3-selection/src/sourceEvent.js", "index": 132, "index2": 126, "size": 175, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/touches.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "name": "./node_modules/d3-selection/src/touches.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } } ], "profile": { "factory": 95, "building": 17, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "module": "./node_modules/d3-selection/src/touches.js", "moduleName": "./node_modules/d3-selection/src/touches.js", "type": "harmony side effect evaluation", "userRequest": "./sourceEvent", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touch.js", "module": "./node_modules/d3-selection/src/touch.js", "moduleName": "./node_modules/d3-selection/src/touch.js", "type": "harmony side effect evaluation", "userRequest": "./sourceEvent", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/mouse.js", "module": "./node_modules/d3-selection/src/mouse.js", "moduleName": "./node_modules/d3-selection/src/mouse.js", "type": "harmony side effect evaluation", "userRequest": "./sourceEvent", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/mouse.js", "module": "./node_modules/d3-selection/src/mouse.js", "moduleName": "./node_modules/d3-selection/src/mouse.js", "type": "harmony import specifier", "userRequest": "./sourceEvent", "loc": "5:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "module": "./node_modules/d3-selection/src/touches.js", "moduleName": "./node_modules/d3-selection/src/touches.js", "type": "harmony import specifier", "userRequest": "./sourceEvent", "loc": "5:33-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touch.js", "module": "./node_modules/d3-selection/src/touch.js", "moduleName": "./node_modules/d3-selection/src/touch.js", "type": "harmony import specifier", "userRequest": "./sourceEvent", "loc": "5:60-71" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {event} from \"./selection/on\";\n\nexport default function() {\n var current = event, source;\n while (source = current.sourceEvent) current = source;\n return current;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "name": "./node_modules/d3-transition/src/transition/schedule.js", "index": 47, "index2": 41, "size": 4617, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/interrupt.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "name": "./node_modules/d3-transition/src/interrupt.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } } ], "profile": { "factory": 39, "building": 57, "dependencies": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "module": "./node_modules/d3-transition/src/interrupt.js", "moduleName": "./node_modules/d3-transition/src/interrupt.js", "type": "harmony side effect evaluation", "userRequest": "./transition/schedule.js", "loc": "1:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/end.js", "module": "./node_modules/d3-transition/src/transition/end.js", "moduleName": "./node_modules/d3-transition/src/transition/end.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/on.js", "module": "./node_modules/d3-transition/src/transition/on.js", "moduleName": "./node_modules/d3-transition/src/transition/on.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/ease.js", "module": "./node_modules/d3-transition/src/transition/ease.js", "moduleName": "./node_modules/d3-transition/src/transition/ease.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/duration.js", "module": "./node_modules/d3-transition/src/transition/duration.js", "moduleName": "./node_modules/d3-transition/src/transition/duration.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/delay.js", "module": "./node_modules/d3-transition/src/transition/delay.js", "moduleName": "./node_modules/d3-transition/src/transition/delay.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony side effect evaluation", "userRequest": "../transition/schedule.js", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/active.js", "module": "./node_modules/d3-transition/src/active.js", "moduleName": "./node_modules/d3-transition/src/active.js", "type": "harmony side effect evaluation", "userRequest": "./transition/schedule.js", "loc": "2:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "2:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/duration.js", "module": "./node_modules/d3-transition/src/transition/duration.js", "moduleName": "./node_modules/d3-transition/src/transition/duration.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "5:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/delay.js", "module": "./node_modules/d3-transition/src/transition/delay.js", "moduleName": "./node_modules/d3-transition/src/transition/delay.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "5:4-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/ease.js", "module": "./node_modules/d3-transition/src/transition/ease.js", "moduleName": "./node_modules/d3-transition/src/transition/ease.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "6:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "6:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/end.js", "module": "./node_modules/d3-transition/src/transition/end.js", "moduleName": "./node_modules/d3-transition/src/transition/end.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "10:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/duration.js", "module": "./node_modules/d3-transition/src/transition/duration.js", "moduleName": "./node_modules/d3-transition/src/transition/duration.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "11:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/delay.js", "module": "./node_modules/d3-transition/src/transition/delay.js", "moduleName": "./node_modules/d3-transition/src/transition/delay.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "11:4-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "12:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/on.js", "module": "./node_modules/d3-transition/src/transition/on.js", "moduleName": "./node_modules/d3-transition/src/transition/on.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "12:36-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/on.js", "module": "./node_modules/d3-transition/src/transition/on.js", "moduleName": "./node_modules/d3-transition/src/transition/on.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "12:43-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "13:8-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/active.js", "module": "./node_modules/d3-transition/src/active.js", "moduleName": "./node_modules/d3-transition/src/active.js", "type": "harmony import specifier", "userRequest": "./transition/schedule.js", "loc": "14:44-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "14:89-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/ease.js", "module": "./node_modules/d3-transition/src/transition/ease.js", "moduleName": "./node_modules/d3-transition/src/transition/ease.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "15:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "16:8-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "16:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "module": "./node_modules/d3-transition/src/interrupt.js", "moduleName": "./node_modules/d3-transition/src/interrupt.js", "type": "harmony import specifier", "userRequest": "./transition/schedule.js", "loc": "16:30-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "16:53-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "module": "./node_modules/d3-transition/src/interrupt.js", "moduleName": "./node_modules/d3-transition/src/interrupt.js", "type": "harmony import specifier", "userRequest": "./transition/schedule.js", "loc": "16:59-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "module": "./node_modules/d3-transition/src/interrupt.js", "moduleName": "./node_modules/d3-transition/src/interrupt.js", "type": "harmony import specifier", "userRequest": "./transition/schedule.js", "loc": "17:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/duration.js", "module": "./node_modules/d3-transition/src/transition/duration.js", "moduleName": "./node_modules/d3-transition/src/transition/duration.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "22:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/delay.js", "module": "./node_modules/d3-transition/src/transition/delay.js", "moduleName": "./node_modules/d3-transition/src/transition/delay.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "22:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/on.js", "module": "./node_modules/d3-transition/src/transition/on.js", "moduleName": "./node_modules/d3-transition/src/transition/on.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "30:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "31:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "userRequest": "../transition/schedule.js", "loc": "36:8-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "56:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "58:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "74:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "79:11-14" } ], "usedExports": [ "STARTING", "ENDING", "ENDED", "SCHEDULED", "set", "get", "init", "default" ], "providedExports": [ "CREATED", "SCHEDULED", "STARTING", "STARTED", "RUNNING", "ENDING", "ENDED", "default", "init", "set", "get" ], "optimizationBailout": [], "depth": 5, "source": "import {dispatch} from \"d3-dispatch\";\nimport {timer, timeout} from \"d3-timer\";\n\nvar emptyOn = dispatch(\"start\", \"end\", \"cancel\", \"interrupt\");\nvar emptyTween = [];\n\nexport var CREATED = 0;\nexport var SCHEDULED = 1;\nexport var STARTING = 2;\nexport var STARTED = 3;\nexport var RUNNING = 4;\nexport var ENDING = 5;\nexport var ENDED = 6;\n\nexport default function(node, name, id, index, group, timing) {\n var schedules = node.__transition;\n if (!schedules) node.__transition = {};\n else if (id in schedules) return;\n create(node, id, {\n name: name,\n index: index, // For context during callback.\n group: group, // For context during callback.\n on: emptyOn,\n tween: emptyTween,\n time: timing.time,\n delay: timing.delay,\n duration: timing.duration,\n ease: timing.ease,\n timer: null,\n state: CREATED\n });\n}\n\nexport function init(node, id) {\n var schedule = get(node, id);\n if (schedule.state > CREATED) throw new Error(\"too late; already scheduled\");\n return schedule;\n}\n\nexport function set(node, id) {\n var schedule = get(node, id);\n if (schedule.state > STARTED) throw new Error(\"too late; already running\");\n return schedule;\n}\n\nexport function get(node, id) {\n var schedule = node.__transition;\n if (!schedule || !(schedule = schedule[id])) throw new Error(\"transition not found\");\n return schedule;\n}\n\nfunction create(node, id, self) {\n var schedules = node.__transition,\n tween;\n\n // Initialize the self timer when the transition is created.\n // Note the actual delay is not known until the first callback!\n schedules[id] = self;\n self.timer = timer(schedule, 0, self.time);\n\n function schedule(elapsed) {\n self.state = SCHEDULED;\n self.timer.restart(start, self.delay, self.time);\n\n // If the elapsed delay is less than our first sleep, start immediately.\n if (self.delay <= elapsed) start(elapsed - self.delay);\n }\n\n function start(elapsed) {\n var i, j, n, o;\n\n // If the state is not SCHEDULED, then we previously errored on start.\n if (self.state !== SCHEDULED) return stop();\n\n for (i in schedules) {\n o = schedules[i];\n if (o.name !== self.name) continue;\n\n // While this element already has a starting transition during this frame,\n // defer starting an interrupting transition until that transition has a\n // chance to tick (and possibly end); see d3/d3-transition#54!\n if (o.state === STARTED) return timeout(start);\n\n // Interrupt the active transition, if any.\n if (o.state === RUNNING) {\n o.state = ENDED;\n o.timer.stop();\n o.on.call(\"interrupt\", node, node.__data__, o.index, o.group);\n delete schedules[i];\n }\n\n // Cancel any pre-empted transitions.\n else if (+i < id) {\n o.state = ENDED;\n o.timer.stop();\n o.on.call(\"cancel\", node, node.__data__, o.index, o.group);\n delete schedules[i];\n }\n }\n\n // Defer the first tick to end of the current frame; see d3/d3#1576.\n // Note the transition may be canceled after start and before the first tick!\n // Note this must be scheduled before the start event; see d3/d3-transition#16!\n // Assuming this is successful, subsequent callbacks go straight to tick.\n timeout(function() {\n if (self.state === STARTED) {\n self.state = RUNNING;\n self.timer.restart(tick, self.delay, self.time);\n tick(elapsed);\n }\n });\n\n // Dispatch the start event.\n // Note this must be done before the tween are initialized.\n self.state = STARTING;\n self.on.call(\"start\", node, node.__data__, self.index, self.group);\n if (self.state !== STARTING) return; // interrupted\n self.state = STARTED;\n\n // Initialize the tween, deleting null tween.\n tween = new Array(n = self.tween.length);\n for (i = 0, j = -1; i < n; ++i) {\n if (o = self.tween[i].value.call(node, node.__data__, self.index, self.group)) {\n tween[++j] = o;\n }\n }\n tween.length = j + 1;\n }\n\n function tick(elapsed) {\n var t = elapsed < self.duration ? self.ease.call(null, elapsed / self.duration) : (self.timer.restart(stop), self.state = ENDING, 1),\n i = -1,\n n = tween.length;\n\n while (++i < n) {\n tween[i].call(node, t);\n }\n\n // Dispatch the end event.\n if (self.state === ENDING) {\n self.on.call(\"end\", node, node.__data__, self.index, self.group);\n stop();\n }\n }\n\n function stop() {\n self.state = ENDED;\n self.timer.stop();\n delete schedules[id];\n for (var i in schedules) return; // eslint-disable-line no-unused-vars\n delete node.__transition;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/interrupt.js", "name": "./node_modules/d3-transition/src/selection/interrupt.js", "index": 45, "index2": 43, "size": 141, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } } ], "profile": { "factory": 18, "building": 56, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./interrupt.js", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./interrupt.js", "loc": "5:32-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import interrupt from \"../interrupt.js\";\n\nexport default function(name) {\n return this.each(function() {\n interrupt(this, name);\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "name": "./node_modules/d3-interpolate/src/transform/parse.js", "index": 68, "index2": 58, "size": 983, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/transform/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "name": "./node_modules/d3-interpolate/src/transform/index.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 54, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse.js", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "./parse.js", "loc": "62:58-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "./parse.js", "loc": "63:58-66" } ], "usedExports": [ "parseCss", "parseSvg" ], "providedExports": [ "parseCss", "parseSvg" ], "optimizationBailout": [], "depth": 5, "source": "import decompose, {identity} from \"./decompose.js\";\n\nvar cssNode,\n cssRoot,\n cssView,\n svgNode;\n\nexport function parseCss(value) {\n if (value === \"none\") return identity;\n if (!cssNode) cssNode = document.createElement(\"DIV\"), cssRoot = document.documentElement, cssView = document.defaultView;\n cssNode.style.transform = value;\n value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue(\"transform\");\n cssRoot.removeChild(cssNode);\n value = value.slice(7, -1).split(\",\");\n return decompose(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5]);\n}\n\nexport function parseSvg(value) {\n if (value == null) return identity;\n if (!svgNode) svgNode = document.createElementNS(\"http://www.w3.org/2000/svg\", \"g\");\n svgNode.setAttribute(\"transform\", value);\n if (!(value = svgNode.transform.baseVal.consolidate())) return identity;\n value = value.matrix;\n return decompose(value.a, value.b, value.c, value.d, value.e, value.f);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "name": "./node_modules/d3-transition/src/transition/tween.js", "index": 54, "index2": 44, "size": 2029, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/text.js", "module": "./node_modules/d3-transition/src/transition/text.js", "moduleName": "./node_modules/d3-transition/src/transition/text.js", "type": "harmony side effect evaluation", "userRequest": "./tween.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony side effect evaluation", "userRequest": "./tween.js", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony side effect evaluation", "userRequest": "./tween.js", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/text.js", "module": "./node_modules/d3-transition/src/transition/text.js", "moduleName": "./node_modules/d3-transition/src/transition/text.js", "type": "harmony import specifier", "userRequest": "./tween.js", "loc": "18:21-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./tween.js", "loc": "19:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./tween.js", "loc": "63:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "userRequest": "./tween.js", "loc": "75:47-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony import specifier", "userRequest": "./tween.js", "loc": "75:70-80" } ], "usedExports": [ "default", "tweenValue" ], "providedExports": [ "default", "tweenValue" ], "optimizationBailout": [], "depth": 5, "source": "import {get, set} from \"./schedule.js\";\n\nfunction tweenRemove(id, name) {\n var tween0, tween1;\n return function() {\n var schedule = set(this, id),\n tween = schedule.tween;\n\n // If this node shared tween with the previous node,\n // just assign the updated shared tween and we’re done!\n // Otherwise, copy-on-write.\n if (tween !== tween0) {\n tween1 = tween0 = tween;\n for (var i = 0, n = tween1.length; i < n; ++i) {\n if (tween1[i].name === name) {\n tween1 = tween1.slice();\n tween1.splice(i, 1);\n break;\n }\n }\n }\n\n schedule.tween = tween1;\n };\n}\n\nfunction tweenFunction(id, name, value) {\n var tween0, tween1;\n if (typeof value !== \"function\") throw new Error;\n return function() {\n var schedule = set(this, id),\n tween = schedule.tween;\n\n // If this node shared tween with the previous node,\n // just assign the updated shared tween and we’re done!\n // Otherwise, copy-on-write.\n if (tween !== tween0) {\n tween1 = (tween0 = tween).slice();\n for (var t = {name: name, value: value}, i = 0, n = tween1.length; i < n; ++i) {\n if (tween1[i].name === name) {\n tween1[i] = t;\n break;\n }\n }\n if (i === n) tween1.push(t);\n }\n\n schedule.tween = tween1;\n };\n}\n\nexport default function(name, value) {\n var id = this._id;\n\n name += \"\";\n\n if (arguments.length < 2) {\n var tween = get(this.node(), id).tween;\n for (var i = 0, n = tween.length, t; i < n; ++i) {\n if ((t = tween[i]).name === name) {\n return t.value;\n }\n }\n return null;\n }\n\n return this.each((value == null ? tweenRemove : tweenFunction)(id, name, value));\n}\n\nexport function tweenValue(transition, name, value) {\n var id = transition._id;\n\n transition.each(function() {\n var schedule = set(this, id);\n (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments);\n });\n\n return function(node) {\n return get(node, id).value[name];\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "name": "./node_modules/d3-transition/src/transition/attr.js", "index": 53, "index2": 60, "size": 2673, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./attr.js", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./attr.js", "loc": "56:8-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {interpolateTransformSvg as interpolateTransform} from \"d3-interpolate\";\nimport {namespace} from \"d3-selection\";\nimport {tweenValue} from \"./tween.js\";\nimport interpolate from \"./interpolate.js\";\n\nfunction attrRemove(name) {\n return function() {\n this.removeAttribute(name);\n };\n}\n\nfunction attrRemoveNS(fullname) {\n return function() {\n this.removeAttributeNS(fullname.space, fullname.local);\n };\n}\n\nfunction attrConstant(name, interpolate, value1) {\n var string00,\n string1 = value1 + \"\",\n interpolate0;\n return function() {\n var string0 = this.getAttribute(name);\n return string0 === string1 ? null\n : string0 === string00 ? interpolate0\n : interpolate0 = interpolate(string00 = string0, value1);\n };\n}\n\nfunction attrConstantNS(fullname, interpolate, value1) {\n var string00,\n string1 = value1 + \"\",\n interpolate0;\n return function() {\n var string0 = this.getAttributeNS(fullname.space, fullname.local);\n return string0 === string1 ? null\n : string0 === string00 ? interpolate0\n : interpolate0 = interpolate(string00 = string0, value1);\n };\n}\n\nfunction attrFunction(name, interpolate, value) {\n var string00,\n string10,\n interpolate0;\n return function() {\n var string0, value1 = value(this), string1;\n if (value1 == null) return void this.removeAttribute(name);\n string0 = this.getAttribute(name);\n string1 = value1 + \"\";\n return string0 === string1 ? null\n : string0 === string00 && string1 === string10 ? interpolate0\n : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));\n };\n}\n\nfunction attrFunctionNS(fullname, interpolate, value) {\n var string00,\n string10,\n interpolate0;\n return function() {\n var string0, value1 = value(this), string1;\n if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local);\n string0 = this.getAttributeNS(fullname.space, fullname.local);\n string1 = value1 + \"\";\n return string0 === string1 ? null\n : string0 === string00 && string1 === string10 ? interpolate0\n : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));\n };\n}\n\nexport default function(name, value) {\n var fullname = namespace(name), i = fullname === \"transform\" ? interpolateTransform : interpolate;\n return this.attrTween(name, typeof value === \"function\"\n ? (fullname.local ? attrFunctionNS : attrFunction)(fullname, i, tweenValue(this, \"attr.\" + name, value))\n : value == null ? (fullname.local ? attrRemoveNS : attrRemove)(fullname)\n : (fullname.local ? attrConstantNS : attrConstant)(fullname, i, value));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attrTween.js", "name": "./node_modules/d3-transition/src/transition/attrTween.js", "index": 70, "index2": 61, "size": 1148, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./attrTween.js", "loc": "3:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./attrTween.js", "loc": "57:13-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {namespace} from \"d3-selection\";\n\nfunction attrInterpolate(name, i) {\n return function(t) {\n this.setAttribute(name, i.call(this, t));\n };\n}\n\nfunction attrInterpolateNS(fullname, i) {\n return function(t) {\n this.setAttributeNS(fullname.space, fullname.local, i.call(this, t));\n };\n}\n\nfunction attrTweenNS(fullname, value) {\n var t0, i0;\n function tween() {\n var i = value.apply(this, arguments);\n if (i !== i0) t0 = (i0 = i) && attrInterpolateNS(fullname, i);\n return t0;\n }\n tween._value = value;\n return tween;\n}\n\nfunction attrTween(name, value) {\n var t0, i0;\n function tween() {\n var i = value.apply(this, arguments);\n if (i !== i0) t0 = (i0 = i) && attrInterpolate(name, i);\n return t0;\n }\n tween._value = value;\n return tween;\n}\n\nexport default function(name, value) {\n var key = \"attr.\" + name;\n if (arguments.length < 2) return (key = this.tween(key)) && key._value;\n if (value == null) return this.tween(key, null);\n if (typeof value !== \"function\") throw new Error;\n var fullname = namespace(name);\n return this.tween(key, (fullname.local ? attrTweenNS : attrTween)(fullname, value));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/delay.js", "name": "./node_modules/d3-transition/src/transition/delay.js", "index": 71, "index2": 62, "size": 513, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./delay.js", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./delay.js", "loc": "64:9-25" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {get, init} from \"./schedule.js\";\n\nfunction delayFunction(id, value) {\n return function() {\n init(this, id).delay = +value.apply(this, arguments);\n };\n}\n\nfunction delayConstant(id, value) {\n return value = +value, function() {\n init(this, id).delay = value;\n };\n}\n\nexport default function(value) {\n var id = this._id;\n\n return arguments.length\n ? this.each((typeof value === \"function\"\n ? delayFunction\n : delayConstant)(id, value))\n : get(this.node(), id).delay;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/duration.js", "name": "./node_modules/d3-transition/src/transition/duration.js", "index": 72, "index2": 63, "size": 531, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "5:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "65:12-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {get, set} from \"./schedule.js\";\n\nfunction durationFunction(id, value) {\n return function() {\n set(this, id).duration = +value.apply(this, arguments);\n };\n}\n\nfunction durationConstant(id, value) {\n return value = +value, function() {\n set(this, id).duration = value;\n };\n}\n\nexport default function(value) {\n var id = this._id;\n\n return arguments.length\n ? this.each((typeof value === \"function\"\n ? durationFunction\n : durationConstant)(id, value))\n : get(this.node(), id).duration;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/ease.js", "name": "./node_modules/d3-transition/src/transition/ease.js", "index": 73, "index2": 64, "size": 351, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./ease.js", "loc": "6:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./ease.js", "loc": "66:8-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {get, set} from \"./schedule.js\";\n\nfunction easeConstant(id, value) {\n if (typeof value !== \"function\") throw new Error;\n return function() {\n set(this, id).ease = value;\n };\n}\n\nexport default function(value) {\n var id = this._id;\n\n return arguments.length\n ? this.each(easeConstant(id, value))\n : get(this.node(), id).ease;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/filter.js", "name": "./node_modules/d3-transition/src/transition/filter.js", "index": 74, "index2": 66, "size": 577, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./filter.js", "loc": "7:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./filter.js", "loc": "45:10-27" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {matcher} from \"d3-selection\";\nimport {Transition} from \"./index.js\";\n\nexport default function(match) {\n if (typeof match !== \"function\") match = matcher(match);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {\n if ((node = group[i]) && match.call(node, node.__data__, i, group)) {\n subgroup.push(node);\n }\n }\n }\n\n return new Transition(subgroups, this._parents, this._name, this._id);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/merge.js", "name": "./node_modules/d3-transition/src/transition/merge.js", "index": 76, "index2": 67, "size": 656, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./merge.js", "loc": "8:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./merge.js", "loc": "46:9-25" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Transition} from \"./index.js\";\n\nexport default function(transition) {\n if (transition._id !== this._id) throw new Error;\n\n for (var groups0 = this._groups, groups1 = transition._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {\n for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {\n if (node = group0[i] || group1[i]) {\n merge[i] = node;\n }\n }\n }\n\n for (; j < m0; ++j) {\n merges[j] = groups0[j];\n }\n\n return new Transition(merges, this._parents, this._name, this._id);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/on.js", "name": "./node_modules/d3-transition/src/transition/on.js", "index": 77, "index2": 68, "size": 856, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./on.js", "loc": "9:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./on.js", "loc": "55:6-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {get, set, init} from \"./schedule.js\";\n\nfunction start(name) {\n return (name + \"\").trim().split(/^|\\s+/).every(function(t) {\n var i = t.indexOf(\".\");\n if (i >= 0) t = t.slice(0, i);\n return !t || t === \"start\";\n });\n}\n\nfunction onFunction(id, name, listener) {\n var on0, on1, sit = start(name) ? init : set;\n return function() {\n var schedule = sit(this, id),\n on = schedule.on;\n\n // If this node shared a dispatch with the previous node,\n // just assign the updated shared dispatch and we’re done!\n // Otherwise, copy-on-write.\n if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener);\n\n schedule.on = on1;\n };\n}\n\nexport default function(name, listener) {\n var id = this._id;\n\n return arguments.length < 2\n ? get(this.node(), id).on.on(name)\n : this.each(onFunction(id, name, listener));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/remove.js", "name": "./node_modules/d3-transition/src/transition/remove.js", "index": 78, "index2": 69, "size": 284, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./remove.js", "loc": "10:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./remove.js", "loc": "62:10-27" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function removeFunction(id) {\n return function() {\n var parent = this.parentNode;\n for (var i in this.__transition) if (+i !== id) return;\n if (parent) parent.removeChild(this);\n };\n}\n\nexport default function() {\n return this.on(\"end.remove\", removeFunction(this._id));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "name": "./node_modules/d3-transition/src/transition/select.js", "index": 79, "index2": 71, "size": 832, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./select.js", "loc": "11:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./select.js", "loc": "43:10-27" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {selector} from \"d3-selection\";\nimport {Transition} from \"./index.js\";\nimport schedule, {get} from \"./schedule.js\";\n\nexport default function(select) {\n var name = this._name,\n id = this._id;\n\n if (typeof select !== \"function\") select = selector(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {\n if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {\n if (\"__data__\" in node) subnode.__data__ = node.__data__;\n subgroup[i] = subnode;\n schedule(subgroup[i], name, id, i, subgroup, get(node, id));\n }\n }\n }\n\n return new Transition(subgroups, this._parents, name, id);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "name": "./node_modules/d3-transition/src/transition/selectAll.js", "index": 81, "index2": 73, "size": 889, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./selectAll.js", "loc": "12:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./selectAll.js", "loc": "44:13-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {selectorAll} from \"d3-selection\";\nimport {Transition} from \"./index.js\";\nimport schedule, {get} from \"./schedule.js\";\n\nexport default function(select) {\n var name = this._name,\n id = this._id;\n\n if (typeof select !== \"function\") select = selectorAll(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n for (var children = select.call(node, node.__data__, i, group), child, inherit = get(node, id), k = 0, l = children.length; k < l; ++k) {\n if (child = children[k]) {\n schedule(child, name, id, k, children, inherit);\n }\n }\n subgroups.push(children);\n parents.push(node);\n }\n }\n }\n\n return new Transition(subgroups, parents, name, id);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selection.js", "name": "./node_modules/d3-transition/src/transition/selection.js", "index": 83, "index2": 110, "size": 174, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./selection.js", "loc": "13:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./selection.js", "loc": "47:13-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {selection} from \"d3-selection\";\n\nvar Selection = selection.prototype.constructor;\n\nexport default function() {\n return new Selection(this._groups, this._parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "name": "./node_modules/d3-transition/src/transition/style.js", "index": 120, "index2": 111, "size": 2748, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./style.js", "loc": "14:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./style.js", "loc": "58:9-25" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {interpolateTransformCss as interpolateTransform} from \"d3-interpolate\";\nimport {style} from \"d3-selection\";\nimport {set} from \"./schedule.js\";\nimport {tweenValue} from \"./tween.js\";\nimport interpolate from \"./interpolate.js\";\n\nfunction styleNull(name, interpolate) {\n var string00,\n string10,\n interpolate0;\n return function() {\n var string0 = style(this, name),\n string1 = (this.style.removeProperty(name), style(this, name));\n return string0 === string1 ? null\n : string0 === string00 && string1 === string10 ? interpolate0\n : interpolate0 = interpolate(string00 = string0, string10 = string1);\n };\n}\n\nfunction styleRemove(name) {\n return function() {\n this.style.removeProperty(name);\n };\n}\n\nfunction styleConstant(name, interpolate, value1) {\n var string00,\n string1 = value1 + \"\",\n interpolate0;\n return function() {\n var string0 = style(this, name);\n return string0 === string1 ? null\n : string0 === string00 ? interpolate0\n : interpolate0 = interpolate(string00 = string0, value1);\n };\n}\n\nfunction styleFunction(name, interpolate, value) {\n var string00,\n string10,\n interpolate0;\n return function() {\n var string0 = style(this, name),\n value1 = value(this),\n string1 = value1 + \"\";\n if (value1 == null) string1 = value1 = (this.style.removeProperty(name), style(this, name));\n return string0 === string1 ? null\n : string0 === string00 && string1 === string10 ? interpolate0\n : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));\n };\n}\n\nfunction styleMaybeRemove(id, name) {\n var on0, on1, listener0, key = \"style.\" + name, event = \"end.\" + key, remove;\n return function() {\n var schedule = set(this, id),\n on = schedule.on,\n listener = schedule.value[key] == null ? remove || (remove = styleRemove(name)) : undefined;\n\n // If this node shared a dispatch with the previous node,\n // just assign the updated shared dispatch and we’re done!\n // Otherwise, copy-on-write.\n if (on !== on0 || listener0 !== listener) (on1 = (on0 = on).copy()).on(event, listener0 = listener);\n\n schedule.on = on1;\n };\n}\n\nexport default function(name, value, priority) {\n var i = (name += \"\") === \"transform\" ? interpolateTransform : interpolate;\n return value == null ? this\n .styleTween(name, styleNull(name, i))\n .on(\"end.style.\" + name, styleRemove(name))\n : typeof value === \"function\" ? this\n .styleTween(name, styleFunction(name, i, tweenValue(this, \"style.\" + name, value)))\n .each(styleMaybeRemove(this._id, name))\n : this\n .styleTween(name, styleConstant(name, i, value), priority)\n .on(\"end.style.\" + name, null);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/styleTween.js", "name": "./node_modules/d3-transition/src/transition/styleTween.js", "index": 121, "index2": 112, "size": 742, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./styleTween.js", "loc": "15:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./styleTween.js", "loc": "59:14-35" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function styleInterpolate(name, i, priority) {\n return function(t) {\n this.style.setProperty(name, i.call(this, t), priority);\n };\n}\n\nfunction styleTween(name, value, priority) {\n var t, i0;\n function tween() {\n var i = value.apply(this, arguments);\n if (i !== i0) t = (i0 = i) && styleInterpolate(name, i, priority);\n return t;\n }\n tween._value = value;\n return tween;\n}\n\nexport default function(name, value, priority) {\n var key = \"style.\" + (name += \"\");\n if (arguments.length < 2) return (key = this.tween(key)) && key._value;\n if (value == null) return this.tween(key, null);\n if (typeof value !== \"function\") throw new Error;\n return this.tween(key, styleTween(name, value, priority == null ? \"\" : priority));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/text.js", "name": "./node_modules/d3-transition/src/transition/text.js", "index": 122, "index2": 113, "size": 476, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./text.js", "loc": "16:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./text.js", "loc": "60:8-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {tweenValue} from \"./tween.js\";\n\nfunction textConstant(value) {\n return function() {\n this.textContent = value;\n };\n}\n\nfunction textFunction(value) {\n return function() {\n var value1 = value(this);\n this.textContent = value1 == null ? \"\" : value1;\n };\n}\n\nexport default function(value) {\n return this.tween(\"text\", typeof value === \"function\"\n ? textFunction(tweenValue(this, \"text\", value))\n : textConstant(value == null ? \"\" : value + \"\"));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/textTween.js", "name": "./node_modules/d3-transition/src/transition/textTween.js", "index": 123, "index2": 114, "size": 599, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./textTween.js", "loc": "17:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./textTween.js", "loc": "61:13-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function textInterpolate(i) {\n return function(t) {\n this.textContent = i.call(this, t);\n };\n}\n\nfunction textTween(value) {\n var t0, i0;\n function tween() {\n var i = value.apply(this, arguments);\n if (i !== i0) t0 = (i0 = i) && textInterpolate(i);\n return t0;\n }\n tween._value = value;\n return tween;\n}\n\nexport default function(value) {\n var key = \"text\";\n if (arguments.length < 1) return (key = this.tween(key)) && key._value;\n if (value == null) return this.tween(key, null);\n if (typeof value !== \"function\") throw new Error;\n return this.tween(key, textTween(value));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "name": "./node_modules/d3-transition/src/transition/transition.js", "index": 124, "index2": 115, "size": 697, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./transition.js", "loc": "18:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./transition.js", "loc": "48:14-35" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Transition, newId} from \"./index.js\";\nimport schedule, {get} from \"./schedule.js\";\n\nexport default function() {\n var name = this._name,\n id0 = this._id,\n id1 = newId();\n\n for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n var inherit = get(node, id0);\n schedule(node, name, id1, i, group, {\n time: inherit.time + inherit.delay + inherit.duration,\n delay: 0,\n duration: inherit.duration,\n ease: inherit.ease\n });\n }\n }\n }\n\n return new Transition(groups, this._parents, name, id1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/end.js", "name": "./node_modules/d3-transition/src/transition/end.js", "index": 125, "index2": 116, "size": 747, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./end.js", "loc": "20:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./end.js", "loc": "67:7-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {set} from \"./schedule.js\";\n\nexport default function() {\n var on0, on1, that = this, id = that._id, size = that.size();\n return new Promise(function(resolve, reject) {\n var cancel = {value: reject},\n end = {value: function() { if (--size === 0) resolve(); }};\n\n that.each(function() {\n var schedule = set(this, id),\n on = schedule.on;\n\n // If this node shared a dispatch with the previous node,\n // just assign the updated shared dispatch and we’re done!\n // Otherwise, copy-on-write.\n if (on !== on0) {\n on1 = (on0 = on).copy();\n on1._.cancel.push(cancel);\n on1._.interrupt.push(cancel);\n on1._.end.push(end);\n }\n\n schedule.on = on1;\n });\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "index": 51, "index2": 119, "size": 1096, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } } ], "profile": { "factory": 18, "building": 56, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./transition.js", "loc": "3:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./transition.js", "loc": "6:33-53" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Transition, newId} from \"../transition/index.js\";\nimport schedule from \"../transition/schedule.js\";\nimport {easeCubicInOut} from \"d3-ease\";\nimport {now} from \"d3-timer\";\n\nvar defaultTiming = {\n time: null, // Set on use.\n delay: 0,\n duration: 250,\n ease: easeCubicInOut\n};\n\nfunction inherit(node, id) {\n var timing;\n while (!(timing = node.__transition) || !(timing = timing[id])) {\n if (!(node = node.parentNode)) {\n return defaultTiming.time = now(), defaultTiming;\n }\n }\n return timing;\n}\n\nexport default function(name) {\n var id,\n timing;\n\n if (name instanceof Transition) {\n id = name._id, name = name._name;\n } else {\n id = newId(), (timing = defaultTiming).time = now(), name = name == null ? null : name + \"\";\n }\n\n for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n schedule(node, name, id, i, group, timing || inherit(node, id));\n }\n }\n }\n\n return new Transition(groups, this._parents, name, id);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/constant.js", "name": "./node_modules/d3-brush/src/constant.js", "index": 128, "index2": 123, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "issuerId": null, "issuerName": "./node_modules/d3-brush/src/brush.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "name": "./node_modules/d3-brush/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "name": "./node_modules/d3-brush/src/brush.js", "profile": { "factory": 73, "building": 72, "dependencies": 57 } } ], "profile": { "factory": 107, "building": 43, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "6:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "564:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "568:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "572:73-81" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/event.js", "name": "./node_modules/d3-brush/src/event.js", "index": 129, "index2": 124, "size": 127, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "issuerId": null, "issuerName": "./node_modules/d3-brush/src/brush.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "name": "./node_modules/d3-brush/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "name": "./node_modules/d3-brush/src/brush.js", "profile": { "factory": 73, "building": 72, "dependencies": 57 } } ], "profile": { "factory": 107, "building": 43, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "./event.js", "loc": "7:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./event.js", "loc": "320:22-32" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(target, type, selection) {\n this.target = target;\n this.type = type;\n this.selection = selection;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/noevent.js", "name": "./node_modules/d3-brush/src/noevent.js", "index": 130, "index2": 125, "size": 202, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "issuerId": null, "issuerName": "./node_modules/d3-brush/src/brush.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "name": "./node_modules/d3-brush/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "name": "./node_modules/d3-brush/src/brush.js", "profile": { "factory": 73, "building": 72, "dependencies": 57 } } ], "profile": { "factory": 107, "building": 43, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "./noevent.js", "loc": "8:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "389:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "402:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "462:6-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "505:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "544:6-13" } ], "usedExports": [ "nopropagation", "default" ], "providedExports": [ "nopropagation", "default" ], "optimizationBailout": [], "depth": 5, "source": "import {event} from \"d3-selection\";\n\nexport function nopropagation() {\n event.stopImmediatePropagation();\n}\n\nexport default function() {\n event.preventDefault();\n event.stopImmediatePropagation();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/math.js", "name": "./node_modules/d3-chord/src/math.js", "index": 145, "index2": 140, "size": 159, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "issuerId": null, "issuerName": "./node_modules/d3-chord/src/ribbon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "name": "./node_modules/d3-chord/src/ribbon.js", "profile": { "factory": 188, "building": 35, "dependencies": 120 } } ], "profile": { "factory": 120, "building": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony side effect evaluation", "userRequest": "./math", "loc": "2:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony side effect evaluation", "userRequest": "./math", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "40:45-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "41:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "42:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "43:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "45:45-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "46:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "53:42-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "53:57-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "59:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "59:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "60:24-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "105:42-45" } ], "usedExports": [ "halfPi", "cos", "sin", "max", "tau" ], "providedExports": [ "cos", "sin", "pi", "halfPi", "tau", "max" ], "optimizationBailout": [], "depth": 5, "source": "export var cos = Math.cos;\nexport var sin = Math.sin;\nexport var pi = Math.PI;\nexport var halfPi = pi / 2;\nexport var tau = pi * 2;\nexport var max = Math.max;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/array.js", "name": "./node_modules/d3-chord/src/array.js", "index": 147, "index2": 142, "size": 42, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "issuerId": null, "issuerName": "./node_modules/d3-chord/src/ribbon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "name": "./node_modules/d3-chord/src/ribbon.js", "profile": { "factory": 188, "building": 35, "dependencies": 120 } } ], "profile": { "factory": 120, "building": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "36:15-20" } ], "usedExports": [ "slice" ], "providedExports": [ "slice" ], "optimizationBailout": [], "depth": 5, "source": "export var slice = Array.prototype.slice;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/constant.js", "name": "./node_modules/d3-chord/src/constant.js", "index": 148, "index2": 143, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "issuerId": null, "issuerName": "./node_modules/d3-chord/src/ribbon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "name": "./node_modules/d3-chord/src/ribbon.js", "profile": { "factory": 188, "building": 35, "dependencies": 120 } } ], "profile": { "factory": 120, "building": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "63:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "67:74-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "71:72-80" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/math.js", "name": "./node_modules/d3-color/src/math.js", "index": 159, "index2": 154, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "issuerId": null, "issuerName": "./node_modules/d3-color/src/cubehelix.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "name": "./node_modules/d3-color/src/cubehelix.js", "profile": { "factory": 78, "building": 55, "dependencies": 61 } } ], "profile": { "factory": 61, "building": 43 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "24:34-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:49-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "88:33-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "109:16-23" } ], "usedExports": [ "rad2deg", "deg2rad" ], "providedExports": [ "deg2rad", "rad2deg" ], "optimizationBailout": [], "depth": 5, "source": "export var deg2rad = Math.PI / 180;\nexport var rad2deg = 180 / Math.PI;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/array.js", "name": "./node_modules/d3-contour/src/array.js", "index": 163, "index2": 158, "size": 62, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/density.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "name": "./node_modules/d3-contour/src/density.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 107, "building": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "123:101-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "195:101-106" } ], "usedExports": [ "slice" ], "providedExports": [ "slice" ], "optimizationBailout": [], "depth": 5, "source": "var array = Array.prototype;\n\nexport var slice = array.slice;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/ascending.js", "name": "./node_modules/d3-contour/src/ascending.js", "index": 164, "index2": 159, "size": 50, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/contours.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "name": "./node_modules/d3-contour/src/contours.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 116, "building": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./ascending", "loc": "43:27-36" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(a, b) {\n return a - b;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/area.js", "name": "./node_modules/d3-contour/src/area.js", "index": 165, "index2": 160, "size": 230, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/contours.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "name": "./node_modules/d3-contour/src/contours.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 116, "building": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./area", "loc": "4:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./area", "loc": "59:10-14" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(ring) {\n var i = 0, n = ring.length, area = ring[n - 1][1] * ring[0][0] - ring[n - 1][0] * ring[0][1];\n while (++i < n) area += ring[i - 1][1] * ring[i][0] - ring[i - 1][0] * ring[i][1];\n return area;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/constant.js", "name": "./node_modules/d3-contour/src/constant.js", "index": 166, "index2": 161, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/density.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "name": "./node_modules/d3-contour/src/density.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 107, "building": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "4:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "30:18-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "98:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "102:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "106:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "123:92-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "123:118-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "195:92-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "195:118-126" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contains.js", "name": "./node_modules/d3-contour/src/contains.js", "index": 167, "index2": 162, "size": 871, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/contours.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "name": "./node_modules/d3-contour/src/contours.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 116, "building": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./contains", "loc": "6:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./contains", "loc": "65:12-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(ring, hole) {\n var i = -1, n = hole.length, c;\n while (++i < n) if (c = ringContains(ring, hole[i])) return c;\n return 0;\n}\n\nfunction ringContains(ring, point) {\n var x = point[0], y = point[1], contains = -1;\n for (var i = 0, n = ring.length, j = n - 1; i < n; j = i++) {\n var pi = ring[i], xi = pi[0], yi = pi[1], pj = ring[j], xj = pj[0], yj = pj[1];\n if (segmentContains(pi, pj, point)) return 0;\n if (((yi > y) !== (yj > y)) && ((x < (xj - xi) * (y - yi) / (yj - yi) + xi))) contains = -contains;\n }\n return contains;\n}\n\nfunction segmentContains(a, b, c) {\n var i; return collinear(a, b, c) && within(a[i = +(a[0] === b[0])], c[i], b[i]);\n}\n\nfunction collinear(a, b, c) {\n return (b[0] - a[0]) * (c[1] - a[1]) === (c[0] - a[0]) * (b[1] - a[1]);\n}\n\nfunction within(p, q, r) {\n return p <= q && q <= r || r <= q && q <= p;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/noop.js", "name": "./node_modules/d3-contour/src/noop.js", "index": 168, "index2": 163, "size": 29, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/contours.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "name": "./node_modules/d3-contour/src/contours.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 116, "building": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./noop", "loc": "7:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./noop", "loc": "199:59-63" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/blur.js", "name": "./node_modules/d3-contour/src/blur.js", "index": 170, "index2": 165, "size": 1095, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/density.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "name": "./node_modules/d3-contour/src/density.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 107, "building": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony side effect evaluation", "userRequest": "./blur", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "46:4-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "47:4-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "48:4-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "49:4-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "50:4-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "51:4-9" } ], "usedExports": [ "blurX", "blurY" ], "providedExports": [ "blurX", "blurY" ], "optimizationBailout": [], "depth": 5, "source": "// TODO Optimize edge cases.\n// TODO Optimize index calculation.\n// TODO Optimize arguments.\nexport function blurX(source, target, r) {\n var n = source.width,\n m = source.height,\n w = (r << 1) + 1;\n for (var j = 0; j < m; ++j) {\n for (var i = 0, sr = 0; i < n + r; ++i) {\n if (i < n) {\n sr += source.data[i + j * n];\n }\n if (i >= r) {\n if (i >= w) {\n sr -= source.data[i - w + j * n];\n }\n target.data[i - r + j * n] = sr / Math.min(i + 1, n - 1 + w - i, w);\n }\n }\n }\n}\n\n// TODO Optimize edge cases.\n// TODO Optimize index calculation.\n// TODO Optimize arguments.\nexport function blurY(source, target, r) {\n var n = source.width,\n m = source.height,\n w = (r << 1) + 1;\n for (var i = 0; i < n; ++i) {\n for (var j = 0, sr = 0; j < m + r; ++j) {\n if (j < m) {\n sr += source.data[i + j * n];\n }\n if (j >= r) {\n if (j >= w) {\n sr -= source.data[i + (j - w) * n];\n }\n target.data[i + (j - r) * n] = sr / Math.min(j + 1, m - 1 + w - j, w);\n }\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/constant.js", "name": "./node_modules/d3-drag/src/constant.js", "index": 175, "index2": 170, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "issuerId": null, "issuerName": "./node_modules/d3-drag/src/drag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "name": "./node_modules/d3-drag/src/drag.js", "profile": { "factory": 77, "building": 60, "dependencies": 58 } } ], "profile": { "factory": 58, "building": 43 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "5:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "142:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "146:73-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "150:71-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "154:73-81" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/event.js", "name": "./node_modules/d3-drag/src/event.js", "index": 174, "index2": 169, "size": 430, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "issuerId": null, "issuerName": "./node_modules/d3-drag/src/drag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "name": "./node_modules/d3-drag/src/drag.js", "profile": { "factory": 77, "building": 60, "dependencies": 58 } } ], "profile": { "factory": 58, "building": 43 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "./event.js", "loc": "6:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./event.js", "loc": "123:25-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./event.js", "loc": "137:22-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function DragEvent(target, type, subject, id, active, x, y, dx, dy, dispatch) {\n this.target = target;\n this.type = type;\n this.subject = subject;\n this.identifier = id;\n this.active = active;\n this.x = x;\n this.y = y;\n this.dx = dx;\n this.dy = dy;\n this._ = dispatch;\n}\n\nDragEvent.prototype.on = function() {\n var value = this._.on.apply(this._, arguments);\n return value === this._ ? this : value;\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/constant.js", "name": "./node_modules/d3-force/src/constant.js", "index": 202, "index2": 197, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/y.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "name": "./node_modules/d3-force/src/y.js", "profile": { "factory": 893, "building": 18, "dependencies": 16 } } ], "profile": { "factory": 17, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "module": "./node_modules/d3-force/src/y.js", "moduleName": "./node_modules/d3-force/src/y.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "module": "./node_modules/d3-force/src/x.js", "moduleName": "./node_modules/d3-force/src/x.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "module": "./node_modules/d3-force/src/radial.js", "moduleName": "./node_modules/d3-force/src/radial.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "module": "./node_modules/d3-force/src/y.js", "moduleName": "./node_modules/d3-force/src/y.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "4:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "module": "./node_modules/d3-force/src/x.js", "moduleName": "./node_modules/d3-force/src/x.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "4:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "module": "./node_modules/d3-force/src/radial.js", "moduleName": "./node_modules/d3-force/src/radial.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "5:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "module": "./node_modules/d3-force/src/y.js", "moduleName": "./node_modules/d3-force/src/y.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "9:35-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "module": "./node_modules/d3-force/src/x.js", "moduleName": "./node_modules/d3-force/src/x.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "9:35-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "module": "./node_modules/d3-force/src/radial.js", "moduleName": "./node_modules/d3-force/src/radial.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "9:45-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "10:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "19:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "19:45-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "module": "./node_modules/d3-force/src/y.js", "moduleName": "./node_modules/d3-force/src/y.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "33:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "module": "./node_modules/d3-force/src/x.js", "moduleName": "./node_modules/d3-force/src/x.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "33:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "module": "./node_modules/d3-force/src/y.js", "moduleName": "./node_modules/d3-force/src/y.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "37:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "module": "./node_modules/d3-force/src/x.js", "moduleName": "./node_modules/d3-force/src/x.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "37:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "module": "./node_modules/d3-force/src/radial.js", "moduleName": "./node_modules/d3-force/src/radial.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "41:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "module": "./node_modules/d3-force/src/radial.js", "moduleName": "./node_modules/d3-force/src/radial.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "45:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "94:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "98:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "108:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "112:72-80" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/jiggle.js", "name": "./node_modules/d3-force/src/jiggle.js", "index": 203, "index2": 198, "size": 69, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/manyBody.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "name": "./node_modules/d3-force/src/manyBody.js", "profile": { "factory": 893, "building": 18, "dependencies": 16 } } ], "profile": { "factory": 11, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony side effect evaluation", "userRequest": "./jiggle", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony side effect evaluation", "userRequest": "./jiggle", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony side effect evaluation", "userRequest": "./jiggle", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "36:59-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "37:59-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "49:29-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "50:29-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "66:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "67:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "80:23-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "81:23-29" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n return (Math.random() - 0.5) * 1e-6;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/add.js", "name": "./node_modules/d3-quadtree/src/add.js", "index": 207, "index2": 201, "size": 2368, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./add.js", "loc": "1:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./add.js", "loc": "60:16-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./add.js", "loc": "61:19-30" } ], "usedExports": [ "default", "addAll" ], "providedExports": [ "default", "addAll" ], "optimizationBailout": [], "depth": 5, "source": "export default function(d) {\n var x = +this._x.call(null, d),\n y = +this._y.call(null, d);\n return add(this.cover(x, y), x, y, d);\n}\n\nfunction add(tree, x, y, d) {\n if (isNaN(x) || isNaN(y)) return tree; // ignore invalid points\n\n var parent,\n node = tree._root,\n leaf = {data: d},\n x0 = tree._x0,\n y0 = tree._y0,\n x1 = tree._x1,\n y1 = tree._y1,\n xm,\n ym,\n xp,\n yp,\n right,\n bottom,\n i,\n j;\n\n // If the tree is empty, initialize the root as a leaf.\n if (!node) return tree._root = leaf, tree;\n\n // Find the existing leaf for the new point, or add it.\n while (node.length) {\n if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n if (parent = node, !(node = node[i = bottom << 1 | right])) return parent[i] = leaf, tree;\n }\n\n // Is the new point is exactly coincident with the existing point?\n xp = +tree._x.call(null, node.data);\n yp = +tree._y.call(null, node.data);\n if (x === xp && y === yp) return leaf.next = node, parent ? parent[i] = leaf : tree._root = leaf, tree;\n\n // Otherwise, split the leaf node until the old and new point are separated.\n do {\n parent = parent ? parent[i] = new Array(4) : tree._root = new Array(4);\n if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n } while ((i = bottom << 1 | right) === (j = (yp >= ym) << 1 | (xp >= xm)));\n return parent[j] = node, parent[i] = leaf, tree;\n}\n\nexport function addAll(data) {\n var d, i, n = data.length,\n x,\n y,\n xz = new Array(n),\n yz = new Array(n),\n x0 = Infinity,\n y0 = Infinity,\n x1 = -Infinity,\n y1 = -Infinity;\n\n // Compute the points and their extent.\n for (i = 0; i < n; ++i) {\n if (isNaN(x = +this._x.call(null, d = data[i])) || isNaN(y = +this._y.call(null, d))) continue;\n xz[i] = x;\n yz[i] = y;\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n }\n\n // If there were no (valid) points, abort.\n if (x0 > x1 || y0 > y1) return this;\n\n // Expand the tree to cover the new points.\n this.cover(x0, y0).cover(x1, y1);\n\n // Add the new points.\n for (i = 0; i < n; ++i) {\n add(this, xz[i], yz[i], data[i]);\n }\n\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/cover.js", "name": "./node_modules/d3-quadtree/src/cover.js", "index": 208, "index2": 202, "size": 1164, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./cover.js", "loc": "2:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./cover.js", "loc": "62:18-28" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x, y) {\n if (isNaN(x = +x) || isNaN(y = +y)) return this; // ignore invalid points\n\n var x0 = this._x0,\n y0 = this._y0,\n x1 = this._x1,\n y1 = this._y1;\n\n // If the quadtree has no extent, initialize them.\n // Integer extent are necessary so that if we later double the extent,\n // the existing quadrant boundaries don’t change due to floating point error!\n if (isNaN(x0)) {\n x1 = (x0 = Math.floor(x)) + 1;\n y1 = (y0 = Math.floor(y)) + 1;\n }\n\n // Otherwise, double repeatedly to cover.\n else {\n var z = x1 - x0,\n node = this._root,\n parent,\n i;\n\n while (x0 > x || x >= x1 || y0 > y || y >= y1) {\n i = (y < y0) << 1 | (x < x0);\n parent = new Array(4), parent[i] = node, node = parent, z *= 2;\n switch (i) {\n case 0: x1 = x0 + z, y1 = y0 + z; break;\n case 1: x0 = x1 - z, y1 = y0 + z; break;\n case 2: x1 = x0 + z, y0 = y1 - z; break;\n case 3: x0 = x1 - z, y0 = y1 - z; break;\n }\n }\n\n if (this._root && this._root.length) this._root = node;\n }\n\n this._x0 = x0;\n this._y0 = y0;\n this._x1 = x1;\n this._y1 = y1;\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/data.js", "name": "./node_modules/d3-quadtree/src/data.js", "index": 209, "index2": 203, "size": 170, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./data.js", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./data.js", "loc": "63:17-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var data = [];\n this.visit(function(node) {\n if (!node.length) do data.push(node.data); while (node = node.next)\n });\n return data;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/extent.js", "name": "./node_modules/d3-quadtree/src/extent.js", "index": 210, "index2": 204, "size": 206, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./extent.js", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./extent.js", "loc": "64:19-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(_) {\n return arguments.length\n ? this.cover(+_[0][0], +_[0][1]).cover(+_[1][0], +_[1][1])\n : isNaN(this._x0) ? undefined : [[this._x0, this._y0], [this._x1, this._y1]];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "name": "./node_modules/d3-quadtree/src/find.js", "index": 211, "index2": 206, "size": 1699, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./find.js", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./find.js", "loc": "65:17-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import Quad from \"./quad.js\";\n\nexport default function(x, y, radius) {\n var data,\n x0 = this._x0,\n y0 = this._y0,\n x1,\n y1,\n x2,\n y2,\n x3 = this._x1,\n y3 = this._y1,\n quads = [],\n node = this._root,\n q,\n i;\n\n if (node) quads.push(new Quad(node, x0, y0, x3, y3));\n if (radius == null) radius = Infinity;\n else {\n x0 = x - radius, y0 = y - radius;\n x3 = x + radius, y3 = y + radius;\n radius *= radius;\n }\n\n while (q = quads.pop()) {\n\n // Stop searching if this quadrant can’t contain a closer node.\n if (!(node = q.node)\n || (x1 = q.x0) > x3\n || (y1 = q.y0) > y3\n || (x2 = q.x1) < x0\n || (y2 = q.y1) < y0) continue;\n\n // Bisect the current quadrant.\n if (node.length) {\n var xm = (x1 + x2) / 2,\n ym = (y1 + y2) / 2;\n\n quads.push(\n new Quad(node[3], xm, ym, x2, y2),\n new Quad(node[2], x1, ym, xm, y2),\n new Quad(node[1], xm, y1, x2, ym),\n new Quad(node[0], x1, y1, xm, ym)\n );\n\n // Visit the closest quadrant first.\n if (i = (y >= ym) << 1 | (x >= xm)) {\n q = quads[quads.length - 1];\n quads[quads.length - 1] = quads[quads.length - 1 - i];\n quads[quads.length - 1 - i] = q;\n }\n }\n\n // Visit this point. (Visiting coincident points isn’t necessary!)\n else {\n var dx = x - +this._x.call(null, node.data),\n dy = y - +this._y.call(null, node.data),\n d2 = dx * dx + dy * dy;\n if (d2 < radius) {\n var d = Math.sqrt(radius = d2);\n x0 = x - d, y0 = y - d;\n x3 = x + d, y3 = y + d;\n data = node.data;\n }\n }\n }\n\n return data;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/remove.js", "name": "./node_modules/d3-quadtree/src/remove.js", "index": 213, "index2": 207, "size": 1898, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./remove.js", "loc": "6:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./remove.js", "loc": "66:19-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./remove.js", "loc": "67:22-36" } ], "usedExports": [ "default", "removeAll" ], "providedExports": [ "default", "removeAll" ], "optimizationBailout": [], "depth": 5, "source": "export default function(d) {\n if (isNaN(x = +this._x.call(null, d)) || isNaN(y = +this._y.call(null, d))) return this; // ignore invalid points\n\n var parent,\n node = this._root,\n retainer,\n previous,\n next,\n x0 = this._x0,\n y0 = this._y0,\n x1 = this._x1,\n y1 = this._y1,\n x,\n y,\n xm,\n ym,\n right,\n bottom,\n i,\n j;\n\n // If the tree is empty, initialize the root as a leaf.\n if (!node) return this;\n\n // Find the leaf node for the point.\n // While descending, also retain the deepest parent with a non-removed sibling.\n if (node.length) while (true) {\n if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n if (!(parent = node, node = node[i = bottom << 1 | right])) return this;\n if (!node.length) break;\n if (parent[(i + 1) & 3] || parent[(i + 2) & 3] || parent[(i + 3) & 3]) retainer = parent, j = i;\n }\n\n // Find the point to remove.\n while (node.data !== d) if (!(previous = node, node = node.next)) return this;\n if (next = node.next) delete node.next;\n\n // If there are multiple coincident points, remove just the point.\n if (previous) return (next ? previous.next = next : delete previous.next), this;\n\n // If this is the root point, remove it.\n if (!parent) return this._root = next, this;\n\n // Remove this leaf.\n next ? parent[i] = next : delete parent[i];\n\n // If the parent now contains exactly one leaf, collapse superfluous parents.\n if ((node = parent[0] || parent[1] || parent[2] || parent[3])\n && node === (parent[3] || parent[2] || parent[1] || parent[0])\n && !node.length) {\n if (retainer) retainer[j] = node;\n else this._root = node;\n }\n\n return this;\n}\n\nexport function removeAll(data) {\n for (var i = 0, n = data.length; i < n; ++i) this.remove(data[i]);\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/root.js", "name": "./node_modules/d3-quadtree/src/root.js", "index": 214, "index2": 208, "size": 51, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./root.js", "loc": "7:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./root.js", "loc": "68:17-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n return this._root;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/size.js", "name": "./node_modules/d3-quadtree/src/size.js", "index": 215, "index2": 209, "size": 155, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./size.js", "loc": "8:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./size.js", "loc": "69:17-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var size = 0;\n this.visit(function(node) {\n if (!node.length) do ++size; while (node = node.next)\n });\n return size;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "name": "./node_modules/d3-quadtree/src/visit.js", "index": 216, "index2": 210, "size": 698, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./visit.js", "loc": "9:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./visit.js", "loc": "70:18-28" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import Quad from \"./quad.js\";\n\nexport default function(callback) {\n var quads = [], q, node = this._root, child, x0, y0, x1, y1;\n if (node) quads.push(new Quad(node, this._x0, this._y0, this._x1, this._y1));\n while (q = quads.pop()) {\n if (!callback(node = q.node, x0 = q.x0, y0 = q.y0, x1 = q.x1, y1 = q.y1) && node.length) {\n var xm = (x0 + x1) / 2, ym = (y0 + y1) / 2;\n if (child = node[3]) quads.push(new Quad(child, xm, ym, x1, y1));\n if (child = node[2]) quads.push(new Quad(child, x0, ym, xm, y1));\n if (child = node[1]) quads.push(new Quad(child, xm, y0, x1, ym));\n if (child = node[0]) quads.push(new Quad(child, x0, y0, xm, ym));\n }\n }\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "name": "./node_modules/d3-quadtree/src/visitAfter.js", "index": 217, "index2": 211, "size": 776, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./visitAfter.js", "loc": "10:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./visitAfter.js", "loc": "71:23-38" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import Quad from \"./quad.js\";\n\nexport default function(callback) {\n var quads = [], next = [], q;\n if (this._root) quads.push(new Quad(this._root, this._x0, this._y0, this._x1, this._y1));\n while (q = quads.pop()) {\n var node = q.node;\n if (node.length) {\n var child, x0 = q.x0, y0 = q.y0, x1 = q.x1, y1 = q.y1, xm = (x0 + x1) / 2, ym = (y0 + y1) / 2;\n if (child = node[0]) quads.push(new Quad(child, x0, y0, xm, ym));\n if (child = node[1]) quads.push(new Quad(child, xm, y0, x1, ym));\n if (child = node[2]) quads.push(new Quad(child, x0, ym, xm, y1));\n if (child = node[3]) quads.push(new Quad(child, xm, ym, x1, y1));\n }\n next.push(q);\n }\n while (q = next.pop()) {\n callback(q.node, q.x0, q.y0, q.x1, q.y1);\n }\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/x.js", "name": "./node_modules/d3-quadtree/src/x.js", "index": 205, "index2": 199, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./x.js", "loc": "11:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./x.js", "loc": "15:38-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./x.js", "loc": "72:14-20" } ], "usedExports": [ "defaultX", "default" ], "providedExports": [ "defaultX", "default" ], "optimizationBailout": [], "depth": 5, "source": "export function defaultX(d) {\n return d[0];\n}\n\nexport default function(_) {\n return arguments.length ? (this._x = _, this) : this._x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/y.js", "name": "./node_modules/d3-quadtree/src/y.js", "index": 206, "index2": 200, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./y.js", "loc": "12:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./y.js", "loc": "15:64-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./y.js", "loc": "73:14-20" } ], "usedExports": [ "defaultY", "default" ], "providedExports": [ "defaultY", "default" ], "optimizationBailout": [], "depth": 5, "source": "export function defaultY(d) {\n return d[1];\n}\n\nexport default function(_) {\n return arguments.length ? (this._y = _, this) : this._y;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/exponent.js", "name": "./node_modules/d3-format/src/exponent.js", "index": 236, "index2": 230, "size": 137, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./exponent.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionRound.js", "module": "./node_modules/d3-format/src/precisionRound.js", "moduleName": "./node_modules/d3-format/src/precisionRound.js", "type": "harmony side effect evaluation", "userRequest": "./exponent.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionPrefix.js", "module": "./node_modules/d3-format/src/precisionPrefix.js", "moduleName": "./node_modules/d3-format/src/precisionPrefix.js", "type": "harmony side effect evaluation", "userRequest": "./exponent.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionFixed.js", "module": "./node_modules/d3-format/src/precisionFixed.js", "moduleName": "./node_modules/d3-format/src/precisionFixed.js", "type": "harmony side effect evaluation", "userRequest": "./exponent.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionFixed.js", "module": "./node_modules/d3-format/src/precisionFixed.js", "moduleName": "./node_modules/d3-format/src/precisionFixed.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "4:22-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionPrefix.js", "module": "./node_modules/d3-format/src/precisionPrefix.js", "moduleName": "./node_modules/d3-format/src/precisionPrefix.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "4:57-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionPrefix.js", "module": "./node_modules/d3-format/src/precisionPrefix.js", "moduleName": "./node_modules/d3-format/src/precisionPrefix.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "4:86-94" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionRound.js", "module": "./node_modules/d3-format/src/precisionRound.js", "moduleName": "./node_modules/d3-format/src/precisionRound.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "5:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionRound.js", "module": "./node_modules/d3-format/src/precisionRound.js", "moduleName": "./node_modules/d3-format/src/precisionRound.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "5:37-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "135:48-56" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import formatDecimal from \"./formatDecimal.js\";\n\nexport default function(x) {\n return x = formatDecimal(Math.abs(x)), x ? x[1] : NaN;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatGroup.js", "name": "./node_modules/d3-format/src/formatGroup.js", "index": 228, "index2": 222, "size": 475, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatGroup.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatGroup.js", "loc": "14:91-102" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(grouping, thousands) {\n return function(value, width) {\n var i = value.length,\n t = [],\n j = 0,\n g = grouping[0],\n length = 0;\n\n while (i > 0 && g > 0) {\n if (length + g + 1 > width) g = Math.max(1, width - length);\n t.push(value.substring(i -= g, i + g));\n if ((length += g + 1) > width) break;\n g = grouping[j = (j + 1) % grouping.length];\n }\n\n return t.reverse().join(thousands);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatNumerals.js", "name": "./node_modules/d3-format/src/formatNumerals.js", "index": 229, "index2": 223, "size": 154, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatNumerals.js", "loc": "3:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatNumerals.js", "loc": "18:60-74" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(numerals) {\n return function(value) {\n return value.replace(/[0-9]/g, function(i) {\n return numerals[+i];\n });\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTrim.js", "name": "./node_modules/d3-format/src/formatTrim.js", "index": 235, "index2": 229, "size": 399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatTrim.js", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatTrim.js", "loc": "81:26-36" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "// Trims insignificant zeros, e.g., replaces 1.2000k with 1.2k.\nexport default function(s) {\n out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) {\n switch (s[i]) {\n case \".\": i0 = i1 = i; break;\n case \"0\": if (i0 === 0) i0 = i; i1 = i; break;\n default: if (!+s[i]) break out; if (i0 > 0) i0 = 0; break;\n }\n }\n return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatPrefixAuto.js", "name": "./node_modules/d3-format/src/formatPrefixAuto.js", "index": 234, "index2": 227, "size": 614, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "module": "./node_modules/d3-format/src/formatTypes.js", "moduleName": "./node_modules/d3-format/src/formatTypes.js", "type": "harmony side effect evaluation", "userRequest": "./formatPrefixAuto.js", "loc": "1:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatPrefixAuto.js", "loc": "7:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "module": "./node_modules/d3-format/src/formatTypes.js", "moduleName": "./node_modules/d3-format/src/formatTypes.js", "type": "harmony import specifier", "userRequest": "./formatPrefixAuto.js", "loc": "15:7-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatPrefixAuto.js", "loc": "89:51-65" } ], "usedExports": [ "prefixExponent", "default" ], "providedExports": [ "prefixExponent", "default" ], "optimizationBailout": [], "depth": 5, "source": "import formatDecimal from \"./formatDecimal.js\";\n\nexport var prefixExponent;\n\nexport default function(x, p) {\n var d = formatDecimal(x, p);\n if (!d) return x + \"\";\n var coefficient = d[0],\n exponent = d[1],\n i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,\n n = coefficient.length;\n return i === n ? coefficient\n : i > n ? coefficient + new Array(i - n + 1).join(\"0\")\n : i > 0 ? coefficient.slice(0, i) + \".\" + coefficient.slice(i)\n : \"0.\" + new Array(1 - i).join(\"0\") + formatDecimal(x, Math.max(0, p + i - 1))[0]; // less than 1y!\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "name": "./node_modules/d3-format/src/formatTypes.js", "index": 231, "index2": 228, "size": 786, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatTypes.js", "loc": "6:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatTypes.js", "loc": "41:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatTypes.js", "loc": "54:21-32" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import formatPrefixAuto from \"./formatPrefixAuto.js\";\nimport formatRounded from \"./formatRounded.js\";\n\nexport default {\n \"%\": function(x, p) { return (x * 100).toFixed(p); },\n \"b\": function(x) { return Math.round(x).toString(2); },\n \"c\": function(x) { return x + \"\"; },\n \"d\": function(x) { return Math.round(x).toString(10); },\n \"e\": function(x, p) { return x.toExponential(p); },\n \"f\": function(x, p) { return x.toFixed(p); },\n \"g\": function(x, p) { return x.toPrecision(p); },\n \"o\": function(x) { return Math.round(x).toString(8); },\n \"p\": function(x, p) { return formatRounded(x * 100, p); },\n \"r\": formatRounded,\n \"s\": formatPrefixAuto,\n \"X\": function(x) { return Math.round(x).toString(16).toUpperCase(); },\n \"x\": function(x) { return Math.round(x).toString(16); }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/identity.js", "name": "./node_modules/d3-format/src/identity.js", "index": 227, "index2": 221, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./identity.js", "loc": "8:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./identity.js", "loc": "14:80-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./identity.js", "loc": "18:49-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/adder.js", "name": "./node_modules/d3-geo/src/adder.js", "index": 242, "index2": 237, "size": 906, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/area.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "name": "./node_modules/d3-geo/src/area.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 114, "building": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./adder.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony side effect evaluation", "userRequest": "./adder.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony side effect evaluation", "userRequest": "./adder.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony side effect evaluation", "userRequest": "./adder.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony side effect evaluation", "userRequest": "../adder.js", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony side effect evaluation", "userRequest": "../adder.js", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./adder.js", "loc": "5:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../adder.js", "loc": "5:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony import specifier", "userRequest": "../adder.js", "loc": "5:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./adder.js", "loc": "6:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../adder.js", "loc": "6:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./adder.js", "loc": "6:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./adder.js", "loc": "8:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./adder.js", "loc": "11:15-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "// Adds floating point numbers with twice the normal precision.\n// Reference: J. R. Shewchuk, Adaptive Precision Floating-Point Arithmetic and\n// Fast Robust Geometric Predicates, Discrete & Computational Geometry 18(3)\n// 305–363 (1997).\n// Code adapted from GeographicLib by Charles F. F. Karney,\n// http://geographiclib.sourceforge.net/\n\nexport default function() {\n return new Adder;\n}\n\nfunction Adder() {\n this.reset();\n}\n\nAdder.prototype = {\n constructor: Adder,\n reset: function() {\n this.s = // rounded value\n this.t = 0; // exact error\n },\n add: function(y) {\n add(temp, y, this.t);\n add(this, temp.s, this.s);\n if (this.s) this.t += temp.t;\n else this.s = temp.t;\n },\n valueOf: function() {\n return this.s;\n }\n};\n\nvar temp = new Adder;\n\nfunction add(adder, a, b) {\n var x = adder.s = a + b,\n bv = x - a,\n av = x - bv;\n adder.t = (a - av) + (b - bv);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/math.js", "name": "./node_modules/d3-geo/src/math.js", "index": 244, "index2": 239, "size": 880, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/area.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "name": "./node_modules/d3-geo/src/area.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 114, "building": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/context.js", "module": "./node_modules/d3-geo/src/path/context.js", "moduleName": "./node_modules/d3-geo/src/path/context.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "module": "./node_modules/d3-geo/src/pointEqual.js", "moduleName": "./node_modules/d3-geo/src/pointEqual.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/centroid.js", "module": "./node_modules/d3-geo/src/path/centroid.js", "moduleName": "./node_modules/d3-geo/src/path/centroid.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "2:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "2:0-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "2:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "module": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "moduleName": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "3:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "4:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "module": "./node_modules/d3-geo/src/pointEqual.js", "moduleName": "./node_modules/d3-geo/src/pointEqual.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:9-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "4:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "module": "./node_modules/d3-geo/src/pointEqual.js", "moduleName": "./node_modules/d3-geo/src/pointEqual.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "module": "./node_modules/d3-geo/src/pointEqual.js", "moduleName": "./node_modules/d3-geo/src/pointEqual.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:39-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:45-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "module": "./node_modules/d3-geo/src/pointEqual.js", "moduleName": "./node_modules/d3-geo/src/pointEqual.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:58-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:14-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:19-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:24-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:59-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:66-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "6:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:9-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:13-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "6:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:27-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:27-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:27-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:32-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "7:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:27-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:27-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:39-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "8:4-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "8:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "8:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "8:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "8:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "8:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "8:23-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "8:58-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:18-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:33-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:41-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:41-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:54-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "10:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "10:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "10:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:32-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:37-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:25-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:25-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:32-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:32-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:40-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:42-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:46-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:46-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:52-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:53-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:58-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:69-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:88-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:104-111" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "12:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "12:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "12:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "12:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "13:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "13:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "14:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:22-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:26-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:29-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:35-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:39-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "15:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "15:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "15:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "15:38-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "16:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "16:19-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "16:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "16:56-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "17:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "17:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:35-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:49-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:58-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "module": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "moduleName": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "18:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:19-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "module": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "moduleName": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:24-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:25-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "18:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:41-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:50-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "18:61-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:36-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "19:44-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:50-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "19:58-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:60-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "19:74-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "19:88-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "20:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:36-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:37-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:48-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "21:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "21:47-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "21:68-71" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "22:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "22:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "23:6-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "24:24-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "24:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "24:34-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "24:35-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "25:33-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:36-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "25:42-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:50-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:55-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:76-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "26:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "26:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "26:20-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "26:31-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "26:32-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "26:38-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "27:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "27:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "27:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "27:22-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "27:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "28:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "28:22-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "28:22-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "28:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "28:63-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "28:78-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "28:92-99" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "29:4-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "29:9-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:22-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "29:61-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "29:71-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:78-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:92-99" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:20-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:31-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "31:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "31:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:20-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "31:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:34-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:47-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:50-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:53-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:56-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:64-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:69-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "32:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "32:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "32:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "32:24-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "32:27-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:20-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "33:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:24-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "33:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:27-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "33:31-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:49-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:74-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:110-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "34:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "35:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "36:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "36:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "36:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "36:45-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "37:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "37:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "37:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "37:35-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "37:63-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "38:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "38:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "38:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "38:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "38:35-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "38:63-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "39:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "39:14-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "39:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/context.js", "module": "./node_modules/d3-geo/src/path/context.js", "moduleName": "./node_modules/d3-geo/src/path/context.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "39:49-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "40:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "40:33-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "41:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "41:16-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "41:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "41:20-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "42:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "42:20-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "42:48-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "42:54-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "43:6-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "43:12-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "44:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "44:29-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "45:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "45:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "45:22-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "45:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:36-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:50-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:72-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "47:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "48:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "48:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "48:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "48:45-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "49:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:31-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:44-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:70-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:7-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "50:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:45-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:47-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "51:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "51:18-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "52:35-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "52:52-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "54:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "55:6-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "56:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "56:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "57:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "57:34-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "58:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "59:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "59:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "59:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "59:60-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "60:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "60:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/centroid.js", "module": "./node_modules/d3-geo/src/path/centroid.js", "moduleName": "./node_modules/d3-geo/src/path/centroid.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "60:36-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "61:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "61:16-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "61:29-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "62:26-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "62:33-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "63:9-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "63:25-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "63:34-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "63:37-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "63:58-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "63:99-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "64:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "64:14-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "64:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "64:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "64:37-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "64:50-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "65:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "65:35-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "65:48-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "66:42-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "66:68-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "67:29-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "67:56-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "71:49-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "71:75-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "72:29-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "72:56-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "72:61-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "73:22-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "74:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "76:17-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "76:45-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "76:65-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "77:17-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "78:17-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "78:19-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "78:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "78:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "78:56-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "78:63-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "78:90-97" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "78:115-122" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "80:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "81:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "81:32-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "81:52-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "82:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:36-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:63-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:90-97" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:115-122" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "84:35-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "84:41-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "86:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "86:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/centroid.js", "module": "./node_modules/d3-geo/src/path/centroid.js", "moduleName": "./node_modules/d3-geo/src/path/centroid.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "87:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "88:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "89:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "90:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "90:21-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "90:41-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "91:7-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "96:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "96:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "97:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "97:69-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "97:133-140" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "98:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "99:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "99:33-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "99:54-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "100:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "100:33-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "100:54-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "104:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "105:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "109:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "113:53-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "113:81-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "113:114-121" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "113:129-136" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:58-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:91-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:141-148" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:183-190" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:203-210" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:225-232" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "121:49-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "121:80-87" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "124:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "124:22-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "125:104-108" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "129:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "129:45-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "129:55-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "130:10-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "130:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "130:45-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "130:55-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "133:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "135:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "136:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "139:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "139:24-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "139:33-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "139:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "139:53-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "152:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "152:28-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "152:34-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "153:36-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "160:38-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "160:60-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "162:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "172:35-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "181:77-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "181:90-92" } ], "usedExports": [ "abs", "pi", "tau", "cos", "sin", "atan2", "asin", "radians", "degrees", "log", "tan", "halfPi", "atan", "exp", "sqrt", "epsilon", "epsilon2", "sign", "pow", "acos", "haversin", "ceil", "quarterPi" ], "providedExports": [ "epsilon", "epsilon2", "pi", "halfPi", "quarterPi", "tau", "degrees", "radians", "abs", "atan", "atan2", "cos", "ceil", "exp", "floor", "log", "pow", "sin", "sign", "sqrt", "tan", "acos", "asin", "haversin" ], "optimizationBailout": [], "depth": 5, "source": "export var epsilon = 1e-6;\nexport var epsilon2 = 1e-12;\nexport var pi = Math.PI;\nexport var halfPi = pi / 2;\nexport var quarterPi = pi / 4;\nexport var tau = pi * 2;\n\nexport var degrees = 180 / pi;\nexport var radians = pi / 180;\n\nexport var abs = Math.abs;\nexport var atan = Math.atan;\nexport var atan2 = Math.atan2;\nexport var cos = Math.cos;\nexport var ceil = Math.ceil;\nexport var exp = Math.exp;\nexport var floor = Math.floor;\nexport var log = Math.log;\nexport var pow = Math.pow;\nexport var sin = Math.sin;\nexport var sign = Math.sign || function(x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\nexport var sqrt = Math.sqrt;\nexport var tan = Math.tan;\n\nexport function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n}\n\nexport function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n}\n\nexport function haversin(x) {\n return (x = sin(x / 2)) * x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/noop.js", "name": "./node_modules/d3-geo/src/noop.js", "index": 243, "index2": 238, "size": 34, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/area.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "name": "./node_modules/d3-geo/src/area.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 114, "building": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/buffer.js", "module": "./node_modules/d3-geo/src/clip/buffer.js", "moduleName": "./node_modules/d3-geo/src/clip/buffer.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "module": "./node_modules/d3-geo/src/path/bounds.js", "moduleName": "./node_modules/d3-geo/src/path/bounds.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony side effect evaluation", "userRequest": "./noop.js", "loc": "2:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/context.js", "module": "./node_modules/d3-geo/src/path/context.js", "moduleName": "./node_modules/d3-geo/src/path/context.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./noop.js", "loc": "3:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony side effect evaluation", "userRequest": "./noop.js", "loc": "3:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "module": "./node_modules/d3-geo/src/path/bounds.js", "moduleName": "./node_modules/d3-geo/src/path/bounds.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "10:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "module": "./node_modules/d3-geo/src/path/bounds.js", "moduleName": "./node_modules/d3-geo/src/path/bounds.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "11:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "12:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "module": "./node_modules/d3-geo/src/path/bounds.js", "moduleName": "./node_modules/d3-geo/src/path/bounds.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "12:16-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "13:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "13:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "13:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "13:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/buffer.js", "module": "./node_modules/d3-geo/src/clip/buffer.js", "moduleName": "./node_modules/d3-geo/src/clip/buffer.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "13:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "module": "./node_modules/d3-geo/src/path/bounds.js", "moduleName": "./node_modules/d3-geo/src/path/bounds.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "13:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "14:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "15:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "15:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "16:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "16:16-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "17:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "17:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "18:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "19:25-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "21:67-71" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "26:46-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "27:49-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/context.js", "module": "./node_modules/d3-geo/src/path/context.js", "moduleName": "./node_modules/d3-geo/src/path/context.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "44:10-14" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function noop() {}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "name": "./node_modules/d3-geo/src/cartesian.js", "index": 247, "index2": 242, "size": 932, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/circle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "name": "./node_modules/d3-geo/src/clip/circle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 15, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony side effect evaluation", "userRequest": "../cartesian.js", "loc": "1:0-120" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony side effect evaluation", "userRequest": "./cartesian.js", "loc": "1:0-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony side effect evaluation", "userRequest": "../cartesian.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony side effect evaluation", "userRequest": "./cartesian.js", "loc": "2:0-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony side effect evaluation", "userRequest": "./cartesian.js", "loc": "3:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "21:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "28:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "29:2-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "48:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "50:17-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "52:21-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "53:4-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "54:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "55:18-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "55:33-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "55:52-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "56:8-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "57:27-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "58:8-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "73:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "106:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "107:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "112:13-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "113:15-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "122:16-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "123:12-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "124:12-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "125:4-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "129:12-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "130:13-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "131:27-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "136:12-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "137:4-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "138:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "163:15-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "164:6-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "165:17-26" } ], "usedExports": [ "cartesian", "cartesianCross", "cartesianNormalizeInPlace", "cartesianDot", "cartesianScale", "cartesianAddInPlace", "spherical" ], "providedExports": [ "spherical", "cartesian", "cartesianDot", "cartesianCross", "cartesianAddInPlace", "cartesianScale", "cartesianNormalizeInPlace" ], "optimizationBailout": [], "depth": 5, "source": "import {asin, atan2, cos, sin, sqrt} from \"./math.js\";\n\nexport function spherical(cartesian) {\n return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];\n}\n\nexport function cartesian(spherical) {\n var lambda = spherical[0], phi = spherical[1], cosPhi = cos(phi);\n return [cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi)];\n}\n\nexport function cartesianDot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n}\n\nexport function cartesianCross(a, b) {\n return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n}\n\n// TODO return a\nexport function cartesianAddInPlace(a, b) {\n a[0] += b[0], a[1] += b[1], a[2] += b[2];\n}\n\nexport function cartesianScale(vector, k) {\n return [vector[0] * k, vector[1] * k, vector[2] * k];\n}\n\n// TODO return d\nexport function cartesianNormalizeInPlace(d) {\n var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);\n d[0] /= l, d[1] /= l, d[2] /= l;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/constant.js", "name": "./node_modules/d3-geo/src/constant.js", "index": 250, "index2": 245, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/circle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "name": "./node_modules/d3-geo/src/circle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 15, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "35:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "36:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "37:18-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "60:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "64:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "68:73-81" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/compose.js", "name": "./node_modules/d3-geo/src/compose.js", "index": 252, "index2": 246, "size": 250, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/rotation.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "name": "./node_modules/d3-geo/src/rotation.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 47, "building": 21 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony side effect evaluation", "userRequest": "./compose.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../compose.js", "loc": "4:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./compose.js", "loc": "11:58-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../compose.js", "loc": "148:23-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../compose.js", "loc": "149:29-36" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(a, b) {\n\n function compose(x, y) {\n return x = a(x, y), b(x[0], x[1]);\n }\n\n if (a.invert && b.invert) compose.invert = function(x, y) {\n return x = b.invert(x, y), x && a.invert(x[0], x[1]);\n };\n\n return compose;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/buffer.js", "name": "./node_modules/d3-geo/src/clip/buffer.js", "index": 255, "index2": 249, "size": 473, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/rectangle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "name": "./node_modules/d3-geo/src/clip/rectangle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 18, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony side effect evaluation", "userRequest": "./buffer.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony side effect evaluation", "userRequest": "./buffer.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "./buffer.js", "loc": "10:21-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "./buffer.js", "loc": "53:23-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import noop from \"../noop.js\";\n\nexport default function() {\n var lines = [],\n line;\n return {\n point: function(x, y) {\n line.push([x, y]);\n },\n lineStart: function() {\n lines.push(line = []);\n },\n lineEnd: noop,\n rejoin: function() {\n if (lines.length > 1) lines.push(lines.pop().concat(lines.shift()));\n },\n result: function() {\n var result = lines;\n lines = [];\n line = null;\n return result;\n }\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "name": "./node_modules/d3-geo/src/pointEqual.js", "index": 258, "index2": 251, "size": 142, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/circle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "name": "./node_modules/d3-geo/src/clip/circle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 15, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rejoin.js", "module": "./node_modules/d3-geo/src/clip/rejoin.js", "moduleName": "./node_modules/d3-geo/src/clip/rejoin.js", "type": "harmony side effect evaluation", "userRequest": "../pointEqual.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony side effect evaluation", "userRequest": "../pointEqual.js", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rejoin.js", "module": "./node_modules/d3-geo/src/clip/rejoin.js", "moduleName": "./node_modules/d3-geo/src/clip/rejoin.js", "type": "harmony import specifier", "userRequest": "../pointEqual.js", "loc": "28:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../pointEqual.js", "loc": "48:25-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../pointEqual.js", "loc": "48:55-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../pointEqual.js", "loc": "87:30-40" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {abs, epsilon} from \"./math.js\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rejoin.js", "name": "./node_modules/d3-geo/src/clip/rejoin.js", "index": 257, "index2": 252, "size": 2805, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/rectangle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "name": "./node_modules/d3-geo/src/clip/rectangle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 18, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony side effect evaluation", "userRequest": "./rejoin.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony side effect evaluation", "userRequest": "./rejoin.js", "loc": "4:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "./rejoin.js", "loc": "36:10-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "./rejoin.js", "loc": "105:10-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import pointEqual from \"../pointEqual.js\";\n\nfunction Intersection(point, points, other, entry) {\n this.x = point;\n this.z = points;\n this.o = other; // another intersection\n this.e = entry; // is an entry?\n this.v = false; // visited\n this.n = this.p = null; // next & previous\n}\n\n// A generalized polygon clipping algorithm: given a polygon that has been cut\n// into its visible line segments, and rejoins the segments by interpolating\n// along the clip edge.\nexport default function(segments, compareIntersection, startInside, interpolate, stream) {\n var subject = [],\n clip = [],\n i,\n n;\n\n segments.forEach(function(segment) {\n if ((n = segment.length - 1) <= 0) return;\n var n, p0 = segment[0], p1 = segment[n], x;\n\n // If the first and last points of a segment are coincident, then treat as a\n // closed ring. TODO if all rings are closed, then the winding order of the\n // exterior ring should be checked.\n if (pointEqual(p0, p1)) {\n stream.lineStart();\n for (i = 0; i < n; ++i) stream.point((p0 = segment[i])[0], p0[1]);\n stream.lineEnd();\n return;\n }\n\n subject.push(x = new Intersection(p0, segment, null, true));\n clip.push(x.o = new Intersection(p0, null, x, false));\n subject.push(x = new Intersection(p1, segment, null, false));\n clip.push(x.o = new Intersection(p1, null, x, true));\n });\n\n if (!subject.length) return;\n\n clip.sort(compareIntersection);\n link(subject);\n link(clip);\n\n for (i = 0, n = clip.length; i < n; ++i) {\n clip[i].e = startInside = !startInside;\n }\n\n var start = subject[0],\n points,\n point;\n\n while (1) {\n // Find first unvisited intersection.\n var current = start,\n isSubject = true;\n while (current.v) if ((current = current.n) === start) return;\n points = current.z;\n stream.lineStart();\n do {\n current.v = current.o.v = true;\n if (current.e) {\n if (isSubject) {\n for (i = 0, n = points.length; i < n; ++i) stream.point((point = points[i])[0], point[1]);\n } else {\n interpolate(current.x, current.n.x, 1, stream);\n }\n current = current.n;\n } else {\n if (isSubject) {\n points = current.p.z;\n for (i = points.length - 1; i >= 0; --i) stream.point((point = points[i])[0], point[1]);\n } else {\n interpolate(current.x, current.p.x, -1, stream);\n }\n current = current.p;\n }\n current = current.o;\n points = current.z;\n isSubject = !isSubject;\n } while (!current.v);\n stream.lineEnd();\n }\n}\n\nfunction link(array) {\n if (!(n = array.length)) return;\n var n,\n i = 0,\n a = array[0],\n b;\n while (++i < n) {\n a.n = b = array[i];\n b.p = a;\n a = b;\n }\n a.n = b = array[0];\n b.p = a;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "name": "./node_modules/d3-geo/src/polygonContains.js", "index": 256, "index2": 250, "size": 2813, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/contains.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "name": "./node_modules/d3-geo/src/contains.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 19, "building": 19, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony side effect evaluation", "userRequest": "./polygonContains.js", "loc": "1:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony side effect evaluation", "userRequest": "../polygonContains.js", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../polygonContains.js", "loc": "33:26-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./polygonContains.js", "loc": "82:11-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import adder from \"./adder.js\";\nimport {cartesian, cartesianCross, cartesianNormalizeInPlace} from \"./cartesian.js\";\nimport {abs, asin, atan2, cos, epsilon, halfPi, pi, quarterPi, sign, sin, tau} from \"./math.js\";\n\nvar sum = adder();\n\nfunction longitude(point) {\n if (abs(point[0]) <= pi)\n return point[0];\n else\n return sign(point[0]) * ((abs(point[0]) + pi) % tau - pi);\n}\n\nexport default function(polygon, point) {\n var lambda = longitude(point),\n phi = point[1],\n sinPhi = sin(phi),\n normal = [sin(lambda), -cos(lambda), 0],\n angle = 0,\n winding = 0;\n\n sum.reset();\n\n if (sinPhi === 1) phi = halfPi + epsilon;\n else if (sinPhi === -1) phi = -halfPi - epsilon;\n\n for (var i = 0, n = polygon.length; i < n; ++i) {\n if (!(m = (ring = polygon[i]).length)) continue;\n var ring,\n m,\n point0 = ring[m - 1],\n lambda0 = longitude(point0),\n phi0 = point0[1] / 2 + quarterPi,\n sinPhi0 = sin(phi0),\n cosPhi0 = cos(phi0);\n\n for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {\n var point1 = ring[j],\n lambda1 = longitude(point1),\n phi1 = point1[1] / 2 + quarterPi,\n sinPhi1 = sin(phi1),\n cosPhi1 = cos(phi1),\n delta = lambda1 - lambda0,\n sign = delta >= 0 ? 1 : -1,\n absDelta = sign * delta,\n antimeridian = absDelta > pi,\n k = sinPhi0 * sinPhi1;\n\n sum.add(atan2(k * sign * sin(absDelta), cosPhi0 * cosPhi1 + k * cos(absDelta)));\n angle += antimeridian ? delta + sign * tau : delta;\n\n // Are the longitudes either side of the point’s meridian (lambda),\n // and are the latitudes smaller than the parallel (phi)?\n if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {\n var arc = cartesianCross(cartesian(point0), cartesian(point1));\n cartesianNormalizeInPlace(arc);\n var intersection = cartesianCross(normal, arc);\n cartesianNormalizeInPlace(intersection);\n var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);\n if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {\n winding += antimeridian ^ delta >= 0 ? 1 : -1;\n }\n }\n }\n }\n\n // First, determine whether the South pole is inside or outside:\n //\n // It is inside if:\n // * the polygon winds around it in a clockwise direction.\n // * the polygon does not (cumulatively) wind around it, but has a negative\n // (counter-clockwise) area.\n //\n // Second, count the (signed) number of times a segment crosses a lambda\n // from the point to the South pole. If it is zero, then the point is the\n // same side as the South pole.\n\n return (angle < -epsilon || angle < epsilon && sum < -epsilon) ^ (winding & 1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "name": "./node_modules/d3-geo/src/clip/index.js", "index": 254, "index2": 253, "size": 3596, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/circle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "name": "./node_modules/d3-geo/src/clip/circle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 15, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "4:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "5:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "181:9-13" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import clipBuffer from \"./buffer.js\";\nimport clipRejoin from \"./rejoin.js\";\nimport {epsilon, halfPi} from \"../math.js\";\nimport polygonContains from \"../polygonContains.js\";\nimport {merge} from \"d3-array\";\n\nexport default function(pointVisible, clipLine, interpolate, start) {\n return function(sink) {\n var line = clipLine(sink),\n ringBuffer = clipBuffer(),\n ringSink = clipLine(ringBuffer),\n polygonStarted = false,\n polygon,\n segments,\n ring;\n\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function() {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = merge(segments);\n var startInside = polygonContains(polygon, start);\n if (segments.length) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n clipRejoin(segments, compareIntersection, startInside, interpolate, sink);\n } else if (startInside) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function() {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n\n function point(lambda, phi) {\n if (pointVisible(lambda, phi)) sink.point(lambda, phi);\n }\n\n function pointLine(lambda, phi) {\n line.point(lambda, phi);\n }\n\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n ringSink.point(lambda, phi);\n }\n\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n\n var clean = ringSink.clean(),\n ringSegments = ringBuffer.result(),\n i, n = ringSegments.length, m,\n segment,\n point;\n\n ring.pop();\n polygon.push(ring);\n ring = null;\n\n if (!n) return;\n\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n segments.push(ringSegments.filter(validSegment));\n }\n\n return clip;\n };\n}\n\nfunction validSegment(segment) {\n return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/line.js", "name": "./node_modules/d3-geo/src/clip/line.js", "index": 262, "index2": 256, "size": 1099, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/rectangle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "name": "./node_modules/d3-geo/src/clip/rectangle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 18, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony side effect evaluation", "userRequest": "./line.js", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "./line.js", "loc": "148:14-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(a, b, x0, y0, x1, y1) {\n var ax = a[0],\n ay = a[1],\n bx = b[0],\n by = b[1],\n t0 = 0,\n t1 = 1,\n dx = bx - ax,\n dy = by - ay,\n r;\n\n r = x0 - ax;\n if (!dx && r > 0) return;\n r /= dx;\n if (dx < 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n } else if (dx > 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n }\n\n r = x1 - ax;\n if (!dx && r < 0) return;\n r /= dx;\n if (dx < 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n } else if (dx > 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n }\n\n r = y0 - ay;\n if (!dy && r > 0) return;\n r /= dy;\n if (dy < 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n } else if (dy > 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n }\n\n r = y1 - ay;\n if (!dy && r < 0) return;\n r /= dy;\n if (dy < 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n } else if (dy > 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n }\n\n if (t0 > 0) a[0] = ax + t0 * dx, a[1] = ay + t0 * dy;\n if (t1 < 1) b[0] = ax + t1 * dx, b[1] = ay + t1 * dy;\n return true;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/identity.js", "name": "./node_modules/d3-geo/src/identity.js", "index": 273, "index2": 268, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/identity.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "name": "./node_modules/d3-geo/src/projection/identity.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 24, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "../identity.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony side effect evaluation", "userRequest": "../identity.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../identity.js", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "7:56-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "15:57-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "17:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "35:83-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "44:82-90" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "67:40-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "101:81-89" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "name": "./node_modules/d3-geo/src/path/area.js", "index": 269, "index2": 264, "size": 954, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "24:36-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "25:11-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import adder from \"../adder.js\";\nimport {abs} from \"../math.js\";\nimport noop from \"../noop.js\";\n\nvar areaSum = adder(),\n areaRingSum = adder(),\n x00,\n y00,\n x0,\n y0;\n\nvar areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function() {\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function() {\n areaStream.lineStart = areaStream.lineEnd = areaStream.point = noop;\n areaSum.add(abs(areaRingSum));\n areaRingSum.reset();\n },\n result: function() {\n var area = areaSum / 2;\n areaSum.reset();\n return area;\n }\n};\n\nfunction areaRingStart() {\n areaStream.point = areaPointFirst;\n}\n\nfunction areaPointFirst(x, y) {\n areaStream.point = areaPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction areaPoint(x, y) {\n areaRingSum.add(y0 * x - x0 * y);\n x0 = x, y0 = y;\n}\n\nfunction areaRingEnd() {\n areaPoint(x00, y00);\n}\n\nexport default areaStream;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "name": "./node_modules/d3-geo/src/path/bounds.js", "index": 271, "index2": 266, "size": 488, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "module": "./node_modules/d3-geo/src/projection/fit.js", "moduleName": "./node_modules/d3-geo/src/projection/fit.js", "type": "harmony side effect evaluation", "userRequest": "../path/bounds.js", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./bounds.js", "loc": "4:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "module": "./node_modules/d3-geo/src/projection/fit.js", "moduleName": "./node_modules/d3-geo/src/projection/fit.js", "type": "harmony import specifier", "userRequest": "../path/bounds.js", "loc": "8:38-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "module": "./node_modules/d3-geo/src/projection/fit.js", "moduleName": "./node_modules/d3-geo/src/projection/fit.js", "type": "harmony import specifier", "userRequest": "../path/bounds.js", "loc": "9:12-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./bounds.js", "loc": "34:36-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./bounds.js", "loc": "35:11-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import noop from \"../noop.js\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/centroid.js", "name": "./node_modules/d3-geo/src/path/centroid.js", "index": 272, "index2": 267, "size": 2036, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./centroid.js", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./centroid.js", "loc": "39:36-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./centroid.js", "loc": "40:11-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {sqrt} from \"../math.js\";\n\n// TODO Enforce positive area for exterior, negative area for interior?\n\nvar X0 = 0,\n Y0 = 0,\n Z0 = 0,\n X1 = 0,\n Y1 = 0,\n Z1 = 0,\n X2 = 0,\n Y2 = 0,\n Z2 = 0,\n x00,\n y00,\n x0,\n y0;\n\nvar centroidStream = {\n point: centroidPoint,\n lineStart: centroidLineStart,\n lineEnd: centroidLineEnd,\n polygonStart: function() {\n centroidStream.lineStart = centroidRingStart;\n centroidStream.lineEnd = centroidRingEnd;\n },\n polygonEnd: function() {\n centroidStream.point = centroidPoint;\n centroidStream.lineStart = centroidLineStart;\n centroidStream.lineEnd = centroidLineEnd;\n },\n result: function() {\n var centroid = Z2 ? [X2 / Z2, Y2 / Z2]\n : Z1 ? [X1 / Z1, Y1 / Z1]\n : Z0 ? [X0 / Z0, Y0 / Z0]\n : [NaN, NaN];\n X0 = Y0 = Z0 =\n X1 = Y1 = Z1 =\n X2 = Y2 = Z2 = 0;\n return centroid;\n }\n};\n\nfunction centroidPoint(x, y) {\n X0 += x;\n Y0 += y;\n ++Z0;\n}\n\nfunction centroidLineStart() {\n centroidStream.point = centroidPointFirstLine;\n}\n\nfunction centroidPointFirstLine(x, y) {\n centroidStream.point = centroidPointLine;\n centroidPoint(x0 = x, y0 = y);\n}\n\nfunction centroidPointLine(x, y) {\n var dx = x - x0, dy = y - y0, z = sqrt(dx * dx + dy * dy);\n X1 += z * (x0 + x) / 2;\n Y1 += z * (y0 + y) / 2;\n Z1 += z;\n centroidPoint(x0 = x, y0 = y);\n}\n\nfunction centroidLineEnd() {\n centroidStream.point = centroidPoint;\n}\n\nfunction centroidRingStart() {\n centroidStream.point = centroidPointFirstRing;\n}\n\nfunction centroidRingEnd() {\n centroidPointRing(x00, y00);\n}\n\nfunction centroidPointFirstRing(x, y) {\n centroidStream.point = centroidPointRing;\n centroidPoint(x00 = x0 = x, y00 = y0 = y);\n}\n\nfunction centroidPointRing(x, y) {\n var dx = x - x0,\n dy = y - y0,\n z = sqrt(dx * dx + dy * dy);\n\n X1 += z * (x0 + x) / 2;\n Y1 += z * (y0 + y) / 2;\n Z1 += z;\n\n z = y0 * x - x0 * y;\n X2 += z * (x0 + x);\n Y2 += z * (y0 + y);\n Z2 += z * 3;\n centroidPoint(x0 = x, y0 = y);\n}\n\nexport default centroidStream;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/context.js", "name": "./node_modules/d3-geo/src/path/context.js", "index": 275, "index2": 270, "size": 920, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./context.js", "loc": "6:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./context.js", "loc": "49:71-82" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {tau} from \"../math.js\";\nimport noop from \"../noop.js\";\n\nexport default function PathContext(context) {\n this._context = context;\n}\n\nPathContext.prototype = {\n _radius: 4.5,\n pointRadius: function(_) {\n return this._radius = _, this;\n },\n polygonStart: function() {\n this._line = 0;\n },\n polygonEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line === 0) this._context.closePath();\n this._point = NaN;\n },\n point: function(x, y) {\n switch (this._point) {\n case 0: {\n this._context.moveTo(x, y);\n this._point = 1;\n break;\n }\n case 1: {\n this._context.lineTo(x, y);\n break;\n }\n default: {\n this._context.moveTo(x + this._radius, y);\n this._context.arc(x, y, this._radius, 0, tau);\n break;\n }\n }\n },\n result: noop\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "name": "./node_modules/d3-geo/src/path/measure.js", "index": 270, "index2": 265, "size": 845, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./measure.js", "loc": "7:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./measure.js", "loc": "29:36-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./measure.js", "loc": "30:11-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import adder from \"../adder.js\";\nimport {sqrt} from \"../math.js\";\nimport noop from \"../noop.js\";\n\nvar lengthSum = adder(),\n lengthRing,\n x00,\n y00,\n x0,\n y0;\n\nvar lengthStream = {\n point: noop,\n lineStart: function() {\n lengthStream.point = lengthPointFirst;\n },\n lineEnd: function() {\n if (lengthRing) lengthPoint(x00, y00);\n lengthStream.point = noop;\n },\n polygonStart: function() {\n lengthRing = true;\n },\n polygonEnd: function() {\n lengthRing = null;\n },\n result: function() {\n var length = +lengthSum;\n lengthSum.reset();\n return length;\n }\n};\n\nfunction lengthPointFirst(x, y) {\n lengthStream.point = lengthPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction lengthPoint(x, y) {\n x0 -= x, y0 -= y;\n lengthSum.add(sqrt(x0 * x0 + y0 * y0));\n x0 = x, y0 = y;\n}\n\nexport default lengthStream;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/string.js", "name": "./node_modules/d3-geo/src/path/string.js", "index": 274, "index2": 269, "size": 1316, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./string.js", "loc": "8:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./string.js", "loc": "49:53-63" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function PathString() {\n this._string = [];\n}\n\nPathString.prototype = {\n _radius: 4.5,\n _circle: circle(4.5),\n pointRadius: function(_) {\n if ((_ = +_) !== this._radius) this._radius = _, this._circle = null;\n return this;\n },\n polygonStart: function() {\n this._line = 0;\n },\n polygonEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line === 0) this._string.push(\"Z\");\n this._point = NaN;\n },\n point: function(x, y) {\n switch (this._point) {\n case 0: {\n this._string.push(\"M\", x, \",\", y);\n this._point = 1;\n break;\n }\n case 1: {\n this._string.push(\"L\", x, \",\", y);\n break;\n }\n default: {\n if (this._circle == null) this._circle = circle(this._radius);\n this._string.push(\"M\", x, \",\", y, this._circle);\n break;\n }\n }\n },\n result: function() {\n if (this._string.length) {\n var result = this._string.join(\"\");\n this._string = [];\n return result;\n } else {\n return null;\n }\n }\n};\n\nfunction circle(radius) {\n return \"m0,\" + radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + -2 * radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + 2 * radius\n + \"z\";\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "name": "./node_modules/d3-geo/src/projection/fit.js", "index": 283, "index2": 275, "size": 1594, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/identity.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "name": "./node_modules/d3-geo/src/projection/identity.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 24, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony side effect evaluation", "userRequest": "./fit.js", "loc": "4:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony side effect evaluation", "userRequest": "./fit.js", "loc": "4:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "./fit.js", "loc": "9:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "50:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "53:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "56:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "59:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "90:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "94:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "98:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "102:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "129:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "133:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "137:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "141:11-20" } ], "usedExports": [ "fitExtent", "fitSize", "fitWidth", "fitHeight" ], "providedExports": [ "fitExtent", "fitSize", "fitWidth", "fitHeight" ], "optimizationBailout": [], "depth": 5, "source": "import {default as geoStream} from \"../stream.js\";\nimport boundsStream from \"../path/bounds.js\";\n\nfunction fit(projection, fitBounds, object) {\n var clip = projection.clipExtent && projection.clipExtent();\n projection.scale(150).translate([0, 0]);\n if (clip != null) projection.clipExtent(null);\n geoStream(object, projection.stream(boundsStream));\n fitBounds(boundsStream.result());\n if (clip != null) projection.clipExtent(clip);\n return projection;\n}\n\nexport function fitExtent(projection, extent, object) {\n return fit(projection, function(b) {\n var w = extent[1][0] - extent[0][0],\n h = extent[1][1] - extent[0][1],\n k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])),\n x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2,\n y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2;\n projection.scale(150 * k).translate([x, y]);\n }, object);\n}\n\nexport function fitSize(projection, size, object) {\n return fitExtent(projection, [[0, 0], size], object);\n}\n\nexport function fitWidth(projection, width, object) {\n return fit(projection, function(b) {\n var w = +width,\n k = w / (b[1][0] - b[0][0]),\n x = (w - k * (b[1][0] + b[0][0])) / 2,\n y = -k * b[0][1];\n projection.scale(150 * k).translate([x, y]);\n }, object);\n}\n\nexport function fitHeight(projection, height, object) {\n return fit(projection, function(b) {\n var h = +height,\n k = h / (b[1][1] - b[0][1]),\n x = -k * b[0][0],\n y = (h - k * (b[1][1] + b[0][1])) / 2;\n projection.scale(150 * k).translate([x, y]);\n }, object);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "name": "./node_modules/d3-geo/src/projection/resample.js", "index": 282, "index2": 274, "size": 3284, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "name": "./node_modules/d3-geo/src/projection/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 25, "building": 22, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "./resample.js", "loc": "10:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./resample.js", "loc": "125:49-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./resample.js", "loc": "150:22-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {cartesian} from \"../cartesian.js\";\nimport {abs, asin, atan2, cos, epsilon, radians, sqrt} from \"../math.js\";\nimport {transformer} from \"../transform.js\";\n\nvar maxDepth = 16, // maximum depth of subdivision\n cosMinDistance = cos(30 * radians); // cos(minimum angular distance)\n\nexport default function(project, delta2) {\n return +delta2 ? resample(project, delta2) : resampleNone(project);\n}\n\nfunction resampleNone(project) {\n return transformer({\n point: function(x, y) {\n x = project(x, y);\n this.stream.point(x[0], x[1]);\n }\n });\n}\n\nfunction resample(project, delta2) {\n\n function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) {\n var dx = x1 - x0,\n dy = y1 - y0,\n d2 = dx * dx + dy * dy;\n if (d2 > 4 * delta2 && depth--) {\n var a = a0 + a1,\n b = b0 + b1,\n c = c0 + c1,\n m = sqrt(a * a + b * b + c * c),\n phi2 = asin(c /= m),\n lambda2 = abs(abs(c) - 1) < epsilon || abs(lambda0 - lambda1) < epsilon ? (lambda0 + lambda1) / 2 : atan2(b, a),\n p = project(lambda2, phi2),\n x2 = p[0],\n y2 = p[1],\n dx2 = x2 - x0,\n dy2 = y2 - y0,\n dz = dy * dx2 - dx * dy2;\n if (dz * dz / d2 > delta2 // perpendicular projected distance\n || abs((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 // midpoint close to an end\n || a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) { // angular distance\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x2, y2, lambda2, a /= m, b /= m, c, depth, stream);\n stream.point(x2, y2);\n resampleLineTo(x2, y2, lambda2, a, b, c, x1, y1, lambda1, a1, b1, c1, depth, stream);\n }\n }\n }\n return function(stream) {\n var lambda00, x00, y00, a00, b00, c00, // first point\n lambda0, x0, y0, a0, b0, c0; // previous point\n\n var resampleStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() { stream.polygonStart(); resampleStream.lineStart = ringStart; },\n polygonEnd: function() { stream.polygonEnd(); resampleStream.lineStart = lineStart; }\n };\n\n function point(x, y) {\n x = project(x, y);\n stream.point(x[0], x[1]);\n }\n\n function lineStart() {\n x0 = NaN;\n resampleStream.point = linePoint;\n stream.lineStart();\n }\n\n function linePoint(lambda, phi) {\n var c = cartesian([lambda, phi]), p = project(lambda, phi);\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x0 = p[0], y0 = p[1], lambda0 = lambda, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream);\n stream.point(x0, y0);\n }\n\n function lineEnd() {\n resampleStream.point = point;\n stream.lineEnd();\n }\n\n function ringStart() {\n lineStart();\n resampleStream.point = ringPoint;\n resampleStream.lineEnd = ringEnd;\n }\n\n function ringPoint(lambda, phi) {\n linePoint(lambda00 = lambda, phi), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;\n resampleStream.point = linePoint;\n }\n\n function ringEnd() {\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x00, y00, lambda00, a00, b00, c00, maxDepth, stream);\n resampleStream.lineEnd = lineEnd;\n lineEnd();\n }\n\n return resampleStream;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "name": "./node_modules/d3-geo/src/projection/conic.js", "index": 279, "index2": 277, "size": 408, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "name": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 21, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "./conic.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony side effect evaluation", "userRequest": "./conic.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "./conic.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "./conic.js", "loc": "26:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "./conic.js", "loc": "27:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "./conic.js", "loc": "32:9-24" } ], "usedExports": [ "conicProjection" ], "providedExports": [ "conicProjection" ], "optimizationBailout": [], "depth": 5, "source": "import {degrees, pi, radians} from \"../math.js\";\nimport {projectionMutator} from \"./index.js\";\n\nexport function conicProjection(projectAt) {\n var phi0 = 0,\n phi1 = pi / 3,\n m = projectionMutator(projectAt),\n p = m(phi0, phi1);\n\n p.parallels = function(_) {\n return arguments.length ? m(phi0 = _[0] * radians, phi1 = _[1] * radians) : [phi0 * degrees, phi1 * degrees];\n };\n\n return p;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "name": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "index": 278, "index2": 272, "size": 317, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "name": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 19, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "./cylindricalEqualArea.js", "loc": "3:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "./cylindricalEqualArea.js", "loc": "9:31-54" } ], "usedExports": [ "cylindricalEqualAreaRaw" ], "providedExports": [ "cylindricalEqualAreaRaw" ], "optimizationBailout": [], "depth": 5, "source": "import {asin, cos, sin} from \"../math.js\";\n\nexport function cylindricalEqualAreaRaw(phi0) {\n var cosPhi0 = cos(phi0);\n\n function forward(lambda, phi) {\n return [lambda * cosPhi0, sin(phi) / cosPhi0];\n }\n\n forward.invert = function(x, y) {\n return [x / cosPhi0, asin(y * cosPhi0)];\n };\n\n return forward;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "name": "./node_modules/d3-geo/src/projection/azimuthal.js", "index": 286, "index2": 281, "size": 505, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/stereographic.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "name": "./node_modules/d3-geo/src/projection/stereographic.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 29, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony side effect evaluation", "userRequest": "./azimuthal.js", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony side effect evaluation", "userRequest": "./azimuthal.js", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony side effect evaluation", "userRequest": "./azimuthal.js", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "./azimuthal.js", "loc": "2:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "./azimuthal.js", "loc": "2:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "5:35-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "5:37-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "9:25-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "9:31-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "9:33-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "10:21-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "10:26-41" } ], "usedExports": [ "azimuthalInvert", "azimuthalRaw" ], "providedExports": [ "azimuthalRaw", "azimuthalInvert" ], "optimizationBailout": [], "depth": 5, "source": "import {asin, atan2, cos, sin, sqrt} from \"../math.js\";\n\nexport function azimuthalRaw(scale) {\n return function(x, y) {\n var cx = cos(x),\n cy = cos(y),\n k = scale(cx * cy);\n return [\n k * cy * sin(x),\n k * sin(y)\n ];\n }\n}\n\nexport function azimuthalInvert(angle) {\n return function(x, y) {\n var z = sqrt(x * x + y * y),\n c = angle(z),\n sc = sin(c),\n cc = cos(c);\n return [\n atan2(x * sc, z * cc),\n asin(z && y * sc / z)\n ];\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/count.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/count.js", "index": 302, "index2": 297, "size": 263, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./count.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./count.js", "loc": "67:9-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function count(node) {\n var sum = 0,\n children = node.children,\n i = children && children.length;\n if (!i) sum = 1;\n else while (--i >= 0) sum += children[i].value;\n node.value = sum;\n}\n\nexport default function() {\n return this.eachAfter(count);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/each.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/each.js", "index": 303, "index2": 298, "size": 381, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./each.js", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./each.js", "loc": "68:8-17" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(callback) {\n var node = this, current, next = [node], children, i, n;\n do {\n current = next.reverse(), next = [];\n while (node = current.pop()) {\n callback(node), children = node.children;\n if (children) for (i = 0, n = children.length; i < n; ++i) {\n next.push(children[i]);\n }\n }\n } while (next.length);\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/eachBefore.js", "index": 305, "index2": 300, "size": 282, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./eachBefore.js", "loc": "3:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./eachBefore.js", "loc": "70:14-29" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(callback) {\n var node = this, nodes = [node], children, i;\n while (node = nodes.pop()) {\n callback(node), children = node.children;\n if (children) for (i = children.length - 1; i >= 0; --i) {\n nodes.push(children[i]);\n }\n }\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/eachAfter.js", "index": 304, "index2": 299, "size": 353, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./eachAfter.js", "loc": "4:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./eachAfter.js", "loc": "69:13-27" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(callback) {\n var node = this, nodes = [node], next = [], children, i, n;\n while (node = nodes.pop()) {\n next.push(node), children = node.children;\n if (children) for (i = 0, n = children.length; i < n; ++i) {\n nodes.push(children[i]);\n }\n }\n while (node = next.pop()) {\n callback(node);\n }\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/sum.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/sum.js", "index": 306, "index2": 301, "size": 264, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./sum.js", "loc": "5:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./sum.js", "loc": "71:7-15" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(value) {\n return this.eachAfter(function(node) {\n var sum = +value(node.data) || 0,\n children = node.children,\n i = children && children.length;\n while (--i >= 0) sum += children[i].value;\n node.value = sum;\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/sort.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/sort.js", "index": 307, "index2": 302, "size": 151, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./sort.js", "loc": "6:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./sort.js", "loc": "72:8-17" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(compare) {\n return this.eachBefore(function(node) {\n if (node.children) {\n node.children.sort(compare);\n }\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/path.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/path.js", "index": 308, "index2": 303, "size": 606, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./path.js", "loc": "7:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./path.js", "loc": "73:8-17" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(end) {\n var start = this,\n ancestor = leastCommonAncestor(start, end),\n nodes = [start];\n while (start !== ancestor) {\n start = start.parent;\n nodes.push(start);\n }\n var k = nodes.length;\n while (end !== ancestor) {\n nodes.splice(k, 0, end);\n end = end.parent;\n }\n return nodes;\n}\n\nfunction leastCommonAncestor(a, b) {\n if (a === b) return a;\n var aNodes = a.ancestors(),\n bNodes = b.ancestors(),\n c = null;\n a = aNodes.pop();\n b = bNodes.pop();\n while (a === b) {\n c = a;\n a = aNodes.pop();\n b = bNodes.pop();\n }\n return c;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/ancestors.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/ancestors.js", "index": 309, "index2": 304, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./ancestors.js", "loc": "8:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./ancestors.js", "loc": "74:13-27" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var node = this, nodes = [node];\n while (node = node.parent) {\n nodes.push(node);\n }\n return nodes;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/descendants.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/descendants.js", "index": 310, "index2": 305, "size": 121, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./descendants.js", "loc": "9:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./descendants.js", "loc": "75:15-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var nodes = [];\n this.each(function(node) {\n nodes.push(node);\n });\n return nodes;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/leaves.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/leaves.js", "index": 311, "index2": 306, "size": 164, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./leaves.js", "loc": "10:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./leaves.js", "loc": "76:10-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var leaves = [];\n this.eachBefore(function(node) {\n if (!node.children) {\n leaves.push(node);\n }\n });\n return leaves;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/links.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/links.js", "index": 312, "index2": 307, "size": 246, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./links.js", "loc": "11:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./links.js", "loc": "77:9-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var root = this, links = [];\n root.each(function(node) {\n if (node !== root) { // Don’t include the root’s parent, if any.\n links.push({source: node.parent, target: node});\n }\n });\n return links;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/array.js", "name": "./node_modules/d3-hierarchy/src/array.js", "index": 318, "index2": 311, "size": 250, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/pack/enclose.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "name": "./node_modules/d3-hierarchy/src/pack/enclose.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 37, "building": 21 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "module": "./node_modules/d3-hierarchy/src/pack/enclose.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/enclose.js", "type": "harmony side effect evaluation", "userRequest": "../array.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "module": "./node_modules/d3-hierarchy/src/pack/enclose.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/enclose.js", "type": "harmony import specifier", "userRequest": "../array.js", "loc": "4:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "module": "./node_modules/d3-hierarchy/src/pack/enclose.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/enclose.js", "type": "harmony import specifier", "userRequest": "../array.js", "loc": "4:36-41" } ], "usedExports": [ "shuffle", "slice" ], "providedExports": [ "slice", "shuffle" ], "optimizationBailout": [], "depth": 5, "source": "export var slice = Array.prototype.slice;\n\nexport function shuffle(array) {\n var m = array.length,\n t,\n i;\n\n while (m) {\n i = Math.random() * m-- | 0;\n t = array[m];\n array[m] = array[i];\n array[i] = t;\n }\n\n return array;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/accessors.js", "name": "./node_modules/d3-hierarchy/src/accessors.js", "index": 315, "index2": 310, "size": 166, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/stratify.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "name": "./node_modules/d3-hierarchy/src/stratify.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 49, "building": 17 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony side effect evaluation", "userRequest": "./accessors.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony side effect evaluation", "userRequest": "../accessors.js", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony side effect evaluation", "userRequest": "../accessors.js", "loc": "3:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony import specifier", "userRequest": "../accessors.js", "loc": "31:40-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../accessors.js", "loc": "62:38-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony import specifier", "userRequest": "./accessors.js", "loc": "65:36-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony import specifier", "userRequest": "./accessors.js", "loc": "69:42-50" } ], "usedExports": [ "required", "optional" ], "providedExports": [ "optional", "required" ], "optimizationBailout": [], "depth": 5, "source": "export function optional(f) {\n return f == null ? null : required(f);\n}\n\nexport function required(f) {\n if (typeof f !== \"function\") throw new Error;\n return f;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/constant.js", "name": "./node_modules/d3-hierarchy/src/constant.js", "index": 314, "index2": 309, "size": 120, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/treemap/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "name": "./node_modules/d3-hierarchy/src/treemap/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 52, "building": 17 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony side effect evaluation", "userRequest": "../constant.js", "loc": "3:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony side effect evaluation", "userRequest": "../constant.js", "loc": "4:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "12:21-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "13:16-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "13:19-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "14:21-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "15:22-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "16:20-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "23:34-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "39:71-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "70:76-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "78:74-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "82:76-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "86:77-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "90:75-83" } ], "usedExports": [ "constantZero", "default" ], "providedExports": [ "constantZero", "default" ], "optimizationBailout": [], "depth": 5, "source": "export function constantZero() {\n return 0;\n}\n\nexport default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/round.js", "name": "./node_modules/d3-hierarchy/src/treemap/round.js", "index": 320, "index2": 315, "size": 166, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/treemap/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "name": "./node_modules/d3-hierarchy/src/treemap/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 52, "building": 17 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony side effect evaluation", "userRequest": "./round.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/partition.js", "module": "./node_modules/d3-hierarchy/src/partition.js", "moduleName": "./node_modules/d3-hierarchy/src/partition.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/round.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/partition.js", "module": "./node_modules/d3-hierarchy/src/partition.js", "moduleName": "./node_modules/d3-hierarchy/src/partition.js", "type": "harmony import specifier", "userRequest": "./treemap/round.js", "loc": "17:31-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "./round.js", "loc": "25:31-40" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(node) {\n node.x0 = Math.round(node.x0);\n node.y0 = Math.round(node.y0);\n node.x1 = Math.round(node.x1);\n node.y1 = Math.round(node.y1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/cross.js", "name": "./node_modules/d3-polygon/src/cross.js", "index": 346, "index2": 341, "size": 402, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/hull.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/hull.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/hull.js", "name": "./node_modules/d3-polygon/src/hull.js", "profile": { "factory": 765, "building": 20 } } ], "profile": { "factory": 32, "building": 53 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/hull.js", "module": "./node_modules/d3-polygon/src/hull.js", "moduleName": "./node_modules/d3-polygon/src/hull.js", "type": "harmony side effect evaluation", "userRequest": "./cross.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/hull.js", "module": "./node_modules/d3-polygon/src/hull.js", "moduleName": "./node_modules/d3-polygon/src/hull.js", "type": "harmony import specifier", "userRequest": "./cross.js", "loc": "16:23-28" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "// Returns the 2D cross product of AB and AC vectors, i.e., the z-component of\n// the 3D cross product in a quadrant I Cartesian coordinate system (+x is\n// right, +y is up). Returns a positive value if ABC is counter-clockwise,\n// negative if clockwise, and zero if the points are collinear.\nexport default function(a, b, c) {\n return (b[0] - a[0]) * (c[1] - a[1]) - (b[1] - a[1]) * (c[0] - a[0]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/defaultSource.js", "name": "./node_modules/d3-random/src/defaultSource.js", "index": 352, "index2": 347, "size": 54, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/uniform.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/uniform.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/uniform.js", "name": "./node_modules/d3-random/src/uniform.js", "profile": { "factory": 795, "building": 62, "dependencies": 0 } } ], "profile": { "factory": 97, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/uniform.js", "module": "./node_modules/d3-random/src/uniform.js", "moduleName": "./node_modules/d3-random/src/uniform.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/exponential.js", "module": "./node_modules/d3-random/src/exponential.js", "moduleName": "./node_modules/d3-random/src/exponential.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/irwinHall.js", "module": "./node_modules/d3-random/src/irwinHall.js", "moduleName": "./node_modules/d3-random/src/irwinHall.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/bates.js", "module": "./node_modules/d3-random/src/bates.js", "moduleName": "./node_modules/d3-random/src/bates.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/logNormal.js", "module": "./node_modules/d3-random/src/logNormal.js", "moduleName": "./node_modules/d3-random/src/logNormal.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/normal.js", "module": "./node_modules/d3-random/src/normal.js", "moduleName": "./node_modules/d3-random/src/normal.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/exponential.js", "module": "./node_modules/d3-random/src/exponential.js", "moduleName": "./node_modules/d3-random/src/exponential.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "13:3-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/irwinHall.js", "module": "./node_modules/d3-random/src/irwinHall.js", "moduleName": "./node_modules/d3-random/src/irwinHall.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "14:3-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/bates.js", "module": "./node_modules/d3-random/src/bates.js", "moduleName": "./node_modules/d3-random/src/bates.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "15:3-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/logNormal.js", "module": "./node_modules/d3-random/src/logNormal.js", "moduleName": "./node_modules/d3-random/src/logNormal.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "15:3-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/uniform.js", "module": "./node_modules/d3-random/src/uniform.js", "moduleName": "./node_modules/d3-random/src/uniform.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "17:3-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/normal.js", "module": "./node_modules/d3-random/src/normal.js", "moduleName": "./node_modules/d3-random/src/normal.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "28:3-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n return Math.random();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/init.js", "name": "./node_modules/d3-scale/src/init.js", "index": 360, "index2": 355, "size": 448, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/band.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "name": "./node_modules/d3-scale/src/band.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } } ], "profile": { "factory": 104, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "4:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "4:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "5:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "6:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "7:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "29:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "34:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "39:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "42:2-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "43:2-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "56:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "56:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "57:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "60:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "66:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "69:2-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "70:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "76:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "80:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "81:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "86:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "90:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "134:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "142:2-11" } ], "usedExports": [ "initInterpolator", "initRange" ], "providedExports": [ "initRange", "initInterpolator" ], "optimizationBailout": [], "depth": 5, "source": "export function initRange(domain, range) {\n switch (arguments.length) {\n case 0: break;\n case 1: this.range(domain); break;\n default: this.range(range).domain(domain); break;\n }\n return this;\n}\n\nexport function initInterpolator(domain, interpolator) {\n switch (arguments.length) {\n case 0: break;\n case 1: this.interpolator(domain); break;\n default: this.interpolator(interpolator).domain(domain); break;\n }\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/array.js", "name": "./node_modules/d3-scale/src/array.js", "index": 362, "index2": 356, "size": 90, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/ordinal.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "name": "./node_modules/d3-scale/src/band.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "name": "./node_modules/d3-scale/src/ordinal.js", "profile": { "factory": 104, "building": 33, "dependencies": 0 } } ], "profile": { "factory": 74, "building": 33 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "1:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "4:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "15:40-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "16:40-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "20:39-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "26:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "30:44-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "31:39-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "39:39-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "93:40-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "97:39-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "100:37-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "101:19-24" } ], "usedExports": [ "map", "slice" ], "providedExports": [ "map", "slice" ], "optimizationBailout": [], "depth": 5, "source": "var array = Array.prototype;\n\nexport var map = array.map;\nexport var slice = array.slice;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/number.js", "name": "./node_modules/d3-scale/src/number.js", "index": 367, "index2": 360, "size": 44, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/identity.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "name": "./node_modules/d3-scale/src/identity.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } } ], "profile": { "factory": 69, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "5:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "15:52-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "26:47-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "93:52-58" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return +x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "name": "./node_modules/d3-scale/src/continuous.js", "index": 365, "index2": 361, "size": 3528, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/diverging.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "name": "./node_modules/d3-scale/src/diverging.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } } ], "profile": { "factory": 89, "building": 20, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "2:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "4:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "5:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "7:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "15:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "18:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "20:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "20:34-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "24:38-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "24:48-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "26:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "26:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "26:35-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "28:24-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "31:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "37:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "40:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "50:38-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "54:38-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "63:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "63:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "63:35-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "66:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "127:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "136:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "139:11-15" } ], "usedExports": [ "identity", "transformer", "copy", "default" ], "providedExports": [ "identity", "copy", "transformer", "default" ], "optimizationBailout": [], "depth": 5, "source": "import {bisect} from \"d3-array\";\nimport {interpolate as interpolateValue, interpolateNumber, interpolateRound} from \"d3-interpolate\";\nimport {map, slice} from \"./array\";\nimport constant from \"./constant\";\nimport number from \"./number\";\n\nvar unit = [0, 1];\n\nexport function identity(x) {\n return x;\n}\n\nfunction normalize(a, b) {\n return (b -= (a = +a))\n ? function(x) { return (x - a) / b; }\n : constant(isNaN(b) ? NaN : 0.5);\n}\n\nfunction clamper(domain) {\n var a = domain[0], b = domain[domain.length - 1], t;\n if (a > b) t = a, a = b, b = t;\n return function(x) { return Math.max(a, Math.min(b, x)); };\n}\n\n// normalize(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1].\n// interpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding range value x in [a,b].\nfunction bimap(domain, range, interpolate) {\n var d0 = domain[0], d1 = domain[1], r0 = range[0], r1 = range[1];\n if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate(r1, r0);\n else d0 = normalize(d0, d1), r0 = interpolate(r0, r1);\n return function(x) { return r0(d0(x)); };\n}\n\nfunction polymap(domain, range, interpolate) {\n var j = Math.min(domain.length, range.length) - 1,\n d = new Array(j),\n r = new Array(j),\n i = -1;\n\n // Reverse descending domains.\n if (domain[j] < domain[0]) {\n domain = domain.slice().reverse();\n range = range.slice().reverse();\n }\n\n while (++i < j) {\n d[i] = normalize(domain[i], domain[i + 1]);\n r[i] = interpolate(range[i], range[i + 1]);\n }\n\n return function(x) {\n var i = bisect(domain, x, 1, j) - 1;\n return r[i](d[i](x));\n };\n}\n\nexport function copy(source, target) {\n return target\n .domain(source.domain())\n .range(source.range())\n .interpolate(source.interpolate())\n .clamp(source.clamp())\n .unknown(source.unknown());\n}\n\nexport function transformer() {\n var domain = unit,\n range = unit,\n interpolate = interpolateValue,\n transform,\n untransform,\n unknown,\n clamp = identity,\n piecewise,\n output,\n input;\n\n function rescale() {\n piecewise = Math.min(domain.length, range.length) > 2 ? polymap : bimap;\n output = input = null;\n return scale;\n }\n\n function scale(x) {\n return isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));\n }\n\n scale.invert = function(y) {\n return clamp(untransform((input || (input = piecewise(range, domain.map(transform), interpolateNumber)))(y)));\n };\n\n scale.domain = function(_) {\n return arguments.length ? (domain = map.call(_, number), clamp === identity || (clamp = clamper(domain)), rescale()) : domain.slice();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), rescale()) : range.slice();\n };\n\n scale.rangeRound = function(_) {\n return range = slice.call(_), interpolate = interpolateRound, rescale();\n };\n\n scale.clamp = function(_) {\n return arguments.length ? (clamp = _ ? clamper(domain) : identity, scale) : clamp !== identity;\n };\n\n scale.interpolate = function(_) {\n return arguments.length ? (interpolate = _, rescale()) : interpolate;\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n return function(t, u) {\n transform = t, untransform = u;\n return rescale();\n };\n}\n\nexport default function continuous(transform, untransform) {\n return transformer()(transform, untransform);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/nice.js", "name": "./node_modules/d3-scale/src/nice.js", "index": 370, "index2": 365, "size": 340, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/time.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "name": "./node_modules/d3-scale/src/time.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } } ], "profile": { "factory": 83, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony side effect evaluation", "userRequest": "./nice", "loc": "3:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "./nice", "loc": "7:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./nice", "loc": "122:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "userRequest": "./nice", "loc": "126:18-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(domain, interval) {\n domain = domain.slice();\n\n var i0 = 0,\n i1 = domain.length - 1,\n x0 = domain[i0],\n x1 = domain[i1],\n t;\n\n if (x1 < x0) {\n t = i0, i0 = i1, i1 = t;\n t = x0, x0 = x1, x1 = t;\n }\n\n domain[i0] = interval.floor(x0);\n domain[i1] = interval.ceil(x1);\n return domain;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/duration.js", "name": "./node_modules/d3-time/src/duration.js", "index": 381, "index2": 375, "size": 164, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/utcWeek.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "name": "./node_modules/d3-time/src/utcWeek.js", "profile": { "factory": 483, "building": 34, "dependencies": 26 } } ], "profile": { "factory": 26, "building": 21 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "module": "./node_modules/d3-time/src/utcWeek.js", "moduleName": "./node_modules/d3-time/src/utcWeek.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcDay.js", "module": "./node_modules/d3-time/src/utcDay.js", "moduleName": "./node_modules/d3-time/src/utcDay.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "module": "./node_modules/d3-time/src/utcHour.js", "moduleName": "./node_modules/d3-time/src/utcHour.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "module": "./node_modules/d3-time/src/utcMinute.js", "moduleName": "./node_modules/d3-time/src/utcMinute.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "module": "./node_modules/d3-time/src/week.js", "moduleName": "./node_modules/d3-time/src/week.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "module": "./node_modules/d3-time/src/day.js", "moduleName": "./node_modules/d3-time/src/day.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "module": "./node_modules/d3-time/src/second.js", "moduleName": "./node_modules/d3-time/src/second.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "5:67-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "5:67-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "5:104-118" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "module": "./node_modules/d3-time/src/utcHour.js", "moduleName": "./node_modules/d3-time/src/utcHour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "7:30-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "module": "./node_modules/d3-time/src/utcMinute.js", "moduleName": "./node_modules/d3-time/src/utcMinute.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "7:30-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "7:30-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "7:30-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "module": "./node_modules/d3-time/src/second.js", "moduleName": "./node_modules/d3-time/src/second.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "7:30-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcDay.js", "module": "./node_modules/d3-time/src/utcDay.js", "moduleName": "./node_modules/d3-time/src/utcDay.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "module": "./node_modules/d3-time/src/utcHour.js", "moduleName": "./node_modules/d3-time/src/utcHour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "module": "./node_modules/d3-time/src/utcMinute.js", "moduleName": "./node_modules/d3-time/src/utcMinute.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "module": "./node_modules/d3-time/src/second.js", "moduleName": "./node_modules/d3-time/src/second.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "module": "./node_modules/d3-time/src/day.js", "moduleName": "./node_modules/d3-time/src/day.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:80-94" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "module": "./node_modules/d3-time/src/day.js", "moduleName": "./node_modules/d3-time/src/day.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:98-109" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "module": "./node_modules/d3-time/src/utcWeek.js", "moduleName": "./node_modules/d3-time/src/utcWeek.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "11:27-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "module": "./node_modules/d3-time/src/week.js", "moduleName": "./node_modules/d3-time/src/week.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "11:82-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "module": "./node_modules/d3-time/src/week.js", "moduleName": "./node_modules/d3-time/src/week.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "11:100-112" } ], "usedExports": [ "durationWeek", "durationMinute", "durationDay", "durationSecond", "durationHour" ], "providedExports": [ "durationSecond", "durationMinute", "durationHour", "durationDay", "durationWeek" ], "optimizationBailout": [], "depth": 5, "source": "export var durationSecond = 1e3;\nexport var durationMinute = 6e4;\nexport var durationHour = 36e5;\nexport var durationDay = 864e5;\nexport var durationWeek = 6048e5;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/colors.js", "name": "./node_modules/d3-scale-chromatic/src/colors.js", "index": 401, "index2": 396, "size": 189, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/category10.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/category10.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "profile": { "factory": 735, "building": 26, "dependencies": 20 } } ], "profile": { "factory": 19, "building": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/category10.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set3.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set3.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set3.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set2.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set1.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set1.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set1.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Paired.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Paired.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Paired.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Accent.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Accent.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Accent.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/category10.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set3.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set3.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set3.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set2.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set1.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set1.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set1.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Paired.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Paired.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Paired.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Accent.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Accent.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Accent.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "10:20-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:24-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "16:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(specifier) {\n var n = specifier.length / 6 | 0, colors = new Array(n), i = 0;\n while (i < n) colors[i] = \"#\" + specifier.slice(i * 6, ++i * 6);\n return colors;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/ramp.js", "name": "./node_modules/d3-scale-chromatic/src/ramp.js", "index": 412, "index2": 407, "size": 146, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "profile": { "factory": 735, "building": 26, "dependencies": 20 } } ], "profile": { "factory": 22, "building": 19, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {interpolateRgbBasis} from \"d3-interpolate\";\n\nexport default function(scheme) {\n return interpolateRgbBasis(scheme[scheme.length - 1]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/constant.js", "name": "./node_modules/d3-shape/src/constant.js", "index": 453, "index2": 448, "size": 81, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/arc.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "name": "./node_modules/d3-shape/src/arc.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 34, "building": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony side effect evaluation", "userRequest": "../constant.js", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "9:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "9:16-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "10:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "10:19-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "11:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "11:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "12:16-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "12:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "22:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "23:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "34:68-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "35:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "38:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "38:68-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "39:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "41:68-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "42:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "43:71-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "45:69-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "49:93-101" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "55:69-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "60:66-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "64:66-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "67:74-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "68:85-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "71:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "72:66-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "75:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "76:66-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "80:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "80:85-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "97:71-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "229:75-83" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "233:75-83" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "237:76-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "241:92-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "245:74-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "249:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "253:72-80" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function constant() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/math.js", "name": "./node_modules/d3-shape/src/math.js", "index": 452, "index2": 447, "size": 470, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/arc.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "name": "./node_modules/d3-shape/src/arc.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 34, "building": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "module": "./node_modules/d3-shape/src/curve/catmullRom.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRom.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/circle.js", "module": "./node_modules/d3-shape/src/symbol/circle.js", "moduleName": "./node_modules/d3-shape/src/symbol/circle.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-101" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "4:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "4:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "4:42-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/circle.js", "module": "./node_modules/d3-shape/src/symbol/circle.js", "moduleName": "./node_modules/d3-shape/src/symbol/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:29-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/circle.js", "module": "./node_modules/d3-shape/src/symbol/circle.js", "moduleName": "./node_modules/d3-shape/src/symbol/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:28-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "module": "./node_modules/d3-shape/src/curve/catmullRom.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRom.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:20-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:26-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "16:14-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "module": "./node_modules/d3-shape/src/curve/catmullRom.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRom.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:20-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "23:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "23:37-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "39:29-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "53:30-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "53:35-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "92:49-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "93:47-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "94:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "103:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "106:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "106:24-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "107:26-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "107:40-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "109:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "110:28-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "110:42-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "124:21-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "124:82-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "125:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "125:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "132:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "133:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "133:32-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "134:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "134:32-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "135:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "137:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "141:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "142:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "143:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "144:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "147:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "148:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "149:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "150:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "151:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "155:17-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "160:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "160:27-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "160:55-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "160:81-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "161:19-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "162:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "163:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "168:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "171:21-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "178:53-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "178:76-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "182:41-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "182:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "183:32-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "183:71-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "184:41-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "184:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "193:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "193:37-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "196:21-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "203:53-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "203:76-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "207:41-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "207:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "208:32-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "208:71-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "209:41-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "209:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "224:90-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "225:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "225:24-27" } ], "usedExports": [ "epsilon", "sqrt", "max", "halfPi", "abs", "tau", "cos", "sin", "min", "asin", "pi", "acos", "atan2" ], "providedExports": [ "abs", "atan2", "cos", "max", "min", "sin", "sqrt", "epsilon", "pi", "halfPi", "tau", "acos", "asin" ], "optimizationBailout": [], "depth": 5, "source": "export var abs = Math.abs;\nexport var atan2 = Math.atan2;\nexport var cos = Math.cos;\nexport var max = Math.max;\nexport var min = Math.min;\nexport var sin = Math.sin;\nexport var sqrt = Math.sqrt;\n\nexport var epsilon = 1e-12;\nexport var pi = Math.PI;\nexport var halfPi = pi / 2;\nexport var tau = 2 * pi;\n\nexport function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n}\n\nexport function asin(x) {\n return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/point.js", "name": "./node_modules/d3-shape/src/point.js", "index": 455, "index2": 450, "size": 81, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/line.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "name": "./node_modules/d3-shape/src/line.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 22, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony side effect evaluation", "userRequest": "./point.js", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony side effect evaluation", "userRequest": "../point.js", "loc": "4:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./point.js", "loc": "5:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./point.js", "loc": "7:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./point.js", "loc": "8:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./point.js", "loc": "8:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./point.js", "loc": "11:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../point.js", "loc": "18:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../point.js", "loc": "19:10-16" } ], "usedExports": [ "x", "y" ], "providedExports": [ "x", "y" ], "optimizationBailout": [], "depth": 5, "source": "export function x(p) {\n return p[0];\n}\n\nexport function y(p) {\n return p[1];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/descending.js", "name": "./node_modules/d3-shape/src/descending.js", "index": 460, "index2": 455, "size": 86, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/pie.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "name": "./node_modules/d3-shape/src/pie.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 26, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony side effect evaluation", "userRequest": "./descending.js", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./descending.js", "loc": "8:19-29" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/identity.js", "name": "./node_modules/d3-shape/src/identity.js", "index": 459, "index2": 454, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/pie.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "name": "./node_modules/d3-shape/src/pie.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 26, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony side effect evaluation", "userRequest": "./identity.js", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./identity.js", "loc": "7:14-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(d) {\n return d;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/radial.js", "name": "./node_modules/d3-shape/src/curve/radial.js", "index": 462, "index2": 457, "size": 658, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/lineRadial.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "name": "./node_modules/d3-shape/src/lineRadial.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 24, "building": 28, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "module": "./node_modules/d3-shape/src/lineRadial.js", "moduleName": "./node_modules/d3-shape/src/lineRadial.js", "type": "harmony side effect evaluation", "userRequest": "./curve/radial.js", "loc": "1:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony side effect evaluation", "userRequest": "./curve/radial.js", "loc": "1:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./curve/radial.js", "loc": "6:23-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "module": "./node_modules/d3-shape/src/lineRadial.js", "moduleName": "./node_modules/d3-shape/src/lineRadial.js", "type": "harmony import specifier", "userRequest": "./curve/radial.js", "loc": "11:32-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "module": "./node_modules/d3-shape/src/lineRadial.js", "moduleName": "./node_modules/d3-shape/src/lineRadial.js", "type": "harmony import specifier", "userRequest": "./curve/radial.js", "loc": "18:33-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./curve/radial.js", "loc": "25:32-43" } ], "usedExports": [ "default", "curveRadialLinear" ], "providedExports": [ "curveRadialLinear", "default" ], "optimizationBailout": [], "depth": 5, "source": "import curveLinear from \"./linear.js\";\n\nexport var curveRadialLinear = curveRadial(curveLinear);\n\nfunction Radial(curve) {\n this._curve = curve;\n}\n\nRadial.prototype = {\n areaStart: function() {\n this._curve.areaStart();\n },\n areaEnd: function() {\n this._curve.areaEnd();\n },\n lineStart: function() {\n this._curve.lineStart();\n },\n lineEnd: function() {\n this._curve.lineEnd();\n },\n point: function(a, r) {\n this._curve.point(r * Math.sin(a), r * -Math.cos(a));\n }\n};\n\nexport default function curveRadial(curve) {\n\n function radial(context) {\n return new Radial(curve(context));\n }\n\n radial._curve = curve;\n\n return radial;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/array.js", "name": "./node_modules/d3-shape/src/array.js", "index": 466, "index2": 461, "size": 42, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "name": "./node_modules/d3-shape/src/stack.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 32, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony side effect evaluation", "userRequest": "./array.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony side effect evaluation", "userRequest": "../array.js", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../array.js", "loc": "23:23-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./array.js", "loc": "41:77-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./array.js", "loc": "49:102-107" } ], "usedExports": [ "slice" ], "providedExports": [ "slice" ], "optimizationBailout": [], "depth": 5, "source": "export var slice = Array.prototype.slice;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/noop.js", "name": "./node_modules/d3-shape/src/noop.js", "index": 476, "index2": 471, "size": 29, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/curve/linearClosed.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "name": "./node_modules/d3-shape/src/curve/linearClosed.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 27, "building": 34 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "module": "./node_modules/d3-shape/src/curve/linearClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/linearClosed.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "module": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "module": "./node_modules/d3-shape/src/curve/basisClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/basisClosed.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "module": "./node_modules/d3-shape/src/curve/linearClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/linearClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "8:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "module": "./node_modules/d3-shape/src/curve/linearClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/linearClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "9:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "module": "./node_modules/d3-shape/src/curve/basisClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/basisClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "9:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "module": "./node_modules/d3-shape/src/curve/basisClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/basisClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "10:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "module": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "10:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "module": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "11:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "11:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "12:11-15" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/constant.js", "name": "./node_modules/d3-voronoi/src/constant.js", "index": 510, "index2": 505, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/voronoi.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } } ], "profile": { "factory": 100, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "32:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "36:65-73" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/point.js", "name": "./node_modules/d3-voronoi/src/point.js", "index": 511, "index2": 506, "size": 81, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/voronoi.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } } ], "profile": { "factory": 100, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony side effect evaluation", "userRequest": "./point", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./point", "loc": "6:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./point", "loc": "7:10-16" } ], "usedExports": [ "x", "y" ], "providedExports": [ "x", "y" ], "optimizationBailout": [], "depth": 5, "source": "export function x(d) {\n return d[0];\n}\n\nexport function y(d) {\n return d[1];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "index": 512, "index2": 512, "size": 3567, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/voronoi.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } } ], "profile": { "factory": 100, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony side effect evaluation", "userRequest": "./Diagram", "loc": "1:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony side effect evaluation", "userRequest": "./Diagram", "loc": "2:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony side effect evaluation", "userRequest": "./Diagram", "loc": "2:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony side effect evaluation", "userRequest": "./Diagram", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony side effect evaluation", "userRequest": "./Diagram", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "5:9-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "5:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "10:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "11:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "11:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "12:42-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "12:53-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "12:89-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "12:100-107" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "24:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "31:22-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "32:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "35:79-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "37:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "42:39-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "43:40-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "44:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "53:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "55:39-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "56:40-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "60:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "65:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "67:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "73:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "75:36-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "76:40-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "77:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "77:75-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "78:41-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "79:36-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "79:59-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "79:98-105" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "80:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "80:61-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "80:96-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "81:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "81:61-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "81:100-107" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "82:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "82:61-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "82:96-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "89:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "93:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "95:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "98:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "102:19-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "105:26-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "110:8-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "111:8-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "112:8-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "113:8-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "118:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "120:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "122:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "125:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "157:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "161:28-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "163:49-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "164:51-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "165:13-18" } ], "usedExports": [ "default", "epsilon", "cells", "edges", "beaches", "epsilon2", "circles" ], "providedExports": [ "epsilon", "epsilon2", "beaches", "cells", "circles", "edges", "default" ], "optimizationBailout": [], "depth": 5, "source": "import {addBeach, removeBeach} from \"./Beach\";\nimport {sortCellHalfedges, cellHalfedgeStart, clipCells} from \"./Cell\";\nimport {firstCircle} from \"./Circle\";\nimport {clipEdges} from \"./Edge\";\nimport RedBlackTree from \"./RedBlackTree\";\n\nexport var epsilon = 1e-6;\nexport var epsilon2 = 1e-12;\nexport var beaches;\nexport var cells;\nexport var circles;\nexport var edges;\n\nfunction triangleArea(a, b, c) {\n return (a[0] - c[0]) * (b[1] - a[1]) - (a[0] - b[0]) * (c[1] - a[1]);\n}\n\nfunction lexicographic(a, b) {\n return b[1] - a[1]\n || b[0] - a[0];\n}\n\nexport default function Diagram(sites, extent) {\n var site = sites.sort(lexicographic).pop(),\n x,\n y,\n circle;\n\n edges = [];\n cells = new Array(sites.length);\n beaches = new RedBlackTree;\n circles = new RedBlackTree;\n\n while (true) {\n circle = firstCircle;\n if (site && (!circle || site[1] < circle.y || (site[1] === circle.y && site[0] < circle.x))) {\n if (site[0] !== x || site[1] !== y) {\n addBeach(site);\n x = site[0], y = site[1];\n }\n site = sites.pop();\n } else if (circle) {\n removeBeach(circle.arc);\n } else {\n break;\n }\n }\n\n sortCellHalfedges();\n\n if (extent) {\n var x0 = +extent[0][0],\n y0 = +extent[0][1],\n x1 = +extent[1][0],\n y1 = +extent[1][1];\n clipEdges(x0, y0, x1, y1);\n clipCells(x0, y0, x1, y1);\n }\n\n this.edges = edges;\n this.cells = cells;\n\n beaches =\n circles =\n edges =\n cells = null;\n}\n\nDiagram.prototype = {\n constructor: Diagram,\n\n polygons: function() {\n var edges = this.edges;\n\n return this.cells.map(function(cell) {\n var polygon = cell.halfedges.map(function(i) { return cellHalfedgeStart(cell, edges[i]); });\n polygon.data = cell.site.data;\n return polygon;\n });\n },\n\n triangles: function() {\n var triangles = [],\n edges = this.edges;\n\n this.cells.forEach(function(cell, i) {\n if (!(m = (halfedges = cell.halfedges).length)) return;\n var site = cell.site,\n halfedges,\n j = -1,\n m,\n s0,\n e1 = edges[halfedges[m - 1]],\n s1 = e1.left === site ? e1.right : e1.left;\n\n while (++j < m) {\n s0 = s1;\n e1 = edges[halfedges[j]];\n s1 = e1.left === site ? e1.right : e1.left;\n if (s0 && s1 && i < s0.index && i < s1.index && triangleArea(site, s0, s1) < 0) {\n triangles.push([site.data, s0.data, s1.data]);\n }\n }\n });\n\n return triangles;\n },\n\n links: function() {\n return this.edges.filter(function(edge) {\n return edge.right;\n }).map(function(edge) {\n return {\n source: edge.left.data,\n target: edge.right.data\n };\n });\n },\n\n find: function(x, y, radius) {\n var that = this, i0, i1 = that._found || 0, n = that.cells.length, cell;\n\n // Use the previously-found cell, or start with an arbitrary one.\n while (!(cell = that.cells[i1])) if (++i1 >= n) return null;\n var dx = x - cell.site[0], dy = y - cell.site[1], d2 = dx * dx + dy * dy;\n\n // Traverse the half-edges to find a closer cell, if any.\n do {\n cell = that.cells[i0 = i1], i1 = null;\n cell.halfedges.forEach(function(e) {\n var edge = that.edges[e], v = edge.left;\n if ((v === cell.site || !v) && !(v = edge.right)) return;\n var vx = x - v[0], vy = y - v[1], v2 = vx * vx + vy * vy;\n if (v2 < d2) d2 = v2, i1 = v.index;\n });\n } while (i1 !== null);\n\n that._found = i0;\n\n return radius == null || d2 <= radius * radius ? cell.site : null;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/constant.js", "name": "./node_modules/d3-zoom/src/constant.js", "index": 520, "index2": 515, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "issuerId": null, "issuerName": "./node_modules/d3-zoom/src/zoom.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "name": "./node_modules/d3-zoom/src/zoom.js", "profile": { "factory": 67, "building": 95, "dependencies": 6 } } ], "profile": { "factory": 24, "building": 53, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "6:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "374:74-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "378:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "382:73-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "386:70-78" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/event.js", "name": "./node_modules/d3-zoom/src/event.js", "index": 521, "index2": 516, "size": 137, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "issuerId": null, "issuerName": "./node_modules/d3-zoom/src/zoom.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "name": "./node_modules/d3-zoom/src/zoom.js", "profile": { "factory": 67, "building": 95, "dependencies": 6 } } ], "profile": { "factory": 24, "building": 53, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "./event.js", "loc": "7:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./event.js", "loc": "210:22-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function ZoomEvent(target, type, transform) {\n this.target = target;\n this.type = type;\n this.transform = transform;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/noevent.js", "name": "./node_modules/d3-zoom/src/noevent.js", "index": 523, "index2": 518, "size": 202, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "issuerId": null, "issuerName": "./node_modules/d3-zoom/src/zoom.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "name": "./node_modules/d3-zoom/src/zoom.js", "profile": { "factory": 67, "building": 95, "dependencies": 6 } } ], "profile": { "factory": 24, "building": 53, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "./noevent.js", "loc": "9:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "240:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "259:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "265:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "276:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "289:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "301:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "324:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "353:4-17" } ], "usedExports": [ "default", "nopropagation" ], "providedExports": [ "nopropagation", "default" ], "optimizationBailout": [], "depth": 5, "source": "import {event} from \"d3-selection\";\n\nexport function nopropagation() {\n event.stopImmediatePropagation();\n}\n\nexport default function() {\n event.preventDefault();\n event.stopImmediatePropagation();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/sparse.js", "name": "./node_modules/d3-selection/src/selection/sparse.js", "index": 90, "index2": 77, "size": 71, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/exit.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "name": "./node_modules/d3-selection/src/selection/exit.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 79, "building": 34 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "module": "./node_modules/d3-selection/src/selection/exit.js", "moduleName": "./node_modules/d3-selection/src/selection/exit.js", "type": "harmony side effect evaluation", "userRequest": "./sparse", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/enter.js", "module": "./node_modules/d3-selection/src/selection/enter.js", "moduleName": "./node_modules/d3-selection/src/selection/enter.js", "type": "harmony side effect evaluation", "userRequest": "./sparse", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "module": "./node_modules/d3-selection/src/selection/exit.js", "moduleName": "./node_modules/d3-selection/src/selection/exit.js", "type": "harmony import specifier", "userRequest": "./sparse", "loc": "5:54-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/enter.js", "module": "./node_modules/d3-selection/src/selection/enter.js", "moduleName": "./node_modules/d3-selection/src/selection/enter.js", "type": "harmony import specifier", "userRequest": "./sparse", "loc": "5:55-61" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "export default function(update) {\n return new Array(update.length);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/constant.js", "name": "./node_modules/d3-selection/src/constant.js", "index": 91, "index2": 79, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/data.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "name": "./node_modules/d3-selection/src/selection/data.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 77, "building": 34 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony side effect evaluation", "userRequest": "../constant", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony import specifier", "userRequest": "../constant", "loc": "88:43-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/decompose.js", "name": "./node_modules/d3-interpolate/src/transform/decompose.js", "index": 69, "index2": 57, "size": 672, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/transform/parse.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "name": "./node_modules/d3-interpolate/src/transform/index.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "name": "./node_modules/d3-interpolate/src/transform/parse.js", "profile": { "factory": 54, "building": 20 } } ], "profile": { "factory": 16, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony side effect evaluation", "userRequest": "./decompose.js", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "9:31-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "15:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "19:28-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "22:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "24:9-18" } ], "usedExports": [ "identity", "default" ], "providedExports": [ "identity", "default" ], "optimizationBailout": [], "depth": 6, "source": "var degrees = 180 / Math.PI;\n\nexport var identity = {\n translateX: 0,\n translateY: 0,\n rotate: 0,\n skewX: 0,\n scaleX: 1,\n scaleY: 1\n};\n\nexport default function(a, b, c, d, e, f) {\n var scaleX, scaleY, skewX;\n if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;\n if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;\n if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;\n if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;\n return {\n translateX: e,\n translateY: f,\n rotate: Math.atan2(b, a) * degrees,\n skewX: Math.atan(skewX) * degrees,\n scaleX: scaleX,\n scaleY: scaleY\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "name": "./node_modules/d3-transition/src/transition/interpolate.js", "index": 55, "index2": 54, "size": 340, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/style.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "name": "./node_modules/d3-transition/src/transition/style.js", "profile": { "factory": 65, "building": 36, "dependencies": 19 } } ], "profile": { "factory": 27, "building": 22, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony side effect evaluation", "userRequest": "./interpolate.js", "loc": "4:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony side effect evaluation", "userRequest": "./interpolate.js", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "userRequest": "./interpolate.js", "loc": "70:64-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony import specifier", "userRequest": "./interpolate.js", "loc": "73:88-99" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "import {color} from \"d3-color\";\nimport {interpolateNumber, interpolateRgb, interpolateString} from \"d3-interpolate\";\n\nexport default function(a, b) {\n var c;\n return (typeof b === \"number\" ? interpolateNumber\n : b instanceof color ? interpolateRgb\n : (c = color(b)) ? (b = c, interpolateRgb)\n : interpolateString)(a, b);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quad.js", "name": "./node_modules/d3-quadtree/src/quad.js", "index": 212, "index2": 205, "size": 134, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/visitAfter.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "name": "./node_modules/d3-quadtree/src/visitAfter.js", "profile": { "factory": 105, "building": 41, "dependencies": 38 } } ], "profile": { "factory": 39, "building": 35 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony side effect evaluation", "userRequest": "./quad.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony side effect evaluation", "userRequest": "./quad.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony side effect evaluation", "userRequest": "./quad.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "5:27-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "5:33-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "9:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "10:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "10:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "11:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "11:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "12:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "12:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "13:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "18:27-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "41:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "42:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "43:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "44:12-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "export default function(node, x0, y0, x1, y1) {\n this.node = node;\n this.x0 = x0;\n this.y0 = y0;\n this.x1 = x1;\n this.y1 = y1;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatDecimal.js", "name": "./node_modules/d3-format/src/formatDecimal.js", "index": 233, "index2": 225, "size": 656, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/exponent.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/exponent.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/exponent.js", "name": "./node_modules/d3-format/src/exponent.js", "profile": { "factory": 47, "building": 35, "dependencies": 28 } } ], "profile": { "factory": 29, "building": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/exponent.js", "module": "./node_modules/d3-format/src/exponent.js", "moduleName": "./node_modules/d3-format/src/exponent.js", "type": "harmony side effect evaluation", "userRequest": "./formatDecimal.js", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatPrefixAuto.js", "module": "./node_modules/d3-format/src/formatPrefixAuto.js", "moduleName": "./node_modules/d3-format/src/formatPrefixAuto.js", "type": "harmony side effect evaluation", "userRequest": "./formatDecimal.js", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatRounded.js", "module": "./node_modules/d3-format/src/formatRounded.js", "moduleName": "./node_modules/d3-format/src/formatRounded.js", "type": "harmony side effect evaluation", "userRequest": "./formatDecimal.js", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatRounded.js", "module": "./node_modules/d3-format/src/formatRounded.js", "moduleName": "./node_modules/d3-format/src/formatRounded.js", "type": "harmony import specifier", "userRequest": "./formatDecimal.js", "loc": "4:10-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/exponent.js", "module": "./node_modules/d3-format/src/exponent.js", "moduleName": "./node_modules/d3-format/src/exponent.js", "type": "harmony import specifier", "userRequest": "./formatDecimal.js", "loc": "4:13-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatPrefixAuto.js", "module": "./node_modules/d3-format/src/formatPrefixAuto.js", "moduleName": "./node_modules/d3-format/src/formatPrefixAuto.js", "type": "harmony import specifier", "userRequest": "./formatDecimal.js", "loc": "6:10-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatPrefixAuto.js", "module": "./node_modules/d3-format/src/formatPrefixAuto.js", "moduleName": "./node_modules/d3-format/src/formatPrefixAuto.js", "type": "harmony import specifier", "userRequest": "./formatDecimal.js", "loc": "15:44-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "// Computes the decimal coefficient and exponent of the specified number x with\n// significant digits p, where x is positive and p is in [1, 21] or undefined.\n// For example, formatDecimal(1.23) returns [\"123\", 0].\nexport default function(x, p) {\n if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf(\"e\")) < 0) return null; // NaN, ±Infinity\n var i, coefficient = x.slice(0, i);\n\n // The string returned by toExponential either has the form \\d\\.\\d+e[-+]\\d+\n // (e.g., 1.2e+3) or the form \\de[-+]\\d+ (e.g., 1e+3).\n return [\n coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient,\n +x.slice(i + 1)\n ];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatRounded.js", "name": "./node_modules/d3-format/src/formatRounded.js", "index": 232, "index2": 226, "size": 461, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/formatTypes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "name": "./node_modules/d3-format/src/formatTypes.js", "profile": { "factory": 47, "building": 35, "dependencies": 28 } } ], "profile": { "factory": 28, "building": 38, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "module": "./node_modules/d3-format/src/formatTypes.js", "moduleName": "./node_modules/d3-format/src/formatTypes.js", "type": "harmony side effect evaluation", "userRequest": "./formatRounded.js", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "module": "./node_modules/d3-format/src/formatTypes.js", "moduleName": "./node_modules/d3-format/src/formatTypes.js", "type": "harmony import specifier", "userRequest": "./formatRounded.js", "loc": "13:31-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "module": "./node_modules/d3-format/src/formatTypes.js", "moduleName": "./node_modules/d3-format/src/formatTypes.js", "type": "harmony import specifier", "userRequest": "./formatRounded.js", "loc": "14:7-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "import formatDecimal from \"./formatDecimal.js\";\n\nexport default function(x, p) {\n var d = formatDecimal(x, p);\n if (!d) return x + \"\";\n var coefficient = d[0],\n exponent = d[1];\n return exponent < 0 ? \"0.\" + new Array(-exponent).join(\"0\") + coefficient\n : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + \".\" + coefficient.slice(exponent + 1)\n : coefficient + new Array(exponent - coefficient.length + 2).join(\"0\");\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/constant.js", "name": "./node_modules/d3-scale/src/constant.js", "index": 366, "index2": 359, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/continuous.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "name": "./node_modules/d3-scale/src/diverging.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "name": "./node_modules/d3-scale/src/continuous.js", "profile": { "factory": 89, "building": 20, "dependencies": 0 } } ], "profile": { "factory": 7, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "4:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "16:8-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/RedBlackTree.js", "name": "./node_modules/d3-voronoi/src/RedBlackTree.js", "index": 514, "index2": 507, "size": 5302, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/Diagram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "profile": { "factory": 100, "building": 31 } } ], "profile": { "factory": 79, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony side effect evaluation", "userRequest": "./RedBlackTree", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony side effect evaluation", "userRequest": "./RedBlackTree", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony side effect evaluation", "userRequest": "./RedBlackTree", "loc": "5:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "9:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "10:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "26:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "31:16-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "32:16-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "75:4-16" } ], "usedExports": [ "default", "RedBlackNode" ], "providedExports": [ "RedBlackNode", "default" ], "optimizationBailout": [], "depth": 6, "source": "function RedBlackTree() {\n this._ = null; // root node\n}\n\nexport function RedBlackNode(node) {\n node.U = // parent node\n node.C = // color - true for red, false for black\n node.L = // left node\n node.R = // right node\n node.P = // previous node\n node.N = null; // next node\n}\n\nRedBlackTree.prototype = {\n constructor: RedBlackTree,\n\n insert: function(after, node) {\n var parent, grandpa, uncle;\n\n if (after) {\n node.P = after;\n node.N = after.N;\n if (after.N) after.N.P = node;\n after.N = node;\n if (after.R) {\n after = after.R;\n while (after.L) after = after.L;\n after.L = node;\n } else {\n after.R = node;\n }\n parent = after;\n } else if (this._) {\n after = RedBlackFirst(this._);\n node.P = null;\n node.N = after;\n after.P = after.L = node;\n parent = after;\n } else {\n node.P = node.N = null;\n this._ = node;\n parent = null;\n }\n node.L = node.R = null;\n node.U = parent;\n node.C = true;\n\n after = node;\n while (parent && parent.C) {\n grandpa = parent.U;\n if (parent === grandpa.L) {\n uncle = grandpa.R;\n if (uncle && uncle.C) {\n parent.C = uncle.C = false;\n grandpa.C = true;\n after = grandpa;\n } else {\n if (after === parent.R) {\n RedBlackRotateLeft(this, parent);\n after = parent;\n parent = after.U;\n }\n parent.C = false;\n grandpa.C = true;\n RedBlackRotateRight(this, grandpa);\n }\n } else {\n uncle = grandpa.L;\n if (uncle && uncle.C) {\n parent.C = uncle.C = false;\n grandpa.C = true;\n after = grandpa;\n } else {\n if (after === parent.L) {\n RedBlackRotateRight(this, parent);\n after = parent;\n parent = after.U;\n }\n parent.C = false;\n grandpa.C = true;\n RedBlackRotateLeft(this, grandpa);\n }\n }\n parent = after.U;\n }\n this._.C = false;\n },\n\n remove: function(node) {\n if (node.N) node.N.P = node.P;\n if (node.P) node.P.N = node.N;\n node.N = node.P = null;\n\n var parent = node.U,\n sibling,\n left = node.L,\n right = node.R,\n next,\n red;\n\n if (!left) next = right;\n else if (!right) next = left;\n else next = RedBlackFirst(right);\n\n if (parent) {\n if (parent.L === node) parent.L = next;\n else parent.R = next;\n } else {\n this._ = next;\n }\n\n if (left && right) {\n red = next.C;\n next.C = node.C;\n next.L = left;\n left.U = next;\n if (next !== right) {\n parent = next.U;\n next.U = node.U;\n node = next.R;\n parent.L = node;\n next.R = right;\n right.U = next;\n } else {\n next.U = parent;\n parent = next;\n node = next.R;\n }\n } else {\n red = node.C;\n node = next;\n }\n\n if (node) node.U = parent;\n if (red) return;\n if (node && node.C) { node.C = false; return; }\n\n do {\n if (node === this._) break;\n if (node === parent.L) {\n sibling = parent.R;\n if (sibling.C) {\n sibling.C = false;\n parent.C = true;\n RedBlackRotateLeft(this, parent);\n sibling = parent.R;\n }\n if ((sibling.L && sibling.L.C)\n || (sibling.R && sibling.R.C)) {\n if (!sibling.R || !sibling.R.C) {\n sibling.L.C = false;\n sibling.C = true;\n RedBlackRotateRight(this, sibling);\n sibling = parent.R;\n }\n sibling.C = parent.C;\n parent.C = sibling.R.C = false;\n RedBlackRotateLeft(this, parent);\n node = this._;\n break;\n }\n } else {\n sibling = parent.L;\n if (sibling.C) {\n sibling.C = false;\n parent.C = true;\n RedBlackRotateRight(this, parent);\n sibling = parent.L;\n }\n if ((sibling.L && sibling.L.C)\n || (sibling.R && sibling.R.C)) {\n if (!sibling.L || !sibling.L.C) {\n sibling.R.C = false;\n sibling.C = true;\n RedBlackRotateLeft(this, sibling);\n sibling = parent.L;\n }\n sibling.C = parent.C;\n parent.C = sibling.L.C = false;\n RedBlackRotateRight(this, parent);\n node = this._;\n break;\n }\n }\n sibling.C = true;\n node = parent;\n parent = parent.U;\n } while (!node.C);\n\n if (node) node.C = false;\n }\n};\n\nfunction RedBlackRotateLeft(tree, node) {\n var p = node,\n q = node.R,\n parent = p.U;\n\n if (parent) {\n if (parent.L === p) parent.L = q;\n else parent.R = q;\n } else {\n tree._ = q;\n }\n\n q.U = parent;\n p.U = q;\n p.R = q.L;\n if (p.R) p.R.U = p;\n q.L = p;\n}\n\nfunction RedBlackRotateRight(tree, node) {\n var p = node,\n q = node.L,\n parent = p.U;\n\n if (parent) {\n if (parent.L === p) parent.L = q;\n else parent.R = q;\n } else {\n tree._ = q;\n }\n\n q.U = parent;\n p.U = q;\n p.L = q.R;\n if (p.L) p.L.U = p;\n q.R = p;\n}\n\nfunction RedBlackFirst(node) {\n while (node.L) node = node.L;\n return node;\n}\n\nexport default RedBlackTree;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "name": "./node_modules/d3-voronoi/src/Edge.js", "index": 516, "index2": 508, "size": 3634, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/Diagram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "profile": { "factory": 100, "building": 31 } } ], "profile": { "factory": 79, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony side effect evaluation", "userRequest": "./Edge", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony side effect evaluation", "userRequest": "./Edge", "loc": "4:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony side effect evaluation", "userRequest": "./Edge", "loc": "4:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "56:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "71:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "76:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "78:52-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "110:19-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "111:19-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "112:19-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "113:19-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "126:30-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "133:18-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "154:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "155:16-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "156:14-24" } ], "usedExports": [ "clipEdges", "createBorderEdge", "setEdgeEnd", "createEdge" ], "providedExports": [ "createEdge", "createBorderEdge", "setEdgeEnd", "clipEdges" ], "optimizationBailout": [], "depth": 6, "source": "import {cells, edges, epsilon} from \"./Diagram\";\n\nexport function createEdge(left, right, v0, v1) {\n var edge = [null, null],\n index = edges.push(edge) - 1;\n edge.left = left;\n edge.right = right;\n if (v0) setEdgeEnd(edge, left, right, v0);\n if (v1) setEdgeEnd(edge, right, left, v1);\n cells[left.index].halfedges.push(index);\n cells[right.index].halfedges.push(index);\n return edge;\n}\n\nexport function createBorderEdge(left, v0, v1) {\n var edge = [v0, v1];\n edge.left = left;\n return edge;\n}\n\nexport function setEdgeEnd(edge, left, right, vertex) {\n if (!edge[0] && !edge[1]) {\n edge[0] = vertex;\n edge.left = left;\n edge.right = right;\n } else if (edge.left === right) {\n edge[1] = vertex;\n } else {\n edge[0] = vertex;\n }\n}\n\n// Liang–Barsky line clipping.\nfunction clipEdge(edge, x0, y0, x1, y1) {\n var a = edge[0],\n b = edge[1],\n ax = a[0],\n ay = a[1],\n bx = b[0],\n by = b[1],\n t0 = 0,\n t1 = 1,\n dx = bx - ax,\n dy = by - ay,\n r;\n\n r = x0 - ax;\n if (!dx && r > 0) return;\n r /= dx;\n if (dx < 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n } else if (dx > 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n }\n\n r = x1 - ax;\n if (!dx && r < 0) return;\n r /= dx;\n if (dx < 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n } else if (dx > 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n }\n\n r = y0 - ay;\n if (!dy && r > 0) return;\n r /= dy;\n if (dy < 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n } else if (dy > 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n }\n\n r = y1 - ay;\n if (!dy && r < 0) return;\n r /= dy;\n if (dy < 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n } else if (dy > 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n }\n\n if (!(t0 > 0) && !(t1 < 1)) return true; // TODO Better check?\n\n if (t0 > 0) edge[0] = [ax + t0 * dx, ay + t0 * dy];\n if (t1 < 1) edge[1] = [ax + t1 * dx, ay + t1 * dy];\n return true;\n}\n\nfunction connectEdge(edge, x0, y0, x1, y1) {\n var v1 = edge[1];\n if (v1) return true;\n\n var v0 = edge[0],\n left = edge.left,\n right = edge.right,\n lx = left[0],\n ly = left[1],\n rx = right[0],\n ry = right[1],\n fx = (lx + rx) / 2,\n fy = (ly + ry) / 2,\n fm,\n fb;\n\n if (ry === ly) {\n if (fx < x0 || fx >= x1) return;\n if (lx > rx) {\n if (!v0) v0 = [fx, y0];\n else if (v0[1] >= y1) return;\n v1 = [fx, y1];\n } else {\n if (!v0) v0 = [fx, y1];\n else if (v0[1] < y0) return;\n v1 = [fx, y0];\n }\n } else {\n fm = (lx - rx) / (ry - ly);\n fb = fy - fm * fx;\n if (fm < -1 || fm > 1) {\n if (lx > rx) {\n if (!v0) v0 = [(y0 - fb) / fm, y0];\n else if (v0[1] >= y1) return;\n v1 = [(y1 - fb) / fm, y1];\n } else {\n if (!v0) v0 = [(y1 - fb) / fm, y1];\n else if (v0[1] < y0) return;\n v1 = [(y0 - fb) / fm, y0];\n }\n } else {\n if (ly < ry) {\n if (!v0) v0 = [x0, fm * x0 + fb];\n else if (v0[0] >= x1) return;\n v1 = [x1, fm * x1 + fb];\n } else {\n if (!v0) v0 = [x1, fm * x1 + fb];\n else if (v0[0] < x0) return;\n v1 = [x0, fm * x0 + fb];\n }\n }\n }\n\n edge[0] = v0;\n edge[1] = v1;\n return true;\n}\n\nexport function clipEdges(x0, y0, x1, y1) {\n var i = edges.length,\n edge;\n\n while (i--) {\n if (!connectEdge(edge = edges[i], x0, y0, x1, y1)\n || !clipEdge(edge, x0, y0, x1, y1)\n || !(Math.abs(edge[0][0] - edge[1][0]) > epsilon\n || Math.abs(edge[0][1] - edge[1][1]) > epsilon)) {\n delete edges[i];\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "name": "./node_modules/d3-voronoi/src/Cell.js", "index": 515, "index2": 509, "size": 4087, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/Diagram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "profile": { "factory": 100, "building": 31 } } ], "profile": { "factory": 79, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony side effect evaluation", "userRequest": "./Cell", "loc": "2:0-71" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony side effect evaluation", "userRequest": "./Cell", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Cell", "loc": "49:2-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Cell", "loc": "57:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Cell", "loc": "76:60-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Cell", "loc": "116:2-12" } ], "usedExports": [ "sortCellHalfedges", "clipCells", "cellHalfedgeStart", "createCell" ], "providedExports": [ "createCell", "cellHalfedgeStart", "cellHalfedgeEnd", "sortCellHalfedges", "clipCells" ], "optimizationBailout": [], "depth": 6, "source": "import {createBorderEdge} from \"./Edge\";\nimport {cells, edges, epsilon} from \"./Diagram\";\n\nexport function createCell(site) {\n return cells[site.index] = {\n site: site,\n halfedges: []\n };\n}\n\nfunction cellHalfedgeAngle(cell, edge) {\n var site = cell.site,\n va = edge.left,\n vb = edge.right;\n if (site === vb) vb = va, va = site;\n if (vb) return Math.atan2(vb[1] - va[1], vb[0] - va[0]);\n if (site === va) va = edge[1], vb = edge[0];\n else va = edge[0], vb = edge[1];\n return Math.atan2(va[0] - vb[0], vb[1] - va[1]);\n}\n\nexport function cellHalfedgeStart(cell, edge) {\n return edge[+(edge.left !== cell.site)];\n}\n\nexport function cellHalfedgeEnd(cell, edge) {\n return edge[+(edge.left === cell.site)];\n}\n\nexport function sortCellHalfedges() {\n for (var i = 0, n = cells.length, cell, halfedges, j, m; i < n; ++i) {\n if ((cell = cells[i]) && (m = (halfedges = cell.halfedges).length)) {\n var index = new Array(m),\n array = new Array(m);\n for (j = 0; j < m; ++j) index[j] = j, array[j] = cellHalfedgeAngle(cell, edges[halfedges[j]]);\n index.sort(function(i, j) { return array[j] - array[i]; });\n for (j = 0; j < m; ++j) array[j] = halfedges[index[j]];\n for (j = 0; j < m; ++j) halfedges[j] = array[j];\n }\n }\n}\n\nexport function clipCells(x0, y0, x1, y1) {\n var nCells = cells.length,\n iCell,\n cell,\n site,\n iHalfedge,\n halfedges,\n nHalfedges,\n start,\n startX,\n startY,\n end,\n endX,\n endY,\n cover = true;\n\n for (iCell = 0; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n site = cell.site;\n halfedges = cell.halfedges;\n iHalfedge = halfedges.length;\n\n // Remove any dangling clipped edges.\n while (iHalfedge--) {\n if (!edges[halfedges[iHalfedge]]) {\n halfedges.splice(iHalfedge, 1);\n }\n }\n\n // Insert any border edges as necessary.\n iHalfedge = 0, nHalfedges = halfedges.length;\n while (iHalfedge < nHalfedges) {\n end = cellHalfedgeEnd(cell, edges[halfedges[iHalfedge]]), endX = end[0], endY = end[1];\n start = cellHalfedgeStart(cell, edges[halfedges[++iHalfedge % nHalfedges]]), startX = start[0], startY = start[1];\n if (Math.abs(endX - startX) > epsilon || Math.abs(endY - startY) > epsilon) {\n halfedges.splice(iHalfedge, 0, edges.push(createBorderEdge(site, end,\n Math.abs(endX - x0) < epsilon && y1 - endY > epsilon ? [x0, Math.abs(startX - x0) < epsilon ? startY : y1]\n : Math.abs(endY - y1) < epsilon && x1 - endX > epsilon ? [Math.abs(startY - y1) < epsilon ? startX : x1, y1]\n : Math.abs(endX - x1) < epsilon && endY - y0 > epsilon ? [x1, Math.abs(startX - x1) < epsilon ? startY : y0]\n : Math.abs(endY - y0) < epsilon && endX - x0 > epsilon ? [Math.abs(startY - y0) < epsilon ? startX : x0, y0]\n : null)) - 1);\n ++nHalfedges;\n }\n }\n\n if (nHalfedges) cover = false;\n }\n }\n\n // If there weren’t any edges, have the closest site cover the extent.\n // It doesn’t matter which corner of the extent we measure!\n if (cover) {\n var dx, dy, d2, dc = Infinity;\n\n for (iCell = 0, cover = null; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n site = cell.site;\n dx = site[0] - x0;\n dy = site[1] - y0;\n d2 = dx * dx + dy * dy;\n if (d2 < dc) dc = d2, cover = cell;\n }\n }\n\n if (cover) {\n var v00 = [x0, y0], v01 = [x0, y1], v11 = [x1, y1], v10 = [x1, y0];\n cover.halfedges.push(\n edges.push(createBorderEdge(site = cover.site, v00, v01)) - 1,\n edges.push(createBorderEdge(site, v01, v11)) - 1,\n edges.push(createBorderEdge(site, v11, v10)) - 1,\n edges.push(createBorderEdge(site, v10, v00)) - 1\n );\n }\n }\n\n // Lastly delete any cells with no edges; these were entirely clipped.\n for (iCell = 0; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n if (!cell.halfedges.length) {\n delete cells[iCell];\n }\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "name": "./node_modules/d3-voronoi/src/Circle.js", "index": 517, "index2": 510, "size": 1632, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/Diagram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "profile": { "factory": 100, "building": 31 } } ], "profile": { "factory": 79, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony side effect evaluation", "userRequest": "./Circle", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony side effect evaluation", "userRequest": "./Circle", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "23:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "35:13-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "51:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "64:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "78:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "79:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "123:4-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "127:4-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "128:4-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "138:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "139:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "157:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "158:2-14" } ], "usedExports": [ "firstCircle", "detachCircle", "attachCircle" ], "providedExports": [ "firstCircle", "attachCircle", "detachCircle" ], "optimizationBailout": [], "depth": 6, "source": "import {RedBlackNode} from \"./RedBlackTree\";\nimport {circles, epsilon2} from \"./Diagram\";\n\nvar circlePool = [];\n\nexport var firstCircle;\n\nfunction Circle() {\n RedBlackNode(this);\n this.x =\n this.y =\n this.arc =\n this.site =\n this.cy = null;\n}\n\nexport function attachCircle(arc) {\n var lArc = arc.P,\n rArc = arc.N;\n\n if (!lArc || !rArc) return;\n\n var lSite = lArc.site,\n cSite = arc.site,\n rSite = rArc.site;\n\n if (lSite === rSite) return;\n\n var bx = cSite[0],\n by = cSite[1],\n ax = lSite[0] - bx,\n ay = lSite[1] - by,\n cx = rSite[0] - bx,\n cy = rSite[1] - by;\n\n var d = 2 * (ax * cy - ay * cx);\n if (d >= -epsilon2) return;\n\n var ha = ax * ax + ay * ay,\n hc = cx * cx + cy * cy,\n x = (cy * ha - ay * hc) / d,\n y = (ax * hc - cx * ha) / d;\n\n var circle = circlePool.pop() || new Circle;\n circle.arc = arc;\n circle.site = cSite;\n circle.x = x + bx;\n circle.y = (circle.cy = y + by) + Math.sqrt(x * x + y * y); // y bottom\n\n arc.circle = circle;\n\n var before = null,\n node = circles._;\n\n while (node) {\n if (circle.y < node.y || (circle.y === node.y && circle.x <= node.x)) {\n if (node.L) node = node.L;\n else { before = node.P; break; }\n } else {\n if (node.R) node = node.R;\n else { before = node; break; }\n }\n }\n\n circles.insert(before, circle);\n if (!before) firstCircle = circle;\n}\n\nexport function detachCircle(arc) {\n var circle = arc.circle;\n if (circle) {\n if (!circle.P) firstCircle = circle.N;\n circles.remove(circle);\n circlePool.push(circle);\n RedBlackNode(circle);\n arc.circle = null;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "name": "./node_modules/d3-voronoi/src/Beach.js", "index": 513, "index2": 511, "size": 4381, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/Diagram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "profile": { "factory": 100, "building": 31 } } ], "profile": { "factory": 79, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony side effect evaluation", "userRequest": "./Beach", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Beach", "loc": "38:8-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Beach", "loc": "43:6-17" } ], "usedExports": [ "addBeach", "removeBeach" ], "providedExports": [ "removeBeach", "addBeach" ], "optimizationBailout": [], "depth": 6, "source": "import {RedBlackNode} from \"./RedBlackTree\";\nimport {createCell} from \"./Cell\";\nimport {attachCircle, detachCircle} from \"./Circle\";\nimport {createEdge, setEdgeEnd} from \"./Edge\";\nimport {beaches, epsilon} from \"./Diagram\";\n\nvar beachPool = [];\n\nfunction Beach() {\n RedBlackNode(this);\n this.edge =\n this.site =\n this.circle = null;\n}\n\nfunction createBeach(site) {\n var beach = beachPool.pop() || new Beach;\n beach.site = site;\n return beach;\n}\n\nfunction detachBeach(beach) {\n detachCircle(beach);\n beaches.remove(beach);\n beachPool.push(beach);\n RedBlackNode(beach);\n}\n\nexport function removeBeach(beach) {\n var circle = beach.circle,\n x = circle.x,\n y = circle.cy,\n vertex = [x, y],\n previous = beach.P,\n next = beach.N,\n disappearing = [beach];\n\n detachBeach(beach);\n\n var lArc = previous;\n while (lArc.circle\n && Math.abs(x - lArc.circle.x) < epsilon\n && Math.abs(y - lArc.circle.cy) < epsilon) {\n previous = lArc.P;\n disappearing.unshift(lArc);\n detachBeach(lArc);\n lArc = previous;\n }\n\n disappearing.unshift(lArc);\n detachCircle(lArc);\n\n var rArc = next;\n while (rArc.circle\n && Math.abs(x - rArc.circle.x) < epsilon\n && Math.abs(y - rArc.circle.cy) < epsilon) {\n next = rArc.N;\n disappearing.push(rArc);\n detachBeach(rArc);\n rArc = next;\n }\n\n disappearing.push(rArc);\n detachCircle(rArc);\n\n var nArcs = disappearing.length,\n iArc;\n for (iArc = 1; iArc < nArcs; ++iArc) {\n rArc = disappearing[iArc];\n lArc = disappearing[iArc - 1];\n setEdgeEnd(rArc.edge, lArc.site, rArc.site, vertex);\n }\n\n lArc = disappearing[0];\n rArc = disappearing[nArcs - 1];\n rArc.edge = createEdge(lArc.site, rArc.site, null, vertex);\n\n attachCircle(lArc);\n attachCircle(rArc);\n}\n\nexport function addBeach(site) {\n var x = site[0],\n directrix = site[1],\n lArc,\n rArc,\n dxl,\n dxr,\n node = beaches._;\n\n while (node) {\n dxl = leftBreakPoint(node, directrix) - x;\n if (dxl > epsilon) node = node.L; else {\n dxr = x - rightBreakPoint(node, directrix);\n if (dxr > epsilon) {\n if (!node.R) {\n lArc = node;\n break;\n }\n node = node.R;\n } else {\n if (dxl > -epsilon) {\n lArc = node.P;\n rArc = node;\n } else if (dxr > -epsilon) {\n lArc = node;\n rArc = node.N;\n } else {\n lArc = rArc = node;\n }\n break;\n }\n }\n }\n\n createCell(site);\n var newArc = createBeach(site);\n beaches.insert(lArc, newArc);\n\n if (!lArc && !rArc) return;\n\n if (lArc === rArc) {\n detachCircle(lArc);\n rArc = createBeach(lArc.site);\n beaches.insert(newArc, rArc);\n newArc.edge = rArc.edge = createEdge(lArc.site, newArc.site);\n attachCircle(lArc);\n attachCircle(rArc);\n return;\n }\n\n if (!rArc) { // && lArc\n newArc.edge = createEdge(lArc.site, newArc.site);\n return;\n }\n\n // else lArc !== rArc\n detachCircle(lArc);\n detachCircle(rArc);\n\n var lSite = lArc.site,\n ax = lSite[0],\n ay = lSite[1],\n bx = site[0] - ax,\n by = site[1] - ay,\n rSite = rArc.site,\n cx = rSite[0] - ax,\n cy = rSite[1] - ay,\n d = 2 * (bx * cy - by * cx),\n hb = bx * bx + by * by,\n hc = cx * cx + cy * cy,\n vertex = [(cy * hb - by * hc) / d + ax, (bx * hc - cx * hb) / d + ay];\n\n setEdgeEnd(rArc.edge, lSite, rSite, vertex);\n newArc.edge = createEdge(lSite, site, null, vertex);\n rArc.edge = createEdge(site, rSite, null, vertex);\n attachCircle(lArc);\n attachCircle(rArc);\n}\n\nfunction leftBreakPoint(arc, directrix) {\n var site = arc.site,\n rfocx = site[0],\n rfocy = site[1],\n pby2 = rfocy - directrix;\n\n if (!pby2) return rfocx;\n\n var lArc = arc.P;\n if (!lArc) return -Infinity;\n\n site = lArc.site;\n var lfocx = site[0],\n lfocy = site[1],\n plby2 = lfocy - directrix;\n\n if (!plby2) return lfocx;\n\n var hl = lfocx - rfocx,\n aby2 = 1 / pby2 - 1 / plby2,\n b = hl / plby2;\n\n if (aby2) return (-b + Math.sqrt(b * b - 2 * aby2 * (hl * hl / (-2 * plby2) - lfocy + plby2 / 2 + rfocy - pby2 / 2))) / aby2 + rfocx;\n\n return (rfocx + lfocx) / 2;\n}\n\nfunction rightBreakPoint(arc, directrix) {\n var rArc = arc.N;\n if (rArc) return leftBreakPoint(rArc, directrix);\n var site = arc.site;\n return site[1] === directrix ? site[0] : Infinity;\n}\n" } ], "filteredModules": 0 }, { "id": 1, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "name": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "index": 555, "index2": 553, "size": 32724, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/sequenceDiagram", "loc": "4:0-50" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "8:0-6" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/parser/sequenceDiagram", "loc": "26:0-72" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "84:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/parser/sequenceDiagram", "loc": "93:15-29" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:15-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:53-59" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:97-103" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "351:15-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "351:52-58" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "355:15-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "355:58-64" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "458:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "459:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "460:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "465:15-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "466:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "467:17-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "468:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "496:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "501:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "505:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "509:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "515:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "522:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "528:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "535:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "541:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "548:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "554:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "560:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "567:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "573:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "579:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:9-15" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:40-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:72-78" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:98-104" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:125-131" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:157-163" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "661:28-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "666:28-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "700:35-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "702:35-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "704:35-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "781:24-30" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "784:31-37" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:7-13" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:38-44" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:70-76" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:96-102" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:123-129" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:155-161" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "852:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "853:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "854:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "855:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "865:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "866:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "876:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "877:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "878:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "879:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "884:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "899:11-17" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,2],$V1=[1,3],$V2=[1,5],$V3=[1,7],$V4=[2,5],$V5=[1,15],$V6=[1,17],$V7=[1,18],$V8=[1,20],$V9=[1,21],$Va=[1,22],$Vb=[1,24],$Vc=[1,25],$Vd=[1,26],$Ve=[1,27],$Vf=[1,28],$Vg=[1,29],$Vh=[1,32],$Vi=[1,33],$Vj=[1,36],$Vk=[1,4,5,16,21,22,23,25,27,28,29,30,31,33,35,36,37,48,56],$Vl=[1,44],$Vm=[4,5,16,21,22,23,25,27,28,29,30,31,33,37,48,56],$Vn=[4,5,16,21,22,23,25,27,28,29,30,31,33,36,37,48,56],$Vo=[4,5,16,21,22,23,25,27,28,29,30,31,33,35,37,48,56],$Vp=[46,47,48],$Vq=[1,4,5,7,16,21,22,23,25,27,28,29,30,31,33,35,36,37,48,56];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"SPACE\":4,\"NL\":5,\"directive\":6,\"SD\":7,\"document\":8,\"line\":9,\"statement\":10,\"openDirective\":11,\"typeDirective\":12,\"closeDirective\":13,\":\":14,\"argDirective\":15,\"participant\":16,\"actor\":17,\"AS\":18,\"restOfLine\":19,\"signal\":20,\"autonumber\":21,\"activate\":22,\"deactivate\":23,\"note_statement\":24,\"title\":25,\"text2\":26,\"loop\":27,\"end\":28,\"rect\":29,\"opt\":30,\"alt\":31,\"else_sections\":32,\"par\":33,\"par_sections\":34,\"and\":35,\"else\":36,\"note\":37,\"placement\":38,\"over\":39,\"actor_pair\":40,\"spaceList\":41,\",\":42,\"left_of\":43,\"right_of\":44,\"signaltype\":45,\"+\":46,\"-\":47,\"ACTOR\":48,\"SOLID_OPEN_ARROW\":49,\"DOTTED_OPEN_ARROW\":50,\"SOLID_ARROW\":51,\"DOTTED_ARROW\":52,\"SOLID_CROSS\":53,\"DOTTED_CROSS\":54,\"TXT\":55,\"open_directive\":56,\"type_directive\":57,\"arg_directive\":58,\"close_directive\":59,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"SPACE\",5:\"NL\",7:\"SD\",14:\":\",16:\"participant\",18:\"AS\",19:\"restOfLine\",21:\"autonumber\",22:\"activate\",23:\"deactivate\",25:\"title\",27:\"loop\",28:\"end\",29:\"rect\",30:\"opt\",31:\"alt\",33:\"par\",35:\"and\",36:\"else\",37:\"note\",39:\"over\",42:\",\",43:\"left_of\",44:\"right_of\",46:\"+\",47:\"-\",48:\"ACTOR\",49:\"SOLID_OPEN_ARROW\",50:\"DOTTED_OPEN_ARROW\",51:\"SOLID_ARROW\",52:\"DOTTED_ARROW\",53:\"SOLID_CROSS\",54:\"DOTTED_CROSS\",55:\"TXT\",56:\"open_directive\",57:\"type_directive\",58:\"arg_directive\",59:\"close_directive\"},\nproductions_: [0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,2],[10,1],[10,3],[10,3],[10,2],[10,3],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[34,1],[34,4],[32,1],[32,4],[24,4],[24,4],[41,2],[41,1],[40,3],[40,1],[38,1],[38,1],[20,5],[20,5],[20,4],[17,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[26,1],[11,1],[12,1],[15,1],[13,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 4:\n yy.apply($$[$0]);return $$[$0]; \nbreak;\ncase 5:\n this.$ = [] \nbreak;\ncase 6:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 7: case 8:\n this.$ = $$[$0] \nbreak;\ncase 9:\n this.$=[]; \nbreak;\ncase 12:\n$$[$0-3].description=yy.parseMessage($$[$0-1]); this.$=$$[$0-3];\nbreak;\ncase 13:\nthis.$=$$[$0-1];\nbreak;\ncase 15:\nyy.enableSequenceNumbers()\nbreak;\ncase 16:\nthis.$={type: 'activeStart', signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0-1]};\nbreak;\ncase 17:\nthis.$={type: 'activeEnd', signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0-1]};\nbreak;\ncase 19:\nthis.$=[{type:'setTitle', text:$$[$0-1]}]\nbreak;\ncase 20:\n\n\t\t$$[$0-1].unshift({type: 'loopStart', loopText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.LOOP_START});\n\t\t$$[$0-1].push({type: 'loopEnd', loopText:$$[$0-2], signalType: yy.LINETYPE.LOOP_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 21:\n\n\t\t$$[$0-1].unshift({type: 'rectStart', color:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.RECT_START });\n\t\t$$[$0-1].push({type: 'rectEnd', color:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.RECT_END });\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 22:\n\n\t\t$$[$0-1].unshift({type: 'optStart', optText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.OPT_START});\n\t\t$$[$0-1].push({type: 'optEnd', optText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.OPT_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 23:\n\n\t\t// Alt start\n\t\t$$[$0-1].unshift({type: 'altStart', altText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.ALT_START});\n\t\t// Content in alt is already in $$[$0-1]\n\t\t// End\n\t\t$$[$0-1].push({type: 'altEnd', signalType: yy.LINETYPE.ALT_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 24:\n\n\t\t// Parallel start\n\t\t$$[$0-1].unshift({type: 'parStart', parText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.PAR_START});\n\t\t// Content in par is already in $$[$0-1]\n\t\t// End\n\t\t$$[$0-1].push({type: 'parEnd', signalType: yy.LINETYPE.PAR_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 27:\n this.$ = $$[$0-3].concat([{type: 'and', parText:yy.parseMessage($$[$0-1]), signalType: yy.LINETYPE.PAR_AND}, $$[$0]]); \nbreak;\ncase 29:\n this.$ = $$[$0-3].concat([{type: 'else', altText:yy.parseMessage($$[$0-1]), signalType: yy.LINETYPE.ALT_ELSE}, $$[$0]]); \nbreak;\ncase 30:\n\n\t\tthis.$ = [$$[$0-1], {type:'addNote', placement:$$[$0-2], actor:$$[$0-1].actor, text:$$[$0]}];\nbreak;\ncase 31:\n\n\t\t// Coerce actor_pair into a [to, from, ...] array\n\t\t$$[$0-2] = [].concat($$[$0-1], $$[$0-1]).slice(0, 2);\n\t\t$$[$0-2][0] = $$[$0-2][0].actor;\n\t\t$$[$0-2][1] = $$[$0-2][1].actor;\n\t\tthis.$ = [$$[$0-1], {type:'addNote', placement:yy.PLACEMENT.OVER, actor:$$[$0-2].slice(0, 2), text:$$[$0]}];\nbreak;\ncase 34:\n this.$ = [$$[$0-2], $$[$0]]; \nbreak;\ncase 35:\n this.$ = $$[$0]; \nbreak;\ncase 36:\n this.$ = yy.PLACEMENT.LEFTOF; \nbreak;\ncase 37:\n this.$ = yy.PLACEMENT.RIGHTOF; \nbreak;\ncase 38:\n this.$ = [$$[$0-4],$$[$0-1],{type: 'addMessage', from:$$[$0-4].actor, to:$$[$0-1].actor, signalType:$$[$0-3], msg:$$[$0]},\n\t {type: 'activeStart', signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0-1]}\n\t ]\nbreak;\ncase 39:\n this.$ = [$$[$0-4],$$[$0-1],{type: 'addMessage', from:$$[$0-4].actor, to:$$[$0-1].actor, signalType:$$[$0-3], msg:$$[$0]},\n\t {type: 'activeEnd', signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0-4]}\n\t ]\nbreak;\ncase 40:\n this.$ = [$$[$0-3],$$[$0-1],{type: 'addMessage', from:$$[$0-3].actor, to:$$[$0-1].actor, signalType:$$[$0-2], msg:$$[$0]}]\nbreak;\ncase 41:\nthis.$={type: 'addActor', actor:$$[$0]}\nbreak;\ncase 42:\n this.$ = yy.LINETYPE.SOLID_OPEN; \nbreak;\ncase 43:\n this.$ = yy.LINETYPE.DOTTED_OPEN; \nbreak;\ncase 44:\n this.$ = yy.LINETYPE.SOLID; \nbreak;\ncase 45:\n this.$ = yy.LINETYPE.DOTTED; \nbreak;\ncase 46:\n this.$ = yy.LINETYPE.SOLID_CROSS; \nbreak;\ncase 47:\n this.$ = yy.LINETYPE.DOTTED_CROSS; \nbreak;\ncase 48:\nthis.$ = yy.parseMessage($$[$0].trim().substring(1)) \nbreak;\ncase 49:\n yy.parseDirective('%%{', 'open_directive'); \nbreak;\ncase 50:\n yy.parseDirective($$[$0], 'type_directive'); \nbreak;\ncase 51:\n $$[$0] = $$[$0].trim().replace(/'/g, '\"'); yy.parseDirective($$[$0], 'arg_directive'); \nbreak;\ncase 52:\n yy.parseDirective('}%%', 'close_directive', 'sequence'); \nbreak;\n}\n},\ntable: [{3:1,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{1:[3]},{3:8,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{3:9,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{3:10,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},o([1,4,5,16,21,22,23,25,27,29,30,31,33,37,48,56],$V4,{8:11}),{12:12,57:[1,13]},{57:[2,49]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{13:34,14:[1,35],59:$Vj},o([14,59],[2,50]),o($Vk,[2,6]),{6:30,10:37,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},o($Vk,[2,8]),o($Vk,[2,9]),{17:38,48:$Vi},{5:[1,39]},o($Vk,[2,15]),{17:40,48:$Vi},{17:41,48:$Vi},{5:[1,42]},{26:43,55:$Vl},{19:[1,45]},{19:[1,46]},{19:[1,47]},{19:[1,48]},{19:[1,49]},o($Vk,[2,25]),{45:50,49:[1,51],50:[1,52],51:[1,53],52:[1,54],53:[1,55],54:[1,56]},{38:57,39:[1,58],43:[1,59],44:[1,60]},o([5,18,42,49,50,51,52,53,54,55],[2,41]),{5:[1,61]},{15:62,58:[1,63]},{5:[2,52]},o($Vk,[2,7]),{5:[1,65],18:[1,64]},o($Vk,[2,14]),{5:[1,66]},{5:[1,67]},o($Vk,[2,18]),{5:[1,68]},{5:[2,48]},o($Vm,$V4,{8:69}),o($Vm,$V4,{8:70}),o($Vm,$V4,{8:71}),o($Vn,$V4,{32:72,8:73}),o($Vo,$V4,{34:74,8:75}),{17:78,46:[1,76],47:[1,77],48:$Vi},o($Vp,[2,42]),o($Vp,[2,43]),o($Vp,[2,44]),o($Vp,[2,45]),o($Vp,[2,46]),o($Vp,[2,47]),{17:79,48:$Vi},{17:81,40:80,48:$Vi},{48:[2,36]},{48:[2,37]},o($Vq,[2,10]),{13:82,59:$Vj},{59:[2,51]},{19:[1,83]},o($Vk,[2,13]),o($Vk,[2,16]),o($Vk,[2,17]),o($Vk,[2,19]),{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,84],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,85],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,86],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{28:[1,87]},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[2,28],29:$Vd,30:$Ve,31:$Vf,33:$Vg,36:[1,88],37:$Vh,48:$Vi,56:$V3},{28:[1,89]},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[2,26],29:$Vd,30:$Ve,31:$Vf,33:$Vg,35:[1,90],37:$Vh,48:$Vi,56:$V3},{17:91,48:$Vi},{17:92,48:$Vi},{26:93,55:$Vl},{26:94,55:$Vl},{26:95,55:$Vl},{42:[1,96],55:[2,35]},{5:[1,97]},{5:[1,98]},o($Vk,[2,20]),o($Vk,[2,21]),o($Vk,[2,22]),o($Vk,[2,23]),{19:[1,99]},o($Vk,[2,24]),{19:[1,100]},{26:101,55:$Vl},{26:102,55:$Vl},{5:[2,40]},{5:[2,30]},{5:[2,31]},{17:103,48:$Vi},o($Vq,[2,11]),o($Vk,[2,12]),o($Vn,$V4,{8:73,32:104}),o($Vo,$V4,{8:75,34:105}),{5:[2,38]},{5:[2,39]},{55:[2,34]},{28:[2,29]},{28:[2,27]}],\ndefaultActions: {7:[2,49],8:[2,1],9:[2,2],10:[2,3],36:[2,52],44:[2,48],59:[2,36],60:[2,37],63:[2,51],93:[2,40],94:[2,30],95:[2,31],101:[2,38],102:[2,39],103:[2,34],104:[2,29],105:[2,27]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0: this.begin('OPEN_DIRECTIVE'); return 56; \nbreak;\ncase 1: this.begin('TYPE_DIRECTIVE'); return 57; \nbreak;\ncase 2: this.popState(); this.begin('ARG_DIRECTIVE'); return 14; \nbreak;\ncase 3: this.popState(); this.popState(); return 59; \nbreak;\ncase 4:return 58;\nbreak;\ncase 5:return 5;\nbreak;\ncase 6:/* skip all whitespace */\nbreak;\ncase 7:/* skip same-line whitespace */\nbreak;\ncase 8:/* skip comments */\nbreak;\ncase 9:/* skip comments */\nbreak;\ncase 10:/* skip comments */\nbreak;\ncase 11: this.begin('ID'); return 16; \nbreak;\ncase 12: yy_.yytext = yy_.yytext.trim(); this.begin('ALIAS'); return 48; \nbreak;\ncase 13: this.popState(); this.popState(); this.begin('LINE'); return 18; \nbreak;\ncase 14: this.popState(); this.popState(); return 5; \nbreak;\ncase 15: this.begin('LINE'); return 27; \nbreak;\ncase 16: this.begin('LINE'); return 29; \nbreak;\ncase 17: this.begin('LINE'); return 30; \nbreak;\ncase 18: this.begin('LINE'); return 31; \nbreak;\ncase 19: this.begin('LINE'); return 36; \nbreak;\ncase 20: this.begin('LINE'); return 33; \nbreak;\ncase 21: this.begin('LINE'); return 35; \nbreak;\ncase 22: this.popState(); return 19; \nbreak;\ncase 23:return 28;\nbreak;\ncase 24:return 43;\nbreak;\ncase 25:return 44;\nbreak;\ncase 26:return 39;\nbreak;\ncase 27:return 37;\nbreak;\ncase 28: this.begin('ID'); return 22; \nbreak;\ncase 29: this.begin('ID'); return 23; \nbreak;\ncase 30:return 25;\nbreak;\ncase 31:return 7;\nbreak;\ncase 32:return 21;\nbreak;\ncase 33:return 42;\nbreak;\ncase 34:return 5;\nbreak;\ncase 35: yy_.yytext = yy_.yytext.trim(); return 48; \nbreak;\ncase 36:return 51;\nbreak;\ncase 37:return 52;\nbreak;\ncase 38:return 49;\nbreak;\ncase 39:return 50;\nbreak;\ncase 40:return 53;\nbreak;\ncase 41:return 54;\nbreak;\ncase 42:return 55;\nbreak;\ncase 43:return 46;\nbreak;\ncase 44:return 47;\nbreak;\ncase 45:return 5;\nbreak;\ncase 46:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:%%\\{)/i,/^(?:((?:(?!\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\}%%)/i,/^(?:((?:(?!\\}%%).|\\n)*))/i,/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:((?!\\n)\\s)+)/i,/^(?:#[^\\n]*)/i,/^(?:%(?!\\{)[^\\n]*)/i,/^(?:[^\\}]%%[^\\n]*)/i,/^(?:participant\\b)/i,/^(?:[^\\->:\\n,;]+?(?=((?!\\n)\\s)+as(?!\\n)\\s|[#\\n;]|$))/i,/^(?:as\\b)/i,/^(?:(?:))/i,/^(?:loop\\b)/i,/^(?:rect\\b)/i,/^(?:opt\\b)/i,/^(?:alt\\b)/i,/^(?:else\\b)/i,/^(?:par\\b)/i,/^(?:and\\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\\n;]*)/i,/^(?:end\\b)/i,/^(?:left of\\b)/i,/^(?:right of\\b)/i,/^(?:over\\b)/i,/^(?:note\\b)/i,/^(?:activate\\b)/i,/^(?:deactivate\\b)/i,/^(?:title\\b)/i,/^(?:sequenceDiagram\\b)/i,/^(?:autonumber\\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\\+\\->:\\n,;]+)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?::(?:(?:no)?wrap)?[^#\\n;]+)/i,/^(?:\\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"LINE\":{\"rules\":[7,8,22],\"inclusive\":false},\"ARG_DIRECTIVE\":{\"rules\":[3,4,8],\"inclusive\":false},\"TYPE_DIRECTIVE\":{\"rules\":[2,3,8],\"inclusive\":false},\"OPEN_DIRECTIVE\":{\"rules\":[1,8],\"inclusive\":false},\"ALIAS\":{\"rules\":[7,8,13,14],\"inclusive\":false},\"ID\":{\"rules\":[7,8,12],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,5,6,8,9,10,11,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "index": 572, "index2": 783, "size": 1723, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 2701, "building": 33, "dependencies": 622 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 13, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/graphlib.js", "module": "./node_modules/dagre/lib/graphlib.js", "moduleName": "./node_modules/dagre/lib/graphlib.js", "type": "cjs require", "userRequest": "graphlib", "loc": "7:15-34" }, { "moduleId": 281, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/graphlib.js", "module": "./node_modules/dagre-d3/lib/graphlib.js", "moduleName": "./node_modules/dagre-d3/lib/graphlib.js", "type": "cjs require", "userRequest": "graphlib", "loc": "7:15-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "2:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "3:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "3:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "5:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "12:41-49" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "40:18-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "66:14-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "76:18-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "92:35-43" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "130:28-36" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "132:27-35" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "223:10-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "237:14-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "253:29-37" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "262:35-43" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "301:29-37" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "312:14-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "314:41-49" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "323:40-48" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "324:40-48" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "335:14-22" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "/**\n * Copyright (c) 2014, Chris Pettitt\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nvar lib = require(\"./lib\");\n\nmodule.exports = {\n Graph: lib.Graph,\n json: require(\"./lib/json\"),\n alg: require(\"./lib/alg\"),\n version: lib.version\n};\n" }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "index": 793, "index2": 830, "size": 1255, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/util.js", "module": "./node_modules/dagre/lib/util.js", "moduleName": "./node_modules/dagre/lib/util.js", "type": "cjs require", "userRequest": "./lodash", "loc": "5:8-27" }, { "moduleId": 62, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/util.js", "module": "./node_modules/dagre/lib/rank/util.js", "moduleName": "./node_modules/dagre/lib/rank/util.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 147, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/feasible-tree.js", "module": "./node_modules/dagre/lib/rank/feasible-tree.js", "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 315, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "module": "./node_modules/dagre/lib/acyclic.js", "moduleName": "./node_modules/dagre/lib/acyclic.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 316, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "module": "./node_modules/dagre/lib/greedy-fas.js", "moduleName": "./node_modules/dagre/lib/greedy-fas.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 318, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/normalize.js", "module": "./node_modules/dagre/lib/normalize.js", "moduleName": "./node_modules/dagre/lib/normalize.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 321, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/parent-dummy-chains.js", "module": "./node_modules/dagre/lib/parent-dummy-chains.js", "moduleName": "./node_modules/dagre/lib/parent-dummy-chains.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 322, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/nesting-graph.js", "module": "./node_modules/dagre/lib/nesting-graph.js", "moduleName": "./node_modules/dagre/lib/nesting-graph.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 323, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/add-border-segments.js", "module": "./node_modules/dagre/lib/add-border-segments.js", "moduleName": "./node_modules/dagre/lib/add-border-segments.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 324, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/coordinate-system.js", "module": "./node_modules/dagre/lib/coordinate-system.js", "moduleName": "./node_modules/dagre/lib/coordinate-system.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 326, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/init-order.js", "module": "./node_modules/dagre/lib/order/init-order.js", "moduleName": "./node_modules/dagre/lib/order/init-order.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 327, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/cross-count.js", "module": "./node_modules/dagre/lib/order/cross-count.js", "moduleName": "./node_modules/dagre/lib/order/cross-count.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 328, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "module": "./node_modules/dagre/lib/order/sort-subgraph.js", "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 329, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/barycenter.js", "module": "./node_modules/dagre/lib/order/barycenter.js", "moduleName": "./node_modules/dagre/lib/order/barycenter.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 330, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/resolve-conflicts.js", "module": "./node_modules/dagre/lib/order/resolve-conflicts.js", "moduleName": "./node_modules/dagre/lib/order/resolve-conflicts.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 331, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort.js", "module": "./node_modules/dagre/lib/order/sort.js", "moduleName": "./node_modules/dagre/lib/order/sort.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 332, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/build-layer-graph.js", "module": "./node_modules/dagre/lib/order/build-layer-graph.js", "moduleName": "./node_modules/dagre/lib/order/build-layer-graph.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 333, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/add-subgraph-constraints.js", "module": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", "moduleName": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 334, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "module": "./node_modules/dagre/lib/position/index.js", "moduleName": "./node_modules/dagre/lib/position/index.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 335, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/bk.js", "module": "./node_modules/dagre/lib/position/bk.js", "moduleName": "./node_modules/dagre/lib/position/bk.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 336, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/debug.js", "module": "./node_modules/dagre/lib/debug.js", "moduleName": "./node_modules/dagre/lib/debug.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n cloneDeep: require(\"lodash/cloneDeep\"),\n constant: require(\"lodash/constant\"),\n defaults: require(\"lodash/defaults\"),\n each: require(\"lodash/each\"),\n filter: require(\"lodash/filter\"),\n find: require(\"lodash/find\"),\n flatten: require(\"lodash/flatten\"),\n forEach: require(\"lodash/forEach\"),\n forIn: require(\"lodash/forIn\"),\n has: require(\"lodash/has\"),\n isUndefined: require(\"lodash/isUndefined\"),\n last: require(\"lodash/last\"),\n map: require(\"lodash/map\"),\n mapValues: require(\"lodash/mapValues\"),\n max: require(\"lodash/max\"),\n merge: require(\"lodash/merge\"),\n min: require(\"lodash/min\"),\n minBy: require(\"lodash/minBy\"),\n now: require(\"lodash/now\"),\n pick: require(\"lodash/pick\"),\n range: require(\"lodash/range\"),\n reduce: require(\"lodash/reduce\"),\n sortBy: require(\"lodash/sortBy\"),\n uniqueId: require(\"lodash/uniqueId\"),\n values: require(\"lodash/values\"),\n zipObject: require(\"lodash/zipObject\"),\n };\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n" }, { "id": 4, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArray.js", "name": "./node_modules/lodash/isArray.js", "index": 635, "index2": 623, "size": 488, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isArray", "loc": "13:15-40" }, { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "module": "./node_modules/lodash/_baseIteratee.js", "moduleName": "./node_modules/lodash/_baseIteratee.js", "type": "cjs require", "userRequest": "./isArray", "loc": "4:14-34" }, { "moduleId": 58, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "module": "./node_modules/lodash/_castPath.js", "moduleName": "./node_modules/lodash/_castPath.js", "type": "cjs require", "userRequest": "./isArray", "loc": "1:14-34" }, { "moduleId": 84, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isKey.js", "module": "./node_modules/lodash/_isKey.js", "moduleName": "./node_modules/lodash/_isKey.js", "type": "cjs require", "userRequest": "./isArray", "loc": "1:14-34" }, { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./isArray", "loc": "16:14-34" }, { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./isArray", "loc": "3:14-34" }, { "moduleId": 103, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetAllKeys.js", "module": "./node_modules/lodash/_baseGetAllKeys.js", "moduleName": "./node_modules/lodash/_baseGetAllKeys.js", "type": "cjs require", "userRequest": "./isArray", "loc": "2:14-34" }, { "moduleId": 109, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "module": "./node_modules/lodash/forEach.js", "moduleName": "./node_modules/lodash/forEach.js", "type": "cjs require", "userRequest": "./isArray", "loc": "4:14-34" }, { "moduleId": 111, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "module": "./node_modules/lodash/filter.js", "moduleName": "./node_modules/lodash/filter.js", "type": "cjs require", "userRequest": "./isArray", "loc": "4:14-34" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./isArray", "loc": "3:14-34" }, { "moduleId": 123, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "module": "./node_modules/lodash/map.js", "moduleName": "./node_modules/lodash/map.js", "type": "cjs require", "userRequest": "./isArray", "loc": "4:14-34" }, { "moduleId": 125, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "module": "./node_modules/lodash/reduce.js", "moduleName": "./node_modules/lodash/reduce.js", "type": "cjs require", "userRequest": "./isArray", "loc": "5:14-34" }, { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./isArray", "loc": "6:14-34" }, { "moduleId": 241, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseToString.js", "module": "./node_modules/lodash/_baseToString.js", "moduleName": "./node_modules/lodash/_baseToString.js", "type": "cjs require", "userRequest": "./isArray", "loc": "3:14-34" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./isArray", "loc": "4:14-34" }, { "moduleId": 250, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isString.js", "module": "./node_modules/lodash/isString.js", "moduleName": "./node_modules/lodash/isString.js", "type": "cjs require", "userRequest": "./isArray", "loc": "2:14-34" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./isArray", "loc": "6:14-34" }, { "moduleId": 257, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isFlattenable.js", "module": "./node_modules/lodash/_isFlattenable.js", "moduleName": "./node_modules/lodash/_isFlattenable.js", "type": "cjs require", "userRequest": "./isArray", "loc": "3:14-34" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isArray", "loc": "7:14-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n" }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "index": 787, "index2": 885, "size": 1374, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 2701, "building": 33, "dependencies": 622 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3", "loc": "1:0-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3", "loc": "6:0-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "23:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "56:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "84:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "109:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "134:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "159:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "184:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "212:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "224:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "267:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "282:14-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "349:15-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "357:4-11" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "/**\n * @license\n * Copyright (c) 2012-2013 Chris Pettitt\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nmodule.exports = {\n graphlib: require(\"./lib/graphlib\"),\n dagre: require(\"./lib/dagre\"),\n intersect: require(\"./lib/intersect\"),\n render: require(\"./lib/render\"),\n util: require(\"./lib/util\"),\n version: require(\"./lib/version\")\n};\n" }, { "id": 6, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/webpack/buildin/module.js", "name": "(webpack)/buildin/module.js", "index": 543, "index2": 538, "size": 497, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "issuerId": 18, "issuerName": "./node_modules/moment-mini/moment.min.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 18, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "name": "./node_modules/moment-mini/moment.min.js", "profile": { "factory": 1976, "building": 181 } } ], "profile": { "factory": 1415, "building": 30, "dependencies": 476 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 17, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "module": "./node_modules/moment-mini/moment.min.js", "moduleName": "./node_modules/moment-mini/moment.min.js", "type": "cjs require", "userRequest": "module", "loc": "1:0-41" }, { "moduleId": 22, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 23, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 24, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 34, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "module": "./node_modules/lodash/isBuffer.js", "moduleName": "./node_modules/lodash/isBuffer.js", "type": "cjs require", "userRequest": "module", "loc": "1:0-41" }, { "moduleId": 39, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 64, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 65, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 66, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 67, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 73, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nodeUtil.js", "module": "./node_modules/lodash/_nodeUtil.js", "moduleName": "./node_modules/lodash/_nodeUtil.js", "type": "cjs require", "userRequest": "module", "loc": "1:0-41" }, { "moduleId": 97, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneBuffer.js", "module": "./node_modules/lodash/_cloneBuffer.js", "moduleName": "./node_modules/lodash/_cloneBuffer.js", "type": "cjs require", "userRequest": "module", "loc": "1:0-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n" }, { "id": 7, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/util.js", "name": "./node_modules/dagre/lib/util.js", "index": 842, "index2": 834, "size": 5785, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "issuerId": 21, "issuerName": "./node_modules/dagre/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 98, "dependencies": 119 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/util", "loc": "29:10-31" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/util", "loc": "30:12-33" }, { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./util", "loc": "7:21-38" }, { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./util", "loc": "9:23-40" }, { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./util", "loc": "15:11-28" }, { "moduleId": 318, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/normalize.js", "module": "./node_modules/dagre/lib/normalize.js", "moduleName": "./node_modules/dagre/lib/normalize.js", "type": "cjs require", "userRequest": "./util", "loc": "4:11-28" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "../util", "loc": "9:15-33" }, { "moduleId": 322, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/nesting-graph.js", "module": "./node_modules/dagre/lib/nesting-graph.js", "moduleName": "./node_modules/dagre/lib/nesting-graph.js", "type": "cjs require", "userRequest": "./util", "loc": "2:11-28" }, { "moduleId": 323, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/add-border-segments.js", "module": "./node_modules/dagre/lib/add-border-segments.js", "moduleName": "./node_modules/dagre/lib/add-border-segments.js", "type": "cjs require", "userRequest": "./util", "loc": "2:11-28" }, { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "../util", "loc": "10:11-29" }, { "moduleId": 331, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort.js", "module": "./node_modules/dagre/lib/order/sort.js", "moduleName": "./node_modules/dagre/lib/order/sort.js", "type": "cjs require", "userRequest": "../util", "loc": "2:11-29" }, { "moduleId": 334, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "module": "./node_modules/dagre/lib/position/index.js", "moduleName": "./node_modules/dagre/lib/position/index.js", "type": "cjs require", "userRequest": "../util", "loc": "4:11-29" }, { "moduleId": 335, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/bk.js", "module": "./node_modules/dagre/lib/position/bk.js", "moduleName": "./node_modules/dagre/lib/position/bk.js", "type": "cjs require", "userRequest": "../util", "loc": "5:11-29" }, { "moduleId": 336, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/debug.js", "module": "./node_modules/dagre/lib/debug.js", "moduleName": "./node_modules/dagre/lib/debug.js", "type": "cjs require", "userRequest": "./util", "loc": "2:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "/* eslint \"no-console\": off */\n\n\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = {\n addDummyNode: addDummyNode,\n simplify: simplify,\n asNonCompoundGraph: asNonCompoundGraph,\n successorWeights: successorWeights,\n predecessorWeights: predecessorWeights,\n intersectRect: intersectRect,\n buildLayerMatrix: buildLayerMatrix,\n normalizeRanks: normalizeRanks,\n removeEmptyRanks: removeEmptyRanks,\n addBorderNode: addBorderNode,\n maxRank: maxRank,\n partition: partition,\n time: time,\n notime: notime\n};\n\n/*\n * Adds a dummy node to the graph and return v.\n */\nfunction addDummyNode(g, type, attrs, name) {\n var v;\n do {\n v = _.uniqueId(name);\n } while (g.hasNode(v));\n\n attrs.dummy = type;\n g.setNode(v, attrs);\n return v;\n}\n\n/*\n * Returns a new graph with only simple edges. Handles aggregation of data\n * associated with multi-edges.\n */\nfunction simplify(g) {\n var simplified = new Graph().setGraph(g.graph());\n _.forEach(g.nodes(), function(v) { simplified.setNode(v, g.node(v)); });\n _.forEach(g.edges(), function(e) {\n var simpleLabel = simplified.edge(e.v, e.w) || { weight: 0, minlen: 1 };\n var label = g.edge(e);\n simplified.setEdge(e.v, e.w, {\n weight: simpleLabel.weight + label.weight,\n minlen: Math.max(simpleLabel.minlen, label.minlen)\n });\n });\n return simplified;\n}\n\nfunction asNonCompoundGraph(g) {\n var simplified = new Graph({ multigraph: g.isMultigraph() }).setGraph(g.graph());\n _.forEach(g.nodes(), function(v) {\n if (!g.children(v).length) {\n simplified.setNode(v, g.node(v));\n }\n });\n _.forEach(g.edges(), function(e) {\n simplified.setEdge(e, g.edge(e));\n });\n return simplified;\n}\n\nfunction successorWeights(g) {\n var weightMap = _.map(g.nodes(), function(v) {\n var sucs = {};\n _.forEach(g.outEdges(v), function(e) {\n sucs[e.w] = (sucs[e.w] || 0) + g.edge(e).weight;\n });\n return sucs;\n });\n return _.zipObject(g.nodes(), weightMap);\n}\n\nfunction predecessorWeights(g) {\n var weightMap = _.map(g.nodes(), function(v) {\n var preds = {};\n _.forEach(g.inEdges(v), function(e) {\n preds[e.v] = (preds[e.v] || 0) + g.edge(e).weight;\n });\n return preds;\n });\n return _.zipObject(g.nodes(), weightMap);\n}\n\n/*\n * Finds where a line starting at point ({x, y}) would intersect a rectangle\n * ({x, y, width, height}) if it were pointing at the rectangle's center.\n */\nfunction intersectRect(rect, point) {\n var x = rect.x;\n var y = rect.y;\n\n // Rectangle intersection algorithm from:\n // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n var dx = point.x - x;\n var dy = point.y - y;\n var w = rect.width / 2;\n var h = rect.height / 2;\n\n if (!dx && !dy) {\n throw new Error(\"Not possible to find intersection inside of the rectangle\");\n }\n\n var sx, sy;\n if (Math.abs(dy) * w > Math.abs(dx) * h) {\n // Intersection is top or bottom of rect.\n if (dy < 0) {\n h = -h;\n }\n sx = h * dx / dy;\n sy = h;\n } else {\n // Intersection is left or right of rect.\n if (dx < 0) {\n w = -w;\n }\n sx = w;\n sy = w * dy / dx;\n }\n\n return { x: x + sx, y: y + sy };\n}\n\n/*\n * Given a DAG with each node assigned \"rank\" and \"order\" properties, this\n * function will produce a matrix with the ids of each node.\n */\nfunction buildLayerMatrix(g) {\n var layering = _.map(_.range(maxRank(g) + 1), function() { return []; });\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n var rank = node.rank;\n if (!_.isUndefined(rank)) {\n layering[rank][node.order] = v;\n }\n });\n return layering;\n}\n\n/*\n * Adjusts the ranks for all nodes in the graph such that all nodes v have\n * rank(v) >= 0 and at least one node w has rank(w) = 0.\n */\nfunction normalizeRanks(g) {\n var min = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (_.has(node, \"rank\")) {\n node.rank -= min;\n }\n });\n}\n\nfunction removeEmptyRanks(g) {\n // Ranks may not start at 0, so we need to offset them\n var offset = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));\n\n var layers = [];\n _.forEach(g.nodes(), function(v) {\n var rank = g.node(v).rank - offset;\n if (!layers[rank]) {\n layers[rank] = [];\n }\n layers[rank].push(v);\n });\n\n var delta = 0;\n var nodeRankFactor = g.graph().nodeRankFactor;\n _.forEach(layers, function(vs, i) {\n if (_.isUndefined(vs) && i % nodeRankFactor !== 0) {\n --delta;\n } else if (delta) {\n _.forEach(vs, function(v) { g.node(v).rank += delta; });\n }\n });\n}\n\nfunction addBorderNode(g, prefix, rank, order) {\n var node = {\n width: 0,\n height: 0\n };\n if (arguments.length >= 4) {\n node.rank = rank;\n node.order = order;\n }\n return addDummyNode(g, \"border\", node, prefix);\n}\n\nfunction maxRank(g) {\n return _.max(_.map(g.nodes(), function(v) {\n var rank = g.node(v).rank;\n if (!_.isUndefined(rank)) {\n return rank;\n }\n }));\n}\n\n/*\n * Partition a collection into two groups: `lhs` and `rhs`. If the supplied\n * function returns true for an entry it goes into `lhs`. Otherwise it goes\n * into `rhs.\n */\nfunction partition(collection, fn) {\n var result = { lhs: [], rhs: [] };\n _.forEach(collection, function(value) {\n if (fn(value)) {\n result.lhs.push(value);\n } else {\n result.rhs.push(value);\n }\n });\n return result;\n}\n\n/*\n * Returns a new function that wraps `fn` with a timer. The wrapper logs the\n * time it takes to execute the function.\n */\nfunction time(name, fn) {\n var start = _.now();\n try {\n return fn();\n } finally {\n console.log(name + \" time: \" + (_.now() - start) + \"ms\");\n }\n}\n\nfunction notime(name, fn) {\n return fn();\n}\n" }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "index": 575, "index2": 764, "size": 868, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "issuerId": 271, "issuerName": "./node_modules/graphlib/lib/json.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 106, "building": 76, "dependencies": 123 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/graph.js", "module": "./node_modules/graphlib/lib/graph.js", "moduleName": "./node_modules/graphlib/lib/graph.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 131, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra.js", "module": "./node_modules/graphlib/lib/alg/dijkstra.js", "moduleName": "./node_modules/graphlib/lib/alg/dijkstra.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 132, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/data/priority-queue.js", "module": "./node_modules/graphlib/lib/data/priority-queue.js", "moduleName": "./node_modules/graphlib/lib/data/priority-queue.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 133, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/tarjan.js", "module": "./node_modules/graphlib/lib/alg/tarjan.js", "moduleName": "./node_modules/graphlib/lib/alg/tarjan.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 134, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/topsort.js", "module": "./node_modules/graphlib/lib/alg/topsort.js", "moduleName": "./node_modules/graphlib/lib/alg/topsort.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 135, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dfs.js", "module": "./node_modules/graphlib/lib/alg/dfs.js", "moduleName": "./node_modules/graphlib/lib/alg/dfs.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 271, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "module": "./node_modules/graphlib/lib/json.js", "moduleName": "./node_modules/graphlib/lib/json.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 273, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/components.js", "module": "./node_modules/graphlib/lib/alg/components.js", "moduleName": "./node_modules/graphlib/lib/alg/components.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 274, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra-all.js", "module": "./node_modules/graphlib/lib/alg/dijkstra-all.js", "moduleName": "./node_modules/graphlib/lib/alg/dijkstra-all.js", "type": "cjs require", "userRequest": "../lodash", "loc": "2:8-28" }, { "moduleId": 275, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/find-cycles.js", "module": "./node_modules/graphlib/lib/alg/find-cycles.js", "moduleName": "./node_modules/graphlib/lib/alg/find-cycles.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 276, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/floyd-warshall.js", "module": "./node_modules/graphlib/lib/alg/floyd-warshall.js", "moduleName": "./node_modules/graphlib/lib/alg/floyd-warshall.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 280, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "module": "./node_modules/graphlib/lib/alg/prim.js", "moduleName": "./node_modules/graphlib/lib/alg/prim.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n clone: require(\"lodash/clone\"),\n constant: require(\"lodash/constant\"),\n each: require(\"lodash/each\"),\n filter: require(\"lodash/filter\"),\n has: require(\"lodash/has\"),\n isArray: require(\"lodash/isArray\"),\n isEmpty: require(\"lodash/isEmpty\"),\n isFunction: require(\"lodash/isFunction\"),\n isUndefined: require(\"lodash/isUndefined\"),\n keys: require(\"lodash/keys\"),\n map: require(\"lodash/map\"),\n reduce: require(\"lodash/reduce\"),\n size: require(\"lodash/size\"),\n transform: require(\"lodash/transform\"),\n union: require(\"lodash/union\"),\n values: require(\"lodash/values\")\n };\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n" }, { "id": 9, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isObject.js", "name": "./node_modules/lodash/isObject.js", "index": 603, "index2": 588, "size": 733, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isFunction.js", "issuerId": 32, "issuerName": "./node_modules/lodash/isFunction.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 32, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isFunction.js", "name": "./node_modules/lodash/isFunction.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 64, "building": 40 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 32, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isFunction.js", "module": "./node_modules/lodash/isFunction.js", "moduleName": "./node_modules/lodash/isFunction.js", "type": "cjs require", "userRequest": "./isObject", "loc": "2:15-36" }, { "moduleId": 61, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "module": "./node_modules/lodash/_isIterateeCall.js", "moduleName": "./node_modules/lodash/_isIterateeCall.js", "type": "cjs require", "userRequest": "./isObject", "loc": "4:15-36" }, { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./isObject", "loc": "19:15-36" }, { "moduleId": 108, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseCreate.js", "module": "./node_modules/lodash/_baseCreate.js", "moduleName": "./node_modules/lodash/_baseCreate.js", "type": "cjs require", "userRequest": "./isObject", "loc": "1:15-36" }, { "moduleId": 116, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isStrictComparable.js", "module": "./node_modules/lodash/_isStrictComparable.js", "moduleName": "./node_modules/lodash/_isStrictComparable.js", "type": "cjs require", "userRequest": "./isObject", "loc": "1:15-36" }, { "moduleId": 180, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "module": "./node_modules/lodash/_baseIsNative.js", "moduleName": "./node_modules/lodash/_baseIsNative.js", "type": "cjs require", "userRequest": "./isObject", "loc": "3:15-36" }, { "moduleId": 206, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "module": "./node_modules/lodash/_baseKeysIn.js", "moduleName": "./node_modules/lodash/_baseKeysIn.js", "type": "cjs require", "userRequest": "./isObject", "loc": "1:15-36" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./isObject", "loc": "9:15-36" }, { "moduleId": 288, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toNumber.js", "module": "./node_modules/lodash/toNumber.js", "moduleName": "./node_modules/lodash/toNumber.js", "type": "cjs require", "userRequest": "./isObject", "loc": "1:15-36" }, { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./isObject", "loc": "5:15-36" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isObject", "loc": "11:15-36" }, { "moduleId": 304, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "module": "./node_modules/lodash/_baseSet.js", "moduleName": "./node_modules/lodash/_baseSet.js", "type": "cjs require", "userRequest": "./isObject", "loc": "4:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n" }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "index": 877, "index2": 869, "size": 1124, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "issuerId": 44, "issuerName": "./node_modules/dagre-d3/lib/label/add-html-label.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 512, "building": 394 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/util", "loc": "28:8-29" }, { "moduleId": 44, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "module": "./node_modules/dagre-d3/lib/label/add-html-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-html-label.js", "type": "cjs require", "userRequest": "../util", "loc": "1:11-29" }, { "moduleId": 341, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-nodes.js", "module": "./node_modules/dagre-d3/lib/create-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/create-nodes.js", "type": "cjs require", "userRequest": "./util", "loc": "5:11-28" }, { "moduleId": 342, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-text-label.js", "module": "./node_modules/dagre-d3/lib/label/add-text-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-text-label.js", "type": "cjs require", "userRequest": "../util", "loc": "1:11-29" }, { "moduleId": 343, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-svg-label.js", "module": "./node_modules/dagre-d3/lib/label/add-svg-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-svg-label.js", "type": "cjs require", "userRequest": "../util", "loc": "1:11-29" }, { "moduleId": 344, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-clusters.js", "module": "./node_modules/dagre-d3/lib/create-clusters.js", "moduleName": "./node_modules/dagre-d3/lib/create-clusters.js", "type": "cjs require", "userRequest": "./util", "loc": "1:11-28" }, { "moduleId": 345, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "module": "./node_modules/dagre-d3/lib/create-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-labels.js", "type": "cjs require", "userRequest": "./util", "loc": "5:11-28" }, { "moduleId": 346, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-paths.js", "module": "./node_modules/dagre-d3/lib/create-edge-paths.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-paths.js", "type": "cjs require", "userRequest": "./util", "loc": "5:11-28" }, { "moduleId": 347, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-nodes.js", "module": "./node_modules/dagre-d3/lib/position-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/position-nodes.js", "type": "cjs require", "userRequest": "./util", "loc": "3:11-28" }, { "moduleId": 348, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-edge-labels.js", "module": "./node_modules/dagre-d3/lib/position-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/position-edge-labels.js", "type": "cjs require", "userRequest": "./util", "loc": "3:11-28" }, { "moduleId": 349, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-clusters.js", "module": "./node_modules/dagre-d3/lib/position-clusters.js", "moduleName": "./node_modules/dagre-d3/lib/position-clusters.js", "type": "cjs require", "userRequest": "./util", "loc": "3:11-28" }, { "moduleId": 351, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/arrows.js", "module": "./node_modules/dagre-d3/lib/arrows.js", "moduleName": "./node_modules/dagre-d3/lib/arrows.js", "type": "cjs require", "userRequest": "./util", "loc": "1:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "var _ = require(\"./lodash\");\n\n// Public utility functions\nmodule.exports = {\n isSubgraph: isSubgraph,\n edgeToId: edgeToId,\n applyStyle: applyStyle,\n applyClass: applyClass,\n applyTransition: applyTransition\n};\n\n/*\n * Returns true if the specified node in the graph is a subgraph node. A\n * subgraph node is one that contains other nodes.\n */\nfunction isSubgraph(g, v) {\n return !!g.children(v).length;\n}\n\nfunction edgeToId(e) {\n return escapeId(e.v) + \":\" + escapeId(e.w) + \":\" + escapeId(e.name);\n}\n\nvar ID_DELIM = /:/g;\nfunction escapeId(str) {\n return str ? String(str).replace(ID_DELIM, \"\\\\:\") : \"\";\n}\n\nfunction applyStyle(dom, styleFn) {\n if (styleFn) {\n dom.attr(\"style\", styleFn);\n }\n}\n\nfunction applyClass(dom, classFn, otherClasses) {\n if (classFn) {\n dom\n .attr(\"class\", classFn)\n .attr(\"class\", otherClasses + \" \" + dom.attr(\"class\"));\n }\n}\n\nfunction applyTransition(selection, g) {\n var graph = g.graph();\n\n if (_.isPlainObject(graph)) {\n var transition = graph.transition;\n if (_.isFunction(transition)) {\n return transition(selection);\n }\n }\n\n return selection;\n}\n" }, { "id": 11, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/process/browser.js", "name": "./node_modules/process/browser.js", "index": 548, "index2": 545, "size": 5418, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 22, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 22, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 704, "building": 367, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 15, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/path-browserify/index.js", "module": "./node_modules/path-browserify/index.js", "moduleName": "./node_modules/path-browserify/index.js", "type": "cjs require", "userRequest": "process", "loc": "1:0-34" }, { "moduleId": 17, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 22, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 23, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 24, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 39, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 64, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 65, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 66, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 67, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n" }, { "id": 12, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_root.js", "name": "./node_modules/lodash/_root.js", "index": 598, "index2": 583, "size": 300, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "issuerId": 301, "issuerName": "./node_modules/lodash/now.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 301, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "name": "./node_modules/lodash/now.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 76, "building": 25 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 33, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Symbol.js", "module": "./node_modules/lodash/_Symbol.js", "moduleName": "./node_modules/lodash/_Symbol.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "module": "./node_modules/lodash/isBuffer.js", "moduleName": "./node_modules/lodash/isBuffer.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" }, { "moduleId": 69, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Map.js", "module": "./node_modules/lodash/_Map.js", "moduleName": "./node_modules/lodash/_Map.js", "type": "cjs require", "userRequest": "./_root", "loc": "2:11-29" }, { "moduleId": 97, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneBuffer.js", "module": "./node_modules/lodash/_cloneBuffer.js", "moduleName": "./node_modules/lodash/_cloneBuffer.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" }, { "moduleId": 104, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Set.js", "module": "./node_modules/lodash/_Set.js", "moduleName": "./node_modules/lodash/_Set.js", "type": "cjs require", "userRequest": "./_root", "loc": "2:11-29" }, { "moduleId": 105, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Uint8Array.js", "module": "./node_modules/lodash/_Uint8Array.js", "moduleName": "./node_modules/lodash/_Uint8Array.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" }, { "moduleId": 185, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_coreJsData.js", "module": "./node_modules/lodash/_coreJsData.js", "moduleName": "./node_modules/lodash/_coreJsData.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" }, { "moduleId": 211, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_DataView.js", "module": "./node_modules/lodash/_DataView.js", "moduleName": "./node_modules/lodash/_DataView.js", "type": "cjs require", "userRequest": "./_root", "loc": "2:11-29" }, { "moduleId": 212, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Promise.js", "module": "./node_modules/lodash/_Promise.js", "moduleName": "./node_modules/lodash/_Promise.js", "type": "cjs require", "userRequest": "./_root", "loc": "2:11-29" }, { "moduleId": 213, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_WeakMap.js", "module": "./node_modules/lodash/_WeakMap.js", "moduleName": "./node_modules/lodash/_WeakMap.js", "type": "cjs require", "userRequest": "./_root", "loc": "2:11-29" }, { "moduleId": 301, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "module": "./node_modules/lodash/now.js", "moduleName": "./node_modules/lodash/now.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n" }, { "id": 13, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/graphlib.js", "name": "./node_modules/dagre/lib/graphlib.js", "index": 791, "index2": 785, "size": 253, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "issuerId": 21, "issuerName": "./node_modules/dagre/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 98, "dependencies": 119 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/util.js", "module": "./node_modules/dagre/lib/util.js", "moduleName": "./node_modules/dagre/lib/util.js", "type": "cjs require", "userRequest": "./graphlib", "loc": "6:12-33" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/graphlib", "loc": "24:12-37" }, { "moduleId": 147, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/feasible-tree.js", "module": "./node_modules/dagre/lib/rank/feasible-tree.js", "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "4:12-34" }, { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./graphlib", "loc": "16:12-33" }, { "moduleId": 316, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "module": "./node_modules/dagre/lib/greedy-fas.js", "moduleName": "./node_modules/dagre/lib/greedy-fas.js", "type": "cjs require", "userRequest": "./graphlib", "loc": "2:12-33" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "7:15-37" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "8:16-38" }, { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "9:12-34" }, { "moduleId": 332, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/build-layer-graph.js", "module": "./node_modules/dagre/lib/order/build-layer-graph.js", "moduleName": "./node_modules/dagre/lib/order/build-layer-graph.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "2:12-34" }, { "moduleId": 335, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/bk.js", "module": "./node_modules/dagre/lib/position/bk.js", "moduleName": "./node_modules/dagre/lib/position/bk.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "4:12-34" }, { "moduleId": 336, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/debug.js", "module": "./node_modules/dagre/lib/debug.js", "moduleName": "./node_modules/dagre/lib/debug.js", "type": "cjs require", "userRequest": "./graphlib", "loc": "3:12-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "/* global window */\n\nvar graphlib;\n\nif (typeof require === \"function\") {\n try {\n graphlib = require(\"graphlib\");\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!graphlib) {\n graphlib = window.graphlib;\n}\n\nmodule.exports = graphlib;\n" }, { "id": 14, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/node-libs-browser/mock/empty.js", "name": "./node_modules/node-libs-browser/mock/empty.js", "index": 549, "index2": 546, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 22, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 22, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 704, "building": 367, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "835:17-30" }, { "moduleId": 17, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "769:17-30" }, { "moduleId": 22, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "fs", "loc": "993:17-30" }, { "moduleId": 23, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "fs", "loc": "722:17-30" }, { "moduleId": 24, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "fs", "loc": "640:17-30" }, { "moduleId": 39, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "776:17-30" }, { "moduleId": 64, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "fs", "loc": "690:17-30" }, { "moduleId": 65, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "fs", "loc": "616:17-30" }, { "moduleId": 66, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "fs", "loc": "628:17-30" }, { "moduleId": 67, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "673:17-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "" }, { "id": 15, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/path-browserify/index.js", "name": "./node_modules/path-browserify/index.js", "index": 550, "index2": 547, "size": 8742, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 22, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 22, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 704, "building": 367, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "835:44-59" }, { "moduleId": 17, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "769:44-59" }, { "moduleId": 22, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "path", "loc": "993:44-59" }, { "moduleId": 23, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "path", "loc": "722:44-59" }, { "moduleId": 24, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "path", "loc": "640:44-59" }, { "moduleId": 39, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "776:44-59" }, { "moduleId": 64, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "path", "loc": "690:44-59" }, { "moduleId": 65, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "path", "loc": "616:44-59" }, { "moduleId": 66, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "path", "loc": "628:44-59" }, { "moduleId": 67, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "673:44-59" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,\n// backported and transplited with Babel, with backwards-compat fixes\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = parts.length - 1; i >= 0; i--) {\n var last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n var resolvedPath = '',\n resolvedAbsolute = false;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path = (i >= 0) ? arguments[i] : process.cwd();\n\n // Skip empty and invalid entries\n if (typeof path !== 'string') {\n throw new TypeError('Arguments to path.resolve must be strings');\n } else if (!path) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n return !!p;\n }), !resolvedAbsolute).join('/');\n\n return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n var isAbsolute = exports.isAbsolute(path),\n trailingSlash = substr(path, -1) === '/';\n\n // Normalize the path\n path = normalizeArray(filter(path.split('/'), function(p) {\n return !!p;\n }), !isAbsolute).join('/');\n\n if (!path && !isAbsolute) {\n path = '.';\n }\n if (path && trailingSlash) {\n path += '/';\n }\n\n return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n var paths = Array.prototype.slice.call(arguments, 0);\n return exports.normalize(filter(paths, function(p, index) {\n if (typeof p !== 'string') {\n throw new TypeError('Arguments to path.join must be strings');\n }\n return p;\n }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n from = exports.resolve(from).substr(1);\n to = exports.resolve(to).substr(1);\n\n function trim(arr) {\n var start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') break;\n }\n\n var end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') break;\n }\n\n if (start > end) return [];\n return arr.slice(start, end - start + 1);\n }\n\n var fromParts = trim(from.split('/'));\n var toParts = trim(to.split('/'));\n\n var length = Math.min(fromParts.length, toParts.length);\n var samePartsLength = length;\n for (var i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n var outputParts = [];\n for (var i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function (path) {\n if (typeof path !== 'string') path = path + '';\n if (path.length === 0) return '.';\n var code = path.charCodeAt(0);\n var hasRoot = code === 47 /*/*/;\n var end = -1;\n var matchedSlash = true;\n for (var i = path.length - 1; i >= 1; --i) {\n code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n if (!matchedSlash) {\n end = i;\n break;\n }\n } else {\n // We saw the first non-path separator\n matchedSlash = false;\n }\n }\n\n if (end === -1) return hasRoot ? '/' : '.';\n if (hasRoot && end === 1) {\n // return '//';\n // Backwards-compat fix:\n return '/';\n }\n return path.slice(0, end);\n};\n\nfunction basename(path) {\n if (typeof path !== 'string') path = path + '';\n\n var start = 0;\n var end = -1;\n var matchedSlash = true;\n var i;\n\n for (i = path.length - 1; i >= 0; --i) {\n if (path.charCodeAt(i) === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // path component\n matchedSlash = false;\n end = i + 1;\n }\n }\n\n if (end === -1) return '';\n return path.slice(start, end);\n}\n\n// Uses a mixed approach for backwards-compatibility, as ext behavior changed\n// in new Node.js versions, so only basename() above is backported here\nexports.basename = function (path, ext) {\n var f = basename(path);\n if (ext && f.substr(-1 * ext.length) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n return f;\n};\n\nexports.extname = function (path) {\n if (typeof path !== 'string') path = path + '';\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true;\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n var preDotState = 0;\n for (var i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n continue;\n }\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n if (code === 46 /*.*/) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1)\n startDot = i;\n else if (preDotState !== 1)\n preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 ||\n // We saw a non-dot character immediately before the dot\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n return '';\n }\n return path.slice(startDot, end);\n};\n\nfunction filter (xs, f) {\n if (xs.filter) return xs.filter(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n if (f(xs[i], i, xs)) res.push(xs[i]);\n }\n return res;\n}\n\n// String.prototype.substr - negative index don't work in IE8\nvar substr = 'ab'.substr(-1) === 'b'\n ? function (str, start, len) { return str.substr(start, len) }\n : function (str, start, len) {\n if (start < 0) start = str.length + start;\n return str.substr(start, len);\n }\n;\n" }, { "id": 16, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isObjectLike.js", "name": "./node_modules/lodash/isObjectLike.js", "index": 634, "index2": 620, "size": 614, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "issuerId": 141, "issuerName": "./node_modules/lodash/isPlainObject.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 67, "building": 39 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 37, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSymbol.js", "module": "./node_modules/lodash/isSymbol.js", "moduleName": "./node_modules/lodash/isSymbol.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 41, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArguments.js", "module": "./node_modules/lodash/isArguments.js", "moduleName": "./node_modules/lodash/isArguments.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 112, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "module": "./node_modules/lodash/_baseIsEqual.js", "moduleName": "./node_modules/lodash/_baseIsEqual.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 129, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArrayLikeObject.js", "module": "./node_modules/lodash/isArrayLikeObject.js", "moduleName": "./node_modules/lodash/isArrayLikeObject.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 141, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "module": "./node_modules/lodash/isPlainObject.js", "moduleName": "./node_modules/lodash/isPlainObject.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "3:19-44" }, { "moduleId": 201, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsArguments.js", "module": "./node_modules/lodash/_baseIsArguments.js", "moduleName": "./node_modules/lodash/_baseIsArguments.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 203, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsTypedArray.js", "module": "./node_modules/lodash/_baseIsTypedArray.js", "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "3:19-44" }, { "moduleId": 220, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMap.js", "module": "./node_modules/lodash/_baseIsMap.js", "moduleName": "./node_modules/lodash/_baseIsMap.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 222, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsSet.js", "module": "./node_modules/lodash/_baseIsSet.js", "moduleName": "./node_modules/lodash/_baseIsSet.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 250, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isString.js", "module": "./node_modules/lodash/isString.js", "moduleName": "./node_modules/lodash/isString.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "3:19-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n" }, { "id": 17, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "name": "./src/diagrams/state/parser/stateDiagram.jison", "index": 561, "index2": 559, "size": 29755, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/stateDiagram", "loc": "4:0-42" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/stateDiagram", "loc": "7:0-47" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "11:0-6" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "25:15-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "33:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "34:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "36:0-63" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "108:15-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "113:15-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "217:15-20" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,2],$V1=[1,3],$V2=[1,4],$V3=[2,4],$V4=[1,9],$V5=[1,11],$V6=[1,13],$V7=[1,14],$V8=[1,15],$V9=[1,16],$Va=[1,21],$Vb=[1,17],$Vc=[1,18],$Vd=[1,19],$Ve=[1,20],$Vf=[1,22],$Vg=[1,4,5,13,14,16,18,19,21,22,23,24,25,28],$Vh=[1,4,5,11,12,13,14,16,18,19,21,22,23,24,25,28],$Vi=[4,5,13,14,16,18,19,21,22,23,24,25,28];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"SPACE\":4,\"NL\":5,\"SD\":6,\"document\":7,\"line\":8,\"statement\":9,\"idStatement\":10,\"DESCR\":11,\"-->\":12,\"HIDE_EMPTY\":13,\"scale\":14,\"WIDTH\":15,\"COMPOSIT_STATE\":16,\"STRUCT_START\":17,\"STRUCT_STOP\":18,\"STATE_DESCR\":19,\"AS\":20,\"ID\":21,\"FORK\":22,\"JOIN\":23,\"CONCURRENT\":24,\"note\":25,\"notePosition\":26,\"NOTE_TEXT\":27,\"EDGE_STATE\":28,\"left_of\":29,\"right_of\":30,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"SPACE\",5:\"NL\",6:\"SD\",11:\"DESCR\",12:\"-->\",13:\"HIDE_EMPTY\",14:\"scale\",15:\"WIDTH\",16:\"COMPOSIT_STATE\",17:\"STRUCT_START\",18:\"STRUCT_STOP\",19:\"STATE_DESCR\",20:\"AS\",21:\"ID\",22:\"FORK\",23:\"JOIN\",24:\"CONCURRENT\",25:\"note\",27:\"NOTE_TEXT\",28:\"EDGE_STATE\",29:\"left_of\",30:\"right_of\"},\nproductions_: [0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,4],[9,4],[10,1],[10,1],[26,1],[26,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 3:\n /*console.warn('Root document', $$[$0]);*/ yy.setRootDoc($$[$0]);return $$[$0]; \nbreak;\ncase 4:\n this.$ = [] \nbreak;\ncase 5:\n\n if($$[$0]!='nl'){\n $$[$0-1].push($$[$0]);this.$ = $$[$0-1]\n }\n // console.warn('Got document',$$[$0-1], $$[$0]);\n \nbreak;\ncase 6: case 7:\n this.$ = $$[$0] \nbreak;\ncase 8:\n this.$='nl';\nbreak;\ncase 9:\n /*console.warn('got id and descr', $$[$0]);*/this.$={ stmt: 'state', id: $$[$0], type: 'default', description: ''};\nbreak;\ncase 10:\n /*console.warn('got id and descr', $$[$0-1], $$[$0].trim());*/this.$={ stmt: 'state', id: $$[$0-1], type: 'default', description: yy.trimColon($$[$0])};\nbreak;\ncase 11:\n\n /*console.warn('got id', $$[$0-2]);yy.addRelation($$[$0-2], $$[$0]);*/\n this.$={ stmt: 'relation', state1: { stmt: 'state', id: $$[$0-2], type: 'default', description: '' }, state2:{ stmt: 'state', id: $$[$0] ,type: 'default', description: ''}};\n \nbreak;\ncase 12:\n\n /*yy.addRelation($$[$0-3], $$[$0-1], $$[$0].substr(1).trim());*/\n this.$={ stmt: 'relation', state1: { stmt: 'state', id: $$[$0-3], type: 'default', description: '' }, state2:{ stmt: 'state', id: $$[$0-1] ,type: 'default', description: ''}, description: $$[$0].substr(1).trim()};\n \nbreak;\ncase 16:\n\n\n /* console.warn('Adding document for state without id ', $$[$0-3]);*/\n this.$={ stmt: 'state', id: $$[$0-3], type: 'default', description: '', doc: $$[$0-1] }\n \nbreak;\ncase 17:\n\n var id=$$[$0];\n var description = $$[$0-2].trim();\n if($$[$0].match(':')){\n var parts = $$[$0].split(':');\n id=parts[0];\n description = [description, parts[1]];\n }\n this.$={stmt: 'state', id: id, type: 'default', description: description};\n\n \nbreak;\ncase 18:\n\n //console.warn('Adding document for state with id ', $$[$0-3], $$[$0-2]); yy.addDocument($$[$0-3]);\n this.$={ stmt: 'state', id: $$[$0-3], type: 'default', description: $$[$0-5], doc: $$[$0-1] }\n \nbreak;\ncase 19:\n\n this.$={ stmt: 'state', id: $$[$0], type: 'fork' }\n \nbreak;\ncase 20:\n\n this.$={ stmt: 'state', id: $$[$0], type: 'join' }\n \nbreak;\ncase 21:\n\n this.$={ stmt: 'state', id: yy.getDividerId(), type: 'divider' }\n \nbreak;\ncase 22:\n\n /*console.warn('got NOTE, position: ', $$[$0-2].trim(), 'id = ', $$[$0-1].trim(), 'note: ', $$[$0]);*/\n this.$={ stmt: 'state', id: $$[$0-1].trim(), note:{position: $$[$0-2].trim(), text: $$[$0].trim()}};\n \nbreak;\ncase 24: case 25:\nthis.$=$$[$0];\nbreak;\n}\n},\ntable: [{3:1,4:$V0,5:$V1,6:$V2},{1:[3]},{3:5,4:$V0,5:$V1,6:$V2},{3:6,4:$V0,5:$V1,6:$V2},o([1,4,5,13,14,16,19,21,22,23,24,25,28],$V3,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,5]),{9:23,10:12,13:$V6,14:$V7,16:$V8,19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,7]),o($Vg,[2,8]),o($Vg,[2,9],{11:[1,24],12:[1,25]}),o($Vg,[2,13]),{15:[1,26]},o($Vg,[2,15],{17:[1,27]}),{20:[1,28]},o($Vg,[2,19]),o($Vg,[2,20]),o($Vg,[2,21]),{26:29,27:[1,30],29:[1,31],30:[1,32]},o($Vh,[2,24]),o($Vh,[2,25]),o($Vg,[2,6]),o($Vg,[2,10]),{10:33,21:$Va,28:$Vf},o($Vg,[2,14]),o($Vi,$V3,{7:34}),{21:[1,35]},{21:[1,36]},{20:[1,37]},{21:[2,26]},{21:[2,27]},o($Vg,[2,11],{11:[1,38]}),{4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,18:[1,39],19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,17],{17:[1,40]}),{27:[1,41]},{21:[1,42]},o($Vg,[2,12]),o($Vg,[2,16]),o($Vi,$V3,{7:43}),o($Vg,[2,22]),o($Vg,[2,23]),{4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,18:[1,44],19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,18])],\ndefaultActions: {5:[2,1],6:[2,2],31:[2,26],32:[2,27]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 5;\nbreak;\ncase 1:/* skip all whitespace */\nbreak;\ncase 2:/* skip same-line whitespace */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:/* skip comments */\nbreak;\ncase 5: this.pushState('SCALE'); /* console.log('Got scale', yy_.yytext);*/ return 14; \nbreak;\ncase 6:return 15;\nbreak;\ncase 7:this.popState();\nbreak;\ncase 8: this.pushState('STATE'); \nbreak;\ncase 9:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim(); /*console.warn('Fork Fork: ',yy_.yytext);*/return 22;\nbreak;\ncase 10:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Join: ',yy_.yytext);*/return 23;\nbreak;\ncase 11:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Fork: ',yy_.yytext);*/return 22;\nbreak;\ncase 12:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Join: ',yy_.yytext);*/return 23;\nbreak;\ncase 13:this.begin(\"STATE_STRING\");\nbreak;\ncase 14:this.popState();this.pushState('STATE_ID');return \"AS\";\nbreak;\ncase 15:this.popState();/* console.log('STATE_ID', yy_.yytext);*/return \"ID\";\nbreak;\ncase 16:this.popState();\nbreak;\ncase 17: /*console.log('Long description:', yy_.yytext);*/return \"STATE_DESCR\";\nbreak;\ncase 18:/*console.log('COMPOSIT_STATE', yy_.yytext);*/return 16;\nbreak;\ncase 19:this.popState();\nbreak;\ncase 20:this.popState();this.pushState('struct'); /*console.log('begin struct', yy_.yytext);*/return 17;\nbreak;\ncase 21: /*console.log('Ending struct');*/ this.popState(); return 18;\nbreak;\ncase 22:/* nothing */\nbreak;\ncase 23: this.begin('NOTE'); return 25; \nbreak;\ncase 24: this.popState();this.pushState('NOTE_ID');return 29;\nbreak;\ncase 25: this.popState();this.pushState('NOTE_ID');return 30;\nbreak;\ncase 26: this.popState();this.pushState('FLOATING_NOTE');\nbreak;\ncase 27:this.popState();this.pushState('FLOATING_NOTE_ID');return \"AS\";\nbreak;\ncase 28:/**/\nbreak;\ncase 29: /*console.log('Floating note text: ', yy_.yytext);*/return \"NOTE_TEXT\";\nbreak;\ncase 30:this.popState();/*console.log('Floating note ID', yy_.yytext);*/return \"ID\";\nbreak;\ncase 31: this.popState();this.pushState('NOTE_TEXT');/*console.log('Got ID for note', yy_.yytext);*/return 21;\nbreak;\ncase 32: this.popState();/*console.log('Got NOTE_TEXT for note',yy_.yytext);*/yy_.yytext = yy_.yytext.substr(2).trim();return 27;\nbreak;\ncase 33: this.popState();/*console.log('Got NOTE_TEXT for note',yy_.yytext);*/yy_.yytext = yy_.yytext.slice(0,-8).trim();return 27;\nbreak;\ncase 34: /*console.log('Got state diagram', yy_.yytext,'#');*/return 6; \nbreak;\ncase 35: /*console.log('Got state diagram', yy_.yytext,'#');*/return 6; \nbreak;\ncase 36: /*console.log('HIDE_EMPTY', yy_.yytext,'#');*/return 13; \nbreak;\ncase 37: /*console.log('EDGE_STATE=',yy_.yytext);*/ return 28;\nbreak;\ncase 38: /*console.log('=>ID=',yy_.yytext);*/ return 21;\nbreak;\ncase 39: yy_.yytext = yy_.yytext.trim(); /*console.log('Descr = ', yy_.yytext);*/ return 11; \nbreak;\ncase 40:return 12;\nbreak;\ncase 41:return 24;\nbreak;\ncase 42:return 5;\nbreak;\ncase 43:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:((?!\\n)\\s)+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:scale\\s+)/i,/^(?:\\d+)/i,/^(?:\\s+width\\b)/i,/^(?:state\\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\\[\\[fork\\]\\])/i,/^(?:.*\\[\\[join\\]\\])/i,/^(?:[\"])/i,/^(?:\\s*as\\s+)/i,/^(?:[^\\n\\{]*)/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[^\\n\\s\\{]+)/i,/^(?:\\n)/i,/^(?:\\{)/i,/^(?:\\})/i,/^(?:[\\n])/i,/^(?:note\\s+)/i,/^(?:left of\\b)/i,/^(?:right of\\b)/i,/^(?:\")/i,/^(?:\\s*as\\s*)/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[^\\n]*)/i,/^(?:\\s*[^:\\n\\s\\-]+)/i,/^(?:\\s*:[^:\\n;]+)/i,/^(?:\\s*[^:;]+end note\\b)/i,/^(?:stateDiagram\\s+)/i,/^(?:stateDiagram-v2\\s+)/i,/^(?:hide empty description\\b)/i,/^(?:\\[\\*\\])/i,/^(?:[^:\\n\\s\\-\\{]+)/i,/^(?:\\s*:[^:\\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"LINE\":{\"rules\":[2,3],\"inclusive\":false},\"struct\":{\"rules\":[2,3,8,21,22,23,37,38,39,40,41],\"inclusive\":false},\"FLOATING_NOTE_ID\":{\"rules\":[30],\"inclusive\":false},\"FLOATING_NOTE\":{\"rules\":[27,28,29],\"inclusive\":false},\"NOTE_TEXT\":{\"rules\":[32,33],\"inclusive\":false},\"NOTE_ID\":{\"rules\":[31],\"inclusive\":false},\"NOTE\":{\"rules\":[24,25,26],\"inclusive\":false},\"SCALE\":{\"rules\":[6,7],\"inclusive\":false},\"ALIAS\":{\"rules\":[],\"inclusive\":false},\"STATE_ID\":{\"rules\":[15],\"inclusive\":false},\"STATE_STRING\":{\"rules\":[16,17],\"inclusive\":false},\"FORK_STATE\":{\"rules\":[],\"inclusive\":false},\"STATE\":{\"rules\":[2,3,9,10,11,12,13,14,18,19,20],\"inclusive\":false},\"ID\":{\"rules\":[2,3],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,3,4,5,8,20,23,34,35,36,37,38,39,40,42,43],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 18, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "name": "./node_modules/moment-mini/moment.min.js", "index": 542, "index2": 541, "size": 53324, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "issuerId": null, "issuerName": "./src/logger.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 1976, "building": 181 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "moment-mini", "loc": "1:0-33" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "moment-mini", "loc": "9:0-33" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "63:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "115:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "117:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "177:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "223:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "233:62-68" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "301:25-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "451:38-44" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){\"use strict\";var e,i;function c(){return e.apply(null,arguments)}function o(e){return e instanceof Array||\"[object Array]\"===Object.prototype.toString.call(e)}function u(e){return null!=e&&\"[object Object]\"===Object.prototype.toString.call(e)}function l(e){return void 0===e}function h(e){return\"number\"==typeof e||\"[object Number]\"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||\"[object Date]\"===Object.prototype.toString.call(e)}function f(e,t){var n,s=[];for(n=0;n>>0,s=0;sSe(e)?(r=e+1,o-Se(e)):(r=e,o),{year:r,dayOfYear:a}}function Ie(e,t,n){var s,i,r=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+Ae(i=e.year()-1,t,n):a>Ae(e.year(),t,n)?(s=a-Ae(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Ae(e,t,n){var s=Ve(e,t,n),i=Ve(e+1,t,n);return(Se(e)-s+i)/7}I(\"w\",[\"ww\",2],\"wo\",\"week\"),I(\"W\",[\"WW\",2],\"Wo\",\"isoWeek\"),C(\"week\",\"w\"),C(\"isoWeek\",\"W\"),F(\"week\",5),F(\"isoWeek\",5),ue(\"w\",B),ue(\"ww\",B,z),ue(\"W\",B),ue(\"WW\",B,z),fe([\"w\",\"ww\",\"W\",\"WW\"],function(e,t,n,s){t[s.substr(0,1)]=D(e)});function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}I(\"d\",0,\"do\",\"day\"),I(\"dd\",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),I(\"ddd\",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),I(\"dddd\",0,0,function(e){return this.localeData().weekdays(this,e)}),I(\"e\",0,0,\"weekday\"),I(\"E\",0,0,\"isoWeekday\"),C(\"day\",\"d\"),C(\"weekday\",\"e\"),C(\"isoWeekday\",\"E\"),F(\"day\",11),F(\"weekday\",11),F(\"isoWeekday\",11),ue(\"d\",B),ue(\"e\",B),ue(\"E\",B),ue(\"dd\",function(e,t){return t.weekdaysMinRegex(e)}),ue(\"ddd\",function(e,t){return t.weekdaysShortRegex(e)}),ue(\"dddd\",function(e,t){return t.weekdaysRegex(e)}),fe([\"dd\",\"ddd\",\"dddd\"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e}),fe([\"d\",\"e\",\"E\"],function(e,t,n,s){t[s]=D(e)});var Ze=\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\");var ze=\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\");var $e=\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\");var qe=ae;var Je=ae;var Be=ae;function Qe(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=y([2e3,1]).day(t),s=this.weekdaysMin(n,\"\"),i=this.weekdaysShort(n,\"\"),r=this.weekdays(n,\"\"),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);for(a.sort(e),o.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)o[t]=he(o[t]),u[t]=he(u[t]),l[t]=he(l[t]);this._weekdaysRegex=new RegExp(\"^(\"+l.join(\"|\")+\")\",\"i\"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(\"^(\"+u.join(\"|\")+\")\",\"i\"),this._weekdaysShortStrictRegex=new RegExp(\"^(\"+o.join(\"|\")+\")\",\"i\"),this._weekdaysMinStrictRegex=new RegExp(\"^(\"+a.join(\"|\")+\")\",\"i\")}function Xe(){return this.hours()%12||12}function Ke(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function et(e,t){return t._meridiemParse}I(\"H\",[\"HH\",2],0,\"hour\"),I(\"h\",[\"hh\",2],0,Xe),I(\"k\",[\"kk\",2],0,function(){return this.hours()||24}),I(\"hmm\",0,0,function(){return\"\"+Xe.apply(this)+L(this.minutes(),2)}),I(\"hmmss\",0,0,function(){return\"\"+Xe.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),I(\"Hmm\",0,0,function(){return\"\"+this.hours()+L(this.minutes(),2)}),I(\"Hmmss\",0,0,function(){return\"\"+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)}),Ke(\"a\",!0),Ke(\"A\",!1),C(\"hour\",\"h\"),F(\"hour\",13),ue(\"a\",et),ue(\"A\",et),ue(\"H\",B),ue(\"h\",B),ue(\"k\",B),ue(\"HH\",B,z),ue(\"hh\",B,z),ue(\"kk\",B,z),ue(\"hmm\",Q),ue(\"hmmss\",X),ue(\"Hmm\",Q),ue(\"Hmmss\",X),ce([\"H\",\"HH\"],ge),ce([\"k\",\"kk\"],function(e,t,n){var s=D(e);t[ge]=24===s?0:s}),ce([\"a\",\"A\"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ce([\"h\",\"hh\"],function(e,t,n){t[ge]=D(e),g(n).bigHour=!0}),ce(\"hmm\",function(e,t,n){var s=e.length-2;t[ge]=D(e.substr(0,s)),t[ve]=D(e.substr(s)),g(n).bigHour=!0}),ce(\"hmmss\",function(e,t,n){var s=e.length-4,i=e.length-2;t[ge]=D(e.substr(0,s)),t[ve]=D(e.substr(s,2)),t[pe]=D(e.substr(i)),g(n).bigHour=!0}),ce(\"Hmm\",function(e,t,n){var s=e.length-2;t[ge]=D(e.substr(0,s)),t[ve]=D(e.substr(s))}),ce(\"Hmmss\",function(e,t,n){var s=e.length-4,i=e.length-2;t[ge]=D(e.substr(0,s)),t[ve]=D(e.substr(s,2)),t[pe]=D(e.substr(i))});var tt,nt=Te(\"Hours\",!0),st={calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},longDateFormat:{LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},invalidDate:\"Invalid date\",ordinal:\"%d\",dayOfMonthOrdinalParse:/\\d{1,2}/,relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},months:Ce,monthsShort:He,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:$e,weekdaysShort:ze,meridiemParse:/[ap]\\.?m?\\.?/i},it={},rt={};function at(e){return e?e.toLowerCase().replace(\"_\",\"-\"):e}function ot(e){var t=null;if(!it[e]&&\"undefined\"!=typeof module&&module&&module.exports)try{t=tt._abbr,require(\"./locale/\"+e),ut(t)}catch(e){}return it[e]}function ut(e,t){var n;return e&&((n=l(t)?ht(e):lt(e,t))?tt=n:\"undefined\"!=typeof console&&console.warn&&console.warn(\"Locale \"+e+\" not found. Did you forget to load it?\")),tt._abbr}function lt(e,t){if(null===t)return delete it[e],null;var n,s=st;if(t.abbr=e,null!=it[e])T(\"defineLocaleOverride\",\"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.\"),s=it[e]._config;else if(null!=t.parentLocale)if(null!=it[t.parentLocale])s=it[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return rt[t.parentLocale]||(rt[t.parentLocale]=[]),rt[t.parentLocale].push({name:e,config:t}),null;s=n._config}return it[e]=new P(x(s,t)),rt[e]&&rt[e].forEach(function(e){lt(e.name,e.config)}),ut(e),it[e]}function ht(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return tt;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r=t&&a(i,n,!0)>=t-1)break;t--}r++}return tt}(e)}function dt(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[_e]<0||11Pe(n[me],n[_e])?ye:n[ge]<0||24Ae(n,r,a)?g(e)._overflowWeeks=!0:null!=u?g(e)._overflowWeekday=!0:(o=Ee(n,s,i,r,a),e._a[me]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=ct(e._a[me],s[me]),(e._dayOfYear>Se(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=Ge(r,0,e._dayOfYear),e._a[_e]=n.getUTCMonth(),e._a[ye]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=s[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ge]&&0===e._a[ve]&&0===e._a[pe]&&0===e._a[we]&&(e._nextDay=!0,e._a[ge]=0),e._d=(e._useUTC?Ge:function(e,t,n,s,i,r,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ge]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}var mt=/^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,_t=/^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,yt=/Z|[+-]\\d\\d(?::?\\d\\d)?/,gt=[[\"YYYYYY-MM-DD\",/[+-]\\d{6}-\\d\\d-\\d\\d/],[\"YYYY-MM-DD\",/\\d{4}-\\d\\d-\\d\\d/],[\"GGGG-[W]WW-E\",/\\d{4}-W\\d\\d-\\d/],[\"GGGG-[W]WW\",/\\d{4}-W\\d\\d/,!1],[\"YYYY-DDD\",/\\d{4}-\\d{3}/],[\"YYYY-MM\",/\\d{4}-\\d\\d/,!1],[\"YYYYYYMMDD\",/[+-]\\d{10}/],[\"YYYYMMDD\",/\\d{8}/],[\"GGGG[W]WWE\",/\\d{4}W\\d{3}/],[\"GGGG[W]WW\",/\\d{4}W\\d{2}/,!1],[\"YYYYDDD\",/\\d{7}/]],vt=[[\"HH:mm:ss.SSSS\",/\\d\\d:\\d\\d:\\d\\d\\.\\d+/],[\"HH:mm:ss,SSSS\",/\\d\\d:\\d\\d:\\d\\d,\\d+/],[\"HH:mm:ss\",/\\d\\d:\\d\\d:\\d\\d/],[\"HH:mm\",/\\d\\d:\\d\\d/],[\"HHmmss.SSSS\",/\\d\\d\\d\\d\\d\\d\\.\\d+/],[\"HHmmss,SSSS\",/\\d\\d\\d\\d\\d\\d,\\d+/],[\"HHmmss\",/\\d\\d\\d\\d\\d\\d/],[\"HHmm\",/\\d\\d\\d\\d/],[\"HH\",/\\d\\d/]],pt=/^\\/?Date\\((\\-?\\d+)/i;function wt(e){var t,n,s,i,r,a,o=e._i,u=mt.exec(o)||_t.exec(o);if(u){for(g(e).iso=!0,t=0,n=gt.length;tn.valueOf():n.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mn.isLocal=function(){return!!this.isValid()&&!this._isUTC},mn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mn.isUtc=Et,mn.isUTC=Et,mn.zoneAbbr=function(){return this._isUTC?\"UTC\":\"\"},mn.zoneName=function(){return this._isUTC?\"Coordinated Universal Time\":\"\"},mn.dates=n(\"dates accessor is deprecated. Use date instead.\",un),mn.months=n(\"months accessor is deprecated. Use month instead\",Ue),mn.years=n(\"years accessor is deprecated. Use year instead\",Oe),mn.zone=n(\"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/\",function(e,t){return null!=e?(\"string\"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),mn.isDSTShifted=n(\"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information\",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Ot(e))._a){var t=e._isUTC?y(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&0 true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n" }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "index": 697, "index2": 725, "size": 895, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "issuerId": 125, "issuerName": "./node_modules/lodash/reduce.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 83, "building": 25, "dependencies": 4 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 111, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "module": "./node_modules/lodash/filter.js", "moduleName": "./node_modules/lodash/filter.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "3:19-45" }, { "moduleId": 123, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "module": "./node_modules/lodash/map.js", "moduleName": "./node_modules/lodash/map.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "2:19-45" }, { "moduleId": 125, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "module": "./node_modules/lodash/reduce.js", "moduleName": "./node_modules/lodash/reduce.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "3:19-45" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "4:19-45" }, { "moduleId": 285, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createFind.js", "module": "./node_modules/lodash/_createFind.js", "moduleName": "./node_modules/lodash/_createFind.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "1:19-45" }, { "moduleId": 286, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "module": "./node_modules/lodash/findIndex.js", "moduleName": "./node_modules/lodash/findIndex.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "2:19-45" }, { "moduleId": 291, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "module": "./node_modules/lodash/mapValues.js", "moduleName": "./node_modules/lodash/mapValues.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "3:19-45" }, { "moduleId": 300, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "module": "./node_modules/lodash/minBy.js", "moduleName": "./node_modules/lodash/minBy.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "2:19-45" }, { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "2:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n" }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "index": 790, "index2": 858, "size": 1329, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/class/classRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1912, "building": 395, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 136, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/dagre.js", "module": "./node_modules/dagre-d3/lib/dagre.js", "moduleName": "./node_modules/dagre-d3/lib/dagre.js", "type": "cjs require", "userRequest": "dagre", "loc": "7:12-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "1:0-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "2:0-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "2:0-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "5:0-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "91:2-7" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "98:2-7" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "201:2-7" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "243:2-7" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "/*\nCopyright (c) 2012-2014 Chris Pettitt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*/\n\nmodule.exports = {\n graphlib: require(\"./lib/graphlib\"),\n\n layout: require(\"./lib/layout\"),\n debug: require(\"./lib/debug\"),\n util: {\n time: require(\"./lib/util\").time,\n notime: require(\"./lib/util\").notime\n },\n version: require(\"./lib/version\")\n};\n" }, { "id": 22, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "index": 554, "index2": 552, "size": 57072, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/flow", "loc": "4:0-33" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/flow", "loc": "4:0-33" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "23:0-58" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "82:15-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "88:15-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "275:17-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "293:15-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "295:15-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "316:15-19" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,4],$V1=[1,3],$V2=[1,5],$V3=[1,8,9,10,11,26,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$V4=[2,2],$V5=[1,12],$V6=[1,13],$V7=[1,14],$V8=[1,15],$V9=[1,22],$Va=[1,46],$Vb=[1,24],$Vc=[1,25],$Vd=[1,26],$Ve=[1,27],$Vf=[1,28],$Vg=[1,40],$Vh=[1,35],$Vi=[1,37],$Vj=[1,32],$Vk=[1,36],$Vl=[1,39],$Vm=[1,43],$Vn=[1,44],$Vo=[1,45],$Vp=[1,34],$Vq=[1,38],$Vr=[1,41],$Vs=[1,42],$Vt=[1,33],$Vu=[1,51],$Vv=[1,8,9,10,11,26,30,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Vw=[1,55],$Vx=[1,54],$Vy=[1,56],$Vz=[8,9,11,57,58],$VA=[8,9,10,11,57,58],$VB=[8,9,10,11,35,57,58],$VC=[8,9,10,11,28,34,35,37,39,41,43,45,47,49,50,52,57,58,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VD=[8,9,11,34,57,58,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VE=[34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VF=[1,101],$VG=[1,122],$VH=[1,123],$VI=[1,124],$VJ=[1,125],$VK=[1,105],$VL=[1,96],$VM=[1,97],$VN=[1,93],$VO=[1,117],$VP=[1,118],$VQ=[1,119],$VR=[1,120],$VS=[1,121],$VT=[1,126],$VU=[1,127],$VV=[1,99],$VW=[1,107],$VX=[1,110],$VY=[1,108],$VZ=[1,109],$V_=[1,102],$V$=[1,115],$V01=[1,114],$V11=[1,98],$V21=[1,95],$V31=[1,104],$V41=[1,106],$V51=[1,111],$V61=[1,112],$V71=[1,113],$V81=[1,116],$V91=[8,9,10,11,26,30,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Va1=[1,130],$Vb1=[1,134],$Vc1=[1,136],$Vd1=[1,137],$Ve1=[8,9,10,11,12,13,26,28,29,30,34,38,40,42,44,46,48,49,51,53,57,58,59,63,64,65,66,67,68,69,72,78,79,82,83,84,86,87,88,89,93,94,95,96,97,98],$Vf1=[8,9,10,11,13,34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Vg1=[10,79],$Vh1=[1,204],$Vi1=[1,208],$Vj1=[1,205],$Vk1=[1,202],$Vl1=[1,199],$Vm1=[1,200],$Vn1=[1,201],$Vo1=[1,203],$Vp1=[1,206],$Vq1=[1,207],$Vr1=[1,209],$Vs1=[8,9,11],$Vt1=[1,225],$Vu1=[8,9,11,79],$Vv1=[8,9,10,11,63,75,78,79,82,83,84,85,86,87,88];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"mermaidDoc\":3,\"graphConfig\":4,\"document\":5,\"line\":6,\"statement\":7,\"SEMI\":8,\"NEWLINE\":9,\"SPACE\":10,\"EOF\":11,\"GRAPH\":12,\"DIR\":13,\"FirstStmtSeperator\":14,\"ending\":15,\"endToken\":16,\"spaceList\":17,\"spaceListNewline\":18,\"verticeStatement\":19,\"separator\":20,\"styleStatement\":21,\"linkStyleStatement\":22,\"classDefStatement\":23,\"classStatement\":24,\"clickStatement\":25,\"subgraph\":26,\"text\":27,\"SQS\":28,\"SQE\":29,\"end\":30,\"link\":31,\"node\":32,\"vertex\":33,\"AMP\":34,\"STYLE_SEPARATOR\":35,\"idString\":36,\"PS\":37,\"PE\":38,\"(-\":39,\"-)\":40,\"STADIUMSTART\":41,\"STADIUMEND\":42,\"SUBROUTINESTART\":43,\"SUBROUTINEEND\":44,\"CYLINDERSTART\":45,\"CYLINDEREND\":46,\"DIAMOND_START\":47,\"DIAMOND_STOP\":48,\"TAGEND\":49,\"TRAPSTART\":50,\"TRAPEND\":51,\"INVTRAPSTART\":52,\"INVTRAPEND\":53,\"linkStatement\":54,\"arrowText\":55,\"TESTSTR\":56,\"START_LINK\":57,\"LINK\":58,\"PIPE\":59,\"textToken\":60,\"STR\":61,\"keywords\":62,\"STYLE\":63,\"LINKSTYLE\":64,\"CLASSDEF\":65,\"CLASS\":66,\"CLICK\":67,\"DOWN\":68,\"UP\":69,\"textNoTags\":70,\"textNoTagsToken\":71,\"DEFAULT\":72,\"stylesOpt\":73,\"alphaNum\":74,\"HEX\":75,\"numList\":76,\"INTERPOLATE\":77,\"NUM\":78,\"COMMA\":79,\"style\":80,\"styleComponent\":81,\"ALPHA\":82,\"COLON\":83,\"MINUS\":84,\"UNIT\":85,\"BRKT\":86,\"DOT\":87,\"PCT\":88,\"TAGSTART\":89,\"alphaNumToken\":90,\"idStringToken\":91,\"alphaNumStatement\":92,\"PUNCTUATION\":93,\"UNICODE_TEXT\":94,\"PLUS\":95,\"EQUALS\":96,\"MULT\":97,\"UNDERSCORE\":98,\"graphCodeTokens\":99,\"ARROW_CROSS\":100,\"ARROW_POINT\":101,\"ARROW_CIRCLE\":102,\"ARROW_OPEN\":103,\"QUOTE\":104,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",8:\"SEMI\",9:\"NEWLINE\",10:\"SPACE\",11:\"EOF\",12:\"GRAPH\",13:\"DIR\",26:\"subgraph\",28:\"SQS\",29:\"SQE\",30:\"end\",34:\"AMP\",35:\"STYLE_SEPARATOR\",37:\"PS\",38:\"PE\",39:\"(-\",40:\"-)\",41:\"STADIUMSTART\",42:\"STADIUMEND\",43:\"SUBROUTINESTART\",44:\"SUBROUTINEEND\",45:\"CYLINDERSTART\",46:\"CYLINDEREND\",47:\"DIAMOND_START\",48:\"DIAMOND_STOP\",49:\"TAGEND\",50:\"TRAPSTART\",51:\"TRAPEND\",52:\"INVTRAPSTART\",53:\"INVTRAPEND\",56:\"TESTSTR\",57:\"START_LINK\",58:\"LINK\",59:\"PIPE\",61:\"STR\",63:\"STYLE\",64:\"LINKSTYLE\",65:\"CLASSDEF\",66:\"CLASS\",67:\"CLICK\",68:\"DOWN\",69:\"UP\",72:\"DEFAULT\",75:\"HEX\",77:\"INTERPOLATE\",78:\"NUM\",79:\"COMMA\",82:\"ALPHA\",83:\"COLON\",84:\"MINUS\",85:\"UNIT\",86:\"BRKT\",87:\"DOT\",88:\"PCT\",89:\"TAGSTART\",93:\"PUNCTUATION\",94:\"UNICODE_TEXT\",95:\"PLUS\",96:\"EQUALS\",97:\"MULT\",98:\"UNDERSCORE\",100:\"ARROW_CROSS\",101:\"ARROW_POINT\",102:\"ARROW_CIRCLE\",103:\"ARROW_OPEN\",104:\"QUOTE\"},\nproductions_: [0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,3],[15,2],[15,1],[16,1],[16,1],[16,1],[14,1],[14,1],[14,2],[18,2],[18,2],[18,1],[18,1],[17,2],[17,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[20,1],[20,1],[20,1],[19,3],[19,4],[19,2],[19,1],[32,1],[32,5],[32,3],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,1],[31,2],[31,3],[31,3],[31,1],[31,3],[54,1],[55,3],[27,1],[27,2],[27,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[70,1],[70,2],[23,5],[23,5],[24,5],[25,5],[25,7],[25,5],[25,7],[21,5],[21,5],[22,5],[22,5],[22,9],[22,9],[22,7],[22,7],[76,1],[76,3],[73,1],[73,3],[80,1],[80,2],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[71,1],[71,1],[71,1],[71,1],[36,1],[36,2],[74,1],[74,2],[92,1],[92,1],[92,1],[92,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 2:\n this.$ = [];\nbreak;\ncase 3:\n\n\t if($$[$0] !== []){\n\t $$[$0-1].push($$[$0]);\n\t }\n\t this.$=$$[$0-1];\nbreak;\ncase 4: case 67: case 69: case 81: case 127: case 129: case 130:\nthis.$=$$[$0];\nbreak;\ncase 11:\n yy.setDirection($$[$0-1]);this.$ = $$[$0-1];\nbreak;\ncase 26:\n /* console.warn('finat vs', $$[$0-1].nodes); */ this.$=$$[$0-1].nodes\nbreak;\ncase 27: case 28: case 29: case 30: case 31:\nthis.$=[];\nbreak;\ncase 32:\nthis.$=yy.addSubGraph($$[$0-6],$$[$0-1],$$[$0-4]);\nbreak;\ncase 33:\nthis.$=yy.addSubGraph($$[$0-3],$$[$0-1],$$[$0-3]);\nbreak;\ncase 34:\nthis.$=yy.addSubGraph(undefined,$$[$0-1],undefined);\nbreak;\ncase 38:\n /* console.warn('vs',$$[$0-2].stmt,$$[$0]); */ yy.addLink($$[$0-2].stmt,$$[$0],$$[$0-1]); this.$ = { stmt: $$[$0], nodes: $$[$0].concat($$[$0-2].nodes) } \nbreak;\ncase 39:\n /* console.warn('vs',$$[$0-3].stmt,$$[$0-1]); */ yy.addLink($$[$0-3].stmt,$$[$0-1],$$[$0-2]); this.$ = { stmt: $$[$0-1], nodes: $$[$0-1].concat($$[$0-3].nodes) } \nbreak;\ncase 40:\n/*console.warn('noda', $$[$0-1]);*/ this.$ = {stmt: $$[$0-1], nodes:$$[$0-1] }\nbreak;\ncase 41:\n /*console.warn('noda', $$[$0]);*/ this.$ = {stmt: $$[$0], nodes:$$[$0] }\nbreak;\ncase 42:\n /* console.warn('nod', $$[$0]); */ this.$ = [$$[$0]];\nbreak;\ncase 43:\n this.$ = $$[$0-4].concat($$[$0]); /* console.warn('pip', $$[$0-4][0], $$[$0], this.$); */ \nbreak;\ncase 44:\nthis.$ = [$$[$0-2]];yy.setClass($$[$0-2],$$[$0])\nbreak;\ncase 45:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'square');\nbreak;\ncase 46:\nthis.$ = $$[$0-5];yy.addVertex($$[$0-5],$$[$0-2],'circle');\nbreak;\ncase 47:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'ellipse');\nbreak;\ncase 48:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'stadium');\nbreak;\ncase 49:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'subroutine');\nbreak;\ncase 50:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'cylinder');\nbreak;\ncase 51:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'round');\nbreak;\ncase 52:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'diamond');\nbreak;\ncase 53:\nthis.$ = $$[$0-5];yy.addVertex($$[$0-5],$$[$0-2],'hexagon');\nbreak;\ncase 54:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'odd');\nbreak;\ncase 55:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'trapezoid');\nbreak;\ncase 56:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'inv_trapezoid');\nbreak;\ncase 57:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'lean_right');\nbreak;\ncase 58:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'lean_left');\nbreak;\ncase 59:\n /*console.warn('h: ', $$[$0]);*/this.$ = $$[$0];yy.addVertex($$[$0]);\nbreak;\ncase 60:\n$$[$0-1].text = $$[$0];this.$ = $$[$0-1];\nbreak;\ncase 61: case 62:\n$$[$0-2].text = $$[$0-1];this.$ = $$[$0-2];\nbreak;\ncase 63:\nthis.$ = $$[$0];\nbreak;\ncase 64:\nvar inf = yy.destructLink($$[$0], $$[$0-2]); this.$ = {\"type\":inf.type,\"stroke\":inf.stroke,\"text\":$$[$0-1]};\nbreak;\ncase 65:\nvar inf = yy.destructLink($$[$0]);this.$ = {\"type\":inf.type,\"stroke\":inf.stroke};\nbreak;\ncase 66:\nthis.$ = $$[$0-1];\nbreak;\ncase 68: case 82: case 128:\nthis.$=$$[$0-1]+''+$$[$0];\nbreak;\ncase 83: case 84:\nthis.$ = $$[$0-4];yy.addClass($$[$0-2],$$[$0]);\nbreak;\ncase 85:\nthis.$ = $$[$0-4];yy.setClass($$[$0-2], $$[$0]);\nbreak;\ncase 86:\nthis.$ = $$[$0-4];yy.setClickEvent($$[$0-2], $$[$0], undefined);\nbreak;\ncase 87:\nthis.$ = $$[$0-6];yy.setClickEvent($$[$0-4], $$[$0-2], $$[$0]) ;\nbreak;\ncase 88:\nthis.$ = $$[$0-4];yy.setLink($$[$0-2], $$[$0], undefined);\nbreak;\ncase 89:\nthis.$ = $$[$0-6];yy.setLink($$[$0-4], $$[$0-2], $$[$0] );\nbreak;\ncase 90:\nthis.$ = $$[$0-4];yy.addVertex($$[$0-2],undefined,undefined,$$[$0]);\nbreak;\ncase 91: case 93:\nthis.$ = $$[$0-4];yy.updateLink($$[$0-2],$$[$0]);\nbreak;\ncase 92:\nthis.$ = $$[$0-4];yy.updateLink([$$[$0-2]],$$[$0]);\nbreak;\ncase 94:\nthis.$ = $$[$0-8];yy.updateLinkInterpolate([$$[$0-6]],$$[$0-2]);yy.updateLink([$$[$0-6]],$$[$0]);\nbreak;\ncase 95:\nthis.$ = $$[$0-8];yy.updateLinkInterpolate($$[$0-6],$$[$0-2]);yy.updateLink($$[$0-6],$$[$0]);\nbreak;\ncase 96:\nthis.$ = $$[$0-6];yy.updateLinkInterpolate([$$[$0-4]],$$[$0]);\nbreak;\ncase 97:\nthis.$ = $$[$0-6];yy.updateLinkInterpolate($$[$0-4],$$[$0]);\nbreak;\ncase 98: case 100:\nthis.$ = [$$[$0]]\nbreak;\ncase 99: case 101:\n$$[$0-2].push($$[$0]);this.$ = $$[$0-2];\nbreak;\ncase 103:\nthis.$ = $$[$0-1] + $$[$0];\nbreak;\ncase 125:\nthis.$=$$[$0]\nbreak;\ncase 126:\nthis.$=$$[$0-1]+''+$$[$0]\nbreak;\ncase 131:\nthis.$='v';\nbreak;\ncase 132:\nthis.$='-';\nbreak;\n}\n},\ntable: [{3:1,4:2,9:$V0,10:$V1,12:$V2},{1:[3]},o($V3,$V4,{5:6}),{4:7,9:$V0,10:$V1,12:$V2},{4:8,9:$V0,10:$V1,12:$V2},{13:[1,9]},{1:[2,1],6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($V3,[2,9]),o($V3,[2,10]),{8:[1,48],9:[1,49],10:$Vu,14:47,17:50},o($Vv,[2,3]),o($Vv,[2,4]),o($Vv,[2,5]),o($Vv,[2,6]),o($Vv,[2,7]),o($Vv,[2,8]),{8:$Vw,9:$Vx,11:$Vy,20:52,31:53,54:57,57:[1,58],58:[1,59]},{8:$Vw,9:$Vx,11:$Vy,20:60},{8:$Vw,9:$Vx,11:$Vy,20:61},{8:$Vw,9:$Vx,11:$Vy,20:62},{8:$Vw,9:$Vx,11:$Vy,20:63},{8:$Vw,9:$Vx,11:$Vy,20:64},{8:$Vw,9:$Vx,10:[1,65],11:$Vy,20:66},o($Vz,[2,41],{17:67,10:$Vu}),{10:[1,68]},{10:[1,69]},{10:[1,70]},{10:[1,71]},{10:[1,72]},o($VA,[2,42],{35:[1,73]}),o($VB,[2,59],{91:84,28:[1,74],34:$Va,37:[1,75],39:[1,76],41:[1,77],43:[1,78],45:[1,79],47:[1,80],49:[1,81],50:[1,82],52:[1,83],68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt}),o($VC,[2,125]),o($VC,[2,146]),o($VC,[2,147]),o($VC,[2,148]),o($VC,[2,149]),o($VC,[2,150]),o($VC,[2,151]),o($VC,[2,152]),o($VC,[2,153]),o($VC,[2,154]),o($VC,[2,155]),o($VC,[2,156]),o($VC,[2,157]),o($VC,[2,158]),o($VC,[2,159]),o($VC,[2,160]),o($V3,[2,11]),o($V3,[2,17]),o($V3,[2,18]),{9:[1,85]},o($VD,[2,25],{17:86,10:$Vu}),o($Vv,[2,26]),{32:87,33:29,34:$Va,36:30,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($Vv,[2,35]),o($Vv,[2,36]),o($Vv,[2,37]),o($VE,[2,63],{55:88,56:[1,89],59:[1,90]}),{10:$VF,12:$VG,13:$VH,26:$VI,27:91,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o([34,56,59,68,78,79,82,83,84,86,87,93,94,95,96,97,98],[2,65]),o($Vv,[2,27]),o($Vv,[2,28]),o($Vv,[2,29]),o($Vv,[2,30]),o($Vv,[2,31]),{10:$VF,12:$VG,13:$VH,26:$VI,27:128,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($V91,$V4,{5:129}),o($Vz,[2,40],{34:$Va1}),{13:$Vb1,34:$VK,68:$Vc1,74:131,75:[1,132],78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{72:[1,138],76:139,78:[1,140]},{13:$Vb1,34:$VK,68:$Vc1,72:[1,141],74:142,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:143,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:144,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{34:$Va,36:145,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$VF,12:$VG,13:$VH,26:$VI,27:146,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:148,30:$VJ,34:$VK,37:[1,147],49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:149,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:150,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:151,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:152,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:153,30:$VJ,34:$VK,47:[1,154],49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:155,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:156,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:157,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VC,[2,126]),o($V3,[2,19]),o($VD,[2,24]),o($Vz,[2,38],{17:158,10:$Vu}),o($VE,[2,60],{10:[1,159]}),{10:[1,160]},{10:$VF,12:$VG,13:$VH,26:$VI,27:161,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,57:$VM,58:[1,162],60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($Ve1,[2,67]),o($Ve1,[2,69]),o($Ve1,[2,115]),o($Ve1,[2,116]),o($Ve1,[2,117]),o($Ve1,[2,118]),o($Ve1,[2,119]),o($Ve1,[2,120]),o($Ve1,[2,121]),o($Ve1,[2,122]),o($Ve1,[2,123]),o($Ve1,[2,124]),o($Ve1,[2,133]),o($Ve1,[2,134]),o($Ve1,[2,135]),o($Ve1,[2,136]),o($Ve1,[2,137]),o($Ve1,[2,138]),o($Ve1,[2,139]),o($Ve1,[2,140]),o($Ve1,[2,141]),o($Ve1,[2,142]),o($Ve1,[2,143]),o($Ve1,[2,144]),o($Ve1,[2,145]),o($Ve1,[2,70]),o($Ve1,[2,71]),o($Ve1,[2,72]),o($Ve1,[2,73]),o($Ve1,[2,74]),o($Ve1,[2,75]),o($Ve1,[2,76]),o($Ve1,[2,77]),o($Ve1,[2,78]),o($Ve1,[2,79]),o($Ve1,[2,80]),{8:$Vw,9:$Vx,10:$VF,11:$Vy,12:$VG,13:$VH,20:165,26:$VI,28:[1,164],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,166],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vu,17:167},{10:[1,168],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,170]},o($Vf1,[2,127]),o($Vf1,[2,129]),o($Vf1,[2,130]),o($Vf1,[2,131]),o($Vf1,[2,132]),{10:[1,171]},{10:[1,172],79:[1,173]},o($Vg1,[2,98]),{10:[1,174]},{10:[1,175],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,176],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,177],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VA,[2,44],{91:84,34:$Va,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt}),{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,178],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:179,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,38:[1,180],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,40:[1,181],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,42:[1,182],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,44:[1,183],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,46:[1,184],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,48:[1,185],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:186,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,187],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,51:[1,188],53:[1,189],57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,51:[1,191],53:[1,190],57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($Vz,[2,39],{34:$Va1}),o($VE,[2,62]),o($VE,[2,61]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,57:$VM,59:[1,192],60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VE,[2,64]),o($Ve1,[2,68]),{10:$VF,12:$VG,13:$VH,26:$VI,27:193,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($V91,$V4,{5:194}),o($Vv,[2,34]),{33:195,34:$Va,36:30,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vh1,63:$Vi1,73:196,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vf1,[2,128]),{10:$Vh1,63:$Vi1,73:210,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:211,75:$Vj1,77:[1,212],78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:213,75:$Vj1,77:[1,214],78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{78:[1,215]},{10:$Vh1,63:$Vi1,73:216,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:217,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{13:$Vb1,34:$VK,68:$Vc1,74:218,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,61:[1,220],68:$Vc1,74:219,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,45]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,38:[1,221],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,51]),o($VB,[2,47]),o($VB,[2,48]),o($VB,[2,49]),o($VB,[2,50]),o($VB,[2,52]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,48:[1,222],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,54]),o($VB,[2,55]),o($VB,[2,57]),o($VB,[2,56]),o($VB,[2,58]),o([10,34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],[2,66]),{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,223],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,224],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($VA,[2,43]),o($Vs1,[2,90],{79:$Vt1}),o($Vu1,[2,100],{81:226,10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1}),o($Vv1,[2,102]),o($Vv1,[2,104]),o($Vv1,[2,105]),o($Vv1,[2,106]),o($Vv1,[2,107]),o($Vv1,[2,108]),o($Vv1,[2,109]),o($Vv1,[2,110]),o($Vv1,[2,111]),o($Vv1,[2,112]),o($Vv1,[2,113]),o($Vv1,[2,114]),o($Vs1,[2,91],{79:$Vt1}),o($Vs1,[2,92],{79:$Vt1}),{10:[1,227]},o($Vs1,[2,93],{79:$Vt1}),{10:[1,228]},o($Vg1,[2,99]),o($Vs1,[2,83],{79:$Vt1}),o($Vs1,[2,84],{79:$Vt1}),o($Vs1,[2,85],{90:135,92:169,13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,86],{90:135,92:169,10:[1,229],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,88],{10:[1,230]}),{38:[1,231]},{48:[1,232]},{8:$Vw,9:$Vx,11:$Vy,20:233},o($Vv,[2,33]),{10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,80:234,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vv1,[2,103]),{13:$Vb1,34:$VK,68:$Vc1,74:235,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:236,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{61:[1,237]},{61:[1,238]},o($VB,[2,46]),o($VB,[2,53]),o($V91,$V4,{5:239}),o($Vu1,[2,101],{81:226,10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1}),o($Vs1,[2,96],{90:135,92:169,10:[1,240],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,97],{90:135,92:169,10:[1,241],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,87]),o($Vs1,[2,89]),{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,242],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vh1,63:$Vi1,73:243,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:244,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vv,[2,32]),o($Vs1,[2,94],{79:$Vt1}),o($Vs1,[2,95],{79:$Vt1})],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:this.begin(\"string\");\nbreak;\ncase 2:this.popState();\nbreak;\ncase 3:return \"STR\";\nbreak;\ncase 4:return 63;\nbreak;\ncase 5:return 72;\nbreak;\ncase 6:return 64;\nbreak;\ncase 7:return 77;\nbreak;\ncase 8:return 65;\nbreak;\ncase 9:return 66;\nbreak;\ncase 10:return 67;\nbreak;\ncase 11:if(yy.lex.firstGraph()){this.begin(\"dir\");} return 12;\nbreak;\ncase 12:if(yy.lex.firstGraph()){this.begin(\"dir\");} return 12;\nbreak;\ncase 13:return 26;\nbreak;\ncase 14:return 30;\nbreak;\ncase 15: this.popState(); return 13; \nbreak;\ncase 16: this.popState(); return 13; \nbreak;\ncase 17: this.popState(); return 13; \nbreak;\ncase 18: this.popState(); return 13; \nbreak;\ncase 19: this.popState(); return 13; \nbreak;\ncase 20: this.popState(); return 13; \nbreak;\ncase 21: this.popState(); return 13; \nbreak;\ncase 22: this.popState(); return 13; \nbreak;\ncase 23: this.popState(); return 13; \nbreak;\ncase 24: this.popState(); return 13; \nbreak;\ncase 25: return 78;\nbreak;\ncase 26:return 86;\nbreak;\ncase 27:return 35;\nbreak;\ncase 28:return 83;\nbreak;\ncase 29:return 34;\nbreak;\ncase 30:return 8;\nbreak;\ncase 31:return 79;\nbreak;\ncase 32:return 97;\nbreak;\ncase 33:return 58;\nbreak;\ncase 34:return 58;\nbreak;\ncase 35:return 58;\nbreak;\ncase 36:return 58;\nbreak;\ncase 37:return 58;\nbreak;\ncase 38:return 58;\nbreak;\ncase 39:return 58;\nbreak;\ncase 40:return 58;\nbreak;\ncase 41:return 58;\nbreak;\ncase 42:return 58;\nbreak;\ncase 43:return 58;\nbreak;\ncase 44:return 58;\nbreak;\ncase 45:return 58;\nbreak;\ncase 46:return 58;\nbreak;\ncase 47:return 58;\nbreak;\ncase 48:return 58;\nbreak;\ncase 49:return 58;\nbreak;\ncase 50:return 58;\nbreak;\ncase 51:return 58;\nbreak;\ncase 52:return 58;\nbreak;\ncase 53:return 58;\nbreak;\ncase 54:return 58;\nbreak;\ncase 55:return 58;\nbreak;\ncase 56:return 58;\nbreak;\ncase 57:return 58;\nbreak;\ncase 58:return 58;\nbreak;\ncase 59:return 58;\nbreak;\ncase 60:return 58;\nbreak;\ncase 61:return 57;\nbreak;\ncase 62:return 57;\nbreak;\ncase 63:return 57;\nbreak;\ncase 64:return 57;\nbreak;\ncase 65:return 57;\nbreak;\ncase 66:return 57;\nbreak;\ncase 67:return 57;\nbreak;\ncase 68:return 57;\nbreak;\ncase 69:return 57;\nbreak;\ncase 70:return 57;\nbreak;\ncase 71:return 57;\nbreak;\ncase 72:return 57;\nbreak;\ncase 73:return 39;\nbreak;\ncase 74:return 40;\nbreak;\ncase 75:return 41;\nbreak;\ncase 76:return 42;\nbreak;\ncase 77:return 43;\nbreak;\ncase 78:return 44;\nbreak;\ncase 79:return 45;\nbreak;\ncase 80:return 46;\nbreak;\ncase 81:return 84;\nbreak;\ncase 82:return 87;\nbreak;\ncase 83:return 98;\nbreak;\ncase 84:return 95;\nbreak;\ncase 85:return 88;\nbreak;\ncase 86:return 96;\nbreak;\ncase 87:return 96;\nbreak;\ncase 88:return 89;\nbreak;\ncase 89:return 49;\nbreak;\ncase 90:return 69;\nbreak;\ncase 91:return 'SEP';\nbreak;\ncase 92:return 68;\nbreak;\ncase 93:return 82;\nbreak;\ncase 94:return 51;\nbreak;\ncase 95:return 50;\nbreak;\ncase 96:return 53;\nbreak;\ncase 97:return 52;\nbreak;\ncase 98:return 93;\nbreak;\ncase 99:return 94;\nbreak;\ncase 100:return 59;\nbreak;\ncase 101:return 37;\nbreak;\ncase 102:return 38;\nbreak;\ncase 103:return 28;\nbreak;\ncase 104:return 29;\nbreak;\ncase 105:return 47\nbreak;\ncase 106:return 48\nbreak;\ncase 107:return 104;\nbreak;\ncase 108:return 9;\nbreak;\ncase 109:return 10;\nbreak;\ncase 110:return 11;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*\\n*)/,/^(?:[\"])/,/^(?:[\"])/,/^(?:[^\"]*)/,/^(?:style\\b)/,/^(?:default\\b)/,/^(?:linkStyle\\b)/,/^(?:interpolate\\b)/,/^(?:classDef\\b)/,/^(?:class\\b)/,/^(?:click\\b)/,/^(?:graph\\b)/,/^(?:flowchart\\b)/,/^(?:subgraph\\b)/,/^(?:end\\b\\s*)/,/^(?:\\s*LR\\b)/,/^(?:\\s*RL\\b)/,/^(?:\\s*TB\\b)/,/^(?:\\s*BT\\b)/,/^(?:\\s*TD\\b)/,/^(?:\\s*BR\\b)/,/^(?:\\s*<)/,/^(?:\\s*>)/,/^(?:\\s*\\^)/,/^(?:\\s*v\\b)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\\*)/,/^(?:\\s*--[x]\\s*)/,/^(?:\\s*-->\\s*)/,/^(?:\\s*<-->\\s*)/,/^(?:\\s*[x]--[x]\\s*)/,/^(?:\\s*[o]--[o]\\s*)/,/^(?:\\s*[o]\\.-[o]\\s*)/,/^(?:\\s*<==>\\s*)/,/^(?:\\s*[o]==[o]\\s*)/,/^(?:\\s*[x]==[x]\\s*)/,/^(?:\\s*[x].-[x]\\s*)/,/^(?:\\s*[x]-\\.-[x]\\s*)/,/^(?:\\s*<\\.->\\s*)/,/^(?:\\s*<-\\.->\\s*)/,/^(?:\\s*[o]-\\.-[o]\\s*)/,/^(?:\\s*--[o]\\s*)/,/^(?:\\s*---\\s*)/,/^(?:\\s*-\\.-[x]\\s*)/,/^(?:\\s*-\\.->\\s*)/,/^(?:\\s*-\\.-[o]\\s*)/,/^(?:\\s*-\\.-\\s*)/,/^(?:\\s*.-[x]\\s*)/,/^(?:\\s*\\.->\\s*)/,/^(?:\\s*\\.-[o]\\s*)/,/^(?:\\s*\\.-\\s*)/,/^(?:\\s*==[x]\\s*)/,/^(?:\\s*==>\\s*)/,/^(?:\\s*==[o]\\s*)/,/^(?:\\s*==[\\=]\\s*)/,/^(?:\\s*<--\\s*)/,/^(?:\\s*[x]--\\s*)/,/^(?:\\s*[o]--\\s*)/,/^(?:\\s*<-\\.\\s*)/,/^(?:\\s*[x]-\\.\\s*)/,/^(?:\\s*[o]-\\.\\s*)/,/^(?:\\s*<==\\s*)/,/^(?:\\s*[x]==\\s*)/,/^(?:\\s*[o]==\\s*)/,/^(?:\\s*--\\s*)/,/^(?:\\s*-\\.\\s*)/,/^(?:\\s*==\\s*)/,/^(?:\\(-)/,/^(?:-\\))/,/^(?:\\(\\[)/,/^(?:\\]\\))/,/^(?:\\[\\[)/,/^(?:\\]\\])/,/^(?:\\[\\()/,/^(?:\\)\\])/,/^(?:-)/,/^(?:\\.)/,/^(?:[\\_])/,/^(?:\\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\\^)/,/^(?:\\\\\\|)/,/^(?:v\\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\\\\])/,/^(?:\\[\\/)/,/^(?:\\/\\])/,/^(?:\\[\\\\)/,/^(?:[!\"#$%&'*+,-.`?\\\\_/])/,/^(?:[\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6]|[\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377]|[\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5]|[\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA]|[\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE]|[\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA]|[\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0]|[\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977]|[\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2]|[\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A]|[\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39]|[\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8]|[\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C]|[\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C]|[\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99]|[\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0]|[\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D]|[\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3]|[\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10]|[\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1]|[\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81]|[\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3]|[\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6]|[\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A]|[\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081]|[\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D]|[\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0]|[\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310]|[\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C]|[\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711]|[\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7]|[\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C]|[\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16]|[\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF]|[\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC]|[\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D]|[\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D]|[\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3]|[\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F]|[\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128]|[\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184]|[\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3]|[\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6]|[\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE]|[\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C]|[\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D]|[\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC]|[\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B]|[\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788]|[\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805]|[\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB]|[\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28]|[\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5]|[\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4]|[\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E]|[\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D]|[\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36]|[\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D]|[\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC]|[\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF]|[\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC])/,/^(?:\\|)/,/^(?:\\()/,/^(?:\\))/,/^(?:\\[)/,/^(?:\\])/,/^(?:\\{)/,/^(?:\\})/,/^(?:\")/,/^(?:(\\r|\\n|\\r\\n)+)/,/^(?:\\s)/,/^(?:$)/],\nconditions: {\"vertex\":{\"rules\":[],\"inclusive\":false},\"dir\":{\"rules\":[15,16,17,18,19,20,21,22,23,24],\"inclusive\":false},\"string\":{\"rules\":[2,3],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,4,5,6,7,8,9,10,11,12,13,14,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 23, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "name": "./src/diagrams/gantt/parser/gantt.jison", "index": 557, "index2": 555, "size": 25297, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/gantt", "loc": "2:0-40" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "5:0-6" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "25:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "26:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/parser/gantt", "loc": "29:0-56" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "38:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "84:26-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/parser/gantt", "loc": "98:15-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "281:113-119" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,8,10,11,12,13,14,15,16,17,19,21],$V1=[1,9],$V2=[1,10],$V3=[1,11],$V4=[1,12],$V5=[1,13],$V6=[1,14],$V7=[1,15],$V8=[1,17],$V9=[1,18];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"gantt\":4,\"document\":5,\"EOF\":6,\"line\":7,\"SPACE\":8,\"statement\":9,\"NL\":10,\"dateFormat\":11,\"inclusiveEndDates\":12,\"axisFormat\":13,\"excludes\":14,\"todayMarker\":15,\"title\":16,\"section\":17,\"clickStatement\":18,\"taskTxt\":19,\"taskData\":20,\"click\":21,\"callbackname\":22,\"callbackargs\":23,\"href\":24,\"clickStatementDebug\":25,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"gantt\",6:\"EOF\",8:\"SPACE\",10:\"NL\",11:\"dateFormat\",12:\"inclusiveEndDates\",13:\"axisFormat\",14:\"excludes\",15:\"todayMarker\",16:\"title\",17:\"section\",19:\"taskTxt\",20:\"taskData\",21:\"click\",22:\"callbackname\",23:\"callbackargs\",24:\"href\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[18,2],[18,3],[18,3],[18,4],[18,3],[18,4],[18,2],[25,2],[25,3],[25,3],[25,4],[25,3],[25,4],[25,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\n this.$ = [] \nbreak;\ncase 3:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 4: case 5:\n this.$ = $$[$0] \nbreak;\ncase 6: case 7:\n this.$=[];\nbreak;\ncase 8:\nyy.setDateFormat($$[$0].substr(11));this.$=$$[$0].substr(11);\nbreak;\ncase 9:\nyy.enableInclusiveEndDates();this.$=$$[$0].substr(18);\nbreak;\ncase 10:\nyy.setAxisFormat($$[$0].substr(11));this.$=$$[$0].substr(11);\nbreak;\ncase 11:\nyy.setExcludes($$[$0].substr(9));this.$=$$[$0].substr(9);\nbreak;\ncase 12:\nyy.setTodayMarker($$[$0].substr(12));this.$=$$[$0].substr(12);\nbreak;\ncase 13:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\ncase 14:\nyy.addSection($$[$0].substr(8));this.$=$$[$0].substr(8);\nbreak;\ncase 16:\nyy.addTask($$[$0-1],$$[$0]);this.$='task';\nbreak;\ncase 17:\nthis.$ = $$[$0-1];yy.setClickEvent($$[$0-1], $$[$0], null);\nbreak;\ncase 18:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\ncase 19:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0-1], null);yy.setLink($$[$0-2],$$[$0]);\nbreak;\ncase 20:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-3], $$[$0-2], $$[$0-1]);yy.setLink($$[$0-3],$$[$0]);\nbreak;\ncase 21:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0], null);yy.setLink($$[$0-2],$$[$0-1]);\nbreak;\ncase 22:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-3], $$[$0-1], $$[$0]);yy.setLink($$[$0-3],$$[$0-2]);\nbreak;\ncase 23:\nthis.$ = $$[$0-1];yy.setLink($$[$0-1], $$[$0]);\nbreak;\ncase 24: case 30:\nthis.$=$$[$0-1] + ' ' + $$[$0];\nbreak;\ncase 25: case 26: case 28:\nthis.$=$$[$0-2] + ' ' + $$[$0-1] + ' ' + $$[$0];\nbreak;\ncase 27: case 29:\nthis.$=$$[$0-3] + ' ' + $$[$0-2] + ' ' + $$[$0-1] + ' ' + $$[$0];\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:$V1,12:$V2,13:$V3,14:$V4,15:$V5,16:$V6,17:$V7,18:16,19:$V8,21:$V9},o($V0,[2,7],{1:[2,1]}),o($V0,[2,3]),{9:19,11:$V1,12:$V2,13:$V3,14:$V4,15:$V5,16:$V6,17:$V7,18:16,19:$V8,21:$V9},o($V0,[2,5]),o($V0,[2,6]),o($V0,[2,8]),o($V0,[2,9]),o($V0,[2,10]),o($V0,[2,11]),o($V0,[2,12]),o($V0,[2,13]),o($V0,[2,14]),o($V0,[2,15]),{20:[1,20]},{22:[1,21],24:[1,22]},o($V0,[2,4]),o($V0,[2,16]),o($V0,[2,17],{23:[1,23],24:[1,24]}),o($V0,[2,23],{22:[1,25]}),o($V0,[2,18],{24:[1,26]}),o($V0,[2,19]),o($V0,[2,21],{23:[1,27]}),o($V0,[2,20]),o($V0,[2,22])],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 10;\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:this.begin(\"href\");\nbreak;\ncase 5:this.popState();\nbreak;\ncase 6:return 24;\nbreak;\ncase 7:this.begin(\"callbackname\");\nbreak;\ncase 8:this.popState();\nbreak;\ncase 9:this.popState(); this.begin(\"callbackargs\");\nbreak;\ncase 10:return 22;\nbreak;\ncase 11:this.popState();\nbreak;\ncase 12:return 23;\nbreak;\ncase 13:this.begin(\"click\");\nbreak;\ncase 14:this.popState();\nbreak;\ncase 15:return 21;\nbreak;\ncase 16:return 4;\nbreak;\ncase 17:return 11;\nbreak;\ncase 18:return 12;\nbreak;\ncase 19:return 13;\nbreak;\ncase 20:return 14;\nbreak;\ncase 21:return 15;\nbreak;\ncase 22:return 'date';\nbreak;\ncase 23:return 16;\nbreak;\ncase 24:return 17;\nbreak;\ncase 25:return 19;\nbreak;\ncase 26:return 20;\nbreak;\ncase 27:return ':';\nbreak;\ncase 28:return 6;\nbreak;\ncase 29:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:href[\\s]+[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:call[\\s]+)/i,/^(?:\\([\\s]*\\))/i,/^(?:\\()/i,/^(?:[^(]*)/i,/^(?:\\))/i,/^(?:[^)]*)/i,/^(?:click[\\s]+)/i,/^(?:[\\s\\n])/i,/^(?:[^\\s\\n]*)/i,/^(?:gantt\\b)/i,/^(?:dateFormat\\s[^#\\n;]+)/i,/^(?:inclusiveEndDates\\b)/i,/^(?:axisFormat\\s[^#\\n;]+)/i,/^(?:excludes\\s[^#\\n;]+)/i,/^(?:todayMarker\\s[^\\n;]+)/i,/^(?:\\d\\d\\d\\d-\\d\\d-\\d\\d\\b)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:section\\s[^#:\\n;]+)/i,/^(?:[^#:\\n;]+)/i,/^(?::[^#\\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"callbackargs\":{\"rules\":[11,12],\"inclusive\":false},\"callbackname\":{\"rules\":[8,9,10],\"inclusive\":false},\"href\":{\"rules\":[5,6],\"inclusive\":false},\"click\":{\"rules\":[14,15],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,7,13,16,17,18,19,20,21,22,23,24,25,26,27,28,29],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 24, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "name": "./src/diagrams/user-journey/parser/journey.jison", "index": 569, "index2": 567, "size": 21995, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/journey", "loc": "2:0-42" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "5:0-6" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/parser/journey", "loc": "51:0-67" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "71:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "72:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "77:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "78:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "79:19-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/parser/journey", "loc": "137:15-28" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,8,10,11,12,13],$V1=[1,9],$V2=[1,10],$V3=[1,11];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"journey\":4,\"document\":5,\"EOF\":6,\"line\":7,\"SPACE\":8,\"statement\":9,\"NL\":10,\"title\":11,\"section\":12,\"taskName\":13,\"taskData\":14,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"journey\",6:\"EOF\",8:\"SPACE\",10:\"NL\",11:\"title\",12:\"section\",13:\"taskName\",14:\"taskData\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\n this.$ = [] \nbreak;\ncase 3:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 4: case 5:\n this.$ = $$[$0] \nbreak;\ncase 6: case 7:\n this.$=[];\nbreak;\ncase 8:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\ncase 9:\nyy.addSection($$[$0].substr(8));this.$=$$[$0].substr(8);\nbreak;\ncase 10:\nyy.addTask($$[$0-1], $$[$0]);this.$='task';\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:$V1,12:$V2,13:$V3},o($V0,[2,7],{1:[2,1]}),o($V0,[2,3]),{9:12,11:$V1,12:$V2,13:$V3},o($V0,[2,5]),o($V0,[2,6]),o($V0,[2,8]),o($V0,[2,9]),{14:[1,13]},o($V0,[2,4]),o($V0,[2,10])],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 10;\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:return 4;\nbreak;\ncase 5:return 11;\nbreak;\ncase 6:return 12;\nbreak;\ncase 7:return 13;\nbreak;\ncase 8:return 14;\nbreak;\ncase 9:return ':';\nbreak;\ncase 10:return 6;\nbreak;\ncase 11:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:journey\\b)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:section\\s[^#:\\n;]+)/i,/^(?:[^#:\\n;]+)/i,/^(?::[^#\\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 25, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keys.js", "name": "./node_modules/lodash/keys.js", "index": 629, "index2": 638, "size": 884, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/keys", "loc": "17:12-34" }, { "moduleId": 80, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseForOwn.js", "module": "./node_modules/lodash/_baseForOwn.js", "moduleName": "./node_modules/lodash/_baseForOwn.js", "type": "cjs require", "userRequest": "./keys", "loc": "2:11-28" }, { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./keys", "loc": "21:11-28" }, { "moduleId": 102, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeys.js", "module": "./node_modules/lodash/_getAllKeys.js", "moduleName": "./node_modules/lodash/_getAllKeys.js", "type": "cjs require", "userRequest": "./keys", "loc": "3:11-28" }, { "moduleId": 130, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/values.js", "module": "./node_modules/lodash/values.js", "moduleName": "./node_modules/lodash/values.js", "type": "cjs require", "userRequest": "./keys", "loc": "2:11-28" }, { "moduleId": 199, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssign.js", "module": "./node_modules/lodash/_baseAssign.js", "moduleName": "./node_modules/lodash/_baseAssign.js", "type": "cjs require", "userRequest": "./keys", "loc": "2:11-28" }, { "moduleId": 235, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMatchData.js", "module": "./node_modules/lodash/_getMatchData.js", "moduleName": "./node_modules/lodash/_getMatchData.js", "type": "cjs require", "userRequest": "./keys", "loc": "2:11-28" }, { "moduleId": 285, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createFind.js", "module": "./node_modules/lodash/_createFind.js", "moduleName": "./node_modules/lodash/_createFind.js", "type": "cjs require", "userRequest": "./keys", "loc": "3:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n" }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/d3.js", "name": "./node_modules/dagre-d3/lib/d3.js", "index": 873, "index2": 868, "size": 280, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./d3", "loc": "2:9-24" }, { "moduleId": 341, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-nodes.js", "module": "./node_modules/dagre-d3/lib/create-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/create-nodes.js", "type": "cjs require", "userRequest": "./d3", "loc": "6:9-24" }, { "moduleId": 344, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-clusters.js", "module": "./node_modules/dagre-d3/lib/create-clusters.js", "moduleName": "./node_modules/dagre-d3/lib/create-clusters.js", "type": "cjs require", "userRequest": "./d3", "loc": "2:9-24" }, { "moduleId": 345, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "module": "./node_modules/dagre-d3/lib/create-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-labels.js", "type": "cjs require", "userRequest": "./d3", "loc": "6:9-24" }, { "moduleId": 346, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-paths.js", "module": "./node_modules/dagre-d3/lib/create-edge-paths.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-paths.js", "type": "cjs require", "userRequest": "./d3", "loc": "6:9-24" }, { "moduleId": 347, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-nodes.js", "module": "./node_modules/dagre-d3/lib/position-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/position-nodes.js", "type": "cjs require", "userRequest": "./d3", "loc": "4:9-24" }, { "moduleId": 348, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-edge-labels.js", "module": "./node_modules/dagre-d3/lib/position-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/position-edge-labels.js", "type": "cjs require", "userRequest": "./d3", "loc": "4:9-24" }, { "moduleId": 349, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-clusters.js", "module": "./node_modules/dagre-d3/lib/position-clusters.js", "moduleName": "./node_modules/dagre-d3/lib/position-clusters.js", "type": "cjs require", "userRequest": "./d3", "loc": "4:9-24" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "// Stub to get D3 either via NPM or from the global object\nvar d3;\n\nif (!d3) {\n if (typeof require === \"function\") {\n try {\n d3 = require(\"d3\");\n }\n catch (e) {\n // continue regardless of error\n }\n }\n}\n\nif (!d3) {\n d3 = window.d3;\n}\n\nmodule.exports = d3;\n" }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "name": "./node_modules/lodash/_getNative.js", "index": 593, "index2": 595, "size": 483, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "issuerId": 94, "issuerName": "./node_modules/lodash/_defineProperty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "profile": { "factory": 58, "building": 29 } } ], "profile": { "factory": 64, "building": 40 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nativeCreate.js", "module": "./node_modules/lodash/_nativeCreate.js", "moduleName": "./node_modules/lodash/_nativeCreate.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 69, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Map.js", "module": "./node_modules/lodash/_Map.js", "moduleName": "./node_modules/lodash/_Map.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 94, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "module": "./node_modules/lodash/_defineProperty.js", "moduleName": "./node_modules/lodash/_defineProperty.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 104, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Set.js", "module": "./node_modules/lodash/_Set.js", "moduleName": "./node_modules/lodash/_Set.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 211, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_DataView.js", "module": "./node_modules/lodash/_DataView.js", "moduleName": "./node_modules/lodash/_DataView.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 212, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Promise.js", "module": "./node_modules/lodash/_Promise.js", "moduleName": "./node_modules/lodash/_Promise.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 213, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_WeakMap.js", "module": "./node_modules/lodash/_WeakMap.js", "moduleName": "./node_modules/lodash/_WeakMap.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n" }, { "id": 28, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "name": "./node_modules/lodash/_baseGetTag.js", "index": 596, "index2": 587, "size": 792, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "issuerId": 141, "issuerName": "./node_modules/lodash/isPlainObject.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 67, "building": 39 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 32, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isFunction.js", "module": "./node_modules/lodash/isFunction.js", "moduleName": "./node_modules/lodash/isFunction.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" }, { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "6:17-41" }, { "moduleId": 37, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSymbol.js", "module": "./node_modules/lodash/isSymbol.js", "moduleName": "./node_modules/lodash/isSymbol.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" }, { "moduleId": 141, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "module": "./node_modules/lodash/isPlainObject.js", "moduleName": "./node_modules/lodash/isPlainObject.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" }, { "moduleId": 201, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsArguments.js", "module": "./node_modules/lodash/_baseIsArguments.js", "moduleName": "./node_modules/lodash/_baseIsArguments.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" }, { "moduleId": 203, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsTypedArray.js", "module": "./node_modules/lodash/_baseIsTypedArray.js", "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" }, { "moduleId": 250, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isString.js", "module": "./node_modules/lodash/isString.js", "moduleName": "./node_modules/lodash/isString.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n" }, { "id": 29, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/identity.js", "name": "./node_modules/lodash/identity.js", "index": 694, "index2": 684, "size": 370, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "issuerId": 292, "issuerName": "./node_modules/lodash/max.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 292, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "name": "./node_modules/lodash/max.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 73, "building": 27 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "module": "./node_modules/lodash/_baseIteratee.js", "moduleName": "./node_modules/lodash/_baseIteratee.js", "type": "cjs require", "userRequest": "./identity", "loc": "3:15-36" }, { "moduleId": 60, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "module": "./node_modules/lodash/_baseRest.js", "moduleName": "./node_modules/lodash/_baseRest.js", "type": "cjs require", "userRequest": "./identity", "loc": "1:15-36" }, { "moduleId": 110, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castFunction.js", "module": "./node_modules/lodash/_castFunction.js", "moduleName": "./node_modules/lodash/_castFunction.js", "type": "cjs require", "userRequest": "./identity", "loc": "1:15-36" }, { "moduleId": 259, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSetToString.js", "module": "./node_modules/lodash/_baseSetToString.js", "moduleName": "./node_modules/lodash/_baseSetToString.js", "type": "cjs require", "userRequest": "./identity", "loc": "3:15-36" }, { "moduleId": 292, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "module": "./node_modules/lodash/max.js", "moduleName": "./node_modules/lodash/max.js", "type": "cjs require", "userRequest": "./identity", "loc": "3:15-36" }, { "moduleId": 299, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/min.js", "module": "./node_modules/lodash/min.js", "moduleName": "./node_modules/lodash/min.js", "type": "cjs require", "userRequest": "./identity", "loc": "3:15-36" }, { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./identity", "loc": "7:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n" }, { "id": 30, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/package.json", "name": "./package.json", "index": 918, "index2": 916, "size": 3186, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "../package.json", "loc": "17:0-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "365:35-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "371:34-37" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "376:33-36" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "381:38-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "386:27-30" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "543:50-53" } ], "usedExports": [ "default" ], "providedExports": [ "name", "version", "description", "main", "keywords", "scripts", "repository", "author", "license", "standard", "dependencies", "devDependencies", "files", "yarn-upgrade-all", "sideEffects", "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "{\n \"name\": \"mermaid\",\n \"version\": \"8.6.0\",\n \"description\": \"Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.\",\n \"main\": \"dist/mermaid.core.js\",\n \"keywords\": [\n \"diagram\",\n \"markdown\",\n \"flowchart\",\n \"sequence diagram\",\n \"gantt\",\n \"class diagram\",\n \"git graph\"\n ],\n \"scripts\": {\n \"build:development\": \"webpack --progress --colors\",\n \"build:production\": \"yarn build:development -p --config webpack.config.prod.babel.js\",\n \"build\": \"yarn build:development && yarn build:production\",\n \"postbuild\": \"documentation build src/mermaidAPI.js src/config.js --shallow -f md --markdown-toc false -o docs/Setup.md\",\n \"build:watch\": \"yarn build --watch\",\n \"minify\": \"minify ./dist/mermaid.js > ./dist/mermaid.min.js\",\n \"release\": \"yarn build\",\n \"lint\": \"eslint src\",\n \"e2e:depr\": \"yarn lint && jest e2e --config e2e/jest.config.js\",\n \"cypress\": \"percy exec -- cypress run\",\n \"e2e\": \"start-server-and-test dev http://localhost:9000/ cypress\",\n \"e2e-upd\": \"yarn lint && jest e2e -u --config e2e/jest.config.js\",\n \"dev\": \"webpack-dev-server --config webpack.config.e2e.js\",\n \"test\": \"yarn lint && jest src/.*\",\n \"test:watch\": \"jest --watch src\",\n \"prepublishOnly\": \"yarn build && yarn test && yarn e2e\",\n \"prepush\": \"yarn test\",\n \"prepare\": \"yarn build\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/knsv/mermaid\"\n },\n \"author\": \"Knut Sveidqvist\",\n \"license\": \"MIT\",\n \"standard\": {\n \"ignore\": [\n \"**/parser/*.js\",\n \"dist/**/*.js\",\n \"cypress/**/*.js\"\n ],\n \"globals\": [\n \"page\"\n ]\n },\n \"dependencies\": {\n \"@braintree/sanitize-url\": \"^3.1.0\",\n \"crypto-random-string\": \"^3.0.1\",\n \"d3\": \"^5.7.0\",\n \"dagre\": \"^0.8.4\",\n \"dagre-d3\": \"^0.6.4\",\n \"entity-decode\": \"^2.0.2\",\n \"graphlib\": \"^2.1.7\",\n \"he\": \"^1.2.0\",\n \"minify\": \"^4.1.1\",\n \"moment-mini\": \"^2.22.1\",\n \"scope-css\": \"^1.2.1\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.2.2\",\n \"@babel/preset-env\": \"^7.8.4\",\n \"@babel/register\": \"^7.0.0\",\n \"@percy/cypress\": \"*\",\n \"babel-core\": \"7.0.0-bridge.0\",\n \"babel-jest\": \"^24.9.0\",\n \"babel-loader\": \"^8.0.4\",\n \"coveralls\": \"^3.0.2\",\n \"css-loader\": \"^2.0.1\",\n \"css-to-string-loader\": \"^0.1.3\",\n \"cypress\": \"4.0.1\",\n \"documentation\": \"^12.0.1\",\n \"eslint\": \"^6.3.0\",\n \"eslint-config-prettier\": \"^6.3.0\",\n \"eslint-plugin-prettier\": \"^3.1.0\",\n \"husky\": \"^1.2.1\",\n \"identity-obj-proxy\": \"^3.0.0\",\n \"jest\": \"^24.9.0\",\n \"jison\": \"^0.4.18\",\n \"moment\": \"^2.23.0\",\n \"node-sass\": \"^4.12.0\",\n \"prettier\": \"^1.18.2\",\n \"puppeteer\": \"^1.17.0\",\n \"sass-loader\": \"^7.1.0\",\n \"start-server-and-test\": \"^1.10.6\",\n \"terser-webpack-plugin\": \"^2.2.2\",\n \"webpack\": \"^4.41.2\",\n \"webpack-bundle-analyzer\": \"^3.7.0\",\n \"webpack-cli\": \"^3.1.2\",\n \"webpack-dev-server\": \"^3.4.1\",\n \"webpack-node-externals\": \"^1.7.2\",\n \"yarn-upgrade-all\": \"^0.5.0\"\n },\n \"files\": [\n \"dist\"\n ],\n \"yarn-upgrade-all\": {\n \"ignore\": [\n \"babel-core\"\n ]\n },\n \"sideEffects\": [\n \"**/*.css\",\n \"**/*.scss\"\n ]\n}\n" }, { "id": 31, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/eq.js", "name": "./node_modules/lodash/eq.js", "index": 583, "index2": 570, "size": 799, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "issuerId": 137, "issuerName": "./node_modules/lodash/defaults.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 76 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 48, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assocIndexOf.js", "module": "./node_modules/lodash/_assocIndexOf.js", "moduleName": "./node_modules/lodash/_assocIndexOf.js", "type": "cjs require", "userRequest": "./eq", "loc": "1:9-24" }, { "moduleId": 51, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignValue.js", "module": "./node_modules/lodash/_assignValue.js", "moduleName": "./node_modules/lodash/_assignValue.js", "type": "cjs require", "userRequest": "./eq", "loc": "2:9-24" }, { "moduleId": 61, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "module": "./node_modules/lodash/_isIterateeCall.js", "moduleName": "./node_modules/lodash/_isIterateeCall.js", "type": "cjs require", "userRequest": "./eq", "loc": "1:9-24" }, { "moduleId": 137, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "module": "./node_modules/lodash/defaults.js", "moduleName": "./node_modules/lodash/defaults.js", "type": "cjs require", "userRequest": "./eq", "loc": "2:9-24" }, { "moduleId": 140, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignMergeValue.js", "module": "./node_modules/lodash/_assignMergeValue.js", "moduleName": "./node_modules/lodash/_assignMergeValue.js", "type": "cjs require", "userRequest": "./eq", "loc": "2:9-24" }, { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./eq", "loc": "3:9-24" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n" }, { "id": 32, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isFunction.js", "name": "./node_modules/lodash/isFunction.js", "index": 595, "index2": 589, "size": 993, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isFunction", "loc": "15:18-46" }, { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArrayLike.js", "module": "./node_modules/lodash/isArrayLike.js", "moduleName": "./node_modules/lodash/isArrayLike.js", "type": "cjs require", "userRequest": "./isFunction", "loc": "1:17-40" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isFunction", "loc": "10:18-46" }, { "moduleId": 180, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "module": "./node_modules/lodash/_baseIsNative.js", "moduleName": "./node_modules/lodash/_baseIsNative.js", "type": "cjs require", "userRequest": "./isFunction", "loc": "1:17-40" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./isFunction", "loc": "8:17-40" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isFunction", "loc": "10:17-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n" }, { "id": 33, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Symbol.js", "name": "./node_modules/lodash/_Symbol.js", "index": 597, "index2": 584, "size": 118, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "issuerId": 28, "issuerName": "./node_modules/lodash/_baseGetTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 28, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "name": "./node_modules/lodash/_baseGetTag.js", "profile": { "factory": 67, "building": 39 } } ], "profile": { "factory": 62, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 28, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "module": "./node_modules/lodash/_baseGetTag.js", "moduleName": "./node_modules/lodash/_baseGetTag.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" }, { "moduleId": 182, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getRawTag.js", "module": "./node_modules/lodash/_getRawTag.js", "moduleName": "./node_modules/lodash/_getRawTag.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" }, { "moduleId": 218, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneSymbol.js", "module": "./node_modules/lodash/_cloneSymbol.js", "moduleName": "./node_modules/lodash/_cloneSymbol.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" }, { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" }, { "moduleId": 241, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseToString.js", "module": "./node_modules/lodash/_baseToString.js", "moduleName": "./node_modules/lodash/_baseToString.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" }, { "moduleId": 257, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isFlattenable.js", "module": "./node_modules/lodash/_isFlattenable.js", "moduleName": "./node_modules/lodash/_isFlattenable.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n" }, { "id": 34, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "name": "./node_modules/lodash/isBuffer.js", "index": 636, "index2": 625, "size": 1114, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "issuerId": 246, "issuerName": "./node_modules/lodash/isEmpty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 68, "building": 26, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "17:15-36" }, { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "4:15-36" }, { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "7:15-36" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "6:15-36" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "7:15-36" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "9:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n" }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "name": "./node_modules/lodash/keysIn.js", "index": 650, "index2": 642, "size": 778, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "issuerId": 137, "issuerName": "./node_modules/lodash/defaults.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 76 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 137, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "module": "./node_modules/lodash/defaults.js", "moduleName": "./node_modules/lodash/defaults.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "4:13-32" }, { "moduleId": 205, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignIn.js", "module": "./node_modules/lodash/_baseAssignIn.js", "moduleName": "./node_modules/lodash/_baseAssignIn.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "2:13-32" }, { "moduleId": 210, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "module": "./node_modules/lodash/_getAllKeysIn.js", "moduleName": "./node_modules/lodash/_getAllKeysIn.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "3:13-32" }, { "moduleId": 289, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "module": "./node_modules/lodash/forIn.js", "moduleName": "./node_modules/lodash/forIn.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "3:13-32" }, { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "6:13-32" }, { "moduleId": 297, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toPlainObject.js", "module": "./node_modules/lodash/toPlainObject.js", "moduleName": "./node_modules/lodash/toPlainObject.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "2:13-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n" }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "index": 666, "index2": 661, "size": 1838, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "issuerId": 249, "issuerName": "./node_modules/lodash/size.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 64, "building": 25, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "12:13-33" }, { "moduleId": 220, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMap.js", "module": "./node_modules/lodash/_baseIsMap.js", "moduleName": "./node_modules/lodash/_baseIsMap.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "1:13-33" }, { "moduleId": 222, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsSet.js", "module": "./node_modules/lodash/_baseIsSet.js", "moduleName": "./node_modules/lodash/_baseIsSet.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "1:13-33" }, { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "5:13-33" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "2:13-33" }, { "moduleId": 249, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "module": "./node_modules/lodash/size.js", "moduleName": "./node_modules/lodash/size.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "2:13-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n" }, { "id": 37, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSymbol.js", "name": "./node_modules/lodash/isSymbol.js", "index": 720, "index2": 706, "size": 682, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseExtremum.js", "issuerId": 87, "issuerName": "./node_modules/lodash/_baseExtremum.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 300, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "name": "./node_modules/lodash/minBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 87, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseExtremum.js", "name": "./node_modules/lodash/_baseExtremum.js", "profile": { "factory": 75, "building": 26 } } ], "profile": { "factory": 57, "building": 29, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 43, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_toKey.js", "module": "./node_modules/lodash/_toKey.js", "moduleName": "./node_modules/lodash/_toKey.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "1:15-36" }, { "moduleId": 84, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isKey.js", "module": "./node_modules/lodash/_isKey.js", "moduleName": "./node_modules/lodash/_isKey.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "2:15-36" }, { "moduleId": 87, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseExtremum.js", "module": "./node_modules/lodash/_baseExtremum.js", "moduleName": "./node_modules/lodash/_baseExtremum.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "1:15-36" }, { "moduleId": 241, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseToString.js", "module": "./node_modules/lodash/_baseToString.js", "moduleName": "./node_modules/lodash/_baseToString.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "4:15-36" }, { "moduleId": 288, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toNumber.js", "module": "./node_modules/lodash/toNumber.js", "moduleName": "./node_modules/lodash/toNumber.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "2:15-36" }, { "moduleId": 312, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareAscending.js", "module": "./node_modules/lodash/_compareAscending.js", "moduleName": "./node_modules/lodash/_compareAscending.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "1:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n" }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "index": 872, "index2": 867, "size": 559, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "issuerId": 10, "issuerName": "./node_modules/dagre-d3/lib/util.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } } ], "profile": { "factory": 56, "building": 103 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 10, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "module": "./node_modules/dagre-d3/lib/util.js", "moduleName": "./node_modules/dagre-d3/lib/util.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 341, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-nodes.js", "module": "./node_modules/dagre-d3/lib/create-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/create-nodes.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 345, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "module": "./node_modules/dagre-d3/lib/create-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-labels.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 346, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-paths.js", "module": "./node_modules/dagre-d3/lib/create-edge-paths.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-paths.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 348, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-edge-labels.js", "module": "./node_modules/dagre-d3/lib/position-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/position-edge-labels.js", "type": "cjs require", "userRequest": "./lodash", "loc": "5:8-27" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n defaults: require(\"lodash/defaults\"),\n each: require(\"lodash/each\"),\n isFunction: require(\"lodash/isFunction\"),\n isPlainObject: require(\"lodash/isPlainObject\"),\n pick: require(\"lodash/pick\"),\n has: require(\"lodash/has\"),\n range: require(\"lodash/range\"),\n uniqueId: require(\"lodash/uniqueId\")\n };\n }\n catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n" }, { "id": 39, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "name": "./src/diagrams/class/parser/classDiagram.jison", "index": 559, "index2": 557, "size": 32826, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/classDiagram", "loc": "6:0-47" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "8:0-6" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/parser/classDiagram", "loc": "32:0-63" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "59:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "60:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/class/parser/classDiagram", "loc": "103:15-26" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,13],$V1=[1,16],$V2=[1,14],$V3=[1,15],$V4=[1,17],$V5=[1,18],$V6=[1,20],$V7=[1,21],$V8=[1,22],$V9=[6,8],$Va=[1,31],$Vb=[1,32],$Vc=[1,33],$Vd=[1,34],$Ve=[1,35],$Vf=[1,36],$Vg=[6,8,14,20,28,31,32,33,34,35,36],$Vh=[6,8,12,14,20,24,28,31,32,33,34,35,36,52,53,54],$Vi=[28,52,53,54],$Vj=[28,35,36,52,53,54],$Vk=[28,31,32,33,34,52,53,54],$Vl=[6,8,14],$Vm=[1,59];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"mermaidDoc\":3,\"graphConfig\":4,\"CLASS_DIAGRAM\":5,\"NEWLINE\":6,\"statements\":7,\"EOF\":8,\"statement\":9,\"className\":10,\"alphaNumToken\":11,\"GENERICTYPE\":12,\"relationStatement\":13,\"LABEL\":14,\"classStatement\":15,\"methodStatement\":16,\"annotationStatement\":17,\"clickStatement\":18,\"CLASS\":19,\"STRUCT_START\":20,\"members\":21,\"STRUCT_STOP\":22,\"ANNOTATION_START\":23,\"ANNOTATION_END\":24,\"MEMBER\":25,\"SEPARATOR\":26,\"relation\":27,\"STR\":28,\"relationType\":29,\"lineType\":30,\"AGGREGATION\":31,\"EXTENSION\":32,\"COMPOSITION\":33,\"DEPENDENCY\":34,\"LINE\":35,\"DOTTED_LINE\":36,\"CALLBACK\":37,\"LINK\":38,\"commentToken\":39,\"textToken\":40,\"graphCodeTokens\":41,\"textNoTagsToken\":42,\"TAGSTART\":43,\"TAGEND\":44,\"==\":45,\"--\":46,\"PCT\":47,\"DEFAULT\":48,\"SPACE\":49,\"MINUS\":50,\"keywords\":51,\"UNICODE_TEXT\":52,\"NUM\":53,\"ALPHA\":54,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",5:\"CLASS_DIAGRAM\",6:\"NEWLINE\",8:\"EOF\",12:\"GENERICTYPE\",14:\"LABEL\",19:\"CLASS\",20:\"STRUCT_START\",22:\"STRUCT_STOP\",23:\"ANNOTATION_START\",24:\"ANNOTATION_END\",25:\"MEMBER\",26:\"SEPARATOR\",28:\"STR\",31:\"AGGREGATION\",32:\"EXTENSION\",33:\"COMPOSITION\",34:\"DEPENDENCY\",35:\"LINE\",36:\"DOTTED_LINE\",37:\"CALLBACK\",38:\"LINK\",41:\"graphCodeTokens\",43:\"TAGSTART\",44:\"TAGEND\",45:\"==\",46:\"--\",47:\"PCT\",48:\"DEFAULT\",49:\"SPACE\",50:\"MINUS\",51:\"keywords\",52:\"UNICODE_TEXT\",53:\"NUM\",54:\"ALPHA\"},\nproductions_: [0,[3,1],[4,4],[7,1],[7,2],[7,3],[10,2],[10,1],[10,3],[10,2],[9,1],[9,2],[9,1],[9,1],[9,1],[9,1],[15,2],[15,5],[17,4],[21,1],[21,2],[16,1],[16,2],[16,1],[16,1],[13,3],[13,4],[13,4],[13,5],[27,3],[27,2],[27,2],[27,1],[29,1],[29,1],[29,1],[29,1],[30,1],[30,1],[18,3],[18,4],[18,3],[18,4],[39,1],[39,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[42,1],[42,1],[42,1],[42,1],[11,1],[11,1],[11,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 6:\n this.$=$$[$0-1]+$$[$0]; \nbreak;\ncase 7:\n this.$=$$[$0]; \nbreak;\ncase 8:\n this.$=$$[$0-2]+'~'+$$[$0-1]+$$[$0]; \nbreak;\ncase 9:\n this.$=$$[$0-1]+'~'+$$[$0]; \nbreak;\ncase 10:\n yy.addRelation($$[$0]); \nbreak;\ncase 11:\n $$[$0-1].title = yy.cleanupLabel($$[$0]); yy.addRelation($$[$0-1]); \nbreak;\ncase 16:\nyy.addClass($$[$0]);\nbreak;\ncase 17:\n/*console.log($$[$0-3],JSON.stringify($$[$0-1]));*/yy.addClass($$[$0-3]);yy.addMembers($$[$0-3],$$[$0-1]);\nbreak;\ncase 18:\n yy.addAnnotation($$[$0],$$[$0-2]); \nbreak;\ncase 19:\n this.$ = [$$[$0]]; \nbreak;\ncase 20:\n $$[$0].push($$[$0-1]);this.$=$$[$0];\nbreak;\ncase 21:\n/*console.log('Rel found',$$[$0]);*/\nbreak;\ncase 22:\nyy.addMember($$[$0-1],yy.cleanupLabel($$[$0]));\nbreak;\ncase 23:\n/*console.warn('Member',$$[$0]);*/\nbreak;\ncase 24:\n/*console.log('sep found',$$[$0]);*/\nbreak;\ncase 25:\n this.$ = {'id1':$$[$0-2],'id2':$$[$0], relation:$$[$0-1], relationTitle1:'none', relationTitle2:'none'}; \nbreak;\ncase 26:\n this.$ = {id1:$$[$0-3], id2:$$[$0], relation:$$[$0-1], relationTitle1:$$[$0-2], relationTitle2:'none'}\nbreak;\ncase 27:\n this.$ = {id1:$$[$0-3], id2:$$[$0], relation:$$[$0-2], relationTitle1:'none', relationTitle2:$$[$0-1]}; \nbreak;\ncase 28:\n this.$ = {id1:$$[$0-4], id2:$$[$0], relation:$$[$0-2], relationTitle1:$$[$0-3], relationTitle2:$$[$0-1]} \nbreak;\ncase 29:\n this.$={type1:$$[$0-2],type2:$$[$0],lineType:$$[$0-1]}; \nbreak;\ncase 30:\n this.$={type1:'none',type2:$$[$0],lineType:$$[$0-1]}; \nbreak;\ncase 31:\n this.$={type1:$$[$0-1],type2:'none',lineType:$$[$0]}; \nbreak;\ncase 32:\n this.$={type1:'none',type2:'none',lineType:$$[$0]}; \nbreak;\ncase 33:\n this.$=yy.relationType.AGGREGATION;\nbreak;\ncase 34:\n this.$=yy.relationType.EXTENSION;\nbreak;\ncase 35:\n this.$=yy.relationType.COMPOSITION;\nbreak;\ncase 36:\n this.$=yy.relationType.DEPENDENCY;\nbreak;\ncase 37:\nthis.$=yy.lineType.LINE;\nbreak;\ncase 38:\nthis.$=yy.lineType.DOTTED_LINE;\nbreak;\ncase 39:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-1], $$[$0], undefined);\nbreak;\ncase 40:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\ncase 41:\nthis.$ = $$[$0-2];yy.setLink($$[$0-1], $$[$0], undefined);\nbreak;\ncase 42:\nthis.$ = $$[$0-3];yy.setLink($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\n}\n},\ntable: [{3:1,4:2,5:[1,3]},{1:[3]},{1:[2,1]},{6:[1,4]},{7:5,9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:$V0,23:$V1,25:$V2,26:$V3,37:$V4,38:$V5,52:$V6,53:$V7,54:$V8},{8:[1,23]},{6:[1,24],8:[2,3]},o($V9,[2,10],{14:[1,25]}),o($V9,[2,12]),o($V9,[2,13]),o($V9,[2,14]),o($V9,[2,15]),o($V9,[2,21],{27:26,29:29,30:30,14:[1,28],28:[1,27],31:$Va,32:$Vb,33:$Vc,34:$Vd,35:$Ve,36:$Vf}),{10:37,11:19,52:$V6,53:$V7,54:$V8},o($V9,[2,23]),o($V9,[2,24]),{11:38,52:$V6,53:$V7,54:$V8},{10:39,11:19,52:$V6,53:$V7,54:$V8},{10:40,11:19,52:$V6,53:$V7,54:$V8},o($Vg,[2,7],{11:19,10:41,12:[1,42],52:$V6,53:$V7,54:$V8}),o($Vh,[2,56]),o($Vh,[2,57]),o($Vh,[2,58]),{1:[2,2]},{7:43,8:[2,4],9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:$V0,23:$V1,25:$V2,26:$V3,37:$V4,38:$V5,52:$V6,53:$V7,54:$V8},o($V9,[2,11]),{10:44,11:19,28:[1,45],52:$V6,53:$V7,54:$V8},{27:46,29:29,30:30,31:$Va,32:$Vb,33:$Vc,34:$Vd,35:$Ve,36:$Vf},o($V9,[2,22]),{30:47,35:$Ve,36:$Vf},o($Vi,[2,32],{29:48,31:$Va,32:$Vb,33:$Vc,34:$Vd}),o($Vj,[2,33]),o($Vj,[2,34]),o($Vj,[2,35]),o($Vj,[2,36]),o($Vk,[2,37]),o($Vk,[2,38]),o($V9,[2,16],{20:[1,49]}),{24:[1,50]},{28:[1,51]},{28:[1,52]},o($Vg,[2,6]),o($Vg,[2,9],{11:19,10:53,52:$V6,53:$V7,54:$V8}),{8:[2,5]},o($Vl,[2,25]),{10:54,11:19,52:$V6,53:$V7,54:$V8},{10:55,11:19,28:[1,56],52:$V6,53:$V7,54:$V8},o($Vi,[2,31],{29:57,31:$Va,32:$Vb,33:$Vc,34:$Vd}),o($Vi,[2,30]),{21:58,25:$Vm},{10:60,11:19,52:$V6,53:$V7,54:$V8},o($V9,[2,39],{28:[1,61]}),o($V9,[2,41],{28:[1,62]}),o($Vg,[2,8]),o($Vl,[2,27]),o($Vl,[2,26]),{10:63,11:19,52:$V6,53:$V7,54:$V8},o($Vi,[2,29]),{22:[1,64]},{21:65,22:[2,19],25:$Vm},o($V9,[2,18]),o($V9,[2,40]),o($V9,[2,42]),o($Vl,[2,28]),o($V9,[2,17]),{22:[2,20]}],\ndefaultActions: {2:[2,1],23:[2,2],43:[2,5],65:[2,20]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:return 6;\nbreak;\ncase 2:/* skip whitespace */\nbreak;\ncase 3:return 5;\nbreak;\ncase 4: this.begin(\"struct\"); /*console.log('Starting struct');*/return 20;\nbreak;\ncase 5:return \"EOF_IN_STRUCT\";\nbreak;\ncase 6:return \"OPEN_IN_STRUCT\";\nbreak;\ncase 7: /*console.log('Ending struct');*/this.popState(); return 22;\nbreak;\ncase 8:/* nothing */\nbreak;\ncase 9: /*console.log('lex-member: ' + yy_.yytext);*/ return \"MEMBER\";\nbreak;\ncase 10:return 19;\nbreak;\ncase 11:return 37;\nbreak;\ncase 12:return 38;\nbreak;\ncase 13:return 23;\nbreak;\ncase 14:return 24;\nbreak;\ncase 15:this.begin(\"generic\");\nbreak;\ncase 16:this.popState();\nbreak;\ncase 17:return \"GENERICTYPE\";\nbreak;\ncase 18:this.begin(\"string\");\nbreak;\ncase 19:this.popState();\nbreak;\ncase 20:return \"STR\";\nbreak;\ncase 21:return 32;\nbreak;\ncase 22:return 32;\nbreak;\ncase 23:return 34;\nbreak;\ncase 24:return 34;\nbreak;\ncase 25:return 33;\nbreak;\ncase 26:return 31;\nbreak;\ncase 27:return 35;\nbreak;\ncase 28:return 36;\nbreak;\ncase 29:return 14;\nbreak;\ncase 30:return 50;\nbreak;\ncase 31:return 'DOT';\nbreak;\ncase 32:return 'PLUS';\nbreak;\ncase 33:return 47;\nbreak;\ncase 34:return 'EQUALS';\nbreak;\ncase 35:return 'EQUALS';\nbreak;\ncase 36:return 54;\nbreak;\ncase 37:return 'PUNCTUATION';\nbreak;\ncase 38:return 53;\nbreak;\ncase 39:return 52;\nbreak;\ncase 40:return 49;\nbreak;\ncase 41:return 8;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*\\n*)/,/^(?:\\n+)/,/^(?:\\s+)/,/^(?:classDiagram\\b)/,/^(?:[\\{])/,/^(?:$)/,/^(?:[\\{])/,/^(?:\\})/,/^(?:[\\n])/,/^(?:[^\\{\\}\\n]*)/,/^(?:class\\b)/,/^(?:callback\\b)/,/^(?:link\\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:[\"])/,/^(?:[\"])/,/^(?:[^\"]*)/,/^(?:\\s*<\\|)/,/^(?:\\s*\\|>)/,/^(?:\\s*>)/,/^(?:\\s*<)/,/^(?:\\s*\\*)/,/^(?:\\s*o\\b)/,/^(?:--)/,/^(?:\\.\\.)/,/^(?::[^\\n;]+)/,/^(?:-)/,/^(?:\\.)/,/^(?:\\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\\w+)/,/^(?:[!\"#$%&'*+,-.`?\\\\/])/,/^(?:[0-9]+)/,/^(?:[\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6]|[\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377]|[\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5]|[\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA]|[\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE]|[\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA]|[\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0]|[\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977]|[\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2]|[\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A]|[\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39]|[\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8]|[\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C]|[\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C]|[\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99]|[\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0]|[\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D]|[\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3]|[\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10]|[\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1]|[\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81]|[\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3]|[\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6]|[\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A]|[\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081]|[\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D]|[\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0]|[\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310]|[\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C]|[\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711]|[\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7]|[\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C]|[\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16]|[\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF]|[\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC]|[\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D]|[\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D]|[\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3]|[\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F]|[\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128]|[\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184]|[\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3]|[\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6]|[\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE]|[\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C]|[\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D]|[\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC]|[\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B]|[\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788]|[\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805]|[\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB]|[\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28]|[\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5]|[\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4]|[\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E]|[\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D]|[\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36]|[\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D]|[\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC]|[\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF]|[\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC])/,/^(?:\\s)/,/^(?:$)/],\nconditions: {\"string\":{\"rules\":[19,20],\"inclusive\":false},\"generic\":{\"rules\":[16,17],\"inclusive\":false},\"struct\":{\"rules\":[5,6,7,8,9],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,10,11,12,13,14,15,18,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 40, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copyObject.js", "name": "./node_modules/lodash/_copyObject.js", "index": 628, "index2": 618, "size": 1044, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "issuerId": 209, "issuerName": "./node_modules/lodash/_copySymbolsIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 209, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "name": "./node_modules/lodash/_copySymbolsIn.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 40, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 199, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssign.js", "module": "./node_modules/lodash/_baseAssign.js", "moduleName": "./node_modules/lodash/_baseAssign.js", "type": "cjs require", "userRequest": "./_copyObject", "loc": "1:17-41" }, { "moduleId": 205, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignIn.js", "module": "./node_modules/lodash/_baseAssignIn.js", "moduleName": "./node_modules/lodash/_baseAssignIn.js", "type": "cjs require", "userRequest": "./_copyObject", "loc": "1:17-41" }, { "moduleId": 208, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "module": "./node_modules/lodash/_copySymbols.js", "moduleName": "./node_modules/lodash/_copySymbols.js", "type": "cjs require", "userRequest": "./_copyObject", "loc": "1:17-41" }, { "moduleId": 209, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "module": "./node_modules/lodash/_copySymbolsIn.js", "moduleName": "./node_modules/lodash/_copySymbolsIn.js", "type": "cjs require", "userRequest": "./_copyObject", "loc": "1:17-41" }, { "moduleId": 297, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toPlainObject.js", "module": "./node_modules/lodash/toPlainObject.js", "moduleName": "./node_modules/lodash/toPlainObject.js", "type": "cjs require", "userRequest": "./_copyObject", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n" }, { "id": 41, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArguments.js", "name": "./node_modules/lodash/isArguments.js", "index": 632, "index2": 622, "size": 1026, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "issuerId": 246, "issuerName": "./node_modules/lodash/isEmpty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 68, "building": 26, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./isArguments", "loc": "2:18-42" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./isArguments", "loc": "2:18-42" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./isArguments", "loc": "3:18-42" }, { "moduleId": 257, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isFlattenable.js", "module": "./node_modules/lodash/_isFlattenable.js", "moduleName": "./node_modules/lodash/_isFlattenable.js", "type": "cjs require", "userRequest": "./isArguments", "loc": "2:18-42" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isArguments", "loc": "6:18-42" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n" }, { "id": 42, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "name": "./node_modules/lodash/isTypedArray.js", "index": 639, "index2": 631, "size": 695, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "issuerId": 246, "issuerName": "./node_modules/lodash/isEmpty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 68, "building": 26, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./isTypedArray", "loc": "6:19-44" }, { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./isTypedArray", "loc": "8:19-44" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./isTypedArray", "loc": "8:19-44" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./isTypedArray", "loc": "10:19-44" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isTypedArray", "loc": "13:19-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n" }, { "id": 43, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_toKey.js", "name": "./node_modules/lodash/_toKey.js", "index": 727, "index2": 715, "size": 523, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "issuerId": 120, "issuerName": "./node_modules/lodash/_hasPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } } ], "profile": { "factory": 72, "building": 28, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 83, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGet.js", "module": "./node_modules/lodash/_baseGet.js", "moduleName": "./node_modules/lodash/_baseGet.js", "type": "cjs require", "userRequest": "./_toKey", "loc": "2:12-31" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./_toKey", "loc": "6:12-31" }, { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./_toKey", "loc": "7:12-31" }, { "moduleId": 243, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "module": "./node_modules/lodash/property.js", "moduleName": "./node_modules/lodash/property.js", "type": "cjs require", "userRequest": "./_toKey", "loc": "4:12-31" }, { "moduleId": 304, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "module": "./node_modules/lodash/_baseSet.js", "moduleName": "./node_modules/lodash/_baseSet.js", "type": "cjs require", "userRequest": "./_toKey", "loc": "5:12-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n" }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "index": 878, "index2": 871, "size": 814, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 2701, "building": 33, "dependencies": 622 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 89, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "module": "./node_modules/dagre-d3/lib/label/add-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-label.js", "type": "cjs require", "userRequest": "./add-html-label", "loc": "2:19-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "7:0-64" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "7:0-64" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "55:19-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "56:19-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "var util = require(\"../util\");\n\nmodule.exports = addHtmlLabel;\n\nfunction addHtmlLabel(root, node) {\n var fo = root\n .append(\"foreignObject\")\n .attr(\"width\", \"100000\");\n\n var div = fo\n .append(\"xhtml:div\");\n div.attr(\"xmlns\", \"http://www.w3.org/1999/xhtml\");\n\n var label = node.label;\n switch(typeof label) {\n case \"function\":\n div.insert(label);\n break;\n case \"object\":\n // Currently we assume this is a DOM object.\n div.insert(function() { return label; });\n break;\n default: div.html(label);\n }\n\n util.applyStyle(div, node.labelStyle);\n div.style(\"display\", \"inline-block\");\n // Fix for firefox\n div.style(\"white-space\", \"nowrap\");\n\n var client = div.node().getBoundingClientRect();\n fo\n .attr(\"width\", client.width)\n .attr(\"height\", client.height); \n\n return fo;\n}\n" }, { "id": 45, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/runtime/api.js", "name": "./node_modules/css-loader/dist/runtime/api.js", "index": 532, "index2": 527, "size": 2406, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "issuerId": 164, "issuerName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 163, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "profile": { "factory": 1847, "building": 0 } }, { "id": 164, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "profile": { "factory": 1, "building": 3929 } } ], "profile": { "factory": 28, "building": 4 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 160, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 162, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 164, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 166, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return '@media ' + item[2] + '{' + content + '}';\n } else {\n return content;\n }\n }).join('');\n }; // import a list of modules into the list\n\n\n list.i = function (modules, mediaQuery) {\n if (typeof modules === 'string') {\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n for (var i = 0; i < this.length; i++) {\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n\n for (i = 0; i < modules.length; i++) {\n var item = modules[i]; // skip already imported module\n // this implementation is not 100% perfect for weird media query combinations\n // when a module is imported multiple times with different media queries.\n // I hope this will never occur (Hey this way we have smaller bundles)\n\n if (item[0] == null || !alreadyImportedModules[item[0]]) {\n if (mediaQuery && !item[2]) {\n item[2] = mediaQuery;\n } else if (mediaQuery) {\n item[2] = '(' + item[2] + ') and (' + mediaQuery + ')';\n }\n\n list.push(item);\n }\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || '';\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n return '/*# ' + data + ' */';\n}" }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "index": 578, "index2": 613, "size": 734, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_Stack", "loc": "1:12-31" }, { "moduleId": 227, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMatch.js", "module": "./node_modules/lodash/_baseIsMatch.js", "moduleName": "./node_modules/lodash/_baseIsMatch.js", "type": "cjs require", "userRequest": "./_Stack", "loc": "1:12-31" }, { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./_Stack", "loc": "1:12-31" }, { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./_Stack", "loc": "1:12-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n" }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "index": 579, "index2": 576, "size": 869, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_ListCache", "loc": "1:16-39" }, { "moduleId": 175, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackClear.js", "module": "./node_modules/lodash/_stackClear.js", "moduleName": "./node_modules/lodash/_stackClear.js", "type": "cjs require", "userRequest": "./_ListCache", "loc": "1:16-39" }, { "moduleId": 179, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackSet.js", "module": "./node_modules/lodash/_stackSet.js", "moduleName": "./node_modules/lodash/_stackSet.js", "type": "cjs require", "userRequest": "./_ListCache", "loc": "1:16-39" }, { "moduleId": 187, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "module": "./node_modules/lodash/_mapCacheClear.js", "moduleName": "./node_modules/lodash/_mapCacheClear.js", "type": "cjs require", "userRequest": "./_ListCache", "loc": "2:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n" }, { "id": 48, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assocIndexOf.js", "name": "./node_modules/lodash/_assocIndexOf.js", "index": 582, "index2": 571, "size": 487, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheSet.js", "issuerId": 174, "issuerName": "./node_modules/lodash/_listCacheSet.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } }, { "id": 174, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheSet.js", "name": "./node_modules/lodash/_listCacheSet.js", "profile": { "factory": 81, "building": 26, "dependencies": 89 } } ], "profile": { "factory": 92, "building": 22, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 171, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheDelete.js", "module": "./node_modules/lodash/_listCacheDelete.js", "moduleName": "./node_modules/lodash/_listCacheDelete.js", "type": "cjs require", "userRequest": "./_assocIndexOf", "loc": "1:19-45" }, { "moduleId": 172, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheGet.js", "module": "./node_modules/lodash/_listCacheGet.js", "moduleName": "./node_modules/lodash/_listCacheGet.js", "type": "cjs require", "userRequest": "./_assocIndexOf", "loc": "1:19-45" }, { "moduleId": 173, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheHas.js", "module": "./node_modules/lodash/_listCacheHas.js", "moduleName": "./node_modules/lodash/_listCacheHas.js", "type": "cjs require", "userRequest": "./_assocIndexOf", "loc": "1:19-45" }, { "moduleId": 174, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheSet.js", "module": "./node_modules/lodash/_listCacheSet.js", "moduleName": "./node_modules/lodash/_listCacheSet.js", "type": "cjs require", "userRequest": "./_assocIndexOf", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n" }, { "id": 49, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nativeCreate.js", "name": "./node_modules/lodash/_nativeCreate.js", "index": 612, "index2": 597, "size": 187, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashClear.js", "issuerId": 189, "issuerName": "./node_modules/lodash/_hashClear.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } }, { "id": 189, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashClear.js", "name": "./node_modules/lodash/_hashClear.js", "profile": { "factory": 9, "building": 1, "dependencies": 3 } } ], "profile": { "factory": 3, "building": 0, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 189, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashClear.js", "module": "./node_modules/lodash/_hashClear.js", "moduleName": "./node_modules/lodash/_hashClear.js", "type": "cjs require", "userRequest": "./_nativeCreate", "loc": "1:19-45" }, { "moduleId": 191, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashGet.js", "module": "./node_modules/lodash/_hashGet.js", "moduleName": "./node_modules/lodash/_hashGet.js", "type": "cjs require", "userRequest": "./_nativeCreate", "loc": "1:19-45" }, { "moduleId": 192, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashHas.js", "module": "./node_modules/lodash/_hashHas.js", "moduleName": "./node_modules/lodash/_hashHas.js", "type": "cjs require", "userRequest": "./_nativeCreate", "loc": "1:19-45" }, { "moduleId": 193, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashSet.js", "module": "./node_modules/lodash/_hashSet.js", "moduleName": "./node_modules/lodash/_hashSet.js", "type": "cjs require", "userRequest": "./_nativeCreate", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 13, "source": "var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n" }, { "id": 50, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMapData.js", "name": "./node_modules/lodash/_getMapData.js", "index": 618, "index2": 606, "size": 400, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheSet.js", "issuerId": 198, "issuerName": "./node_modules/lodash/_mapCacheSet.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 198, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheSet.js", "name": "./node_modules/lodash/_mapCacheSet.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } } ], "profile": { "factory": 39, "building": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 194, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheDelete.js", "module": "./node_modules/lodash/_mapCacheDelete.js", "moduleName": "./node_modules/lodash/_mapCacheDelete.js", "type": "cjs require", "userRequest": "./_getMapData", "loc": "1:17-41" }, { "moduleId": 196, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheGet.js", "module": "./node_modules/lodash/_mapCacheGet.js", "moduleName": "./node_modules/lodash/_mapCacheGet.js", "type": "cjs require", "userRequest": "./_getMapData", "loc": "1:17-41" }, { "moduleId": 197, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheHas.js", "module": "./node_modules/lodash/_mapCacheHas.js", "moduleName": "./node_modules/lodash/_mapCacheHas.js", "type": "cjs require", "userRequest": "./_getMapData", "loc": "1:17-41" }, { "moduleId": 198, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheSet.js", "module": "./node_modules/lodash/_mapCacheSet.js", "moduleName": "./node_modules/lodash/_mapCacheSet.js", "type": "cjs require", "userRequest": "./_getMapData", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n" }, { "id": 51, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignValue.js", "name": "./node_modules/lodash/_assignValue.js", "index": 624, "index2": 617, "size": 899, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "issuerId": 313, "issuerName": "./node_modules/lodash/zipObject.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 313, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "name": "./node_modules/lodash/zipObject.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 129, "building": 19, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 40, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copyObject.js", "module": "./node_modules/lodash/_copyObject.js", "moduleName": "./node_modules/lodash/_copyObject.js", "type": "cjs require", "userRequest": "./_assignValue", "loc": "1:18-43" }, { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_assignValue", "loc": "3:18-43" }, { "moduleId": 304, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "module": "./node_modules/lodash/_baseSet.js", "moduleName": "./node_modules/lodash/_baseSet.js", "type": "cjs require", "userRequest": "./_assignValue", "loc": "1:18-43" }, { "moduleId": 313, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "module": "./node_modules/lodash/zipObject.js", "moduleName": "./node_modules/lodash/zipObject.js", "type": "cjs require", "userRequest": "./_assignValue", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n" }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "index": 625, "index2": 616, "size": 625, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "issuerId": 291, "issuerName": "./node_modules/lodash/mapValues.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 73, "building": 26, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 40, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copyObject.js", "module": "./node_modules/lodash/_copyObject.js", "moduleName": "./node_modules/lodash/_copyObject.js", "type": "cjs require", "userRequest": "./_baseAssignValue", "loc": "2:22-51" }, { "moduleId": 51, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignValue.js", "module": "./node_modules/lodash/_assignValue.js", "moduleName": "./node_modules/lodash/_assignValue.js", "type": "cjs require", "userRequest": "./_baseAssignValue", "loc": "1:22-51" }, { "moduleId": 140, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignMergeValue.js", "module": "./node_modules/lodash/_assignMergeValue.js", "moduleName": "./node_modules/lodash/_assignMergeValue.js", "type": "cjs require", "userRequest": "./_baseAssignValue", "loc": "1:22-51" }, { "moduleId": 291, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "module": "./node_modules/lodash/mapValues.js", "moduleName": "./node_modules/lodash/mapValues.js", "type": "cjs require", "userRequest": "./_baseAssignValue", "loc": "1:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n" }, { "id": 53, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIndex.js", "name": "./node_modules/lodash/_isIndex.js", "index": 638, "index2": 626, "size": 759, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "issuerId": 61, "issuerName": "./node_modules/lodash/_isIterateeCall.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 61, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "name": "./node_modules/lodash/_isIterateeCall.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } } ], "profile": { "factory": 75, "building": 34, "dependencies": 24 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 61, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "module": "./node_modules/lodash/_isIterateeCall.js", "moduleName": "./node_modules/lodash/_isIterateeCall.js", "type": "cjs require", "userRequest": "./_isIndex", "loc": "3:14-35" }, { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./_isIndex", "loc": "5:14-35" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./_isIndex", "loc": "4:14-35" }, { "moduleId": 304, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "module": "./node_modules/lodash/_baseSet.js", "moduleName": "./node_modules/lodash/_baseSet.js", "type": "cjs require", "userRequest": "./_isIndex", "loc": "3:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n" }, { "id": 54, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUnary.js", "name": "./node_modules/lodash/_baseUnary.js", "index": 642, "index2": 629, "size": 332, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "issuerId": 309, "issuerName": "./node_modules/lodash/_baseOrderBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 309, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "name": "./node_modules/lodash/_baseOrderBy.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } } ], "profile": { "factory": 61, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 42, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "module": "./node_modules/lodash/isTypedArray.js", "moduleName": "./node_modules/lodash/isTypedArray.js", "type": "cjs require", "userRequest": "./_baseUnary", "loc": "2:16-39" }, { "moduleId": 219, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "module": "./node_modules/lodash/isMap.js", "moduleName": "./node_modules/lodash/isMap.js", "type": "cjs require", "userRequest": "./_baseUnary", "loc": "2:16-39" }, { "moduleId": 221, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "module": "./node_modules/lodash/isSet.js", "moduleName": "./node_modules/lodash/isSet.js", "type": "cjs require", "userRequest": "./_baseUnary", "loc": "2:16-39" }, { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_baseUnary", "loc": "5:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n" }, { "id": 55, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isPrototype.js", "name": "./node_modules/lodash/_isPrototype.js", "index": 645, "index2": 633, "size": 480, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "issuerId": 246, "issuerName": "./node_modules/lodash/isEmpty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 68, "building": 26, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 74, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeys.js", "module": "./node_modules/lodash/_baseKeys.js", "moduleName": "./node_modules/lodash/_baseKeys.js", "type": "cjs require", "userRequest": "./_isPrototype", "loc": "1:18-43" }, { "moduleId": 107, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneObject.js", "module": "./node_modules/lodash/_initCloneObject.js", "moduleName": "./node_modules/lodash/_initCloneObject.js", "type": "cjs require", "userRequest": "./_isPrototype", "loc": "3:18-43" }, { "moduleId": 206, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "module": "./node_modules/lodash/_baseKeysIn.js", "moduleName": "./node_modules/lodash/_baseKeysIn.js", "type": "cjs require", "userRequest": "./_isPrototype", "loc": "2:18-43" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./_isPrototype", "loc": "7:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n" }, { "id": 56, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getPrototype.js", "name": "./node_modules/lodash/_getPrototype.js", "index": 662, "index2": 651, "size": 163, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "issuerId": 141, "issuerName": "./node_modules/lodash/isPlainObject.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 67, "building": 39 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 101, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbolsIn.js", "module": "./node_modules/lodash/_getSymbolsIn.js", "moduleName": "./node_modules/lodash/_getSymbolsIn.js", "type": "cjs require", "userRequest": "./_getPrototype", "loc": "2:19-45" }, { "moduleId": 107, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneObject.js", "module": "./node_modules/lodash/_initCloneObject.js", "moduleName": "./node_modules/lodash/_initCloneObject.js", "type": "cjs require", "userRequest": "./_getPrototype", "loc": "2:19-45" }, { "moduleId": 141, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "module": "./node_modules/lodash/isPlainObject.js", "moduleName": "./node_modules/lodash/isPlainObject.js", "type": "cjs require", "userRequest": "./_getPrototype", "loc": "2:19-45" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./_getPrototype", "loc": "5:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n" }, { "id": 57, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseEach.js", "name": "./node_modules/lodash/_baseEach.js", "index": 688, "index2": 683, "size": 455, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "issuerId": 125, "issuerName": "./node_modules/lodash/reduce.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 83, "building": 25, "dependencies": 4 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 109, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "module": "./node_modules/lodash/forEach.js", "moduleName": "./node_modules/lodash/forEach.js", "type": "cjs require", "userRequest": "./_baseEach", "loc": "2:15-37" }, { "moduleId": 124, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMap.js", "module": "./node_modules/lodash/_baseMap.js", "moduleName": "./node_modules/lodash/_baseMap.js", "type": "cjs require", "userRequest": "./_baseEach", "loc": "1:15-37" }, { "moduleId": 125, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "module": "./node_modules/lodash/reduce.js", "moduleName": "./node_modules/lodash/reduce.js", "type": "cjs require", "userRequest": "./_baseEach", "loc": "2:15-37" }, { "moduleId": 225, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFilter.js", "module": "./node_modules/lodash/_baseFilter.js", "moduleName": "./node_modules/lodash/_baseFilter.js", "type": "cjs require", "userRequest": "./_baseEach", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n" }, { "id": 58, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "name": "./node_modules/lodash/_castPath.js", "index": 718, "index2": 714, "size": 569, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "issuerId": 120, "issuerName": "./node_modules/lodash/_hasPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } } ], "profile": { "factory": 72, "building": 28, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 83, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGet.js", "module": "./node_modules/lodash/_baseGet.js", "moduleName": "./node_modules/lodash/_baseGet.js", "type": "cjs require", "userRequest": "./_castPath", "loc": "1:15-37" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./_castPath", "loc": "1:15-37" }, { "moduleId": 303, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "module": "./node_modules/lodash/_basePickBy.js", "moduleName": "./node_modules/lodash/_basePickBy.js", "type": "cjs require", "userRequest": "./_castPath", "loc": "3:15-37" }, { "moduleId": 304, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "module": "./node_modules/lodash/_baseSet.js", "moduleName": "./node_modules/lodash/_baseSet.js", "type": "cjs require", "userRequest": "./_castPath", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n" }, { "id": 59, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayMap.js", "name": "./node_modules/lodash/_arrayMap.js", "index": 726, "index2": 711, "size": 556, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "issuerId": 123, "issuerName": "./node_modules/lodash/map.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 123, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "name": "./node_modules/lodash/map.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 123, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "module": "./node_modules/lodash/map.js", "moduleName": "./node_modules/lodash/map.js", "type": "cjs require", "userRequest": "./_arrayMap", "loc": "1:15-37" }, { "moduleId": 241, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseToString.js", "module": "./node_modules/lodash/_baseToString.js", "moduleName": "./node_modules/lodash/_baseToString.js", "type": "cjs require", "userRequest": "./_arrayMap", "loc": "2:15-37" }, { "moduleId": 269, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseValues.js", "module": "./node_modules/lodash/_baseValues.js", "moduleName": "./node_modules/lodash/_baseValues.js", "type": "cjs require", "userRequest": "./_arrayMap", "loc": "1:15-37" }, { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_arrayMap", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n" }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "index": 753, "index2": 750, "size": 559, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "issuerId": 137, "issuerName": "./node_modules/lodash/defaults.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 76 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 137, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "module": "./node_modules/lodash/defaults.js", "moduleName": "./node_modules/lodash/defaults.js", "type": "cjs require", "userRequest": "./_baseRest", "loc": "1:15-37" }, { "moduleId": 256, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "module": "./node_modules/lodash/union.js", "moduleName": "./node_modules/lodash/union.js", "type": "cjs require", "userRequest": "./_baseRest", "loc": "2:15-37" }, { "moduleId": 298, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createAssigner.js", "module": "./node_modules/lodash/_createAssigner.js", "moduleName": "./node_modules/lodash/_createAssigner.js", "type": "cjs require", "userRequest": "./_baseRest", "loc": "1:15-37" }, { "moduleId": 308, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "module": "./node_modules/lodash/sortBy.js", "moduleName": "./node_modules/lodash/sortBy.js", "type": "cjs require", "userRequest": "./_baseRest", "loc": "3:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n" }, { "id": 61, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "name": "./node_modules/lodash/_isIterateeCall.js", "index": 796, "index2": 787, "size": 877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "issuerId": 137, "issuerName": "./node_modules/lodash/defaults.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 76 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 137, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "module": "./node_modules/lodash/defaults.js", "moduleName": "./node_modules/lodash/defaults.js", "type": "cjs require", "userRequest": "./_isIterateeCall", "loc": "3:21-49" }, { "moduleId": 298, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createAssigner.js", "module": "./node_modules/lodash/_createAssigner.js", "moduleName": "./node_modules/lodash/_createAssigner.js", "type": "cjs require", "userRequest": "./_isIterateeCall", "loc": "2:21-49" }, { "moduleId": 306, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "module": "./node_modules/lodash/_createRange.js", "moduleName": "./node_modules/lodash/_createRange.js", "type": "cjs require", "userRequest": "./_isIterateeCall", "loc": "2:21-49" }, { "moduleId": 308, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "module": "./node_modules/lodash/sortBy.js", "moduleName": "./node_modules/lodash/sortBy.js", "type": "cjs require", "userRequest": "./_isIterateeCall", "loc": "4:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n" }, { "id": 62, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/util.js", "name": "./node_modules/dagre/lib/rank/util.js", "index": 844, "index2": 836, "size": 1769, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "issuerId": 319, "issuerName": "./node_modules/dagre/lib/rank/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 319, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "name": "./node_modules/dagre/lib/rank/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 85, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 147, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/feasible-tree.js", "module": "./node_modules/dagre/lib/rank/feasible-tree.js", "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", "type": "cjs require", "userRequest": "./util", "loc": "5:12-29" }, { "moduleId": 319, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "module": "./node_modules/dagre/lib/rank/index.js", "moduleName": "./node_modules/dagre/lib/rank/index.js", "type": "cjs require", "userRequest": "./util", "loc": "3:15-32" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "./util", "loc": "5:12-29" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "./util", "loc": "6:15-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = {\n longestPath: longestPath,\n slack: slack\n};\n\n/*\n * Initializes ranks for the input graph using the longest path algorithm. This\n * algorithm scales well and is fast in practice, it yields rather poor\n * solutions. Nodes are pushed to the lowest layer possible, leaving the bottom\n * ranks wide and leaving edges longer than necessary. However, due to its\n * speed, this algorithm is good for getting an initial ranking that can be fed\n * into other algorithms.\n *\n * This algorithm does not normalize layers because it will be used by other\n * algorithms in most cases. If using this algorithm directly, be sure to\n * run normalize at the end.\n *\n * Pre-conditions:\n *\n * 1. Input graph is a DAG.\n * 2. Input graph node labels can be assigned properties.\n *\n * Post-conditions:\n *\n * 1. Each node will be assign an (unnormalized) \"rank\" property.\n */\nfunction longestPath(g) {\n var visited = {};\n\n function dfs(v) {\n var label = g.node(v);\n if (_.has(visited, v)) {\n return label.rank;\n }\n visited[v] = true;\n\n var rank = _.min(_.map(g.outEdges(v), function(e) {\n return dfs(e.w) - g.edge(e).minlen;\n }));\n\n if (rank === Number.POSITIVE_INFINITY || // return value of _.map([]) for Lodash 3\n rank === undefined || // return value of _.map([]) for Lodash 4\n rank === null) { // return value of _.map([null])\n rank = 0;\n }\n\n return (label.rank = rank);\n }\n\n _.forEach(g.sources(), dfs);\n}\n\n/*\n * Returns the amount of slack for the given edge. The slack is defined as the\n * difference between the length of the edge and its minimum length.\n */\nfunction slack(g, e) {\n return g.node(e.w).rank - g.node(e.v).rank - g.edge(e).minlen;\n}\n" }, { "id": 63, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/@braintree/sanitize-url/index.js", "name": "./node_modules/@braintree/sanitize-url/index.js", "index": 540, "index2": 537, "size": 854, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "issuerId": null, "issuerName": "./src/utils.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 1707, "building": 708 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "@braintree/sanitize-url", "loc": "10:0-54" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "@braintree/sanitize-url", "loc": "15:0-54" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "@braintree/sanitize-url", "loc": "278:13-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "@braintree/sanitize-url", "loc": "479:14-25" } ], "usedExports": [ "sanitizeUrl" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "'use strict';\n\nvar invalidPrototcolRegex = /^(%20|\\s)*(javascript|data)/im;\nvar ctrlCharactersRegex = /[^\\x20-\\x7E]/gmi;\nvar urlSchemeRegex = /^([^:]+):/gm;\nvar relativeFirstCharacters = ['.', '/']\n\nfunction isRelativeUrl(url) {\n return relativeFirstCharacters.indexOf(url[0]) > -1;\n}\n\nfunction sanitizeUrl(url) {\n if (!url) {\n return 'about:blank';\n }\n\n var urlScheme, urlSchemeParseResults;\n var sanitizedUrl = url.replace(ctrlCharactersRegex, '').trim();\n\n if (isRelativeUrl(sanitizedUrl)) {\n return sanitizedUrl;\n }\n\n urlSchemeParseResults = sanitizedUrl.match(urlSchemeRegex);\n\n if (!urlSchemeParseResults) {\n return 'about:blank';\n }\n\n urlScheme = urlSchemeParseResults[0];\n\n if (invalidPrototcolRegex.test(urlScheme)) {\n return 'about:blank';\n }\n\n return sanitizedUrl;\n}\n\nmodule.exports = {\n sanitizeUrl: sanitizeUrl\n};\n" }, { "id": 64, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "name": "./src/diagrams/git/parser/gitGraph.jison", "index": 547, "index2": 548, "size": 23638, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/gitGraph", "loc": "3:0-47" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/parser/gitGraph", "loc": "39:0-60" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/git/parser/gitGraph", "loc": "76:15-29" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gitGraph", "loc": "237:17-31" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[2,3],$V1=[1,7],$V2=[7,12,15,17,19,20,21],$V3=[7,11,12,15,17,19,20,21],$V4=[2,20],$V5=[1,32];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"GG\":4,\":\":5,\"document\":6,\"EOF\":7,\"DIR\":8,\"options\":9,\"body\":10,\"OPT\":11,\"NL\":12,\"line\":13,\"statement\":14,\"COMMIT\":15,\"commit_arg\":16,\"BRANCH\":17,\"ID\":18,\"CHECKOUT\":19,\"MERGE\":20,\"RESET\":21,\"reset_arg\":22,\"STR\":23,\"HEAD\":24,\"reset_parents\":25,\"CARET\":26,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"GG\",5:\":\",7:\"EOF\",8:\"DIR\",11:\"OPT\",12:\"NL\",15:\"COMMIT\",17:\"BRANCH\",18:\"ID\",19:\"CHECKOUT\",20:\"MERGE\",21:\"RESET\",23:\"STR\",24:\"HEAD\",26:\"CARET\"},\nproductions_: [0,[3,4],[3,5],[6,0],[6,2],[9,2],[9,1],[10,0],[10,2],[13,2],[13,1],[14,2],[14,2],[14,2],[14,2],[14,2],[16,0],[16,1],[22,2],[22,2],[25,0],[25,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\nyy.setDirection($$[$0-3]); return $$[$0-1];\nbreak;\ncase 4:\n yy.setOptions($$[$0-1]); this.$ = $$[$0]\nbreak;\ncase 5:\n$$[$0-1] +=$$[$0]; this.$=$$[$0-1]\nbreak;\ncase 7:\nthis.$ = []\nbreak;\ncase 8:\n$$[$0-1].push($$[$0]); this.$=$$[$0-1];\nbreak;\ncase 9:\nthis.$ =$$[$0-1]\nbreak;\ncase 11:\nyy.commit($$[$0])\nbreak;\ncase 12:\nyy.branch($$[$0])\nbreak;\ncase 13:\nyy.checkout($$[$0])\nbreak;\ncase 14:\nyy.merge($$[$0])\nbreak;\ncase 15:\nyy.reset($$[$0])\nbreak;\ncase 16:\nthis.$ = \"\"\nbreak;\ncase 17:\nthis.$=$$[$0]\nbreak;\ncase 18:\nthis.$ = $$[$0-1]+ \":\" + $$[$0] \nbreak;\ncase 19:\nthis.$ = $$[$0-1]+ \":\" + yy.count; yy.count = 0\nbreak;\ncase 20:\nyy.count = 0\nbreak;\ncase 21:\n yy.count += 1 \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:$V0,9:6,12:$V1},{5:[1,8]},{7:[1,9]},o($V2,[2,7],{10:10,11:[1,11]}),o($V3,[2,6]),{6:12,7:$V0,9:6,12:$V1},{1:[2,1]},{7:[2,4],12:[1,15],13:13,14:14,15:[1,16],17:[1,17],19:[1,18],20:[1,19],21:[1,20]},o($V3,[2,5]),{7:[1,21]},o($V2,[2,8]),{12:[1,22]},o($V2,[2,10]),{12:[2,16],16:23,23:[1,24]},{18:[1,25]},{18:[1,26]},{18:[1,27]},{18:[1,30],22:28,24:[1,29]},{1:[2,2]},o($V2,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:$V4,25:31,26:$V5},{12:$V4,25:33,26:$V5},{12:[2,18]},{12:$V4,25:34,26:$V5},{12:[2,19]},{12:[2,21]}],\ndefaultActions: {9:[2,1],21:[2,2],23:[2,11],24:[2,17],25:[2,12],26:[2,13],27:[2,14],28:[2,15],31:[2,18],33:[2,19],34:[2,21]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 12;\nbreak;\ncase 1:/* skip all whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:return 4;\nbreak;\ncase 5:return 15;\nbreak;\ncase 6:return 17;\nbreak;\ncase 7:return 20;\nbreak;\ncase 8:return 21;\nbreak;\ncase 9:return 19;\nbreak;\ncase 10:return 8;\nbreak;\ncase 11:return 8;\nbreak;\ncase 12:return 5;\nbreak;\ncase 13:return 26\nbreak;\ncase 14:this.begin(\"options\");\nbreak;\ncase 15:this.popState();\nbreak;\ncase 16:return 11;\nbreak;\ncase 17:this.begin(\"string\");\nbreak;\ncase 18:this.popState();\nbreak;\ncase 19:return 23;\nbreak;\ncase 20:return 18;\nbreak;\ncase 21:return 7;\nbreak;\n}\n},\nrules: [/^(?:(\\r?\\n)+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:gitGraph\\b)/i,/^(?:commit\\b)/i,/^(?:branch\\b)/i,/^(?:merge\\b)/i,/^(?:reset\\b)/i,/^(?:checkout\\b)/i,/^(?:LR\\b)/i,/^(?:BT\\b)/i,/^(?::)/i,/^(?:\\^)/i,/^(?:options\\r?\\n)/i,/^(?:end\\r?\\n)/i,/^(?:[^\\n]+\\r?\\n)/i,/^(?:[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[a-zA-Z][-_\\.a-zA-Z0-9]*[-_a-zA-Z0-9])/i,/^(?:$)/i],\nconditions: {\"options\":{\"rules\":[15,16],\"inclusive\":false},\"string\":{\"rules\":[18,19],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 65, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "name": "./src/diagrams/info/parser/info.jison", "index": 563, "index2": 561, "size": 21150, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/info", "loc": "6:0-39" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/info", "loc": "23:17-27" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/parser/info", "loc": "43:0-53" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/info/parser/info", "loc": "119:15-25" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,9,10];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"info\":4,\"document\":5,\"EOF\":6,\"line\":7,\"statement\":8,\"NL\":9,\"showInfo\":10,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"info\",6:\"EOF\",9:\"NL\",10:\"showInfo\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return yy; \nbreak;\ncase 4:\n \nbreak;\ncase 6:\n yy.setInfo(true); \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},o($V0,[2,3]),o($V0,[2,4]),o($V0,[2,5]),o($V0,[2,6])],\ndefaultActions: {4:[2,1]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\n\t// Pre-lexer code can go here\n\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 4 ;\nbreak;\ncase 1:return 9 ;\nbreak;\ncase 2:return 'space';\nbreak;\ncase 3:return 10;\nbreak;\ncase 4:return 6 ;\nbreak;\ncase 5:return 'TXT' ;\nbreak;\n}\n},\nrules: [/^(?:info\\b)/i,/^(?:[\\s\\n\\r]+)/i,/^(?:[\\s]+)/i,/^(?:showInfo\\b)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 66, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "name": "./src/diagrams/pie/parser/pie.jison", "index": 565, "index2": 563, "size": 21750, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/pie", "loc": "6:0-37" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/pie", "loc": "24:17-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/parser/pie", "loc": "46:0-50" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/pie/parser/pie", "loc": "125:15-24" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,9,10,12];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"pie\":4,\"document\":5,\"EOF\":6,\"line\":7,\"statement\":8,\"NL\":9,\"STR\":10,\"VALUE\":11,\"title\":12,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"pie\",6:\"EOF\",9:\"NL\",10:\"STR\",11:\"VALUE\",12:\"title\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,2],[8,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 4:\n \nbreak;\ncase 6:\n\n\t\t/*console.log('str:'+$$[$0-1]+' value: '+$$[$0])*/\n\t\tyy.addSection($$[$0-1],yy.cleanupValue($$[$0])); \nbreak;\ncase 7:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8],12:[1,9]},{1:[2,1]},o($V0,[2,3]),o($V0,[2,4]),o($V0,[2,5]),{11:[1,10]},o($V0,[2,7]),o($V0,[2,6])],\ndefaultActions: {4:[2,1]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\n\t// Pre-lexer code can go here\n\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:return 4 ;\nbreak;\ncase 3:return 9 ;\nbreak;\ncase 4:return 'space';\nbreak;\ncase 5:return 12;\nbreak;\ncase 6:/*console.log('begin str');*/this.begin(\"string\");\nbreak;\ncase 7:/*console.log('pop-state');*/this.popState();\nbreak;\ncase 8:/*console.log('ending string')*/return \"STR\";\nbreak;\ncase 9:return \"VALUE\";\nbreak;\ncase 10:return 6 ;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*)/i,/^(?:\\s+)/i,/^(?:pie\\b)/i,/^(?:[\\s\\n\\r]+)/i,/^(?:[\\s]+)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?::[\\s]*[\\d]+(?:\\.[\\d]+)?)/i,/^(?:$)/i],\nconditions: {\"string\":{\"rules\":[7,8],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,9,10],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 67, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "name": "./src/diagrams/er/parser/erDiagram.jison", "index": 567, "index2": 565, "size": 23211, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/erDiagram", "loc": "4:0-42" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/parser/erDiagram", "loc": "49:0-54" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/er/parser/erDiagram", "loc": "131:15-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/erDiagram", "loc": "190:15-23" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,12],$V1=[1,7],$V2=[1,10],$V3=[1,11],$V4=[1,12],$V5=[1,13],$V6=[12,19,20],$V7=[15,16,17,18];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"ER_DIAGRAM\":4,\"document\":5,\"EOF\":6,\"statement\":7,\"entityName\":8,\"relSpec\":9,\":\":10,\"role\":11,\"ALPHANUM\":12,\"cardinality\":13,\"relType\":14,\"ZERO_OR_ONE\":15,\"ZERO_OR_MORE\":16,\"ONE_OR_MORE\":17,\"ONLY_ONE\":18,\"NON_IDENTIFYING\":19,\"IDENTIFYING\":20,\"WORD\":21,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"ER_DIAGRAM\",6:\"EOF\",10:\":\",12:\"ALPHANUM\",15:\"ZERO_OR_ONE\",16:\"ZERO_OR_MORE\",17:\"ONE_OR_MORE\",18:\"ONLY_ONE\",19:\"NON_IDENTIFYING\",20:\"IDENTIFYING\",21:\"WORD\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,5],[8,1],[9,3],[13,1],[13,1],[13,1],[13,1],[14,1],[14,1],[11,1],[11,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n /*console.log('finished parsing');*/ \nbreak;\ncase 4:\n\n yy.addEntity($$[$0-4]); \n yy.addEntity($$[$0-2]); \n yy.addRelationship($$[$0-4], $$[$0], $$[$0-2], $$[$0-3]);\n /*console.log($$[$0-4] + $$[$0-3] + $$[$0-2] + ':' + $$[$0]);*/\n \nbreak;\ncase 5:\n this.$ = $$[$0]; /*console.log('Entity: ' + $$[$0]);*/ \nbreak;\ncase 6:\n\n this.$ = { cardA: $$[$0], relType: $$[$0-1], cardB: $$[$0-2] };\n /*console.log('relSpec: ' + $$[$0] + $$[$0-1] + $$[$0-2]);*/\n \nbreak;\ncase 7:\n this.$ = yy.Cardinality.ZERO_OR_ONE; \nbreak;\ncase 8:\n this.$ = yy.Cardinality.ZERO_OR_MORE; \nbreak;\ncase 9:\n this.$ = yy.Cardinality.ONE_OR_MORE; \nbreak;\ncase 10:\n this.$ = yy.Cardinality.ONLY_ONE; \nbreak;\ncase 11:\n this.$ = yy.Identification.NON_IDENTIFYING; \nbreak;\ncase 12:\n this.$ = yy.Identification.IDENTIFYING; \nbreak;\ncase 13:\n this.$ = $$[$0].replace(/\"/g, ''); \nbreak;\ncase 14:\n this.$ = $$[$0]; \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,12:$V1},{1:[2,1]},o($V0,[2,3]),{9:8,13:9,15:$V2,16:$V3,17:$V4,18:$V5},o([10,15,16,17,18],[2,5]),{8:14,12:$V1},{14:15,19:[1,16],20:[1,17]},o($V6,[2,7]),o($V6,[2,8]),o($V6,[2,9]),o($V6,[2,10]),{10:[1,18]},{13:19,15:$V2,16:$V3,17:$V4,18:$V5},o($V7,[2,11]),o($V7,[2,12]),{11:20,12:[1,22],21:[1,21]},{12:[2,6]},o($V0,[2,4]),o($V0,[2,13]),o($V0,[2,14])],\ndefaultActions: {4:[2,1],19:[2,6]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* skip whitespace */\nbreak;\ncase 1:return 'SPACE';\nbreak;\ncase 2:return 21;\nbreak;\ncase 3:return 4;\nbreak;\ncase 4:return 15;\nbreak;\ncase 5:return 16;\nbreak;\ncase 6:return 17;\nbreak;\ncase 7:return 18;\nbreak;\ncase 8:return 15;\nbreak;\ncase 9:return 16;\nbreak;\ncase 10:return 17;\nbreak;\ncase 11:return 19;\nbreak;\ncase 12:return 20;\nbreak;\ncase 13:return 19;\nbreak;\ncase 14:return 19;\nbreak;\ncase 15:return 12;\nbreak;\ncase 16:return yy_.yytext[0];\nbreak;\ncase 17:return 6;\nbreak;\n}\n},\nrules: [/^(?:\\s+)/i,/^(?:[\\s]+)/i,/^(?:\"[^\"]*\")/i,/^(?:erDiagram\\b)/i,/^(?:\\|o\\b)/i,/^(?:\\}o\\b)/i,/^(?:\\}\\|)/i,/^(?:\\|\\|)/i,/^(?:o\\|)/i,/^(?:o\\{)/i,/^(?:\\|\\{)/i,/^(?:\\.\\.)/i,/^(?:--)/i,/^(?:\\.-)/i,/^(?:-\\.)/i,/^(?:[A-Za-z][A-Za-z0-9\\-]*)/i,/^(?:.)/i,/^(?:$)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 68, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/graph.js", "name": "./node_modules/graphlib/lib/graph.js", "index": 574, "index2": 765, "size": 12028, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "issuerId": 271, "issuerName": "./node_modules/graphlib/lib/json.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 106, "building": 76, "dependencies": 123 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 168, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/index.js", "module": "./node_modules/graphlib/lib/index.js", "moduleName": "./node_modules/graphlib/lib/index.js", "type": "cjs require", "userRequest": "./graph", "loc": "3:9-27" }, { "moduleId": 271, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "module": "./node_modules/graphlib/lib/json.js", "moduleName": "./node_modules/graphlib/lib/json.js", "type": "cjs require", "userRequest": "./graph", "loc": "2:12-30" }, { "moduleId": 280, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "module": "./node_modules/graphlib/lib/alg/prim.js", "moduleName": "./node_modules/graphlib/lib/alg/prim.js", "type": "cjs require", "userRequest": "../graph", "loc": "2:12-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\n\nmodule.exports = Graph;\n\nvar DEFAULT_EDGE_NAME = \"\\x00\";\nvar GRAPH_NODE = \"\\x00\";\nvar EDGE_KEY_DELIM = \"\\x01\";\n\n// Implementation notes:\n//\n// * Node id query functions should return string ids for the nodes\n// * Edge id query functions should return an \"edgeObj\", edge object, that is\n// composed of enough information to uniquely identify an edge: {v, w, name}.\n// * Internally we use an \"edgeId\", a stringified form of the edgeObj, to\n// reference edges. This is because we need a performant way to look these\n// edges up and, object properties, which have string keys, are the closest\n// we're going to get to a performant hashtable in JavaScript.\n\nfunction Graph(opts) {\n this._isDirected = _.has(opts, \"directed\") ? opts.directed : true;\n this._isMultigraph = _.has(opts, \"multigraph\") ? opts.multigraph : false;\n this._isCompound = _.has(opts, \"compound\") ? opts.compound : false;\n\n // Label for the graph itself\n this._label = undefined;\n\n // Defaults to be set when creating a new node\n this._defaultNodeLabelFn = _.constant(undefined);\n\n // Defaults to be set when creating a new edge\n this._defaultEdgeLabelFn = _.constant(undefined);\n\n // v -> label\n this._nodes = {};\n\n if (this._isCompound) {\n // v -> parent\n this._parent = {};\n\n // v -> children\n this._children = {};\n this._children[GRAPH_NODE] = {};\n }\n\n // v -> edgeObj\n this._in = {};\n\n // u -> v -> Number\n this._preds = {};\n\n // v -> edgeObj\n this._out = {};\n\n // v -> w -> Number\n this._sucs = {};\n\n // e -> edgeObj\n this._edgeObjs = {};\n\n // e -> label\n this._edgeLabels = {};\n}\n\n/* Number of nodes in the graph. Should only be changed by the implementation. */\nGraph.prototype._nodeCount = 0;\n\n/* Number of edges in the graph. Should only be changed by the implementation. */\nGraph.prototype._edgeCount = 0;\n\n\n/* === Graph functions ========= */\n\nGraph.prototype.isDirected = function() {\n return this._isDirected;\n};\n\nGraph.prototype.isMultigraph = function() {\n return this._isMultigraph;\n};\n\nGraph.prototype.isCompound = function() {\n return this._isCompound;\n};\n\nGraph.prototype.setGraph = function(label) {\n this._label = label;\n return this;\n};\n\nGraph.prototype.graph = function() {\n return this._label;\n};\n\n\n/* === Node functions ========== */\n\nGraph.prototype.setDefaultNodeLabel = function(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultNodeLabelFn = newDefault;\n return this;\n};\n\nGraph.prototype.nodeCount = function() {\n return this._nodeCount;\n};\n\nGraph.prototype.nodes = function() {\n return _.keys(this._nodes);\n};\n\nGraph.prototype.sources = function() {\n var self = this;\n return _.filter(this.nodes(), function(v) {\n return _.isEmpty(self._in[v]);\n });\n};\n\nGraph.prototype.sinks = function() {\n var self = this;\n return _.filter(this.nodes(), function(v) {\n return _.isEmpty(self._out[v]);\n });\n};\n\nGraph.prototype.setNodes = function(vs, value) {\n var args = arguments;\n var self = this;\n _.each(vs, function(v) {\n if (args.length > 1) {\n self.setNode(v, value);\n } else {\n self.setNode(v);\n }\n });\n return this;\n};\n\nGraph.prototype.setNode = function(v, value) {\n if (_.has(this._nodes, v)) {\n if (arguments.length > 1) {\n this._nodes[v] = value;\n }\n return this;\n }\n\n this._nodes[v] = arguments.length > 1 ? value : this._defaultNodeLabelFn(v);\n if (this._isCompound) {\n this._parent[v] = GRAPH_NODE;\n this._children[v] = {};\n this._children[GRAPH_NODE][v] = true;\n }\n this._in[v] = {};\n this._preds[v] = {};\n this._out[v] = {};\n this._sucs[v] = {};\n ++this._nodeCount;\n return this;\n};\n\nGraph.prototype.node = function(v) {\n return this._nodes[v];\n};\n\nGraph.prototype.hasNode = function(v) {\n return _.has(this._nodes, v);\n};\n\nGraph.prototype.removeNode = function(v) {\n var self = this;\n if (_.has(this._nodes, v)) {\n var removeEdge = function(e) { self.removeEdge(self._edgeObjs[e]); };\n delete this._nodes[v];\n if (this._isCompound) {\n this._removeFromParentsChildList(v);\n delete this._parent[v];\n _.each(this.children(v), function(child) {\n self.setParent(child);\n });\n delete this._children[v];\n }\n _.each(_.keys(this._in[v]), removeEdge);\n delete this._in[v];\n delete this._preds[v];\n _.each(_.keys(this._out[v]), removeEdge);\n delete this._out[v];\n delete this._sucs[v];\n --this._nodeCount;\n }\n return this;\n};\n\nGraph.prototype.setParent = function(v, parent) {\n if (!this._isCompound) {\n throw new Error(\"Cannot set parent in a non-compound graph\");\n }\n\n if (_.isUndefined(parent)) {\n parent = GRAPH_NODE;\n } else {\n // Coerce parent to string\n parent += \"\";\n for (var ancestor = parent;\n !_.isUndefined(ancestor);\n ancestor = this.parent(ancestor)) {\n if (ancestor === v) {\n throw new Error(\"Setting \" + parent+ \" as parent of \" + v +\n \" would create a cycle\");\n }\n }\n\n this.setNode(parent);\n }\n\n this.setNode(v);\n this._removeFromParentsChildList(v);\n this._parent[v] = parent;\n this._children[parent][v] = true;\n return this;\n};\n\nGraph.prototype._removeFromParentsChildList = function(v) {\n delete this._children[this._parent[v]][v];\n};\n\nGraph.prototype.parent = function(v) {\n if (this._isCompound) {\n var parent = this._parent[v];\n if (parent !== GRAPH_NODE) {\n return parent;\n }\n }\n};\n\nGraph.prototype.children = function(v) {\n if (_.isUndefined(v)) {\n v = GRAPH_NODE;\n }\n\n if (this._isCompound) {\n var children = this._children[v];\n if (children) {\n return _.keys(children);\n }\n } else if (v === GRAPH_NODE) {\n return this.nodes();\n } else if (this.hasNode(v)) {\n return [];\n }\n};\n\nGraph.prototype.predecessors = function(v) {\n var predsV = this._preds[v];\n if (predsV) {\n return _.keys(predsV);\n }\n};\n\nGraph.prototype.successors = function(v) {\n var sucsV = this._sucs[v];\n if (sucsV) {\n return _.keys(sucsV);\n }\n};\n\nGraph.prototype.neighbors = function(v) {\n var preds = this.predecessors(v);\n if (preds) {\n return _.union(preds, this.successors(v));\n }\n};\n\nGraph.prototype.isLeaf = function (v) {\n var neighbors;\n if (this.isDirected()) {\n neighbors = this.successors(v);\n } else {\n neighbors = this.neighbors(v);\n }\n return neighbors.length === 0;\n};\n\nGraph.prototype.filterNodes = function(filter) {\n var copy = new this.constructor({\n directed: this._isDirected,\n multigraph: this._isMultigraph,\n compound: this._isCompound\n });\n\n copy.setGraph(this.graph());\n\n var self = this;\n _.each(this._nodes, function(value, v) {\n if (filter(v)) {\n copy.setNode(v, value);\n }\n });\n\n _.each(this._edgeObjs, function(e) {\n if (copy.hasNode(e.v) && copy.hasNode(e.w)) {\n copy.setEdge(e, self.edge(e));\n }\n });\n\n var parents = {};\n function findParent(v) {\n var parent = self.parent(v);\n if (parent === undefined || copy.hasNode(parent)) {\n parents[v] = parent;\n return parent;\n } else if (parent in parents) {\n return parents[parent];\n } else {\n return findParent(parent);\n }\n }\n\n if (this._isCompound) {\n _.each(copy.nodes(), function(v) {\n copy.setParent(v, findParent(v));\n });\n }\n\n return copy;\n};\n\n/* === Edge functions ========== */\n\nGraph.prototype.setDefaultEdgeLabel = function(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultEdgeLabelFn = newDefault;\n return this;\n};\n\nGraph.prototype.edgeCount = function() {\n return this._edgeCount;\n};\n\nGraph.prototype.edges = function() {\n return _.values(this._edgeObjs);\n};\n\nGraph.prototype.setPath = function(vs, value) {\n var self = this;\n var args = arguments;\n _.reduce(vs, function(v, w) {\n if (args.length > 1) {\n self.setEdge(v, w, value);\n } else {\n self.setEdge(v, w);\n }\n return w;\n });\n return this;\n};\n\n/*\n * setEdge(v, w, [value, [name]])\n * setEdge({ v, w, [name] }, [value])\n */\nGraph.prototype.setEdge = function() {\n var v, w, name, value;\n var valueSpecified = false;\n var arg0 = arguments[0];\n\n if (typeof arg0 === \"object\" && arg0 !== null && \"v\" in arg0) {\n v = arg0.v;\n w = arg0.w;\n name = arg0.name;\n if (arguments.length === 2) {\n value = arguments[1];\n valueSpecified = true;\n }\n } else {\n v = arg0;\n w = arguments[1];\n name = arguments[3];\n if (arguments.length > 2) {\n value = arguments[2];\n valueSpecified = true;\n }\n }\n\n v = \"\" + v;\n w = \"\" + w;\n if (!_.isUndefined(name)) {\n name = \"\" + name;\n }\n\n var e = edgeArgsToId(this._isDirected, v, w, name);\n if (_.has(this._edgeLabels, e)) {\n if (valueSpecified) {\n this._edgeLabels[e] = value;\n }\n return this;\n }\n\n if (!_.isUndefined(name) && !this._isMultigraph) {\n throw new Error(\"Cannot set a named edge when isMultigraph = false\");\n }\n\n // It didn't exist, so we need to create it.\n // First ensure the nodes exist.\n this.setNode(v);\n this.setNode(w);\n\n this._edgeLabels[e] = valueSpecified ? value : this._defaultEdgeLabelFn(v, w, name);\n\n var edgeObj = edgeArgsToObj(this._isDirected, v, w, name);\n // Ensure we add undirected edges in a consistent way.\n v = edgeObj.v;\n w = edgeObj.w;\n\n Object.freeze(edgeObj);\n this._edgeObjs[e] = edgeObj;\n incrementOrInitEntry(this._preds[w], v);\n incrementOrInitEntry(this._sucs[v], w);\n this._in[w][e] = edgeObj;\n this._out[v][e] = edgeObj;\n this._edgeCount++;\n return this;\n};\n\nGraph.prototype.edge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n return this._edgeLabels[e];\n};\n\nGraph.prototype.hasEdge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n return _.has(this._edgeLabels, e);\n};\n\nGraph.prototype.removeEdge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n var edge = this._edgeObjs[e];\n if (edge) {\n v = edge.v;\n w = edge.w;\n delete this._edgeLabels[e];\n delete this._edgeObjs[e];\n decrementOrRemoveEntry(this._preds[w], v);\n decrementOrRemoveEntry(this._sucs[v], w);\n delete this._in[w][e];\n delete this._out[v][e];\n this._edgeCount--;\n }\n return this;\n};\n\nGraph.prototype.inEdges = function(v, u) {\n var inV = this._in[v];\n if (inV) {\n var edges = _.values(inV);\n if (!u) {\n return edges;\n }\n return _.filter(edges, function(edge) { return edge.v === u; });\n }\n};\n\nGraph.prototype.outEdges = function(v, w) {\n var outV = this._out[v];\n if (outV) {\n var edges = _.values(outV);\n if (!w) {\n return edges;\n }\n return _.filter(edges, function(edge) { return edge.w === w; });\n }\n};\n\nGraph.prototype.nodeEdges = function(v, w) {\n var inEdges = this.inEdges(v, w);\n if (inEdges) {\n return inEdges.concat(this.outEdges(v, w));\n }\n};\n\nfunction incrementOrInitEntry(map, k) {\n if (map[k]) {\n map[k]++;\n } else {\n map[k] = 1;\n }\n}\n\nfunction decrementOrRemoveEntry(map, k) {\n if (!--map[k]) { delete map[k]; }\n}\n\nfunction edgeArgsToId(isDirected, v_, w_, name) {\n var v = \"\" + v_;\n var w = \"\" + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n return v + EDGE_KEY_DELIM + w + EDGE_KEY_DELIM +\n (_.isUndefined(name) ? DEFAULT_EDGE_NAME : name);\n}\n\nfunction edgeArgsToObj(isDirected, v_, w_, name) {\n var v = \"\" + v_;\n var w = \"\" + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n var edgeObj = { v: v, w: w };\n if (name) {\n edgeObj.name = name;\n }\n return edgeObj;\n}\n\nfunction edgeObjToId(isDirected, edgeObj) {\n return edgeArgsToId(isDirected, edgeObj.v, edgeObj.w, edgeObj.name);\n}\n" }, { "id": 69, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Map.js", "name": "./node_modules/lodash/_Map.js", "index": 592, "index2": 596, "size": 195, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_Map", "loc": "2:10-27" }, { "moduleId": 179, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackSet.js", "module": "./node_modules/lodash/_stackSet.js", "moduleName": "./node_modules/lodash/_stackSet.js", "type": "cjs require", "userRequest": "./_Map", "loc": "2:10-27" }, { "moduleId": 187, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "module": "./node_modules/lodash/_mapCacheClear.js", "moduleName": "./node_modules/lodash/_mapCacheClear.js", "type": "cjs require", "userRequest": "./_Map", "loc": "3:10-27" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n" }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "index": 608, "index2": 611, "size": 869, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "issuerId": 114, "issuerName": "./node_modules/lodash/_SetCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } } ], "profile": { "factory": 83, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 114, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "module": "./node_modules/lodash/_SetCache.js", "moduleName": "./node_modules/lodash/_SetCache.js", "type": "cjs require", "userRequest": "./_MapCache", "loc": "1:15-37" }, { "moduleId": 179, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackSet.js", "module": "./node_modules/lodash/_stackSet.js", "moduleName": "./node_modules/lodash/_stackSet.js", "type": "cjs require", "userRequest": "./_MapCache", "loc": "3:15-37" }, { "moduleId": 240, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/memoize.js", "module": "./node_modules/lodash/memoize.js", "moduleName": "./node_modules/lodash/memoize.js", "type": "cjs require", "userRequest": "./_MapCache", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n" }, { "id": 71, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayEach.js", "name": "./node_modules/lodash/_arrayEach.js", "index": 623, "index2": 614, "size": 537, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "issuerId": 109, "issuerName": "./node_modules/lodash/forEach.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 109, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "name": "./node_modules/lodash/forEach.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 63, "building": 35 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_arrayEach", "loc": "2:16-39" }, { "moduleId": 109, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "module": "./node_modules/lodash/forEach.js", "moduleName": "./node_modules/lodash/forEach.js", "type": "cjs require", "userRequest": "./_arrayEach", "loc": "1:16-39" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./_arrayEach", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n" }, { "id": 72, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isLength.js", "name": "./node_modules/lodash/isLength.js", "index": 641, "index2": 627, "size": 802, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "issuerId": 120, "issuerName": "./node_modules/lodash/_hasPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } } ], "profile": { "factory": 72, "building": 28, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArrayLike.js", "module": "./node_modules/lodash/isArrayLike.js", "moduleName": "./node_modules/lodash/isArrayLike.js", "type": "cjs require", "userRequest": "./isLength", "loc": "2:15-36" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./isLength", "loc": "5:15-36" }, { "moduleId": 203, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsTypedArray.js", "module": "./node_modules/lodash/_baseIsTypedArray.js", "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", "type": "cjs require", "userRequest": "./isLength", "loc": "2:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n" }, { "id": 73, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nodeUtil.js", "name": "./node_modules/lodash/_nodeUtil.js", "index": 643, "index2": 630, "size": 995, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "issuerId": 42, "issuerName": "./node_modules/lodash/isTypedArray.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 42, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "name": "./node_modules/lodash/isTypedArray.js", "profile": { "factory": 68, "building": 26, "dependencies": 6 } } ], "profile": { "factory": 59, "building": 37, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 42, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "module": "./node_modules/lodash/isTypedArray.js", "moduleName": "./node_modules/lodash/isTypedArray.js", "type": "cjs require", "userRequest": "./_nodeUtil", "loc": "3:15-37" }, { "moduleId": 219, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "module": "./node_modules/lodash/isMap.js", "moduleName": "./node_modules/lodash/isMap.js", "type": "cjs require", "userRequest": "./_nodeUtil", "loc": "3:15-37" }, { "moduleId": 221, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "module": "./node_modules/lodash/isSet.js", "moduleName": "./node_modules/lodash/isSet.js", "type": "cjs require", "userRequest": "./_nodeUtil", "loc": "3:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n" }, { "id": 74, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeys.js", "name": "./node_modules/lodash/_baseKeys.js", "index": 644, "index2": 636, "size": 776, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "issuerId": 249, "issuerName": "./node_modules/lodash/size.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 64, "building": 25, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keys.js", "module": "./node_modules/lodash/keys.js", "moduleName": "./node_modules/lodash/keys.js", "type": "cjs require", "userRequest": "./_baseKeys", "loc": "2:15-37" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./_baseKeys", "loc": "1:15-37" }, { "moduleId": 249, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "module": "./node_modules/lodash/size.js", "moduleName": "./node_modules/lodash/size.js", "type": "cjs require", "userRequest": "./_baseKeys", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n" }, { "id": 75, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbols.js", "name": "./node_modules/lodash/_getSymbols.js", "index": 656, "index2": 648, "size": 886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "issuerId": 208, "issuerName": "./node_modules/lodash/_copySymbols.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 208, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "name": "./node_modules/lodash/_copySymbols.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 68, "building": 39, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 101, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbolsIn.js", "module": "./node_modules/lodash/_getSymbolsIn.js", "moduleName": "./node_modules/lodash/_getSymbolsIn.js", "type": "cjs require", "userRequest": "./_getSymbols", "loc": "3:17-41" }, { "moduleId": 102, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeys.js", "module": "./node_modules/lodash/_getAllKeys.js", "moduleName": "./node_modules/lodash/_getAllKeys.js", "type": "cjs require", "userRequest": "./_getSymbols", "loc": "2:17-41" }, { "moduleId": 208, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "module": "./node_modules/lodash/_copySymbols.js", "moduleName": "./node_modules/lodash/_copySymbols.js", "type": "cjs require", "userRequest": "./_getSymbols", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n" }, { "id": 76, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayPush.js", "name": "./node_modules/lodash/_arrayPush.js", "index": 661, "index2": 650, "size": 437, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "issuerId": 86, "issuerName": "./node_modules/lodash/_baseFlatten.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 86, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "name": "./node_modules/lodash/_baseFlatten.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } } ], "profile": { "factory": 62, "building": 25, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 86, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "module": "./node_modules/lodash/_baseFlatten.js", "moduleName": "./node_modules/lodash/_baseFlatten.js", "type": "cjs require", "userRequest": "./_arrayPush", "loc": "1:16-39" }, { "moduleId": 101, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbolsIn.js", "module": "./node_modules/lodash/_getSymbolsIn.js", "moduleName": "./node_modules/lodash/_getSymbolsIn.js", "type": "cjs require", "userRequest": "./_arrayPush", "loc": "1:16-39" }, { "moduleId": 103, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetAllKeys.js", "module": "./node_modules/lodash/_baseGetAllKeys.js", "moduleName": "./node_modules/lodash/_baseGetAllKeys.js", "type": "cjs require", "userRequest": "./_arrayPush", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n" }, { "id": 77, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneArrayBuffer.js", "name": "./node_modules/lodash/_cloneArrayBuffer.js", "index": 673, "index2": 664, "size": 449, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "issuerId": 215, "issuerName": "./node_modules/lodash/_initCloneByTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 88, "building": 41, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 106, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneTypedArray.js", "module": "./node_modules/lodash/_cloneTypedArray.js", "moduleName": "./node_modules/lodash/_cloneTypedArray.js", "type": "cjs require", "userRequest": "./_cloneArrayBuffer", "loc": "1:23-53" }, { "moduleId": 215, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "module": "./node_modules/lodash/_initCloneByTag.js", "moduleName": "./node_modules/lodash/_initCloneByTag.js", "type": "cjs require", "userRequest": "./_cloneArrayBuffer", "loc": "1:23-53" }, { "moduleId": 216, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneDataView.js", "module": "./node_modules/lodash/_cloneDataView.js", "moduleName": "./node_modules/lodash/_cloneDataView.js", "type": "cjs require", "userRequest": "./_cloneArrayBuffer", "loc": "1:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n" }, { "id": 78, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/constant.js", "name": "./node_modules/lodash/constant.js", "index": 685, "index2": 678, "size": 528, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/constant", "loc": "9:16-42" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/constant", "loc": "9:16-42" }, { "moduleId": 259, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSetToString.js", "module": "./node_modules/lodash/_baseSetToString.js", "moduleName": "./node_modules/lodash/_baseSetToString.js", "type": "cjs require", "userRequest": "./constant", "loc": "1:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n" }, { "id": 79, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/each.js", "name": "./node_modules/lodash/each.js", "index": 686, "index2": 687, "size": 39, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/each", "loc": "11:12-34" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/each", "loc": "10:12-34" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/each", "loc": "9:12-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "module.exports = require('./forEach');\n" }, { "id": 80, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseForOwn.js", "name": "./node_modules/lodash/_baseForOwn.js", "index": 689, "index2": 681, "size": 456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "issuerId": 291, "issuerName": "./node_modules/lodash/mapValues.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 73, "building": 26, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 57, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseEach.js", "module": "./node_modules/lodash/_baseEach.js", "moduleName": "./node_modules/lodash/_baseEach.js", "type": "cjs require", "userRequest": "./_baseForOwn", "loc": "1:17-41" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./_baseForOwn", "loc": "3:17-41" }, { "moduleId": 291, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "module": "./node_modules/lodash/mapValues.js", "moduleName": "./node_modules/lodash/mapValues.js", "type": "cjs require", "userRequest": "./_baseForOwn", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n" }, { "id": 81, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFor.js", "name": "./node_modules/lodash/_baseFor.js", "index": 690, "index2": 680, "size": 593, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "issuerId": 289, "issuerName": "./node_modules/lodash/forIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 289, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "name": "./node_modules/lodash/forIn.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 65, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 80, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseForOwn.js", "module": "./node_modules/lodash/_baseForOwn.js", "moduleName": "./node_modules/lodash/_baseForOwn.js", "type": "cjs require", "userRequest": "./_baseFor", "loc": "1:14-35" }, { "moduleId": 289, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "module": "./node_modules/lodash/forIn.js", "moduleName": "./node_modules/lodash/forIn.js", "type": "cjs require", "userRequest": "./_baseFor", "loc": "1:14-35" }, { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./_baseFor", "loc": "3:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n" }, { "id": 82, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToArray.js", "name": "./node_modules/lodash/_setToArray.js", "index": 710, "index2": 696, "size": 345, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./_setToArray", "loc": "6:17-41" }, { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_setToArray", "loc": "6:17-41" }, { "moduleId": 267, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "module": "./node_modules/lodash/_createSet.js", "moduleName": "./node_modules/lodash/_createSet.js", "type": "cjs require", "userRequest": "./_setToArray", "loc": "3:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n" }, { "id": 83, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGet.js", "name": "./node_modules/lodash/_baseGet.js", "index": 717, "index2": 716, "size": 616, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "issuerId": 303, "issuerName": "./node_modules/lodash/_basePickBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "profile": { "factory": 68, "building": 40, "dependencies": 46 } }, { "id": 303, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "name": "./node_modules/lodash/_basePickBy.js", "profile": { "factory": 62, "building": 23, "dependencies": 0 } } ], "profile": { "factory": 63, "building": 25, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 237, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/get.js", "module": "./node_modules/lodash/get.js", "moduleName": "./node_modules/lodash/get.js", "type": "cjs require", "userRequest": "./_baseGet", "loc": "1:14-35" }, { "moduleId": 244, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePropertyDeep.js", "module": "./node_modules/lodash/_basePropertyDeep.js", "moduleName": "./node_modules/lodash/_basePropertyDeep.js", "type": "cjs require", "userRequest": "./_baseGet", "loc": "1:14-35" }, { "moduleId": 303, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "module": "./node_modules/lodash/_basePickBy.js", "moduleName": "./node_modules/lodash/_basePickBy.js", "type": "cjs require", "userRequest": "./_baseGet", "loc": "1:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n" }, { "id": 84, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isKey.js", "name": "./node_modules/lodash/_isKey.js", "index": 719, "index2": 707, "size": 880, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "issuerId": 58, "issuerName": "./node_modules/lodash/_castPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } }, { "id": 58, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "name": "./node_modules/lodash/_castPath.js", "profile": { "factory": 72, "building": 28, "dependencies": 0 } } ], "profile": { "factory": 69, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 58, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "module": "./node_modules/lodash/_castPath.js", "moduleName": "./node_modules/lodash/_castPath.js", "type": "cjs require", "userRequest": "./_isKey", "loc": "2:12-31" }, { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./_isKey", "loc": "4:12-31" }, { "moduleId": 243, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "module": "./node_modules/lodash/property.js", "moduleName": "./node_modules/lodash/property.js", "type": "cjs require", "userRequest": "./_isKey", "loc": "3:12-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n" }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "index": 734, "index2": 728, "size": 757, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/has", "loc": "17:12-33" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/has", "loc": "12:12-33" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/has", "loc": "13:11-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseHas = require('./_baseHas'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\nfunction has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n}\n\nmodule.exports = has;\n" }, { "id": 86, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "name": "./node_modules/lodash/_baseFlatten.js", "index": 751, "index2": 744, "size": 1201, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "issuerId": 308, "issuerName": "./node_modules/lodash/sortBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 76, "building": 23, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 139, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/flatten.js", "module": "./node_modules/lodash/flatten.js", "moduleName": "./node_modules/lodash/flatten.js", "type": "cjs require", "userRequest": "./_baseFlatten", "loc": "1:18-43" }, { "moduleId": 256, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "module": "./node_modules/lodash/union.js", "moduleName": "./node_modules/lodash/union.js", "type": "cjs require", "userRequest": "./_baseFlatten", "loc": "1:18-43" }, { "moduleId": 308, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "module": "./node_modules/lodash/sortBy.js", "moduleName": "./node_modules/lodash/sortBy.js", "type": "cjs require", "userRequest": "./_baseFlatten", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n" }, { "id": 87, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseExtremum.js", "name": "./node_modules/lodash/_baseExtremum.js", "index": 808, "index2": 799, "size": 897, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "issuerId": 300, "issuerName": "./node_modules/lodash/minBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 300, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "name": "./node_modules/lodash/minBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 75, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 292, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "module": "./node_modules/lodash/max.js", "moduleName": "./node_modules/lodash/max.js", "type": "cjs require", "userRequest": "./_baseExtremum", "loc": "1:19-45" }, { "moduleId": 299, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/min.js", "module": "./node_modules/lodash/min.js", "moduleName": "./node_modules/lodash/min.js", "type": "cjs require", "userRequest": "./_baseExtremum", "loc": "1:19-45" }, { "moduleId": 300, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "module": "./node_modules/lodash/minBy.js", "moduleName": "./node_modules/lodash/minBy.js", "type": "cjs require", "userRequest": "./_baseExtremum", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var isSymbol = require('./isSymbol');\n\n/**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\nfunction baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseExtremum;\n" }, { "id": 88, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-ellipse.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-ellipse.js", "index": 867, "index2": 861, "size": 519, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "issuerId": 350, "issuerName": "./node_modules/dagre-d3/lib/shapes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 350, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "name": "./node_modules/dagre-d3/lib/shapes.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } } ], "profile": { "factory": 78, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 149, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-circle.js", "module": "./node_modules/dagre-d3/lib/intersect/intersect-circle.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/intersect-circle.js", "type": "cjs require", "userRequest": "./intersect-ellipse", "loc": "1:23-53" }, { "moduleId": 338, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "module": "./node_modules/dagre-d3/lib/intersect/index.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/index.js", "type": "cjs require", "userRequest": "./intersect-ellipse", "loc": "4:11-41" }, { "moduleId": 350, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "module": "./node_modules/dagre-d3/lib/shapes.js", "moduleName": "./node_modules/dagre-d3/lib/shapes.js", "type": "cjs require", "userRequest": "./intersect/intersect-ellipse", "loc": "4:23-63" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "module.exports = intersectEllipse;\n\nfunction intersectEllipse(node, rx, ry, point) {\n // Formulae from: http://mathworld.wolfram.com/Ellipse-LineIntersection.html\n\n var cx = node.x;\n var cy = node.y;\n\n var px = cx - point.x;\n var py = cy - point.y;\n\n var det = Math.sqrt(rx * rx * py * py + ry * ry * px * px);\n\n var dx = Math.abs(rx * ry * px / det);\n if (point.x < cx) {\n dx = -dx;\n }\n var dy = Math.abs(rx * ry * py / det);\n if (point.y < cy) {\n dy = -dy;\n }\n\n return {x: cx + dx, y: cy + dy};\n}\n\n" }, { "id": 89, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "name": "./node_modules/dagre-d3/lib/label/add-label.js", "index": 875, "index2": 873, "size": 970, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "issuerId": 345, "issuerName": "./node_modules/dagre-d3/lib/create-edge-labels.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 345, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "name": "./node_modules/dagre-d3/lib/create-edge-labels.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } } ], "profile": { "factory": 69, "building": 34, "dependencies": 58 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 341, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-nodes.js", "module": "./node_modules/dagre-d3/lib/create-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/create-nodes.js", "type": "cjs require", "userRequest": "./label/add-label", "loc": "4:15-43" }, { "moduleId": 344, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-clusters.js", "module": "./node_modules/dagre-d3/lib/create-clusters.js", "moduleName": "./node_modules/dagre-d3/lib/create-clusters.js", "type": "cjs require", "userRequest": "./label/add-label", "loc": "3:15-43" }, { "moduleId": 345, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "module": "./node_modules/dagre-d3/lib/create-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-labels.js", "type": "cjs require", "userRequest": "./label/add-label", "loc": "4:15-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var addTextLabel = require(\"./add-text-label\");\nvar addHtmlLabel = require(\"./add-html-label\");\nvar addSVGLabel = require(\"./add-svg-label\");\n\nmodule.exports = addLabel;\n\nfunction addLabel(root, node, location) {\n var label = node.label;\n var labelSvg = root.append(\"g\");\n\n // Allow the label to be a string, a function that returns a DOM element, or\n // a DOM element itself.\n if (node.labelType === \"svg\") {\n addSVGLabel(labelSvg, node);\n } else if (typeof label !== \"string\" || node.labelType === \"html\") {\n addHtmlLabel(labelSvg, node);\n } else {\n addTextLabel(labelSvg, node);\n }\n\n var labelBBox = labelSvg.node().getBBox();\n var y;\n switch(location) {\n case \"top\":\n y = (-node.height / 2);\n break;\n case \"bottom\":\n y = (node.height / 2) - labelBBox.height;\n break;\n default:\n y = (-labelBBox.height / 2);\n }\n labelSvg.attr(\n \"transform\",\n \"translate(\" + (-labelBBox.width / 2) + \",\" + y + \")\");\n\n return labelSvg;\n}\n" }, { "id": 90, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale/locale.js", "name": "./node_modules/moment-mini/locale/locale.js", "index": 545, "index2": 539, "size": 0, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale sync /^\\.\\/.*$/", "issuerId": 167, "issuerName": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 18, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "name": "./node_modules/moment-mini/moment.min.js", "profile": { "factory": 1976, "building": 181 } }, { "id": 167, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale sync /^\\.\\/.*$/", "name": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "profile": { "factory": 1415, "building": 30, "dependencies": 476 } } ], "profile": { "factory": 476, "building": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 167, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale sync /^\\.\\/.*$/", "module": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "moduleName": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "type": "context element", "userRequest": "./locale", "loc": "./locale" }, { "moduleId": 167, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale sync /^\\.\\/.*$/", "module": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "moduleName": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "type": "context element", "userRequest": "./locale.js", "loc": "./locale.js" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "" }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "index": 577, "index2": 676, "size": 5575, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "issuerId": 169, "issuerName": "./node_modules/lodash/clone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 60, "building": 41, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 169, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "module": "./node_modules/lodash/clone.js", "moduleName": "./node_modules/lodash/clone.js", "type": "cjs require", "userRequest": "./_baseClone", "loc": "1:16-39" }, { "moduleId": 283, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/cloneDeep.js", "module": "./node_modules/lodash/cloneDeep.js", "moduleName": "./node_modules/lodash/cloneDeep.js", "type": "cjs require", "userRequest": "./_baseClone", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n" }, { "id": 92, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_freeGlobal.js", "name": "./node_modules/lodash/_freeGlobal.js", "index": 599, "index2": 582, "size": 173, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_root.js", "issuerId": 12, "issuerName": "./node_modules/lodash/_root.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 301, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "name": "./node_modules/lodash/now.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 12, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_root.js", "name": "./node_modules/lodash/_root.js", "profile": { "factory": 76, "building": 25 } } ], "profile": { "factory": 57, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 12, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_root.js", "module": "./node_modules/lodash/_root.js", "moduleName": "./node_modules/lodash/_root.js", "type": "cjs require", "userRequest": "./_freeGlobal", "loc": "1:17-41" }, { "moduleId": 73, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nodeUtil.js", "module": "./node_modules/lodash/_nodeUtil.js", "moduleName": "./node_modules/lodash/_nodeUtil.js", "type": "cjs require", "userRequest": "./_freeGlobal", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n" }, { "id": 93, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_toSource.js", "name": "./node_modules/lodash/_toSource.js", "index": 606, "index2": 592, "size": 556, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_toSource", "loc": "7:15-37" }, { "moduleId": 180, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "module": "./node_modules/lodash/_baseIsNative.js", "moduleName": "./node_modules/lodash/_baseIsNative.js", "type": "cjs require", "userRequest": "./_toSource", "loc": "4:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n" }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "index": 626, "index2": 615, "size": 233, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "issuerId": 52, "issuerName": "./node_modules/lodash/_baseAssignValue.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } } ], "profile": { "factory": 58, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 52, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "module": "./node_modules/lodash/_baseAssignValue.js", "moduleName": "./node_modules/lodash/_baseAssignValue.js", "type": "cjs require", "userRequest": "./_defineProperty", "loc": "1:21-49" }, { "moduleId": 259, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSetToString.js", "module": "./node_modules/lodash/_baseSetToString.js", "moduleName": "./node_modules/lodash/_baseSetToString.js", "type": "cjs require", "userRequest": "./_defineProperty", "loc": "2:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n" }, { "id": 95, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "name": "./node_modules/lodash/_arrayLikeKeys.js", "index": 630, "index2": 632, "size": 1778, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "issuerId": 35, "issuerName": "./node_modules/lodash/keysIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "name": "./node_modules/lodash/keysIn.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } } ], "profile": { "factory": 94, "building": 22, "dependencies": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keys.js", "module": "./node_modules/lodash/keys.js", "moduleName": "./node_modules/lodash/keys.js", "type": "cjs require", "userRequest": "./_arrayLikeKeys", "loc": "1:20-47" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "module": "./node_modules/lodash/keysIn.js", "moduleName": "./node_modules/lodash/keysIn.js", "type": "cjs require", "userRequest": "./_arrayLikeKeys", "loc": "1:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n" }, { "id": 96, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_overArg.js", "name": "./node_modules/lodash/_overArg.js", "index": 647, "index2": 634, "size": 382, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getPrototype.js", "issuerId": 56, "issuerName": "./node_modules/lodash/_getPrototype.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 56, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getPrototype.js", "name": "./node_modules/lodash/_getPrototype.js", "profile": { "factory": 67, "building": 39 } } ], "profile": { "factory": 60, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 56, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getPrototype.js", "module": "./node_modules/lodash/_getPrototype.js", "moduleName": "./node_modules/lodash/_getPrototype.js", "type": "cjs require", "userRequest": "./_overArg", "loc": "1:14-35" }, { "moduleId": 204, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nativeKeys.js", "module": "./node_modules/lodash/_nativeKeys.js", "moduleName": "./node_modules/lodash/_nativeKeys.js", "type": "cjs require", "userRequest": "./_overArg", "loc": "1:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n" }, { "id": 97, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneBuffer.js", "name": "./node_modules/lodash/_cloneBuffer.js", "index": 653, "index2": 644, "size": 1056, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_cloneBuffer", "loc": "6:18-43" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_cloneBuffer", "loc": "2:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n" }, { "id": 98, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copyArray.js", "name": "./node_modules/lodash/_copyArray.js", "index": 654, "index2": 645, "size": 454, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_copyArray", "loc": "7:16-39" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_copyArray", "loc": "4:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n" }, { "id": 99, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayFilter.js", "name": "./node_modules/lodash/_arrayFilter.js", "index": 657, "index2": 646, "size": 632, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "issuerId": 111, "issuerName": "./node_modules/lodash/filter.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 111, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "name": "./node_modules/lodash/filter.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 68, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 75, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbols.js", "module": "./node_modules/lodash/_getSymbols.js", "moduleName": "./node_modules/lodash/_getSymbols.js", "type": "cjs require", "userRequest": "./_arrayFilter", "loc": "1:18-43" }, { "moduleId": 111, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "module": "./node_modules/lodash/filter.js", "moduleName": "./node_modules/lodash/filter.js", "type": "cjs require", "userRequest": "./_arrayFilter", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n" }, { "id": 100, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/stubArray.js", "name": "./node_modules/lodash/stubArray.js", "index": 658, "index2": 647, "size": 390, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbols.js", "issuerId": 75, "issuerName": "./node_modules/lodash/_getSymbols.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 208, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "name": "./node_modules/lodash/_copySymbols.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 75, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbols.js", "name": "./node_modules/lodash/_getSymbols.js", "profile": { "factory": 68, "building": 39, "dependencies": 0 } } ], "profile": { "factory": 66, "building": 24 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 75, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbols.js", "module": "./node_modules/lodash/_getSymbols.js", "moduleName": "./node_modules/lodash/_getSymbols.js", "type": "cjs require", "userRequest": "./stubArray", "loc": "2:16-38" }, { "moduleId": 101, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbolsIn.js", "module": "./node_modules/lodash/_getSymbolsIn.js", "moduleName": "./node_modules/lodash/_getSymbolsIn.js", "type": "cjs require", "userRequest": "./stubArray", "loc": "4:16-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n" }, { "id": 101, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbolsIn.js", "name": "./node_modules/lodash/_getSymbolsIn.js", "index": 660, "index2": 652, "size": 754, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "issuerId": 209, "issuerName": "./node_modules/lodash/_copySymbolsIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 209, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "name": "./node_modules/lodash/_copySymbolsIn.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 40, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 209, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "module": "./node_modules/lodash/_copySymbolsIn.js", "moduleName": "./node_modules/lodash/_copySymbolsIn.js", "type": "cjs require", "userRequest": "./_getSymbolsIn", "loc": "2:19-45" }, { "moduleId": 210, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "module": "./node_modules/lodash/_getAllKeysIn.js", "moduleName": "./node_modules/lodash/_getAllKeysIn.js", "type": "cjs require", "userRequest": "./_getSymbolsIn", "loc": "2:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n" }, { "id": 102, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeys.js", "name": "./node_modules/lodash/_getAllKeys.js", "index": 663, "index2": 655, "size": 455, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_getAllKeys", "loc": "10:17-41" }, { "moduleId": 234, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalObjects.js", "module": "./node_modules/lodash/_equalObjects.js", "moduleName": "./node_modules/lodash/_equalObjects.js", "type": "cjs require", "userRequest": "./_getAllKeys", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n" }, { "id": 103, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetAllKeys.js", "name": "./node_modules/lodash/_baseGetAllKeys.js", "index": 664, "index2": 654, "size": 739, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "issuerId": 210, "issuerName": "./node_modules/lodash/_getAllKeysIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 210, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "name": "./node_modules/lodash/_getAllKeysIn.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 74, "building": 39, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 102, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeys.js", "module": "./node_modules/lodash/_getAllKeys.js", "moduleName": "./node_modules/lodash/_getAllKeys.js", "type": "cjs require", "userRequest": "./_baseGetAllKeys", "loc": "1:21-49" }, { "moduleId": 210, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "module": "./node_modules/lodash/_getAllKeysIn.js", "moduleName": "./node_modules/lodash/_getAllKeysIn.js", "type": "cjs require", "userRequest": "./_baseGetAllKeys", "loc": "1:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n" }, { "id": 104, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Set.js", "name": "./node_modules/lodash/_Set.js", "index": 669, "index2": 659, "size": 195, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_Set", "loc": "4:10-27" }, { "moduleId": 267, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "module": "./node_modules/lodash/_createSet.js", "moduleName": "./node_modules/lodash/_createSet.js", "type": "cjs require", "userRequest": "./_Set", "loc": "1:10-27" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n" }, { "id": 105, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Uint8Array.js", "name": "./node_modules/lodash/_Uint8Array.js", "index": 674, "index2": 663, "size": 130, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneArrayBuffer.js", "issuerId": 77, "issuerName": "./node_modules/lodash/_cloneArrayBuffer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 77, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneArrayBuffer.js", "name": "./node_modules/lodash/_cloneArrayBuffer.js", "profile": { "factory": 88, "building": 41, "dependencies": 0 } } ], "profile": { "factory": 70, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 77, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneArrayBuffer.js", "module": "./node_modules/lodash/_cloneArrayBuffer.js", "moduleName": "./node_modules/lodash/_cloneArrayBuffer.js", "type": "cjs require", "userRequest": "./_Uint8Array", "loc": "1:17-41" }, { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./_Uint8Array", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n" }, { "id": 106, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneTypedArray.js", "name": "./node_modules/lodash/_cloneTypedArray.js", "index": 678, "index2": 668, "size": 527, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "issuerId": 296, "issuerName": "./node_modules/lodash/_baseMergeDeep.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "profile": { "factory": 74, "building": 27, "dependencies": 37 } }, { "id": 296, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "name": "./node_modules/lodash/_baseMergeDeep.js", "profile": { "factory": 65, "building": 23, "dependencies": 15 } } ], "profile": { "factory": 66, "building": 38, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 215, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "module": "./node_modules/lodash/_initCloneByTag.js", "moduleName": "./node_modules/lodash/_initCloneByTag.js", "type": "cjs require", "userRequest": "./_cloneTypedArray", "loc": "5:22-51" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_cloneTypedArray", "loc": "3:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n" }, { "id": 107, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneObject.js", "name": "./node_modules/lodash/_initCloneObject.js", "index": 679, "index2": 671, "size": 486, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_initCloneObject", "loc": "15:22-51" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_initCloneObject", "loc": "5:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n" }, { "id": 108, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseCreate.js", "name": "./node_modules/lodash/_baseCreate.js", "index": 680, "index2": 670, "size": 686, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "issuerId": 255, "issuerName": "./node_modules/lodash/transform.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 255, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "name": "./node_modules/lodash/transform.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 140, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 107, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneObject.js", "module": "./node_modules/lodash/_initCloneObject.js", "moduleName": "./node_modules/lodash/_initCloneObject.js", "type": "cjs require", "userRequest": "./_baseCreate", "loc": "1:17-41" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./_baseCreate", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n" }, { "id": 109, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "name": "./node_modules/lodash/forEach.js", "index": 687, "index2": 686, "size": 1355, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/forEach", "loc": "15:15-40" }, { "moduleId": 79, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/each.js", "module": "./node_modules/lodash/each.js", "moduleName": "./node_modules/lodash/each.js", "type": "cjs require", "userRequest": "./forEach", "loc": "1:17-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayEach = require('./_arrayEach'),\n baseEach = require('./_baseEach'),\n castFunction = require('./_castFunction'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\nfunction forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, castFunction(iteratee));\n}\n\nmodule.exports = forEach;\n" }, { "id": 110, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castFunction.js", "name": "./node_modules/lodash/_castFunction.js", "index": 693, "index2": 685, "size": 326, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "issuerId": 289, "issuerName": "./node_modules/lodash/forIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 289, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "name": "./node_modules/lodash/forIn.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 65, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 109, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "module": "./node_modules/lodash/forEach.js", "moduleName": "./node_modules/lodash/forEach.js", "type": "cjs require", "userRequest": "./_castFunction", "loc": "3:19-45" }, { "moduleId": 289, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "module": "./node_modules/lodash/forIn.js", "moduleName": "./node_modules/lodash/forIn.js", "type": "cjs require", "userRequest": "./_castFunction", "loc": "2:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var identity = require('./identity');\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n" }, { "id": 111, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "name": "./node_modules/lodash/filter.js", "index": 695, "index2": 726, "size": 1506, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/filter", "loc": "12:14-38" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/filter", "loc": "11:14-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n" }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "index": 700, "index2": 700, "size": 1019, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "issuerId": 236, "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 227, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMatch.js", "module": "./node_modules/lodash/_baseIsMatch.js", "moduleName": "./node_modules/lodash/_baseIsMatch.js", "type": "cjs require", "userRequest": "./_baseIsEqual", "loc": "2:18-43" }, { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./_baseIsEqual", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n" }, { "id": 113, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "name": "./node_modules/lodash/_equalArrays.js", "index": 702, "index2": 694, "size": 2595, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "issuerId": 228, "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "profile": { "factory": 68, "building": 26, "dependencies": 1 } } ], "profile": { "factory": 90, "building": 20, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./_equalArrays", "loc": "2:18-43" }, { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./_equalArrays", "loc": "4:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n" }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "index": 703, "index2": 691, "size": 632, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 113, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "module": "./node_modules/lodash/_equalArrays.js", "moduleName": "./node_modules/lodash/_equalArrays.js", "type": "cjs require", "userRequest": "./_SetCache", "loc": "1:15-37" }, { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_SetCache", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n" }, { "id": 115, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cacheHas.js", "name": "./node_modules/lodash/_cacheHas.js", "index": 707, "index2": 693, "size": 337, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 113, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "module": "./node_modules/lodash/_equalArrays.js", "moduleName": "./node_modules/lodash/_equalArrays.js", "type": "cjs require", "userRequest": "./_cacheHas", "loc": "3:15-37" }, { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_cacheHas", "loc": "4:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n" }, { "id": 116, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isStrictComparable.js", "name": "./node_modules/lodash/_isStrictComparable.js", "index": 713, "index2": 702, "size": 414, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "issuerId": 236, "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 235, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMatchData.js", "module": "./node_modules/lodash/_getMatchData.js", "moduleName": "./node_modules/lodash/_getMatchData.js", "type": "cjs require", "userRequest": "./_isStrictComparable", "loc": "1:25-57" }, { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./_isStrictComparable", "loc": "5:25-57" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n" }, { "id": 117, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_matchesStrictComparable.js", "name": "./node_modules/lodash/_matchesStrictComparable.js", "index": 714, "index2": 704, "size": 574, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "issuerId": 226, "issuerName": "./node_modules/lodash/_baseMatches.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 226, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "name": "./node_modules/lodash/_baseMatches.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 88, "building": 40, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 226, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "module": "./node_modules/lodash/_baseMatches.js", "moduleName": "./node_modules/lodash/_baseMatches.js", "type": "cjs require", "userRequest": "./_matchesStrictComparable", "loc": "3:30-67" }, { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./_matchesStrictComparable", "loc": "6:30-67" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n" }, { "id": 118, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toString.js", "name": "./node_modules/lodash/toString.js", "index": 724, "index2": 713, "size": 580, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/uniqueId.js", "issuerId": 146, "issuerName": "./node_modules/lodash/uniqueId.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 146, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/uniqueId.js", "name": "./node_modules/lodash/uniqueId.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 78, "building": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 58, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "module": "./node_modules/lodash/_castPath.js", "moduleName": "./node_modules/lodash/_castPath.js", "type": "cjs require", "userRequest": "./toString", "loc": "4:15-36" }, { "moduleId": 146, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/uniqueId.js", "module": "./node_modules/lodash/uniqueId.js", "moduleName": "./node_modules/lodash/uniqueId.js", "type": "cjs require", "userRequest": "./toString", "loc": "1:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n" }, { "id": 119, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/hasIn.js", "name": "./node_modules/lodash/hasIn.js", "index": 728, "index2": 720, "size": 753, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "issuerId": 302, "issuerName": "./node_modules/lodash/_basePick.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "profile": { "factory": 68, "building": 40, "dependencies": 46 } } ], "profile": { "factory": 62, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./hasIn", "loc": "3:12-30" }, { "moduleId": 302, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "module": "./node_modules/lodash/_basePick.js", "moduleName": "./node_modules/lodash/_basePick.js", "type": "cjs require", "userRequest": "./hasIn", "loc": "2:12-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n" }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "index": 730, "index2": 719, "size": 1085, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "issuerId": 85, "issuerName": "./node_modules/lodash/has.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 69, "building": 41, "dependencies": 68 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 85, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "module": "./node_modules/lodash/has.js", "moduleName": "./node_modules/lodash/has.js", "type": "cjs require", "userRequest": "./_hasPath", "loc": "2:14-35" }, { "moduleId": 119, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/hasIn.js", "module": "./node_modules/lodash/hasIn.js", "moduleName": "./node_modules/lodash/hasIn.js", "type": "cjs require", "userRequest": "./_hasPath", "loc": "2:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n" }, { "id": 121, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseProperty.js", "name": "./node_modules/lodash/_baseProperty.js", "index": 732, "index2": 722, "size": 360, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "issuerId": 243, "issuerName": "./node_modules/lodash/property.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 243, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "name": "./node_modules/lodash/property.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 66, "building": 39, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 243, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "module": "./node_modules/lodash/property.js", "moduleName": "./node_modules/lodash/property.js", "type": "cjs require", "userRequest": "./_baseProperty", "loc": "1:19-45" }, { "moduleId": 252, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_asciiSize.js", "module": "./node_modules/lodash/_asciiSize.js", "moduleName": "./node_modules/lodash/_asciiSize.js", "type": "cjs require", "userRequest": "./_baseProperty", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n" }, { "id": 122, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isUndefined.js", "name": "./node_modules/lodash/isUndefined.js", "index": 737, "index2": 730, "size": 416, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isUndefined", "loc": "18:19-48" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isUndefined", "loc": "16:19-48" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "/**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nmodule.exports = isUndefined;\n" }, { "id": 123, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "name": "./node_modules/lodash/map.js", "index": 738, "index2": 732, "size": 1621, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/map", "loc": "20:11-32" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/map", "loc": "18:11-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n isArray = require('./isArray');\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n" }, { "id": 124, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMap.js", "name": "./node_modules/lodash/_baseMap.js", "index": 739, "index2": 731, "size": 668, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "issuerId": 123, "issuerName": "./node_modules/lodash/map.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 123, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "name": "./node_modules/lodash/map.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 123, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "module": "./node_modules/lodash/map.js", "moduleName": "./node_modules/lodash/map.js", "type": "cjs require", "userRequest": "./_baseMap", "loc": "3:14-35" }, { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_baseMap", "loc": "3:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n" }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "index": 740, "index2": 735, "size": 1806, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/reduce", "loc": "29:14-38" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/reduce", "loc": "19:14-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayReduce = require('./_arrayReduce'),\n baseEach = require('./_baseEach'),\n baseIteratee = require('./_baseIteratee'),\n baseReduce = require('./_baseReduce'),\n isArray = require('./isArray');\n\n/**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\nfunction reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n}\n\nmodule.exports = reduce;\n" }, { "id": 126, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_overRest.js", "name": "./node_modules/lodash/_overRest.js", "index": 754, "index2": 746, "size": 1096, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "issuerId": 60, "issuerName": "./node_modules/lodash/_baseRest.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } } ], "profile": { "factory": 103, "building": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 60, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "module": "./node_modules/lodash/_baseRest.js", "moduleName": "./node_modules/lodash/_baseRest.js", "type": "cjs require", "userRequest": "./_overRest", "loc": "2:15-37" }, { "moduleId": 305, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_flatRest.js", "module": "./node_modules/lodash/_flatRest.js", "moduleName": "./node_modules/lodash/_flatRest.js", "type": "cjs require", "userRequest": "./_overRest", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n" }, { "id": 127, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "name": "./node_modules/lodash/_setToString.js", "index": 756, "index2": 749, "size": 392, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "issuerId": 60, "issuerName": "./node_modules/lodash/_baseRest.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } } ], "profile": { "factory": 103, "building": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 60, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "module": "./node_modules/lodash/_baseRest.js", "moduleName": "./node_modules/lodash/_baseRest.js", "type": "cjs require", "userRequest": "./_setToString", "loc": "3:18-43" }, { "moduleId": 305, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_flatRest.js", "module": "./node_modules/lodash/_flatRest.js", "moduleName": "./node_modules/lodash/_flatRest.js", "type": "cjs require", "userRequest": "./_setToString", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n" }, { "id": 128, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFindIndex.js", "name": "./node_modules/lodash/_baseFindIndex.js", "index": 762, "index2": 751, "size": 766, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "issuerId": 286, "issuerName": "./node_modules/lodash/findIndex.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 284, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "name": "./node_modules/lodash/find.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 286, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "name": "./node_modules/lodash/findIndex.js", "profile": { "factory": 68, "building": 33, "dependencies": 1 } } ], "profile": { "factory": 55, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 263, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "module": "./node_modules/lodash/_baseIndexOf.js", "moduleName": "./node_modules/lodash/_baseIndexOf.js", "type": "cjs require", "userRequest": "./_baseFindIndex", "loc": "1:20-47" }, { "moduleId": 286, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "module": "./node_modules/lodash/findIndex.js", "moduleName": "./node_modules/lodash/findIndex.js", "type": "cjs require", "userRequest": "./_baseFindIndex", "loc": "1:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n" }, { "id": 129, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArrayLikeObject.js", "name": "./node_modules/lodash/isArrayLikeObject.js", "index": 768, "index2": 760, "size": 742, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "issuerId": 256, "issuerName": "./node_modules/lodash/union.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 83, "building": 21, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 256, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "module": "./node_modules/lodash/union.js", "moduleName": "./node_modules/lodash/union.js", "type": "cjs require", "userRequest": "./isArrayLikeObject", "loc": "4:24-54" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isArrayLikeObject", "loc": "8:24-54" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n" }, { "id": 130, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/values.js", "name": "./node_modules/lodash/values.js", "index": 769, "index2": 763, "size": 733, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/values", "loc": "32:14-38" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/values", "loc": "23:14-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseValues = require('./_baseValues'),\n keys = require('./keys');\n\n/**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\nfunction values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n}\n\nmodule.exports = values;\n" }, { "id": 131, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra.js", "name": "./node_modules/graphlib/lib/alg/dijkstra.js", "index": 775, "index2": 771, "size": 1357, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./dijkstra", "loc": "3:12-33" }, { "moduleId": 274, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra-all.js", "module": "./node_modules/graphlib/lib/alg/dijkstra-all.js", "moduleName": "./node_modules/graphlib/lib/alg/dijkstra-all.js", "type": "cjs require", "userRequest": "./dijkstra", "loc": "1:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\nvar PriorityQueue = require(\"../data/priority-queue\");\n\nmodule.exports = dijkstra;\n\nvar DEFAULT_WEIGHT_FUNC = _.constant(1);\n\nfunction dijkstra(g, source, weightFn, edgeFn) {\n return runDijkstra(g, String(source),\n weightFn || DEFAULT_WEIGHT_FUNC,\n edgeFn || function(v) { return g.outEdges(v); });\n}\n\nfunction runDijkstra(g, source, weightFn, edgeFn) {\n var results = {};\n var pq = new PriorityQueue();\n var v, vEntry;\n\n var updateNeighbors = function(edge) {\n var w = edge.v !== v ? edge.v : edge.w;\n var wEntry = results[w];\n var weight = weightFn(edge);\n var distance = vEntry.distance + weight;\n\n if (weight < 0) {\n throw new Error(\"dijkstra does not allow negative edge weights. \" +\n \"Bad edge: \" + edge + \" Weight: \" + weight);\n }\n\n if (distance < wEntry.distance) {\n wEntry.distance = distance;\n wEntry.predecessor = v;\n pq.decrease(w, distance);\n }\n };\n\n g.nodes().forEach(function(v) {\n var distance = v === source ? 0 : Number.POSITIVE_INFINITY;\n results[v] = { distance: distance };\n pq.add(v, distance);\n });\n\n while (pq.size() > 0) {\n v = pq.removeMin();\n vEntry = results[v];\n if (vEntry.distance === Number.POSITIVE_INFINITY) {\n break;\n }\n\n edgeFn(v).forEach(updateNeighbors);\n }\n\n return results;\n}\n" }, { "id": 132, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/data/priority-queue.js", "name": "./node_modules/graphlib/lib/data/priority-queue.js", "index": 776, "index2": 770, "size": 4150, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "issuerId": 280, "issuerName": "./node_modules/graphlib/lib/alg/prim.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 280, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "name": "./node_modules/graphlib/lib/alg/prim.js", "profile": { "factory": 167, "building": 34, "dependencies": 63 } } ], "profile": { "factory": 69, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 131, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra.js", "module": "./node_modules/graphlib/lib/alg/dijkstra.js", "moduleName": "./node_modules/graphlib/lib/alg/dijkstra.js", "type": "cjs require", "userRequest": "../data/priority-queue", "loc": "2:20-53" }, { "moduleId": 280, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "module": "./node_modules/graphlib/lib/alg/prim.js", "moduleName": "./node_modules/graphlib/lib/alg/prim.js", "type": "cjs require", "userRequest": "../data/priority-queue", "loc": "3:20-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = PriorityQueue;\n\n/**\n * A min-priority queue data structure. This algorithm is derived from Cormen,\n * et al., \"Introduction to Algorithms\". The basic idea of a min-priority\n * queue is that you can efficiently (in O(1) time) get the smallest key in\n * the queue. Adding and removing elements takes O(log n) time. A key can\n * have its priority decreased in O(log n) time.\n */\nfunction PriorityQueue() {\n this._arr = [];\n this._keyIndices = {};\n}\n\n/**\n * Returns the number of elements in the queue. Takes `O(1)` time.\n */\nPriorityQueue.prototype.size = function() {\n return this._arr.length;\n};\n\n/**\n * Returns the keys that are in the queue. Takes `O(n)` time.\n */\nPriorityQueue.prototype.keys = function() {\n return this._arr.map(function(x) { return x.key; });\n};\n\n/**\n * Returns `true` if **key** is in the queue and `false` if not.\n */\nPriorityQueue.prototype.has = function(key) {\n return _.has(this._keyIndices, key);\n};\n\n/**\n * Returns the priority for **key**. If **key** is not present in the queue\n * then this function returns `undefined`. Takes `O(1)` time.\n *\n * @param {Object} key\n */\nPriorityQueue.prototype.priority = function(key) {\n var index = this._keyIndices[key];\n if (index !== undefined) {\n return this._arr[index].priority;\n }\n};\n\n/**\n * Returns the key for the minimum element in this queue. If the queue is\n * empty this function throws an Error. Takes `O(1)` time.\n */\nPriorityQueue.prototype.min = function() {\n if (this.size() === 0) {\n throw new Error(\"Queue underflow\");\n }\n return this._arr[0].key;\n};\n\n/**\n * Inserts a new key into the priority queue. If the key already exists in\n * the queue this function returns `false`; otherwise it will return `true`.\n * Takes `O(n)` time.\n *\n * @param {Object} key the key to add\n * @param {Number} priority the initial priority for the key\n */\nPriorityQueue.prototype.add = function(key, priority) {\n var keyIndices = this._keyIndices;\n key = String(key);\n if (!_.has(keyIndices, key)) {\n var arr = this._arr;\n var index = arr.length;\n keyIndices[key] = index;\n arr.push({key: key, priority: priority});\n this._decrease(index);\n return true;\n }\n return false;\n};\n\n/**\n * Removes and returns the smallest key in the queue. Takes `O(log n)` time.\n */\nPriorityQueue.prototype.removeMin = function() {\n this._swap(0, this._arr.length - 1);\n var min = this._arr.pop();\n delete this._keyIndices[min.key];\n this._heapify(0);\n return min.key;\n};\n\n/**\n * Decreases the priority for **key** to **priority**. If the new priority is\n * greater than the previous priority, this function will throw an Error.\n *\n * @param {Object} key the key for which to raise priority\n * @param {Number} priority the new priority for the key\n */\nPriorityQueue.prototype.decrease = function(key, priority) {\n var index = this._keyIndices[key];\n if (priority > this._arr[index].priority) {\n throw new Error(\"New priority is greater than current priority. \" +\n \"Key: \" + key + \" Old: \" + this._arr[index].priority + \" New: \" + priority);\n }\n this._arr[index].priority = priority;\n this._decrease(index);\n};\n\nPriorityQueue.prototype._heapify = function(i) {\n var arr = this._arr;\n var l = 2 * i;\n var r = l + 1;\n var largest = i;\n if (l < arr.length) {\n largest = arr[l].priority < arr[largest].priority ? l : largest;\n if (r < arr.length) {\n largest = arr[r].priority < arr[largest].priority ? r : largest;\n }\n if (largest !== i) {\n this._swap(i, largest);\n this._heapify(largest);\n }\n }\n};\n\nPriorityQueue.prototype._decrease = function(index) {\n var arr = this._arr;\n var priority = arr[index].priority;\n var parent;\n while (index !== 0) {\n parent = index >> 1;\n if (arr[parent].priority < priority) {\n break;\n }\n this._swap(index, parent);\n index = parent;\n }\n};\n\nPriorityQueue.prototype._swap = function(i, j) {\n var arr = this._arr;\n var keyIndices = this._keyIndices;\n var origArrI = arr[i];\n var origArrJ = arr[j];\n arr[i] = origArrJ;\n arr[j] = origArrI;\n keyIndices[origArrJ.key] = i;\n keyIndices[origArrI.key] = j;\n};\n" }, { "id": 133, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/tarjan.js", "name": "./node_modules/graphlib/lib/alg/tarjan.js", "index": 779, "index2": 773, "size": 962, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./tarjan", "loc": "11:10-29" }, { "moduleId": 275, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/find-cycles.js", "module": "./node_modules/graphlib/lib/alg/find-cycles.js", "moduleName": "./node_modules/graphlib/lib/alg/find-cycles.js", "type": "cjs require", "userRequest": "./tarjan", "loc": "2:13-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = tarjan;\n\nfunction tarjan(g) {\n var index = 0;\n var stack = [];\n var visited = {}; // node id -> { onStack, lowlink, index }\n var results = [];\n\n function dfs(v) {\n var entry = visited[v] = {\n onStack: true,\n lowlink: index,\n index: index++\n };\n stack.push(v);\n\n g.successors(v).forEach(function(w) {\n if (!_.has(visited, w)) {\n dfs(w);\n entry.lowlink = Math.min(entry.lowlink, visited[w].lowlink);\n } else if (visited[w].onStack) {\n entry.lowlink = Math.min(entry.lowlink, visited[w].index);\n }\n });\n\n if (entry.lowlink === entry.index) {\n var cmpt = [];\n var w;\n do {\n w = stack.pop();\n visited[w].onStack = false;\n cmpt.push(w);\n } while (v !== w);\n results.push(cmpt);\n }\n }\n\n g.nodes().forEach(function(v) {\n if (!_.has(visited, v)) {\n dfs(v);\n }\n });\n\n return results;\n}\n" }, { "id": 134, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/topsort.js", "name": "./node_modules/graphlib/lib/alg/topsort.js", "index": 782, "index2": 776, "size": 715, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./topsort", "loc": "12:11-31" }, { "moduleId": 277, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/is-acyclic.js", "module": "./node_modules/graphlib/lib/alg/is-acyclic.js", "moduleName": "./node_modules/graphlib/lib/alg/is-acyclic.js", "type": "cjs require", "userRequest": "./topsort", "loc": "1:14-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = topsort;\ntopsort.CycleException = CycleException;\n\nfunction topsort(g) {\n var visited = {};\n var stack = {};\n var results = [];\n\n function visit(node) {\n if (_.has(stack, node)) {\n throw new CycleException();\n }\n\n if (!_.has(visited, node)) {\n stack[node] = true;\n visited[node] = true;\n _.each(g.predecessors(node), visit);\n delete stack[node];\n results.push(node);\n }\n }\n\n _.each(g.sinks(), visit);\n\n if (_.size(visited) !== g.nodeCount()) {\n throw new CycleException();\n }\n\n return results;\n}\n\nfunction CycleException() {}\nCycleException.prototype = new Error(); // must be an instance of Error to pass testing" }, { "id": 135, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dfs.js", "name": "./node_modules/graphlib/lib/alg/dfs.js", "index": 784, "index2": 778, "size": 1078, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/preorder.js", "issuerId": 279, "issuerName": "./node_modules/graphlib/lib/alg/preorder.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 279, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/preorder.js", "name": "./node_modules/graphlib/lib/alg/preorder.js", "profile": { "factory": 167, "building": 34, "dependencies": 63 } } ], "profile": { "factory": 63, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 278, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/postorder.js", "module": "./node_modules/graphlib/lib/alg/postorder.js", "moduleName": "./node_modules/graphlib/lib/alg/postorder.js", "type": "cjs require", "userRequest": "./dfs", "loc": "1:10-26" }, { "moduleId": 279, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/preorder.js", "module": "./node_modules/graphlib/lib/alg/preorder.js", "moduleName": "./node_modules/graphlib/lib/alg/preorder.js", "type": "cjs require", "userRequest": "./dfs", "loc": "1:10-26" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = dfs;\n\n/*\n * A helper that preforms a pre- or post-order traversal on the input graph\n * and returns the nodes in the order they were visited. If the graph is\n * undirected then this algorithm will navigate using neighbors. If the graph\n * is directed then this algorithm will navigate using successors.\n *\n * Order must be one of \"pre\" or \"post\".\n */\nfunction dfs(g, vs, order) {\n if (!_.isArray(vs)) {\n vs = [vs];\n }\n\n var navigation = (g.isDirected() ? g.successors : g.neighbors).bind(g);\n\n var acc = [];\n var visited = {};\n _.each(vs, function(v) {\n if (!g.hasNode(v)) {\n throw new Error(\"Graph does not have node: \" + v);\n }\n\n doDfs(g, v, order === \"post\", visited, navigation, acc);\n });\n return acc;\n}\n\nfunction doDfs(g, v, postorder, visited, navigation, acc) {\n if (!_.has(visited, v)) {\n visited[v] = true;\n\n if (!postorder) { acc.push(v); }\n _.each(navigation(v), function(w) {\n doDfs(g, w, postorder, visited, navigation, acc);\n });\n if (postorder) { acc.push(v); }\n }\n}\n" }, { "id": 136, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/dagre.js", "name": "./node_modules/dagre-d3/lib/dagre.js", "index": 789, "index2": 859, "size": 232, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "issuerId": 5, "issuerName": "./node_modules/dagre-d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 313, "building": 36, "dependencies": 79 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/dagre", "loc": "25:9-31" }, { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./dagre", "loc": "3:13-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "/* global window */\n\nvar dagre;\n\nif (typeof require === \"function\") {\n try {\n dagre = require(\"dagre\");\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!dagre) {\n dagre = window.dagre;\n}\n\nmodule.exports = dagre;\n" }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "index": 795, "index2": 788, "size": 1754, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/defaults", "loc": "10:16-42" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/defaults", "loc": "8:16-42" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseRest = require('./_baseRest'),\n eq = require('./eq'),\n isIterateeCall = require('./_isIterateeCall'),\n keysIn = require('./keysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n});\n\nmodule.exports = defaults;\n" }, { "id": 138, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toFinite.js", "name": "./node_modules/lodash/toFinite.js", "index": 801, "index2": 791, "size": 868, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "issuerId": 306, "issuerName": "./node_modules/lodash/_createRange.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 145, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "name": "./node_modules/lodash/range.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 306, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "name": "./node_modules/lodash/_createRange.js", "profile": { "factory": 79, "building": 18, "dependencies": 2 } } ], "profile": { "factory": 81, "building": 21 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 287, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toInteger.js", "module": "./node_modules/lodash/toInteger.js", "moduleName": "./node_modules/lodash/toInteger.js", "type": "cjs require", "userRequest": "./toFinite", "loc": "1:15-36" }, { "moduleId": 306, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "module": "./node_modules/lodash/_createRange.js", "moduleName": "./node_modules/lodash/_createRange.js", "type": "cjs require", "userRequest": "./toFinite", "loc": "3:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n" }, { "id": 139, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/flatten.js", "name": "./node_modules/lodash/flatten.js", "index": 803, "index2": 795, "size": 489, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/flatten", "loc": "14:15-40" }, { "moduleId": 305, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_flatRest.js", "module": "./node_modules/lodash/_flatRest.js", "moduleName": "./node_modules/lodash/_flatRest.js", "type": "cjs require", "userRequest": "./flatten", "loc": "1:14-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n" }, { "id": 140, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignMergeValue.js", "name": "./node_modules/lodash/_assignMergeValue.js", "index": 812, "index2": 802, "size": 582, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "issuerId": 295, "issuerName": "./node_modules/lodash/_baseMerge.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "profile": { "factory": 74, "building": 27, "dependencies": 37 } } ], "profile": { "factory": 65, "building": 23, "dependencies": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./_assignMergeValue", "loc": "2:23-53" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_assignMergeValue", "loc": "1:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n" }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "index": 814, "index2": 803, "size": 1650, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isPlainObject", "loc": "11:21-52" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isPlainObject", "loc": "12:20-46" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n" }, { "id": 142, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_safeGet.js", "name": "./node_modules/lodash/_safeGet.js", "index": 815, "index2": 804, "size": 456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "issuerId": 295, "issuerName": "./node_modules/lodash/_baseMerge.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "profile": { "factory": 74, "building": 27, "dependencies": 37 } } ], "profile": { "factory": 65, "building": 23, "dependencies": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./_safeGet", "loc": "7:14-35" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_safeGet", "loc": "14:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n" }, { "id": 143, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseLt.js", "name": "./node_modules/lodash/_baseLt.js", "index": 819, "index2": 810, "size": 354, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "issuerId": 300, "issuerName": "./node_modules/lodash/minBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 300, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "name": "./node_modules/lodash/minBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 75, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 299, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/min.js", "module": "./node_modules/lodash/min.js", "moduleName": "./node_modules/lodash/min.js", "type": "cjs require", "userRequest": "./_baseLt", "loc": "2:13-33" }, { "moduleId": 300, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "module": "./node_modules/lodash/minBy.js", "moduleName": "./node_modules/lodash/minBy.js", "type": "cjs require", "userRequest": "./_baseLt", "loc": "3:13-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\nfunction baseLt(value, other) {\n return value < other;\n}\n\nmodule.exports = baseLt;\n" }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "index": 822, "index2": 818, "size": 629, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/pick", "loc": "27:12-34" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/pick", "loc": "12:12-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var basePick = require('./_basePick'),\n flatRest = require('./_flatRest');\n\n/**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\nvar pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n});\n\nmodule.exports = pick;\n" }, { "id": 145, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "name": "./node_modules/lodash/range.js", "index": 827, "index2": 821, "size": 1151, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/range", "loc": "28:13-36" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/range", "loc": "14:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var createRange = require('./_createRange');\n\n/**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n * `start` is specified without an `end` or `step`. If `end` is not specified,\n * it's set to `start` with `start` then set to `0`.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the range of numbers.\n * @see _.inRange, _.rangeRight\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(-4);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\nvar range = createRange();\n\nmodule.exports = range;\n" }, { "id": 146, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/uniqueId.js", "name": "./node_modules/lodash/uniqueId.js", "index": 835, "index2": 827, "size": 562, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/uniqueId", "loc": "31:16-42" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/uniqueId", "loc": "15:16-42" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var toString = require('./toString');\n\n/** Used to generate unique IDs. */\nvar idCounter = 0;\n\n/**\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {string} [prefix=''] The value to prefix the ID with.\n * @returns {string} Returns the unique ID.\n * @example\n *\n * _.uniqueId('contact_');\n * // => 'contact_104'\n *\n * _.uniqueId();\n * // => '105'\n */\nfunction uniqueId(prefix) {\n var id = ++idCounter;\n return toString(prefix) + id;\n}\n\nmodule.exports = uniqueId;\n" }, { "id": 147, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/feasible-tree.js", "name": "./node_modules/dagre/lib/rank/feasible-tree.js", "index": 845, "index2": 837, "size": 2218, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "issuerId": 319, "issuerName": "./node_modules/dagre/lib/rank/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 319, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "name": "./node_modules/dagre/lib/rank/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 85, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 319, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "module": "./node_modules/dagre/lib/rank/index.js", "moduleName": "./node_modules/dagre/lib/rank/index.js", "type": "cjs require", "userRequest": "./feasible-tree", "loc": "5:19-45" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "./feasible-tree", "loc": "4:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\nvar slack = require(\"./util\").slack;\n\nmodule.exports = feasibleTree;\n\n/*\n * Constructs a spanning tree with tight edges and adjusted the input node's\n * ranks to achieve this. A tight edge is one that is has a length that matches\n * its \"minlen\" attribute.\n *\n * The basic structure for this function is derived from Gansner, et al., \"A\n * Technique for Drawing Directed Graphs.\"\n *\n * Pre-conditions:\n *\n * 1. Graph must be a DAG.\n * 2. Graph must be connected.\n * 3. Graph must have at least one node.\n * 5. Graph nodes must have been previously assigned a \"rank\" property that\n * respects the \"minlen\" property of incident edges.\n * 6. Graph edges must have a \"minlen\" property.\n *\n * Post-conditions:\n *\n * - Graph nodes will have their rank adjusted to ensure that all edges are\n * tight.\n *\n * Returns a tree (undirected graph) that is constructed using only \"tight\"\n * edges.\n */\nfunction feasibleTree(g) {\n var t = new Graph({ directed: false });\n\n // Choose arbitrary node from which to start our tree\n var start = g.nodes()[0];\n var size = g.nodeCount();\n t.setNode(start, {});\n\n var edge, delta;\n while (tightTree(t, g) < size) {\n edge = findMinSlackEdge(t, g);\n delta = t.hasNode(edge.v) ? slack(g, edge) : -slack(g, edge);\n shiftRanks(t, g, delta);\n }\n\n return t;\n}\n\n/*\n * Finds a maximal tree of tight edges and returns the number of nodes in the\n * tree.\n */\nfunction tightTree(t, g) {\n function dfs(v) {\n _.forEach(g.nodeEdges(v), function(e) {\n var edgeV = e.v,\n w = (v === edgeV) ? e.w : edgeV;\n if (!t.hasNode(w) && !slack(g, e)) {\n t.setNode(w, {});\n t.setEdge(v, w, {});\n dfs(w);\n }\n });\n }\n\n _.forEach(t.nodes(), dfs);\n return t.nodeCount();\n}\n\n/*\n * Finds the edge with the smallest slack that is incident on tree and returns\n * it.\n */\nfunction findMinSlackEdge(t, g) {\n return _.minBy(g.edges(), function(e) {\n if (t.hasNode(e.v) !== t.hasNode(e.w)) {\n return slack(g, e);\n }\n });\n}\n\nfunction shiftRanks(t, g, delta) {\n _.forEach(t.nodes(), function(v) {\n g.node(v).rank += delta;\n });\n}\n" }, { "id": 148, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-node.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-node.js", "index": 865, "index2": 860, "size": 105, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "issuerId": 338, "issuerName": "./node_modules/dagre-d3/lib/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 338, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "name": "./node_modules/dagre-d3/lib/intersect/index.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 79, "building": 34 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 338, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "module": "./node_modules/dagre-d3/lib/intersect/index.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/index.js", "type": "cjs require", "userRequest": "./intersect-node", "loc": "2:8-35" }, { "moduleId": 346, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-paths.js", "module": "./node_modules/dagre-d3/lib/create-edge-paths.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-paths.js", "type": "cjs require", "userRequest": "./intersect/intersect-node", "loc": "4:20-57" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "module.exports = intersectNode;\n\nfunction intersectNode(node, point) {\n return node.intersect(point);\n}\n" }, { "id": 149, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-circle.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-circle.js", "index": 866, "index2": 862, "size": 185, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "issuerId": 350, "issuerName": "./node_modules/dagre-d3/lib/shapes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 350, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "name": "./node_modules/dagre-d3/lib/shapes.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } } ], "profile": { "factory": 78, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 338, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "module": "./node_modules/dagre-d3/lib/intersect/index.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/index.js", "type": "cjs require", "userRequest": "./intersect-circle", "loc": "3:10-39" }, { "moduleId": 350, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "module": "./node_modules/dagre-d3/lib/shapes.js", "moduleName": "./node_modules/dagre-d3/lib/shapes.js", "type": "cjs require", "userRequest": "./intersect/intersect-circle", "loc": "5:22-61" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var intersectEllipse = require(\"./intersect-ellipse\");\n\nmodule.exports = intersectCircle;\n\nfunction intersectCircle(node, rx, point) {\n return intersectEllipse(node, rx, rx, point);\n}\n" }, { "id": 150, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "index": 868, "index2": 864, "size": 1596, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "issuerId": 350, "issuerName": "./node_modules/dagre-d3/lib/shapes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 350, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "name": "./node_modules/dagre-d3/lib/shapes.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } } ], "profile": { "factory": 78, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 338, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "module": "./node_modules/dagre-d3/lib/intersect/index.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/index.js", "type": "cjs require", "userRequest": "./intersect-polygon", "loc": "5:11-41" }, { "moduleId": 350, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "module": "./node_modules/dagre-d3/lib/shapes.js", "moduleName": "./node_modules/dagre-d3/lib/shapes.js", "type": "cjs require", "userRequest": "./intersect/intersect-polygon", "loc": "6:23-63" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "/* eslint \"no-console\": off */\n\nvar intersectLine = require(\"./intersect-line\");\n\nmodule.exports = intersectPolygon;\n\n/*\n * Returns the point ({x, y}) at which the point argument intersects with the\n * node argument assuming that it has the shape specified by polygon.\n */\nfunction intersectPolygon(node, polyPoints, point) {\n var x1 = node.x;\n var y1 = node.y;\n\n var intersections = [];\n\n var minX = Number.POSITIVE_INFINITY;\n var minY = Number.POSITIVE_INFINITY;\n polyPoints.forEach(function(entry) {\n minX = Math.min(minX, entry.x);\n minY = Math.min(minY, entry.y);\n });\n\n var left = x1 - node.width / 2 - minX;\n var top = y1 - node.height / 2 - minY;\n\n for (var i = 0; i < polyPoints.length; i++) {\n var p1 = polyPoints[i];\n var p2 = polyPoints[i < polyPoints.length - 1 ? i + 1 : 0];\n var intersect = intersectLine(node, point,\n {x: left + p1.x, y: top + p1.y}, {x: left + p2.x, y: top + p2.y});\n if (intersect) {\n intersections.push(intersect);\n }\n }\n\n if (!intersections.length) {\n console.log(\"NO INTERSECTION FOUND, RETURN NODE CENTER\", node);\n return node;\n }\n\n if (intersections.length > 1) {\n // More intersections, find the one nearest to edge end point\n intersections.sort(function(p, q) {\n var pdx = p.x - point.x;\n var pdy = p.y - point.y;\n var distp = Math.sqrt(pdx * pdx + pdy * pdy);\n\n var qdx = q.x - point.x;\n var qdy = q.y - point.y;\n var distq = Math.sqrt(qdx * qdx + qdy * qdy);\n\n return (distp < distq) ? -1 : (distp === distq ? 0 : 1);\n });\n }\n return intersections[0];\n}\n" }, { "id": 151, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-rect.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-rect.js", "index": 870, "index2": 865, "size": 710, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "issuerId": 338, "issuerName": "./node_modules/dagre-d3/lib/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 338, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "name": "./node_modules/dagre-d3/lib/intersect/index.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 79, "building": 34 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 338, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "module": "./node_modules/dagre-d3/lib/intersect/index.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/index.js", "type": "cjs require", "userRequest": "./intersect-rect", "loc": "6:8-35" }, { "moduleId": 350, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "module": "./node_modules/dagre-d3/lib/shapes.js", "moduleName": "./node_modules/dagre-d3/lib/shapes.js", "type": "cjs require", "userRequest": "./intersect/intersect-rect", "loc": "3:20-57" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "module.exports = intersectRect;\n\nfunction intersectRect(node, point) {\n var x = node.x;\n var y = node.y;\n\n // Rectangle intersection algorithm from:\n // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n var dx = point.x - x;\n var dy = point.y - y;\n var w = node.width / 2;\n var h = node.height / 2;\n\n var sx, sy;\n if (Math.abs(dy) * w > Math.abs(dx) * h) {\n // Intersection is top or bottom of rect.\n if (dy < 0) {\n h = -h;\n }\n sx = dy === 0 ? 0 : h * dx / dy;\n sy = h;\n } else {\n // Intersection is left or right of rect.\n if (dx < 0) {\n w = -w;\n }\n sx = w;\n sy = dx === 0 ? 0 : w * dy / dx;\n }\n\n return {x: x + sx, y: y + sy};\n}\n" }, { "id": 152, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "name": "./node_modules/scope-css/index.js", "index": 524, "index2": 526, "size": 2197, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "scope-css", "loc": "16:0-30" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "scope-css", "loc": "292:21-26" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "'use strict'\r\n\r\nvar slugify = require('slugify')\r\nvar escaper = require('escaper')\r\nvar stripComments = require('strip-css-comments')\r\n\r\nmodule.exports = scope\r\nscope.replace = replace\r\n\r\nfunction scope (css, parent, o) {\r\n\tif (!css) return css\r\n\r\n\tif (!parent) return css\r\n\r\n\tif (typeof o === 'string') o = {keyframes: o}\r\n\tif (!o) o = {keyframes: false}\r\n\r\n\tcss = replace(css, parent + ' $1$2')\r\n\r\n\t//regexp.escape\r\n\tvar parentRe = parent.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&')\r\n\r\n\t//replace self-selectors\r\n\tcss = css.replace(new RegExp('(' + parentRe + ')\\\\s*\\\\1(?=[\\\\s\\\\r\\\\n,{])', 'g'), '$1')\r\n\r\n\t//replace `:host` with parent\r\n\tcss = css.replace(new RegExp('(' + parentRe + ')\\\\s*:host', 'g'), '$1')\r\n\r\n\t//revoke wrongly replaced @ statements, like @supports, @import, @media etc.\r\n\tcss = css.replace(new RegExp('(' + parentRe + ')\\\\s*@', 'g'), '@')\r\n\r\n\t//revoke wrongly replaced :root blocks\r\n\tcss = css.replace(new RegExp('(' + parentRe + ')\\\\s*:root', 'g'), ':root')\r\n\r\n\t//animations: prefix animation anmes\r\n\tvar animations = [],\r\n\t animationNameRe = /@keyframes\\s+([a-zA-Z0-9_-]+)\\s*{/g,\r\n\t match\r\n\twhile ((match = animationNameRe.exec(css)) !== null) {\r\n\t\tif (animations.indexOf(match[1]) < 0)\r\n\t\t\tanimations.push(match[1])\r\n\t}\r\n\r\n\tvar slug = slugify(parent)\r\n\r\n\tanimations.forEach(function (name) {\r\n\t\tvar newName = (o.keyframes === true ? slug + '-' : typeof o.keyframes === 'string' ? o.keyframes : '') + name\r\n\t\tcss = css.replace(new RegExp('(@keyframes\\\\s+)' + name + '(\\\\s*{)', 'g'),\r\n\t\t\t\t '$1' + newName + '$2')\r\n\t\tcss = css.replace(new RegExp('(animation(?:-name)?\\\\s*:[^;]*\\\\s*)' + name + '([\\\\s;}])', 'g'),\r\n\t\t\t\t '$1' + newName + '$2')\r\n\t})\r\n \t//animation: revoke wrongly replaced keyframes\r\n\tcss = css.replace(new RegExp('(' + parentRe + ' )(\\\\s*(?:to|from|[+-]?(?:(?:\\\\.\\\\d+)|(?:\\\\d+(?:\\\\.\\\\d*)?))%))(?=[\\\\s\\\\r\\\\n,{])', 'g'), '$2')\r\n\r\n\treturn css\r\n}\r\n\r\nfunction replace (css, replacer) {\r\n\tvar arr = []\r\n\r\n\tcss = stripComments(css)\r\n\r\n\t// escape strings etc.\r\n\tcss = escaper.replace(css, true, arr)\r\n\r\n\tcss = css.replace(/([^\\r\\n,{}]+)(,(?=[^}]*{)|\\s*{)/g, replacer)\r\n\r\n\t// insert comments, strings etc. back\r\n\tcss = escaper.paste(css, arr)\r\n\r\n\treturn css\r\n}\r\n\r\n" }, { "id": 153, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-node.js", "name": "./src/dagre-wrapper/intersect/intersect-node.js", "index": 897, "index2": 891, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 142, "building": 70, "dependencies": 5 } } ], "profile": { "factory": 9, "building": 116, "dependencies": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./intersect-node.js", "loc": "4:0-39" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./intersect-node.js", "loc": "10:8-12" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "module.exports = intersectNode;\n\nfunction intersectNode(node, point) {\n console.info('Intersect Node');\n return node.intersect(point);\n}" }, { "id": 154, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/slugify/slugify.js", "name": "./node_modules/slugify/slugify.js", "index": 525, "index2": 522, "size": 6427, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "issuerId": 152, "issuerName": "./node_modules/scope-css/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 152, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "name": "./node_modules/scope-css/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1973, "building": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 152, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "module": "./node_modules/scope-css/index.js", "moduleName": "./node_modules/scope-css/index.js", "type": "cjs require", "userRequest": "slugify", "loc": "3:14-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "\n;(function (name, root, factory) {\n if (typeof exports === 'object') {\n module.exports = factory()\n module.exports['default'] = factory()\n }\n /* istanbul ignore next */\n else if (typeof define === 'function' && define.amd) {\n define(factory)\n }\n else {\n root[name] = factory()\n }\n}('slugify', this, function () {\n var charMap = JSON.parse('{\"$\":\"dollar\",\"%\":\"percent\",\"&\":\"and\",\"<\":\"less\",\">\":\"greater\",\"|\":\"or\",\"¢\":\"cent\",\"£\":\"pound\",\"¤\":\"currency\",\"¥\":\"yen\",\"©\":\"(c)\",\"ª\":\"a\",\"®\":\"(r)\",\"º\":\"o\",\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"Æ\":\"AE\",\"Ç\":\"C\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"Ð\":\"D\",\"Ñ\":\"N\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"Ý\":\"Y\",\"Þ\":\"TH\",\"ß\":\"ss\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"æ\":\"ae\",\"ç\":\"c\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"ð\":\"d\",\"ñ\":\"n\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"ý\":\"y\",\"þ\":\"th\",\"ÿ\":\"y\",\"Ā\":\"A\",\"ā\":\"a\",\"Ă\":\"A\",\"ă\":\"a\",\"Ą\":\"A\",\"ą\":\"a\",\"Ć\":\"C\",\"ć\":\"c\",\"Č\":\"C\",\"č\":\"c\",\"Ď\":\"D\",\"ď\":\"d\",\"Đ\":\"DJ\",\"đ\":\"dj\",\"Ē\":\"E\",\"ē\":\"e\",\"Ė\":\"E\",\"ė\":\"e\",\"Ę\":\"e\",\"ę\":\"e\",\"Ě\":\"E\",\"ě\":\"e\",\"Ğ\":\"G\",\"ğ\":\"g\",\"Ģ\":\"G\",\"ģ\":\"g\",\"Ĩ\":\"I\",\"ĩ\":\"i\",\"Ī\":\"i\",\"ī\":\"i\",\"Į\":\"I\",\"į\":\"i\",\"İ\":\"I\",\"ı\":\"i\",\"Ķ\":\"k\",\"ķ\":\"k\",\"Ļ\":\"L\",\"ļ\":\"l\",\"Ľ\":\"L\",\"ľ\":\"l\",\"Ł\":\"L\",\"ł\":\"l\",\"Ń\":\"N\",\"ń\":\"n\",\"Ņ\":\"N\",\"ņ\":\"n\",\"Ň\":\"N\",\"ň\":\"n\",\"Ő\":\"O\",\"ő\":\"o\",\"Œ\":\"OE\",\"œ\":\"oe\",\"Ŕ\":\"R\",\"ŕ\":\"r\",\"Ř\":\"R\",\"ř\":\"r\",\"Ś\":\"S\",\"ś\":\"s\",\"Ş\":\"S\",\"ş\":\"s\",\"Š\":\"S\",\"š\":\"s\",\"Ţ\":\"T\",\"ţ\":\"t\",\"Ť\":\"T\",\"ť\":\"t\",\"Ũ\":\"U\",\"ũ\":\"u\",\"Ū\":\"u\",\"ū\":\"u\",\"Ů\":\"U\",\"ů\":\"u\",\"Ű\":\"U\",\"ű\":\"u\",\"Ų\":\"U\",\"ų\":\"u\",\"Ŵ\":\"W\",\"ŵ\":\"w\",\"Ŷ\":\"Y\",\"ŷ\":\"y\",\"Ÿ\":\"Y\",\"Ź\":\"Z\",\"ź\":\"z\",\"Ż\":\"Z\",\"ż\":\"z\",\"Ž\":\"Z\",\"ž\":\"z\",\"ƒ\":\"f\",\"Ơ\":\"O\",\"ơ\":\"o\",\"Ư\":\"U\",\"ư\":\"u\",\"Lj\":\"LJ\",\"lj\":\"lj\",\"Nj\":\"NJ\",\"nj\":\"nj\",\"Ș\":\"S\",\"ș\":\"s\",\"Ț\":\"T\",\"ț\":\"t\",\"˚\":\"o\",\"Ά\":\"A\",\"Έ\":\"E\",\"Ή\":\"H\",\"Ί\":\"I\",\"Ό\":\"O\",\"Ύ\":\"Y\",\"Ώ\":\"W\",\"ΐ\":\"i\",\"Α\":\"A\",\"Β\":\"B\",\"Γ\":\"G\",\"Δ\":\"D\",\"Ε\":\"E\",\"Ζ\":\"Z\",\"Η\":\"H\",\"Θ\":\"8\",\"Ι\":\"I\",\"Κ\":\"K\",\"Λ\":\"L\",\"Μ\":\"M\",\"Ν\":\"N\",\"Ξ\":\"3\",\"Ο\":\"O\",\"Π\":\"P\",\"Ρ\":\"R\",\"Σ\":\"S\",\"Τ\":\"T\",\"Υ\":\"Y\",\"Φ\":\"F\",\"Χ\":\"X\",\"Ψ\":\"PS\",\"Ω\":\"W\",\"Ϊ\":\"I\",\"Ϋ\":\"Y\",\"ά\":\"a\",\"έ\":\"e\",\"ή\":\"h\",\"ί\":\"i\",\"ΰ\":\"y\",\"α\":\"a\",\"β\":\"b\",\"γ\":\"g\",\"δ\":\"d\",\"ε\":\"e\",\"ζ\":\"z\",\"η\":\"h\",\"θ\":\"8\",\"ι\":\"i\",\"κ\":\"k\",\"λ\":\"l\",\"μ\":\"m\",\"ν\":\"n\",\"ξ\":\"3\",\"ο\":\"o\",\"π\":\"p\",\"ρ\":\"r\",\"ς\":\"s\",\"σ\":\"s\",\"τ\":\"t\",\"υ\":\"y\",\"φ\":\"f\",\"χ\":\"x\",\"ψ\":\"ps\",\"ω\":\"w\",\"ϊ\":\"i\",\"ϋ\":\"y\",\"ό\":\"o\",\"ύ\":\"y\",\"ώ\":\"w\",\"Ё\":\"Yo\",\"Ђ\":\"DJ\",\"Є\":\"Ye\",\"І\":\"I\",\"Ї\":\"Yi\",\"Ј\":\"J\",\"Љ\":\"LJ\",\"Њ\":\"NJ\",\"Ћ\":\"C\",\"Џ\":\"DZ\",\"А\":\"A\",\"Б\":\"B\",\"В\":\"V\",\"Г\":\"G\",\"Д\":\"D\",\"Е\":\"E\",\"Ж\":\"Zh\",\"З\":\"Z\",\"И\":\"I\",\"Й\":\"J\",\"К\":\"K\",\"Л\":\"L\",\"М\":\"M\",\"Н\":\"N\",\"О\":\"O\",\"П\":\"P\",\"Р\":\"R\",\"С\":\"S\",\"Т\":\"T\",\"У\":\"U\",\"Ф\":\"F\",\"Х\":\"H\",\"Ц\":\"C\",\"Ч\":\"Ch\",\"Ш\":\"Sh\",\"Щ\":\"Sh\",\"Ъ\":\"U\",\"Ы\":\"Y\",\"Ь\":\"\",\"Э\":\"E\",\"Ю\":\"Yu\",\"Я\":\"Ya\",\"а\":\"a\",\"б\":\"b\",\"в\":\"v\",\"г\":\"g\",\"д\":\"d\",\"е\":\"e\",\"ж\":\"zh\",\"з\":\"z\",\"и\":\"i\",\"й\":\"j\",\"к\":\"k\",\"л\":\"l\",\"м\":\"m\",\"н\":\"n\",\"о\":\"o\",\"п\":\"p\",\"р\":\"r\",\"с\":\"s\",\"т\":\"t\",\"у\":\"u\",\"ф\":\"f\",\"х\":\"h\",\"ц\":\"c\",\"ч\":\"ch\",\"ш\":\"sh\",\"щ\":\"sh\",\"ъ\":\"u\",\"ы\":\"y\",\"ь\":\"\",\"э\":\"e\",\"ю\":\"yu\",\"я\":\"ya\",\"ё\":\"yo\",\"ђ\":\"dj\",\"є\":\"ye\",\"і\":\"i\",\"ї\":\"yi\",\"ј\":\"j\",\"љ\":\"lj\",\"њ\":\"nj\",\"ћ\":\"c\",\"ѝ\":\"u\",\"џ\":\"dz\",\"Ґ\":\"G\",\"ґ\":\"g\",\"Ғ\":\"GH\",\"ғ\":\"gh\",\"Қ\":\"KH\",\"қ\":\"kh\",\"Ң\":\"NG\",\"ң\":\"ng\",\"Ү\":\"UE\",\"ү\":\"ue\",\"Ұ\":\"U\",\"ұ\":\"u\",\"Һ\":\"H\",\"һ\":\"h\",\"Ә\":\"AE\",\"ә\":\"ae\",\"Ө\":\"OE\",\"ө\":\"oe\",\"฿\":\"baht\",\"ა\":\"a\",\"ბ\":\"b\",\"გ\":\"g\",\"დ\":\"d\",\"ე\":\"e\",\"ვ\":\"v\",\"ზ\":\"z\",\"თ\":\"t\",\"ი\":\"i\",\"კ\":\"k\",\"ლ\":\"l\",\"მ\":\"m\",\"ნ\":\"n\",\"ო\":\"o\",\"პ\":\"p\",\"ჟ\":\"zh\",\"რ\":\"r\",\"ს\":\"s\",\"ტ\":\"t\",\"უ\":\"u\",\"ფ\":\"f\",\"ქ\":\"k\",\"ღ\":\"gh\",\"ყ\":\"q\",\"შ\":\"sh\",\"ჩ\":\"ch\",\"ც\":\"ts\",\"ძ\":\"dz\",\"წ\":\"ts\",\"ჭ\":\"ch\",\"ხ\":\"kh\",\"ჯ\":\"j\",\"ჰ\":\"h\",\"Ẁ\":\"W\",\"ẁ\":\"w\",\"Ẃ\":\"W\",\"ẃ\":\"w\",\"Ẅ\":\"W\",\"ẅ\":\"w\",\"ẞ\":\"SS\",\"Ạ\":\"A\",\"ạ\":\"a\",\"Ả\":\"A\",\"ả\":\"a\",\"Ấ\":\"A\",\"ấ\":\"a\",\"Ầ\":\"A\",\"ầ\":\"a\",\"Ẩ\":\"A\",\"ẩ\":\"a\",\"Ẫ\":\"A\",\"ẫ\":\"a\",\"Ậ\":\"A\",\"ậ\":\"a\",\"Ắ\":\"A\",\"ắ\":\"a\",\"Ằ\":\"A\",\"ằ\":\"a\",\"Ẳ\":\"A\",\"ẳ\":\"a\",\"Ẵ\":\"A\",\"ẵ\":\"a\",\"Ặ\":\"A\",\"ặ\":\"a\",\"Ẹ\":\"E\",\"ẹ\":\"e\",\"Ẻ\":\"E\",\"ẻ\":\"e\",\"Ẽ\":\"E\",\"ẽ\":\"e\",\"Ế\":\"E\",\"ế\":\"e\",\"Ề\":\"E\",\"ề\":\"e\",\"Ể\":\"E\",\"ể\":\"e\",\"Ễ\":\"E\",\"ễ\":\"e\",\"Ệ\":\"E\",\"ệ\":\"e\",\"Ỉ\":\"I\",\"ỉ\":\"i\",\"Ị\":\"I\",\"ị\":\"i\",\"Ọ\":\"O\",\"ọ\":\"o\",\"Ỏ\":\"O\",\"ỏ\":\"o\",\"Ố\":\"O\",\"ố\":\"o\",\"Ồ\":\"O\",\"ồ\":\"o\",\"Ổ\":\"O\",\"ổ\":\"o\",\"Ỗ\":\"O\",\"ỗ\":\"o\",\"Ộ\":\"O\",\"ộ\":\"o\",\"Ớ\":\"O\",\"ớ\":\"o\",\"Ờ\":\"O\",\"ờ\":\"o\",\"Ở\":\"O\",\"ở\":\"o\",\"Ỡ\":\"O\",\"ỡ\":\"o\",\"Ợ\":\"O\",\"ợ\":\"o\",\"Ụ\":\"U\",\"ụ\":\"u\",\"Ủ\":\"U\",\"ủ\":\"u\",\"Ứ\":\"U\",\"ứ\":\"u\",\"Ừ\":\"U\",\"ừ\":\"u\",\"Ử\":\"U\",\"ử\":\"u\",\"Ữ\":\"U\",\"ữ\":\"u\",\"Ự\":\"U\",\"ự\":\"u\",\"Ỳ\":\"Y\",\"ỳ\":\"y\",\"Ỵ\":\"Y\",\"ỵ\":\"y\",\"Ỷ\":\"Y\",\"ỷ\":\"y\",\"Ỹ\":\"Y\",\"ỹ\":\"y\",\"‘\":\"\\'\",\"’\":\"\\'\",\"“\":\"\\\\\\\"\",\"”\":\"\\\\\\\"\",\"†\":\"+\",\"•\":\"*\",\"…\":\"...\",\"₠\":\"ecu\",\"₢\":\"cruzeiro\",\"₣\":\"french franc\",\"₤\":\"lira\",\"₥\":\"mill\",\"₦\":\"naira\",\"₧\":\"peseta\",\"₨\":\"rupee\",\"₩\":\"won\",\"₪\":\"new shequel\",\"₫\":\"dong\",\"€\":\"euro\",\"₭\":\"kip\",\"₮\":\"tugrik\",\"₯\":\"drachma\",\"₰\":\"penny\",\"₱\":\"peso\",\"₲\":\"guarani\",\"₳\":\"austral\",\"₴\":\"hryvnia\",\"₵\":\"cedi\",\"₸\":\"kazakhstani tenge\",\"₹\":\"indian rupee\",\"₽\":\"russian ruble\",\"₿\":\"bitcoin\",\"℠\":\"sm\",\"™\":\"tm\",\"∂\":\"d\",\"∆\":\"delta\",\"∑\":\"sum\",\"∞\":\"infinity\",\"♥\":\"love\",\"元\":\"yuan\",\"円\":\"yen\",\"﷼\":\"rial\"}')\n var locales = JSON.parse('{\"vi\":{\"Đ\":\"D\",\"đ\":\"d\"}}')\n\n function replace (string, options) {\n if (typeof string !== 'string') {\n throw new Error('slugify: string argument expected')\n }\n\n options = (typeof options === 'string')\n ? { replacement: options }\n : options || {}\n\n var locale = locales[options.locale] || {}\n\n var slug = string.split('')\n .reduce(function (result, ch) {\n return result + (locale[ch] || charMap[ch] || ch)\n // allowed\n .replace(options.remove || /[^\\w\\s$*_+~.()'\"!\\-:@]/g, '')\n }, '')\n // trim leading/trailing spaces\n .trim()\n // convert spaces\n .replace(/[-\\s]+/g, options.replacement || '-')\n\n return options.lower ? slug.toLowerCase() : slug\n }\n\n replace.extend = function (customMap) {\n for (var key in customMap) {\n charMap[key] = customMap[key]\n }\n }\n\n return replace\n}))\n" }, { "id": 155, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/escaper/dist/escaper.js", "name": "./node_modules/escaper/dist/escaper.js", "index": 526, "index2": 523, "size": 9818, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "issuerId": 152, "issuerName": "./node_modules/scope-css/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 152, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "name": "./node_modules/scope-css/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1973, "building": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 152, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "module": "./node_modules/scope-css/index.js", "moduleName": "./node_modules/scope-css/index.js", "type": "cjs require", "userRequest": "escaper", "loc": "4:14-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "/*!\n * Escaper v2.5.3\n * https://github.com/kobezzza/Escaper\n *\n * Released under the MIT license\n * https://github.com/kobezzza/Escaper/blob/master/LICENSE\n *\n * Date: Tue, 23 Jan 2018 15:58:45 GMT\n */\n\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n\ttypeof define === 'function' && define.amd ? define('Escaper', ['exports'], factory) :\n\t(factory((global.Escaper = {})));\n}(this, (function (exports) { 'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar Escaper = void 0;\nvar escaper = Escaper = {\n\tVERSION: [2, 5, 3],\n\tcontent: [],\n\tcache: {},\n\tsnakeskinRgxp: null,\n\tsymbols: null,\n\treplace: replace,\n\tpaste: paste\n};\n\nvar stringLiterals = {\n\t'\"': true,\n\t'\\'': true,\n\t'`': true\n};\n\nvar literals = {\n\t'/': true\n};\n\nfor (var key in stringLiterals) {\n\tif (!stringLiterals.hasOwnProperty(key)) {\n\t\tbreak;\n\t}\n\n\tliterals[key] = true;\n}\n\nvar singleComments = {\n\t'//': true,\n\t'//*': true,\n\t'//!': true,\n\t'//#': true,\n\t'//@': true,\n\t'//$': true\n};\n\nvar multComments = {\n\t'/*': true,\n\t'/**': true,\n\t'/*!': true,\n\t'/*#': true,\n\t'/*@': true,\n\t'/*$': true\n};\n\nvar keyArr = [];\nvar finalMap = {};\n\nfor (var _key in literals) {\n\tif (!literals.hasOwnProperty(_key)) {\n\t\tbreak;\n\t}\n\n\tkeyArr.push(_key);\n\tfinalMap[_key] = true;\n}\n\nfor (var _key2 in singleComments) {\n\tif (!singleComments.hasOwnProperty(_key2)) {\n\t\tbreak;\n\t}\n\n\tkeyArr.push(_key2);\n\tfinalMap[_key2] = true;\n}\n\nfor (var _key3 in multComments) {\n\tif (!multComments.hasOwnProperty(_key3)) {\n\t\tbreak;\n\t}\n\n\tkeyArr.push(_key3);\n\tfinalMap[_key3] = true;\n}\n\nvar rgxpFlags = [];\nvar rgxpFlagsMap = {\n\t'g': true,\n\t'm': true,\n\t'i': true,\n\t'y': true,\n\t'u': true\n};\n\nfor (var _key4 in rgxpFlagsMap) {\n\tif (!rgxpFlagsMap.hasOwnProperty(_key4)) {\n\t\tbreak;\n\t}\n\n\trgxpFlags.push(_key4);\n}\n\nvar escapeEndMap = {\n\t'-': true,\n\t'+': true,\n\t'*': true,\n\t'%': true,\n\t'~': true,\n\t'>': true,\n\t'<': true,\n\t'^': true,\n\t',': true,\n\t';': true,\n\t'=': true,\n\t'|': true,\n\t'&': true,\n\t'!': true,\n\t'?': true,\n\t':': true,\n\t'(': true,\n\t'{': true,\n\t'[': true\n};\n\nvar escapeEndWordMap = {\n\t'return': true,\n\t'yield': true,\n\t'await': true,\n\t'typeof': true,\n\t'void': true,\n\t'instanceof': true,\n\t'delete': true,\n\t'in': true,\n\t'new': true,\n\t'of': true\n};\n\n/**\n * @param {!Object} obj\n * @param {!Object} p\n * @param {(boolean|number)} val\n */\nfunction mix(obj, p, val) {\n\tfor (var _key5 in obj) {\n\t\tif (!obj.hasOwnProperty(_key5)) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (_key5 in p === false) {\n\t\t\tp[_key5] = val;\n\t\t}\n\t}\n}\n\nvar symbols = void 0;\nvar snakeskinRgxp = void 0;\n\nvar uSRgxp = /[^\\s/]/;\nvar wRgxp = /[a-z]/;\nvar sRgxp = /\\s/;\nvar nRgxp = /[\\r\\n]/;\nvar posRgxp = /\\${pos}/g;\n\nvar objMap = {\n\t'object': true,\n\t'function': true\n};\n\n/**\n * Replaces all found blocks ' ... ', \" ... \", ` ... `, / ... /, // ..., /* ... *\\/ to\n * __ESCAPER_QUOT__number_ in a string and returns a new string\n *\n * @param {string} str - source string\n * @param {(Object|boolean)=} [opt_withCommentsOrParams=false] - parameters:\n *\n * (if a parameter value is set to -1, then all found matches will be removed from the final string,\n * or if the value will be set to true/false they will be included/excluded)\n *\n * *) @label - template for replacement, e.g. __ESCAPER_QUOT__${pos}_\n * *) @all - replaces all found matches\n * *) @comments - replaces all kinds of comments\n * *) @strings - replaces all kinds of string literals\n * *) @literals - replaces all kinds of string literals and regular expressions\n * *) `\n * *) '\n * *) \"\n * *) /\n * *) //\n * *) //*\n * *) //!\n * *) //#\n * *) //@\n * *) //$\n * *) /*\n * *) /**\n * *) /*!\n * *) /*#\n * *) /*@\n * *) /*$\n *\n * OR if the value is boolean, then will be replaced all found comments (true) / literals (false)\n *\n * @param {Array=} [opt_content=Escaper.content] - array for matches\n * @param {?boolean=} [opt_snakeskin] - private parameter for using with Snakeskin\n * @return {string}\n */\nfunction replace(str, opt_withCommentsOrParams, opt_content, opt_snakeskin) {\n\tsymbols = symbols || Escaper.symbols || 'a-z';\n\tsnakeskinRgxp = snakeskinRgxp || Escaper.snakeskinRgxp || new RegExp('[!$' + symbols + '_]', 'i');\n\n\tvar _Escaper = Escaper,\n\t cache = _Escaper.cache,\n\t content = _Escaper.content;\n\n\n\tvar isObj = Boolean(opt_withCommentsOrParams && objMap[typeof opt_withCommentsOrParams === 'undefined' ? 'undefined' : _typeof(opt_withCommentsOrParams)]);\n\n\tvar p = isObj ? Object(opt_withCommentsOrParams) : {};\n\n\tfunction mark(pos) {\n\t\tif (p['@label']) {\n\t\t\treturn p['@label'].replace(posRgxp, pos);\n\t\t}\n\n\t\treturn '__ESCAPER_QUOT__' + pos + '_';\n\t}\n\n\tvar withComments = false;\n\tif (typeof opt_withCommentsOrParams === 'boolean') {\n\t\twithComments = Boolean(opt_withCommentsOrParams);\n\t}\n\n\tif ('@comments' in p) {\n\t\tmix(multComments, p, p['@comments']);\n\t\tmix(singleComments, p, p['@comments']);\n\t\tdelete p['@comments'];\n\t}\n\n\tif ('@strings' in p) {\n\t\tmix(stringLiterals, p, p['@strings']);\n\t\tdelete p['@strings'];\n\t}\n\n\tif ('@literals' in p) {\n\t\tmix(literals, p, p['@literals']);\n\t\tdelete p['@literals'];\n\t}\n\n\tif ('@all' in p) {\n\t\tmix(finalMap, p, p['@all']);\n\t\tdelete p['@all'];\n\t}\n\n\tvar cacheKey = '';\n\tfor (var i = -1; ++i < keyArr.length;) {\n\t\tvar el = keyArr[i];\n\n\t\tif (multComments[el] || singleComments[el]) {\n\t\t\tp[el] = withComments || p[el];\n\t\t} else {\n\t\t\tp[el] = p[el] || !isObj;\n\t\t}\n\n\t\tcacheKey += p[el] + ',';\n\t}\n\n\tvar initStr = str,\n\t stack = opt_content || content;\n\n\tif (stack === content && cache[cacheKey] && cache[cacheKey][initStr]) {\n\t\treturn cache[cacheKey][initStr];\n\t}\n\n\tvar begin = false,\n\t end = true;\n\n\tvar escape = false,\n\t comment = false;\n\n\tvar selectionStart = 0,\n\t block = false;\n\n\tvar templateVar = 0,\n\t filterStart = false;\n\n\tvar cut = void 0,\n\t label = void 0;\n\n\tvar part = '',\n\t rPart = '';\n\n\tfor (var _i = -1; ++_i < str.length;) {\n\t\tvar _el = str.charAt(_i);\n\n\t\tvar next = str.charAt(_i + 1),\n\t\t word = str.substr(_i, 2),\n\t\t extWord = str.substr(_i, 3);\n\n\t\tif (!comment) {\n\t\t\tif (!begin) {\n\t\t\t\tif (_el === '/') {\n\t\t\t\t\tif (singleComments[word] || multComments[word]) {\n\t\t\t\t\t\tif (singleComments[extWord] || multComments[extWord]) {\n\t\t\t\t\t\t\tcomment = extWord;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcomment = word;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (comment) {\n\t\t\t\t\t\tselectionStart = _i;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (escapeEndMap[_el] || escapeEndWordMap[rPart]) {\n\t\t\t\t\tend = true;\n\t\t\t\t\trPart = '';\n\t\t\t\t} else if (uSRgxp.test(_el)) {\n\t\t\t\t\tend = false;\n\t\t\t\t}\n\n\t\t\t\tif (wRgxp.test(_el)) {\n\t\t\t\t\tpart += _el;\n\t\t\t\t} else {\n\t\t\t\t\trPart = part;\n\t\t\t\t\tpart = '';\n\t\t\t\t}\n\n\t\t\t\tvar skip = false;\n\t\t\t\tif (opt_snakeskin) {\n\t\t\t\t\tif (_el === '|' && snakeskinRgxp.test(next)) {\n\t\t\t\t\t\tfilterStart = true;\n\t\t\t\t\t\tend = false;\n\t\t\t\t\t\tskip = true;\n\t\t\t\t\t} else if (filterStart && sRgxp.test(_el)) {\n\t\t\t\t\t\tfilterStart = false;\n\t\t\t\t\t\tend = true;\n\t\t\t\t\t\tskip = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (!skip) {\n\t\t\t\t\tif (escapeEndMap[_el]) {\n\t\t\t\t\t\tend = true;\n\t\t\t\t\t} else if (uSRgxp.test(_el)) {\n\t\t\t\t\t\tend = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// [] inside RegExp\n\t\t\tif (begin === '/' && !escape) {\n\t\t\t\tif (_el === '[') {\n\t\t\t\t\tblock = true;\n\t\t\t\t} else if (_el === ']') {\n\t\t\t\t\tblock = false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!begin && templateVar) {\n\t\t\t\tif (_el === '}') {\n\t\t\t\t\ttemplateVar--;\n\t\t\t\t} else if (_el === '{') {\n\t\t\t\t\ttemplateVar++;\n\t\t\t\t}\n\n\t\t\t\tif (!templateVar) {\n\t\t\t\t\t_el = '`';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (begin === '`' && !escape && word === '${') {\n\t\t\t\t_el = '`';\n\t\t\t\t_i++;\n\t\t\t\ttemplateVar++;\n\t\t\t}\n\n\t\t\tif (finalMap[_el] && (_el !== '/' || end) && !begin) {\n\t\t\t\tbegin = _el;\n\t\t\t\tselectionStart = _i;\n\t\t\t} else if (begin && (_el === '\\\\' || escape)) {\n\t\t\t\tescape = !escape;\n\t\t\t} else if (finalMap[_el] && begin === _el && !escape && (begin !== '/' || !block)) {\n\t\t\t\tif (_el === '/') {\n\t\t\t\t\tfor (var j = -1; ++j < rgxpFlags.length;) {\n\t\t\t\t\t\tif (rgxpFlagsMap[str.charAt(_i + 1)]) {\n\t\t\t\t\t\t\t_i++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tbegin = false;\n\t\t\t\tend = false;\n\n\t\t\t\tif (p[_el]) {\n\t\t\t\t\tcut = str.substring(selectionStart, _i + 1);\n\n\t\t\t\t\tif (p[_el] === -1) {\n\t\t\t\t\t\tlabel = '';\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlabel = mark(stack.length);\n\t\t\t\t\t\tstack.push(cut);\n\t\t\t\t\t}\n\n\t\t\t\t\tstr = str.substring(0, selectionStart) + label + str.substring(_i + 1);\n\t\t\t\t\t_i += label.length - cut.length;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (nRgxp.test(next) && singleComments[comment] || multComments[_el + str.charAt(_i - 1)] && _i - selectionStart > 2 && multComments[comment]) {\n\t\t\tif (p[comment]) {\n\t\t\t\tcut = str.substring(selectionStart, _i + 1);\n\n\t\t\t\tif (p[comment] === -1) {\n\t\t\t\t\tlabel = '';\n\t\t\t\t} else {\n\t\t\t\t\tlabel = mark(stack.length);\n\t\t\t\t\tstack.push(cut);\n\t\t\t\t}\n\n\t\t\t\tstr = str.substring(0, selectionStart) + label + str.substring(_i + 1);\n\t\t\t\t_i += label.length - cut.length;\n\t\t\t}\n\n\t\t\tcomment = false;\n\t\t}\n\t}\n\n\tif (stack === content) {\n\t\tcache[cacheKey] = cache[cacheKey] || {};\n\t\tcache[cacheKey][initStr] = str;\n\t}\n\n\treturn str;\n}\n\nvar pasteRgxp = /__ESCAPER_QUOT__(\\d+)_/g;\n\n/**\n * Replaces all found blocks __ESCAPER_QUOT__number_ to real content in a string\n * and returns a new string\n *\n * @param {string} str - source string\n * @param {Array=} [opt_content=Escaper.content] - array of matches\n * @param {RegExp=} [opt_rgxp] - RegExp for searching, e.g. /__ESCAPER_QUOT__(\\d+)_/g\n * @return {string}\n */\nfunction paste(str, opt_content, opt_rgxp) {\n\treturn str.replace(opt_rgxp || pasteRgxp, function (str, pos) {\n\t\treturn (opt_content || Escaper.content)[pos];\n\t});\n}\n\nexports['default'] = escaper;\nexports.replace = replace;\nexports.paste = paste;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n" }, { "id": 156, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/strip-css-comments/index.js", "name": "./node_modules/strip-css-comments/index.js", "index": 527, "index2": 525, "size": 1789, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "issuerId": 152, "issuerName": "./node_modules/scope-css/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 152, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "name": "./node_modules/scope-css/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1973, "building": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 152, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "module": "./node_modules/scope-css/index.js", "moduleName": "./node_modules/scope-css/index.js", "type": "cjs require", "userRequest": "strip-css-comments", "loc": "5:20-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "'use strict';\nvar isRegExp = require('is-regexp');\n\nmodule.exports = function (str, opts) {\n\tstr = str.toString();\n\topts = opts || {};\n\n\tvar preserveFilter;\n\tvar comment = '';\n\tvar currentChar = '';\n\tvar insideString = false;\n\tvar preserveImportant = !(opts.preserve === false || opts.all === true);\n\tvar ret = '';\n\n\tif (typeof opts.preserve === 'function') {\n\t\tpreserveImportant = false;\n\t\tpreserveFilter = opts.preserve;\n\t} else if (isRegExp(opts.preserve)) {\n\t\tpreserveImportant = false;\n\t\tpreserveFilter = function (comment) {\n\t\t\treturn opts.preserve.test(comment);\n\t\t};\n\t}\n\n\tfor (var i = 0; i < str.length; i++) {\n\t\tcurrentChar = str[i];\n\n\t\tif (str[i - 1] !== '\\\\') {\n\t\t\tif (currentChar === '\"' || currentChar === '\\'') {\n\t\t\t\tif (insideString === currentChar) {\n\t\t\t\t\tinsideString = false;\n\t\t\t\t} else if (!insideString) {\n\t\t\t\t\tinsideString = currentChar;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// find beginning of /* type comment\n\t\tif (!insideString && currentChar === '/' && str[i + 1] === '*') {\n\t\t\t// ignore important comment when configured to preserve comments using important syntax: /*!\n\t\t\tif (!(preserveImportant && str[i + 2] === '!')) {\n\t\t\t\tvar j = i + 2;\n\n\t\t\t\t// iterate over comment\n\t\t\t\tfor (; j < str.length; j++) {\n\t\t\t\t\t// find end of comment\n\t\t\t\t\tif (str[j] === '*' && str[j + 1] === '/') {\n\t\t\t\t\t\tif (preserveFilter) {\n\t\t\t\t\t\t\t// evaluate comment text\n\t\t\t\t\t\t\tret = preserveFilter(comment) ? ret + ('/*' + comment + '*/') : ret;\n\t\t\t\t\t\t\tcomment = '';\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\t// store comment text to be evaluated by the filter when the end of the comment is reached\n\t\t\t\t\tif (preserveFilter) {\n\t\t\t\t\t\tcomment += str[j];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// resume iteration over CSS string from the end of the comment\n\t\t\t\ti = j + 1;\n\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\n\t\tret += currentChar;\n\t}\n\n\treturn ret;\n};\n" }, { "id": 157, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/is-regexp/index.js", "name": "./node_modules/is-regexp/index.js", "index": 528, "index2": 524, "size": 116, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/strip-css-comments/index.js", "issuerId": 156, "issuerName": "./node_modules/strip-css-comments/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 152, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "name": "./node_modules/scope-css/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 156, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/strip-css-comments/index.js", "name": "./node_modules/strip-css-comments/index.js", "profile": { "factory": 1973, "building": 98 } } ], "profile": { "factory": 272, "building": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 156, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/strip-css-comments/index.js", "module": "./node_modules/strip-css-comments/index.js", "moduleName": "./node_modules/strip-css-comments/index.js", "type": "cjs require", "userRequest": "is-regexp", "loc": "2:15-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "'use strict';\nmodule.exports = function (re) {\n\treturn Object.prototype.toString.call(re) === '[object RegExp]';\n};\n" }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "index": 529, "index2": 536, "size": 256, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "cjs require context", "userRequest": "./themes", "loc": "59:22-75" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 159, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./src/themes/dark/index.scss", "index": 530, "index2": 529, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 158, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1847, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 158, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./dark/index.scss", "loc": "./dark/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 160, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "index": 531, "index2": 528, "size": 8104, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "issuerId": 159, "issuerName": "./src/themes/dark/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 159, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./src/themes/dark/index.scss", "profile": { "factory": 1847, "building": 0 } } ], "profile": { "factory": 2, "building": 3947, "dependencies": 10 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 159, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "module": "./src/themes/dark/index.scss", "moduleName": "./src/themes/dark/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#d3d3d3}.edgePath .path{stroke:#d3d3d3;stroke-width:1.5px}.flowchart-link{stroke:#d3d3d3;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#474949;stroke:rgba(255,255,255,0.25);stroke-width:1px}.cluster text{fill:#F9FFFE}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#474949;border:1px solid rgba(255,255,255,0.25);border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#81B1DB;fill:#1f2020}text.actor>tspan{fill:#d3d3d3;stroke:none}.actor-line{stroke:#d3d3d3}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#d3d3d3}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#d3d3d3}#arrowhead path{fill:#d3d3d3;stroke:#d3d3d3}.sequenceNumber{fill:#000}#sequencenumber{fill:#d3d3d3}#crosshead path{fill:#d3d3d3;stroke:#d3d3d3}.messageText{fill:#d3d3d3;stroke:#d3d3d3}.labelBox{stroke:#81B1DB;fill:#1f2020}.labelText,.labelText>tspan{fill:#d3d3d3;stroke:none}.loopText,.loopText>tspan{fill:#d3d3d3;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#81B1DB;fill:#81B1DB}.note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.noteText,.noteText>tspan{fill:#1f2020;stroke:none}.activation0{fill:#474949;stroke:#81B1DB}.activation1{fill:#474949;stroke:#81B1DB}.activation2{fill:#474949;stroke:#81B1DB}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(255,255,255,0.3)}.section2{fill:#EAE8B9}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#F9FFFE}.sectionTitle1{fill:#F9FFFE}.sectionTitle2{fill:#F9FFFE}.sectionTitle3{fill:#F9FFFE}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#DB5757;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#323D47;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#323D47;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#323D47}.task0,.task1,.task2,.task3{fill:#1f2020;stroke:rgba(255,255,255,0.5)}.taskTextOutside0,.taskTextOutside2{fill:#d3d3d3}.taskTextOutside1,.taskTextOutside3{fill:#d3d3d3}.active0,.active1,.active2,.active3{fill:#81B1DB;stroke:rgba(255,255,255,0.5)}.activeText0,.activeText1,.activeText2,.activeText3{fill:#323D47 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#323D47 !important}.crit0,.crit1,.crit2,.crit3{stroke:#E83737;fill:#E83737;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#E83737;fill:#81B1DB;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#E83737;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#323D47 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#323D47 !important}.titleText{text-anchor:middle;font-size:18px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#81B1DB;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#1f2020;stroke:#81B1DB}g.classGroup line{stroke:#81B1DB;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#1f2020;opacity:0.5}.classLabel .label{fill:#81B1DB;font-size:10px}.relation{stroke:#81B1DB;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#compositionEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#aggregationStart{fill:#1f2020;stroke:#81B1DB;stroke-width:1}#aggregationEnd{fill:#1f2020;stroke:#81B1DB;stroke-width:1}#dependencyStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#dependencyEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#extensionStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#extensionEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#81B1DB;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#81B1DB;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#1f2020;stroke:#81B1DB}g.stateGroup line{stroke:#81B1DB;stroke-width:1}.transition{stroke:#81B1DB;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#1f2020;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#81B1DB}.statediagram-cluster rect{fill:#1f2020;stroke:#81B1DB;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#81B1DB}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:rgba(255,255,255,0.25);stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#a44141}.error-text{fill:#ddd;stroke:#ddd}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#d3d3d3}.marker.cross{stroke:#d3d3d3}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 161, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./src/themes/default/index.scss", "index": 533, "index2": 531, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 158, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1847, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 158, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./default/index.scss", "loc": "./default/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 162, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "index": 534, "index2": 530, "size": 7841, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "issuerId": 161, "issuerName": "./src/themes/default/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 161, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./src/themes/default/index.scss", "profile": { "factory": 1847, "building": 0 } } ], "profile": { "factory": 2, "building": 3955, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 161, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "module": "./src/themes/default/index.scss", "moduleName": "./src/themes/default/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#333;stroke-width:1.5px}.flowchart-link{stroke:#333;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#ccf;fill:#ECECFF}text.actor>tspan{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#ccf;fill:#ECECFF}.labelText,.labelText>tspan{fill:#000;stroke:none}.loopText,.loopText>tspan{fill:#000;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}.note{stroke:#aa3;fill:#fff5ad}.noteText,.noteText>tspan{fill:#000;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(102,102,255,0.49)}.section2{fill:#fff400}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#8a90dd;stroke:#534fbc}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#bfc7ff;stroke:#534fbc}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#ECECFF;stroke:#9370db}g.classGroup line{stroke:#9370db;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.classLabel .label{fill:#9370db;font-size:10px}.relation{stroke:#9370db;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#ECECFF;stroke:#9370db}g.stateGroup line{stroke:#9370db;stroke-width:1}.transition{stroke:#9370db;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#aa3;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#9370db}.statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#9370db}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#333}.marker.cross{stroke:#333}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 163, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "index": 535, "index2": 533, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 158, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1847, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 158, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./forest/index.scss", "loc": "./forest/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 164, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "index": 536, "index2": 532, "size": 7858, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "issuerId": 163, "issuerName": "./src/themes/forest/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 163, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "profile": { "factory": 1847, "building": 0 } } ], "profile": { "factory": 1, "building": 3929 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 163, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "module": "./src/themes/forest/index.scss", "moduleName": "./src/themes/forest/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#cde498;stroke:#13540c;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:green}.edgePath .path{stroke:green;stroke-width:1.5px}.flowchart-link{stroke:green;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#cdffb2;stroke:#6eaa49;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#cdffb2;border:1px solid #6eaa49;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#13540c;fill:#cde498}text.actor>tspan{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#326932;fill:#cde498}.labelText,.labelText>tspan{fill:#000;stroke:none}.loopText,.loopText>tspan{fill:#000;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#326932;fill:#326932}.note{stroke:#6eaa49;fill:#fff5ad}.noteText,.noteText>tspan{fill:#000;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#6eaa49}.section2{fill:#6eaa49}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#487e3a;stroke:#13540c}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#cde498;stroke:#13540c}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#cde498;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#13540c;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#cde498;stroke:#13540c}g.classGroup line{stroke:#13540c;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.classLabel .label{fill:#13540c;font-size:10px}.relation{stroke:#13540c;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#compositionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#aggregationStart{fill:#cde498;stroke:#13540c;stroke-width:1}#aggregationEnd{fill:#cde498;stroke:#13540c;stroke-width:1}#dependencyStart{fill:#13540c;stroke:#13540c;stroke-width:1}#dependencyEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#cde498;stroke:#13540c}g.stateGroup line{stroke:#13540c;stroke-width:1}.transition{stroke:#13540c;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#6eaa49;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#13540c}.statediagram-cluster rect{fill:#cde498;stroke:#13540c;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#13540c}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:#6eaa49;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:green}.marker.cross{stroke:green}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 165, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./src/themes/neutral/index.scss", "index": 537, "index2": 535, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 158, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1847, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 158, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./neutral/index.scss", "loc": "./neutral/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 166, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "index": 538, "index2": 534, "size": 7696, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "issuerId": 165, "issuerName": "./src/themes/neutral/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 165, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./src/themes/neutral/index.scss", "profile": { "factory": 1847, "building": 0 } } ], "profile": { "factory": 1, "building": 3982, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 165, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "module": "./src/themes/neutral/index.scss", "moduleName": "./src/themes/neutral/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#eee;stroke:#999;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#666;stroke-width:1.5px}.flowchart-link{stroke:#666;fill:none}.edgeLabel{background-color:#fff;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#eaf2fb;stroke:#26a;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#eaf2fb;border:1px solid #26a;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#999;fill:#eee}text.actor>tspan{fill:#333;stroke:none}.actor-line{stroke:#666}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#999;fill:#eee}.labelText,.labelText>tspan{fill:#333;stroke:none}.loopText,.loopText>tspan{fill:#333;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#999;fill:#999}.note{stroke:#770;fill:#ffa}.noteText,.noteText>tspan{fill:#333;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#80b3e6}.section2{fill:#80b3e6}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#e6e6e6;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#d42;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#333;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#333;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#26a;stroke:#1a4d80}.taskTextOutside0,.taskTextOutside2{fill:#333}.taskTextOutside1,.taskTextOutside3{fill:#333}.active0,.active1,.active2,.active3{fill:#eee;stroke:#1a4d80}.activeText0,.activeText1,.activeText2,.activeText3{fill:#333 !important}.done0,.done1,.done2,.done3{stroke:#666;fill:#bbb;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#333 !important}.crit0,.crit1,.crit2,.crit3{stroke:#b1361b;fill:#d42;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#b1361b;fill:#eee;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#b1361b;fill:#bbb;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#333 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#333 !important}.titleText{text-anchor:middle;font-size:18px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#999;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#eee;stroke:#999}g.classGroup line{stroke:#999;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.classLabel .label{fill:#999;font-size:10px}.relation{stroke:#999;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#999;stroke:#999;stroke-width:1}#compositionEnd{fill:#999;stroke:#999;stroke-width:1}#aggregationStart{fill:#eee;stroke:#999;stroke-width:1}#aggregationEnd{fill:#eee;stroke:#999;stroke-width:1}#dependencyStart{fill:#999;stroke:#999;stroke-width:1}#dependencyEnd{fill:#999;stroke:#999;stroke-width:1}#extensionStart{fill:#999;stroke:#999;stroke-width:1}#extensionEnd{fill:#999;stroke:#999;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#999;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#999;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#eee;stroke:#999}g.stateGroup line{stroke:#999;stroke-width:1}.transition{stroke:#999;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#770;fill:#ffa}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#999}.statediagram-cluster rect{fill:#eee;stroke:#999;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#999}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#ffa;stroke:#770;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#666}.marker.cross{stroke:#666}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 167, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale sync /^\\.\\/.*$/", "name": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "index": 544, "index2": 540, "size": 189, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "issuerId": 18, "issuerName": "./node_modules/moment-mini/moment.min.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 18, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "name": "./node_modules/moment-mini/moment.min.js", "profile": { "factory": 1976, "building": 181 } } ], "profile": { "factory": 1415, "building": 30, "dependencies": 476 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "module": "./node_modules/moment-mini/moment.min.js", "moduleName": "./node_modules/moment-mini/moment.min.js", "type": "cjs require context", "userRequest": "./locale", "loc": "1:14248-14270" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3 }, { "id": 168, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/index.js", "name": "./node_modules/graphlib/lib/index.js", "index": 573, "index2": 767, "size": 123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "issuerId": 2, "issuerName": "./node_modules/graphlib/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 266, "building": 74, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 2, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "module": "./node_modules/graphlib/index.js", "moduleName": "./node_modules/graphlib/index.js", "type": "cjs require", "userRequest": "./lib", "loc": "31:10-26" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "// Includes only the \"core\" of graphlib\nmodule.exports = {\n Graph: require(\"./graph\"),\n version: require(\"./version\")\n};\n" }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "index": 576, "index2": 677, "size": 1065, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/clone", "loc": "8:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\nfunction clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = clone;\n" }, { "id": 170, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheClear.js", "name": "./node_modules/lodash/_listCacheClear.js", "index": 580, "index2": 569, "size": 218, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "issuerId": 47, "issuerName": "./node_modules/lodash/_ListCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } } ], "profile": { "factory": 81, "building": 26, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "module": "./node_modules/lodash/_ListCache.js", "moduleName": "./node_modules/lodash/_ListCache.js", "type": "cjs require", "userRequest": "./_listCacheClear", "loc": "1:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n" }, { "id": 171, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheDelete.js", "name": "./node_modules/lodash/_listCacheDelete.js", "index": 581, "index2": 572, "size": 775, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "issuerId": 47, "issuerName": "./node_modules/lodash/_ListCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } } ], "profile": { "factory": 81, "building": 26, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "module": "./node_modules/lodash/_ListCache.js", "moduleName": "./node_modules/lodash/_ListCache.js", "type": "cjs require", "userRequest": "./_listCacheDelete", "loc": "2:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n" }, { "id": 172, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheGet.js", "name": "./node_modules/lodash/_listCacheGet.js", "index": 584, "index2": 573, "size": 420, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "issuerId": 47, "issuerName": "./node_modules/lodash/_ListCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } } ], "profile": { "factory": 81, "building": 26, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "module": "./node_modules/lodash/_ListCache.js", "moduleName": "./node_modules/lodash/_ListCache.js", "type": "cjs require", "userRequest": "./_listCacheGet", "loc": "3:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n" }, { "id": 173, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheHas.js", "name": "./node_modules/lodash/_listCacheHas.js", "index": 585, "index2": 574, "size": 403, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "issuerId": 47, "issuerName": "./node_modules/lodash/_ListCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } } ], "profile": { "factory": 81, "building": 26, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "module": "./node_modules/lodash/_ListCache.js", "moduleName": "./node_modules/lodash/_ListCache.js", "type": "cjs require", "userRequest": "./_listCacheHas", "loc": "4:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n" }, { "id": 174, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheSet.js", "name": "./node_modules/lodash/_listCacheSet.js", "index": 586, "index2": 575, "size": 553, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "issuerId": 47, "issuerName": "./node_modules/lodash/_ListCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } } ], "profile": { "factory": 81, "building": 26, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "module": "./node_modules/lodash/_ListCache.js", "moduleName": "./node_modules/lodash/_ListCache.js", "type": "cjs require", "userRequest": "./_listCacheSet", "loc": "5:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n" }, { "id": 175, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackClear.js", "name": "./node_modules/lodash/_stackClear.js", "index": 587, "index2": 577, "size": 254, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_stackClear", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n" }, { "id": 176, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackDelete.js", "name": "./node_modules/lodash/_stackDelete.js", "index": 588, "index2": 578, "size": 405, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_stackDelete", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n" }, { "id": 177, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackGet.js", "name": "./node_modules/lodash/_stackGet.js", "index": 589, "index2": 579, "size": 271, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_stackGet", "loc": "4:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n" }, { "id": 178, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackHas.js", "name": "./node_modules/lodash/_stackHas.js", "index": 590, "index2": 580, "size": 323, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_stackHas", "loc": "5:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n" }, { "id": 179, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackSet.js", "name": "./node_modules/lodash/_stackSet.js", "index": 591, "index2": 612, "size": 853, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_stackSet", "loc": "6:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n" }, { "id": 180, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "name": "./node_modules/lodash/_baseIsNative.js", "index": 594, "index2": 593, "size": 1417, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "issuerId": 27, "issuerName": "./node_modules/lodash/_getNative.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "profile": { "factory": 58, "building": 29 } }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "name": "./node_modules/lodash/_getNative.js", "profile": { "factory": 64, "building": 40 } } ], "profile": { "factory": 69, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 27, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "module": "./node_modules/lodash/_getNative.js", "moduleName": "./node_modules/lodash/_getNative.js", "type": "cjs require", "userRequest": "./_baseIsNative", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n" }, { "id": 181, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/webpack/buildin/global.js", "name": "(webpack)/buildin/global.js", "index": 600, "index2": 581, "size": 472, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_freeGlobal.js", "issuerId": 92, "issuerName": "./node_modules/lodash/_freeGlobal.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 301, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "name": "./node_modules/lodash/now.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 12, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_root.js", "name": "./node_modules/lodash/_root.js", "profile": { "factory": 76, "building": 25 } }, { "id": 92, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_freeGlobal.js", "name": "./node_modules/lodash/_freeGlobal.js", "profile": { "factory": 57, "building": 29 } } ], "profile": { "factory": 20, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 92, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_freeGlobal.js", "module": "./node_modules/lodash/_freeGlobal.js", "moduleName": "./node_modules/lodash/_freeGlobal.js", "type": "cjs require", "userRequest": "global", "loc": "1:0-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n" }, { "id": 182, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getRawTag.js", "name": "./node_modules/lodash/_getRawTag.js", "index": 601, "index2": 585, "size": 1139, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "issuerId": 28, "issuerName": "./node_modules/lodash/_baseGetTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 28, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "name": "./node_modules/lodash/_baseGetTag.js", "profile": { "factory": 67, "building": 39 } } ], "profile": { "factory": 62, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 28, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "module": "./node_modules/lodash/_baseGetTag.js", "moduleName": "./node_modules/lodash/_baseGetTag.js", "type": "cjs require", "userRequest": "./_getRawTag", "loc": "2:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n" }, { "id": 183, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_objectToString.js", "name": "./node_modules/lodash/_objectToString.js", "index": 602, "index2": 586, "size": 565, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "issuerId": 28, "issuerName": "./node_modules/lodash/_baseGetTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 28, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "name": "./node_modules/lodash/_baseGetTag.js", "profile": { "factory": 67, "building": 39 } } ], "profile": { "factory": 62, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 28, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "module": "./node_modules/lodash/_baseGetTag.js", "moduleName": "./node_modules/lodash/_baseGetTag.js", "type": "cjs require", "userRequest": "./_objectToString", "loc": "3:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n" }, { "id": 184, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isMasked.js", "name": "./node_modules/lodash/_isMasked.js", "index": 604, "index2": 591, "size": 564, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "issuerId": 180, "issuerName": "./node_modules/lodash/_baseIsNative.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "profile": { "factory": 58, "building": 29 } }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "name": "./node_modules/lodash/_getNative.js", "profile": { "factory": 64, "building": 40 } }, { "id": 180, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "name": "./node_modules/lodash/_baseIsNative.js", "profile": { "factory": 69, "building": 22, "dependencies": 1 } } ], "profile": { "factory": 90, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 180, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "module": "./node_modules/lodash/_baseIsNative.js", "moduleName": "./node_modules/lodash/_baseIsNative.js", "type": "cjs require", "userRequest": "./_isMasked", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n" }, { "id": 185, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_coreJsData.js", "name": "./node_modules/lodash/_coreJsData.js", "index": 605, "index2": 590, "size": 157, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isMasked.js", "issuerId": 184, "issuerName": "./node_modules/lodash/_isMasked.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "profile": { "factory": 58, "building": 29 } }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "name": "./node_modules/lodash/_getNative.js", "profile": { "factory": 64, "building": 40 } }, { "id": 180, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "name": "./node_modules/lodash/_baseIsNative.js", "profile": { "factory": 69, "building": 22, "dependencies": 1 } }, { "id": 184, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isMasked.js", "name": "./node_modules/lodash/_isMasked.js", "profile": { "factory": 90, "building": 22 } } ], "profile": { "factory": 16, "building": 6, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 184, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isMasked.js", "module": "./node_modules/lodash/_isMasked.js", "moduleName": "./node_modules/lodash/_isMasked.js", "type": "cjs require", "userRequest": "./_coreJsData", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n" }, { "id": 186, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getValue.js", "name": "./node_modules/lodash/_getValue.js", "index": 607, "index2": 594, "size": 325, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "issuerId": 27, "issuerName": "./node_modules/lodash/_getNative.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "profile": { "factory": 58, "building": 29 } }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "name": "./node_modules/lodash/_getNative.js", "profile": { "factory": 64, "building": 40 } } ], "profile": { "factory": 69, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 27, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "module": "./node_modules/lodash/_getNative.js", "moduleName": "./node_modules/lodash/_getNative.js", "type": "cjs require", "userRequest": "./_getValue", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n" }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "index": 609, "index2": 604, "size": 393, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "issuerId": 70, "issuerName": "./node_modules/lodash/_MapCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } } ], "profile": { "factory": 100, "building": 21, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "module": "./node_modules/lodash/_MapCache.js", "moduleName": "./node_modules/lodash/_MapCache.js", "type": "cjs require", "userRequest": "./_mapCacheClear", "loc": "1:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n" }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "index": 610, "index2": 603, "size": 747, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "issuerId": 187, "issuerName": "./node_modules/lodash/_mapCacheClear.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } } ], "profile": { "factory": 39, "building": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 187, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "module": "./node_modules/lodash/_mapCacheClear.js", "moduleName": "./node_modules/lodash/_mapCacheClear.js", "type": "cjs require", "userRequest": "./_Hash", "loc": "1:11-29" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n" }, { "id": 189, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashClear.js", "name": "./node_modules/lodash/_hashClear.js", "index": 611, "index2": 598, "size": 281, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "issuerId": 188, "issuerName": "./node_modules/lodash/_Hash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } } ], "profile": { "factory": 9, "building": 1, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 188, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "module": "./node_modules/lodash/_Hash.js", "moduleName": "./node_modules/lodash/_Hash.js", "type": "cjs require", "userRequest": "./_hashClear", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n" }, { "id": 190, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashDelete.js", "name": "./node_modules/lodash/_hashDelete.js", "index": 613, "index2": 599, "size": 445, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "issuerId": 188, "issuerName": "./node_modules/lodash/_Hash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } } ], "profile": { "factory": 9, "building": 1, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 188, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "module": "./node_modules/lodash/_Hash.js", "moduleName": "./node_modules/lodash/_Hash.js", "type": "cjs require", "userRequest": "./_hashDelete", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n" }, { "id": 191, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashGet.js", "name": "./node_modules/lodash/_hashGet.js", "index": 614, "index2": 600, "size": 772, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "issuerId": 188, "issuerName": "./node_modules/lodash/_Hash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } } ], "profile": { "factory": 9, "building": 1, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 188, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "module": "./node_modules/lodash/_Hash.js", "moduleName": "./node_modules/lodash/_Hash.js", "type": "cjs require", "userRequest": "./_hashGet", "loc": "3:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n" }, { "id": 192, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashHas.js", "name": "./node_modules/lodash/_hashHas.js", "index": 615, "index2": 601, "size": 626, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "issuerId": 188, "issuerName": "./node_modules/lodash/_Hash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } } ], "profile": { "factory": 9, "building": 1, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 188, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "module": "./node_modules/lodash/_Hash.js", "moduleName": "./node_modules/lodash/_Hash.js", "type": "cjs require", "userRequest": "./_hashHas", "loc": "4:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n" }, { "id": 193, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashSet.js", "name": "./node_modules/lodash/_hashSet.js", "index": 616, "index2": 602, "size": 598, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "issuerId": 188, "issuerName": "./node_modules/lodash/_Hash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } } ], "profile": { "factory": 9, "building": 1, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 188, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "module": "./node_modules/lodash/_Hash.js", "moduleName": "./node_modules/lodash/_Hash.js", "type": "cjs require", "userRequest": "./_hashSet", "loc": "5:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n" }, { "id": 194, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheDelete.js", "name": "./node_modules/lodash/_mapCacheDelete.js", "index": 617, "index2": 607, "size": 450, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "issuerId": 70, "issuerName": "./node_modules/lodash/_MapCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } } ], "profile": { "factory": 100, "building": 21, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "module": "./node_modules/lodash/_MapCache.js", "moduleName": "./node_modules/lodash/_MapCache.js", "type": "cjs require", "userRequest": "./_mapCacheDelete", "loc": "2:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n" }, { "id": 195, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isKeyable.js", "name": "./node_modules/lodash/_isKeyable.js", "index": 619, "index2": 605, "size": 430, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMapData.js", "issuerId": 50, "issuerName": "./node_modules/lodash/_getMapData.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 198, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheSet.js", "name": "./node_modules/lodash/_mapCacheSet.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 50, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMapData.js", "name": "./node_modules/lodash/_getMapData.js", "profile": { "factory": 39, "building": 3 } } ], "profile": { "factory": 8, "building": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 50, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMapData.js", "module": "./node_modules/lodash/_getMapData.js", "moduleName": "./node_modules/lodash/_getMapData.js", "type": "cjs require", "userRequest": "./_isKeyable", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n" }, { "id": 196, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheGet.js", "name": "./node_modules/lodash/_mapCacheGet.js", "index": 620, "index2": 608, "size": 330, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "issuerId": 70, "issuerName": "./node_modules/lodash/_MapCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } } ], "profile": { "factory": 100, "building": 21, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "module": "./node_modules/lodash/_MapCache.js", "moduleName": "./node_modules/lodash/_MapCache.js", "type": "cjs require", "userRequest": "./_mapCacheGet", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n" }, { "id": 197, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheHas.js", "name": "./node_modules/lodash/_mapCacheHas.js", "index": 621, "index2": 609, "size": 382, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "issuerId": 70, "issuerName": "./node_modules/lodash/_MapCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } } ], "profile": { "factory": 100, "building": 21, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "module": "./node_modules/lodash/_MapCache.js", "moduleName": "./node_modules/lodash/_MapCache.js", "type": "cjs require", "userRequest": "./_mapCacheHas", "loc": "4:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n" }, { "id": 198, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheSet.js", "name": "./node_modules/lodash/_mapCacheSet.js", "index": 622, "index2": 610, "size": 489, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "issuerId": 70, "issuerName": "./node_modules/lodash/_MapCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } } ], "profile": { "factory": 100, "building": 21, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "module": "./node_modules/lodash/_MapCache.js", "moduleName": "./node_modules/lodash/_MapCache.js", "type": "cjs require", "userRequest": "./_mapCacheSet", "loc": "5:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n" }, { "id": 199, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssign.js", "name": "./node_modules/lodash/_baseAssign.js", "index": 627, "index2": 639, "size": 470, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_baseAssign", "loc": "4:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n" }, { "id": 200, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseTimes.js", "name": "./node_modules/lodash/_baseTimes.js", "index": 631, "index2": 619, "size": 504, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "issuerId": 95, "issuerName": "./node_modules/lodash/_arrayLikeKeys.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "name": "./node_modules/lodash/keysIn.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } }, { "id": 95, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "name": "./node_modules/lodash/_arrayLikeKeys.js", "profile": { "factory": 94, "building": 22, "dependencies": 31 } } ], "profile": { "factory": 54, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./_baseTimes", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n" }, { "id": 201, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsArguments.js", "name": "./node_modules/lodash/_baseIsArguments.js", "index": 633, "index2": 621, "size": 488, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArguments.js", "issuerId": 41, "issuerName": "./node_modules/lodash/isArguments.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 41, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArguments.js", "name": "./node_modules/lodash/isArguments.js", "profile": { "factory": 68, "building": 26, "dependencies": 6 } } ], "profile": { "factory": 62, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 41, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArguments.js", "module": "./node_modules/lodash/isArguments.js", "moduleName": "./node_modules/lodash/isArguments.js", "type": "cjs require", "userRequest": "./_baseIsArguments", "loc": "1:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n" }, { "id": 202, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/stubFalse.js", "name": "./node_modules/lodash/stubFalse.js", "index": 637, "index2": 624, "size": 280, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "issuerId": 34, "issuerName": "./node_modules/lodash/isBuffer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 34, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "name": "./node_modules/lodash/isBuffer.js", "profile": { "factory": 68, "building": 26, "dependencies": 6 } } ], "profile": { "factory": 58, "building": 35 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 34, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "module": "./node_modules/lodash/isBuffer.js", "moduleName": "./node_modules/lodash/isBuffer.js", "type": "cjs require", "userRequest": "./stubFalse", "loc": "2:16-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n" }, { "id": 203, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsTypedArray.js", "name": "./node_modules/lodash/_baseIsTypedArray.js", "index": 640, "index2": 628, "size": 2222, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "issuerId": 42, "issuerName": "./node_modules/lodash/isTypedArray.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 42, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "name": "./node_modules/lodash/isTypedArray.js", "profile": { "factory": 68, "building": 26, "dependencies": 6 } } ], "profile": { "factory": 59, "building": 37, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 42, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "module": "./node_modules/lodash/isTypedArray.js", "moduleName": "./node_modules/lodash/isTypedArray.js", "type": "cjs require", "userRequest": "./_baseIsTypedArray", "loc": "1:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n" }, { "id": 204, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nativeKeys.js", "name": "./node_modules/lodash/_nativeKeys.js", "index": 646, "index2": 635, "size": 204, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeys.js", "issuerId": 74, "issuerName": "./node_modules/lodash/_baseKeys.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 74, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeys.js", "name": "./node_modules/lodash/_baseKeys.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 58, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 74, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeys.js", "module": "./node_modules/lodash/_baseKeys.js", "moduleName": "./node_modules/lodash/_baseKeys.js", "type": "cjs require", "userRequest": "./_nativeKeys", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n" }, { "id": 205, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignIn.js", "name": "./node_modules/lodash/_baseAssignIn.js", "index": 649, "index2": 643, "size": 482, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_baseAssignIn", "loc": "5:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n" }, { "id": 206, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "name": "./node_modules/lodash/_baseKeysIn.js", "index": 651, "index2": 641, "size": 870, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "issuerId": 35, "issuerName": "./node_modules/lodash/keysIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "name": "./node_modules/lodash/keysIn.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } } ], "profile": { "factory": 94, "building": 22, "dependencies": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "module": "./node_modules/lodash/keysIn.js", "moduleName": "./node_modules/lodash/keysIn.js", "type": "cjs require", "userRequest": "./_baseKeysIn", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n" }, { "id": 207, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nativeKeysIn.js", "name": "./node_modules/lodash/_nativeKeysIn.js", "index": 652, "index2": 640, "size": 490, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "issuerId": 206, "issuerName": "./node_modules/lodash/_baseKeysIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "name": "./node_modules/lodash/keysIn.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } }, { "id": 206, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "name": "./node_modules/lodash/_baseKeysIn.js", "profile": { "factory": 94, "building": 22, "dependencies": 31 } } ], "profile": { "factory": 60, "building": 25 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 206, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "module": "./node_modules/lodash/_baseKeysIn.js", "moduleName": "./node_modules/lodash/_baseKeysIn.js", "type": "cjs require", "userRequest": "./_nativeKeysIn", "loc": "3:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n" }, { "id": 208, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "name": "./node_modules/lodash/_copySymbols.js", "index": 655, "index2": 649, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_copySymbols", "loc": "8:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n" }, { "id": 209, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "name": "./node_modules/lodash/_copySymbolsIn.js", "index": 659, "index2": 653, "size": 470, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_copySymbolsIn", "loc": "9:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n" }, { "id": 210, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "name": "./node_modules/lodash/_getAllKeysIn.js", "index": 665, "index2": 656, "size": 488, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_getAllKeysIn", "loc": "11:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n" }, { "id": 211, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_DataView.js", "name": "./node_modules/lodash/_DataView.js", "index": 667, "index2": 657, "size": 210, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_DataView", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n" }, { "id": 212, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Promise.js", "name": "./node_modules/lodash/_Promise.js", "index": 668, "index2": 658, "size": 207, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_Promise", "loc": "3:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n" }, { "id": 213, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_WeakMap.js", "name": "./node_modules/lodash/_WeakMap.js", "index": 670, "index2": 660, "size": 207, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_WeakMap", "loc": "5:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n" }, { "id": 214, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneArray.js", "name": "./node_modules/lodash/_initCloneArray.js", "index": 671, "index2": 662, "size": 692, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_initCloneArray", "loc": "13:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n" }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "index": 672, "index2": 669, "size": 2261, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_initCloneByTag", "loc": "14:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n" }, { "id": 216, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneDataView.js", "name": "./node_modules/lodash/_cloneDataView.js", "index": 675, "index2": 665, "size": 507, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "issuerId": 215, "issuerName": "./node_modules/lodash/_initCloneByTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 88, "building": 41, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 215, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "module": "./node_modules/lodash/_initCloneByTag.js", "moduleName": "./node_modules/lodash/_initCloneByTag.js", "type": "cjs require", "userRequest": "./_cloneDataView", "loc": "2:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n" }, { "id": 217, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneRegExp.js", "name": "./node_modules/lodash/_cloneRegExp.js", "index": 676, "index2": 666, "size": 439, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "issuerId": 215, "issuerName": "./node_modules/lodash/_initCloneByTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 88, "building": 41, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 215, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "module": "./node_modules/lodash/_initCloneByTag.js", "moduleName": "./node_modules/lodash/_initCloneByTag.js", "type": "cjs require", "userRequest": "./_cloneRegExp", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n" }, { "id": 218, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneSymbol.js", "name": "./node_modules/lodash/_cloneSymbol.js", "index": 677, "index2": 667, "size": 524, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "issuerId": 215, "issuerName": "./node_modules/lodash/_initCloneByTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 88, "building": 41, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 215, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "module": "./node_modules/lodash/_initCloneByTag.js", "moduleName": "./node_modules/lodash/_initCloneByTag.js", "type": "cjs require", "userRequest": "./_cloneSymbol", "loc": "4:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n" }, { "id": 219, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "name": "./node_modules/lodash/isMap.js", "index": 681, "index2": 673, "size": 613, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./isMap", "loc": "18:12-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n" }, { "id": 220, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMap.js", "name": "./node_modules/lodash/_baseIsMap.js", "index": 682, "index2": 672, "size": 478, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "issuerId": 219, "issuerName": "./node_modules/lodash/isMap.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 219, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "name": "./node_modules/lodash/isMap.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 59, "building": 33, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 219, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "module": "./node_modules/lodash/isMap.js", "moduleName": "./node_modules/lodash/isMap.js", "type": "cjs require", "userRequest": "./_baseIsMap", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n" }, { "id": 221, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "name": "./node_modules/lodash/isSet.js", "index": 683, "index2": 675, "size": 613, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./isSet", "loc": "20:12-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n" }, { "id": 222, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsSet.js", "name": "./node_modules/lodash/_baseIsSet.js", "index": 684, "index2": 674, "size": 478, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "issuerId": 221, "issuerName": "./node_modules/lodash/isSet.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 221, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "name": "./node_modules/lodash/isSet.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 60, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 221, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "module": "./node_modules/lodash/isSet.js", "moduleName": "./node_modules/lodash/isSet.js", "type": "cjs require", "userRequest": "./_baseIsSet", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n" }, { "id": 223, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createBaseFor.js", "name": "./node_modules/lodash/_createBaseFor.js", "index": 691, "index2": 679, "size": 648, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFor.js", "issuerId": 81, "issuerName": "./node_modules/lodash/_baseFor.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 289, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "name": "./node_modules/lodash/forIn.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 81, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFor.js", "name": "./node_modules/lodash/_baseFor.js", "profile": { "factory": 65, "building": 27, "dependencies": 0 } } ], "profile": { "factory": 64, "building": 25 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 81, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFor.js", "module": "./node_modules/lodash/_baseFor.js", "moduleName": "./node_modules/lodash/_baseFor.js", "type": "cjs require", "userRequest": "./_createBaseFor", "loc": "1:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n" }, { "id": 224, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createBaseEach.js", "name": "./node_modules/lodash/_createBaseEach.js", "index": 692, "index2": 682, "size": 886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseEach.js", "issuerId": 57, "issuerName": "./node_modules/lodash/_baseEach.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 57, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseEach.js", "name": "./node_modules/lodash/_baseEach.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } } ], "profile": { "factory": 59, "building": 29, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 57, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseEach.js", "module": "./node_modules/lodash/_baseEach.js", "moduleName": "./node_modules/lodash/_baseEach.js", "type": "cjs require", "userRequest": "./_createBaseEach", "loc": "2:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n" }, { "id": 225, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFilter.js", "name": "./node_modules/lodash/_baseFilter.js", "index": 696, "index2": 688, "size": 590, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "issuerId": 111, "issuerName": "./node_modules/lodash/filter.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 111, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "name": "./node_modules/lodash/filter.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 68, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 111, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "module": "./node_modules/lodash/filter.js", "moduleName": "./node_modules/lodash/filter.js", "type": "cjs require", "userRequest": "./_baseFilter", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseEach = require('./_baseEach');\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n}\n\nmodule.exports = baseFilter;\n" }, { "id": 226, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "name": "./node_modules/lodash/_baseMatches.js", "index": 698, "index2": 705, "size": 710, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "issuerId": 20, "issuerName": "./node_modules/lodash/_baseIteratee.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } } ], "profile": { "factory": 67, "building": 25, "dependencies": 59 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "module": "./node_modules/lodash/_baseIteratee.js", "moduleName": "./node_modules/lodash/_baseIteratee.js", "type": "cjs require", "userRequest": "./_baseMatches", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n" }, { "id": 227, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMatch.js", "name": "./node_modules/lodash/_baseIsMatch.js", "index": 699, "index2": 701, "size": 1765, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "issuerId": 226, "issuerName": "./node_modules/lodash/_baseMatches.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 226, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "name": "./node_modules/lodash/_baseMatches.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 88, "building": 40, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 226, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "module": "./node_modules/lodash/_baseMatches.js", "moduleName": "./node_modules/lodash/_baseMatches.js", "type": "cjs require", "userRequest": "./_baseIsMatch", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n" }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "index": 701, "index2": 699, "size": 3010, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "issuerId": 112, "issuerName": "./node_modules/lodash/_baseIsEqual.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } } ], "profile": { "factory": 68, "building": 26, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 112, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "module": "./node_modules/lodash/_baseIsEqual.js", "moduleName": "./node_modules/lodash/_baseIsEqual.js", "type": "cjs require", "userRequest": "./_baseIsEqualDeep", "loc": "1:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n" }, { "id": 229, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setCacheAdd.js", "name": "./node_modules/lodash/_setCacheAdd.js", "index": 704, "index2": 689, "size": 424, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "issuerId": 114, "issuerName": "./node_modules/lodash/_SetCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } } ], "profile": { "factory": 83, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 114, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "module": "./node_modules/lodash/_SetCache.js", "moduleName": "./node_modules/lodash/_SetCache.js", "type": "cjs require", "userRequest": "./_setCacheAdd", "loc": "2:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n" }, { "id": 230, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setCacheHas.js", "name": "./node_modules/lodash/_setCacheHas.js", "index": 705, "index2": 690, "size": 316, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "issuerId": 114, "issuerName": "./node_modules/lodash/_SetCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } } ], "profile": { "factory": 83, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 114, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "module": "./node_modules/lodash/_SetCache.js", "moduleName": "./node_modules/lodash/_SetCache.js", "type": "cjs require", "userRequest": "./_setCacheHas", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n" }, { "id": 231, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arraySome.js", "name": "./node_modules/lodash/_arraySome.js", "index": 706, "index2": 692, "size": 594, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "issuerId": 113, "issuerName": "./node_modules/lodash/_equalArrays.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "profile": { "factory": 68, "building": 26, "dependencies": 1 } }, { "id": 113, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "name": "./node_modules/lodash/_equalArrays.js", "profile": { "factory": 90, "building": 20, "dependencies": 1 } } ], "profile": { "factory": 13, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 113, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "module": "./node_modules/lodash/_equalArrays.js", "moduleName": "./node_modules/lodash/_equalArrays.js", "type": "cjs require", "userRequest": "./_arraySome", "loc": "2:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n" }, { "id": 232, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "name": "./node_modules/lodash/_equalByTag.js", "index": 708, "index2": 697, "size": 3746, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "issuerId": 228, "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "profile": { "factory": 68, "building": 26, "dependencies": 1 } } ], "profile": { "factory": 90, "building": 20, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./_equalByTag", "loc": "3:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n" }, { "id": 233, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapToArray.js", "name": "./node_modules/lodash/_mapToArray.js", "index": 709, "index2": 695, "size": 363, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "issuerId": 232, "issuerName": "./node_modules/lodash/_equalByTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "profile": { "factory": 68, "building": 26, "dependencies": 1 } }, { "id": 232, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "name": "./node_modules/lodash/_equalByTag.js", "profile": { "factory": 90, "building": 20, "dependencies": 1 } } ], "profile": { "factory": 14, "building": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./_mapToArray", "loc": "5:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n" }, { "id": 234, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalObjects.js", "name": "./node_modules/lodash/_equalObjects.js", "index": 711, "index2": 698, "size": 2903, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "issuerId": 228, "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "profile": { "factory": 68, "building": 26, "dependencies": 1 } } ], "profile": { "factory": 90, "building": 20, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./_equalObjects", "loc": "4:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n" }, { "id": 235, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMatchData.js", "name": "./node_modules/lodash/_getMatchData.js", "index": 712, "index2": 703, "size": 573, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "issuerId": 226, "issuerName": "./node_modules/lodash/_baseMatches.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 226, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "name": "./node_modules/lodash/_baseMatches.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 88, "building": 40, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 226, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "module": "./node_modules/lodash/_baseMatches.js", "moduleName": "./node_modules/lodash/_baseMatches.js", "type": "cjs require", "userRequest": "./_getMatchData", "loc": "2:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n" }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "index": 715, "index2": 721, "size": 1129, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "issuerId": 20, "issuerName": "./node_modules/lodash/_baseIteratee.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } } ], "profile": { "factory": 67, "building": 25, "dependencies": 59 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "module": "./node_modules/lodash/_baseIteratee.js", "moduleName": "./node_modules/lodash/_baseIteratee.js", "type": "cjs require", "userRequest": "./_baseMatchesProperty", "loc": "2:26-59" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n" }, { "id": 237, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/get.js", "name": "./node_modules/lodash/get.js", "index": 716, "index2": 717, "size": 884, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "issuerId": 236, "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./get", "loc": "2:10-26" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n" }, { "id": 238, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringToPath.js", "name": "./node_modules/lodash/_stringToPath.js", "index": 721, "index2": 710, "size": 840, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "issuerId": 58, "issuerName": "./node_modules/lodash/_castPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } }, { "id": 58, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "name": "./node_modules/lodash/_castPath.js", "profile": { "factory": 72, "building": 28, "dependencies": 0 } } ], "profile": { "factory": 69, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 58, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "module": "./node_modules/lodash/_castPath.js", "moduleName": "./node_modules/lodash/_castPath.js", "type": "cjs require", "userRequest": "./_stringToPath", "loc": "3:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n" }, { "id": 239, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_memoizeCapped.js", "name": "./node_modules/lodash/_memoizeCapped.js", "index": 722, "index2": 709, "size": 633, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringToPath.js", "issuerId": 238, "issuerName": "./node_modules/lodash/_stringToPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } }, { "id": 58, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "name": "./node_modules/lodash/_castPath.js", "profile": { "factory": 72, "building": 28, "dependencies": 0 } }, { "id": 238, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringToPath.js", "name": "./node_modules/lodash/_stringToPath.js", "profile": { "factory": 69, "building": 33, "dependencies": 0 } } ], "profile": { "factory": 76, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 238, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringToPath.js", "module": "./node_modules/lodash/_stringToPath.js", "moduleName": "./node_modules/lodash/_stringToPath.js", "type": "cjs require", "userRequest": "./_memoizeCapped", "loc": "1:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n" }, { "id": 240, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/memoize.js", "name": "./node_modules/lodash/memoize.js", "index": 723, "index2": 708, "size": 2224, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_memoizeCapped.js", "issuerId": 239, "issuerName": "./node_modules/lodash/_memoizeCapped.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } }, { "id": 58, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "name": "./node_modules/lodash/_castPath.js", "profile": { "factory": 72, "building": 28, "dependencies": 0 } }, { "id": 238, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringToPath.js", "name": "./node_modules/lodash/_stringToPath.js", "profile": { "factory": 69, "building": 33, "dependencies": 0 } }, { "id": 239, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_memoizeCapped.js", "name": "./node_modules/lodash/_memoizeCapped.js", "profile": { "factory": 76, "building": 28 } } ], "profile": { "factory": 92, "building": 22, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 239, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_memoizeCapped.js", "module": "./node_modules/lodash/_memoizeCapped.js", "moduleName": "./node_modules/lodash/_memoizeCapped.js", "type": "cjs require", "userRequest": "./memoize", "loc": "1:14-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n" }, { "id": 241, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseToString.js", "name": "./node_modules/lodash/_baseToString.js", "index": 725, "index2": 712, "size": 1154, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toString.js", "issuerId": 118, "issuerName": "./node_modules/lodash/toString.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 146, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/uniqueId.js", "name": "./node_modules/lodash/uniqueId.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 118, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toString.js", "name": "./node_modules/lodash/toString.js", "profile": { "factory": 78, "building": 38 } } ], "profile": { "factory": 63, "building": 27, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 118, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toString.js", "module": "./node_modules/lodash/toString.js", "moduleName": "./node_modules/lodash/toString.js", "type": "cjs require", "userRequest": "./_baseToString", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n" }, { "id": 242, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseHasIn.js", "name": "./node_modules/lodash/_baseHasIn.js", "index": 729, "index2": 718, "size": 374, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/hasIn.js", "issuerId": 119, "issuerName": "./node_modules/lodash/hasIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "profile": { "factory": 68, "building": 40, "dependencies": 46 } }, { "id": 119, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/hasIn.js", "name": "./node_modules/lodash/hasIn.js", "profile": { "factory": 62, "building": 23, "dependencies": 0 } } ], "profile": { "factory": 62, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 119, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/hasIn.js", "module": "./node_modules/lodash/hasIn.js", "moduleName": "./node_modules/lodash/hasIn.js", "type": "cjs require", "userRequest": "./_baseHasIn", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n" }, { "id": 243, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "name": "./node_modules/lodash/property.js", "index": 731, "index2": 724, "size": 793, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "issuerId": 20, "issuerName": "./node_modules/lodash/_baseIteratee.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } } ], "profile": { "factory": 67, "building": 25, "dependencies": 59 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "module": "./node_modules/lodash/_baseIteratee.js", "moduleName": "./node_modules/lodash/_baseIteratee.js", "type": "cjs require", "userRequest": "./property", "loc": "5:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n" }, { "id": 244, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePropertyDeep.js", "name": "./node_modules/lodash/_basePropertyDeep.js", "index": 733, "index2": 723, "size": 391, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "issuerId": 243, "issuerName": "./node_modules/lodash/property.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 243, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "name": "./node_modules/lodash/property.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 66, "building": 39, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 243, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "module": "./node_modules/lodash/property.js", "moduleName": "./node_modules/lodash/property.js", "type": "cjs require", "userRequest": "./_basePropertyDeep", "loc": "2:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n" }, { "id": 245, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseHas.js", "name": "./node_modules/lodash/_baseHas.js", "index": 735, "index2": 727, "size": 559, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "issuerId": 85, "issuerName": "./node_modules/lodash/has.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 69, "building": 41, "dependencies": 68 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 85, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "module": "./node_modules/lodash/has.js", "moduleName": "./node_modules/lodash/has.js", "type": "cjs require", "userRequest": "./_baseHas", "loc": "1:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n}\n\nmodule.exports = baseHas;\n" }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "index": 736, "index2": 729, "size": 2000, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isEmpty", "loc": "14:15-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nmodule.exports = isEmpty;\n" }, { "id": 247, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayReduce.js", "name": "./node_modules/lodash/_arrayReduce.js", "index": 741, "index2": 733, "size": 787, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "issuerId": 125, "issuerName": "./node_modules/lodash/reduce.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 83, "building": 25, "dependencies": 4 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 125, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "module": "./node_modules/lodash/reduce.js", "moduleName": "./node_modules/lodash/reduce.js", "type": "cjs require", "userRequest": "./_arrayReduce", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayReduce;\n" }, { "id": 248, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseReduce.js", "name": "./node_modules/lodash/_baseReduce.js", "index": 742, "index2": 734, "size": 909, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "issuerId": 125, "issuerName": "./node_modules/lodash/reduce.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 83, "building": 25, "dependencies": 4 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 125, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "module": "./node_modules/lodash/reduce.js", "moduleName": "./node_modules/lodash/reduce.js", "type": "cjs require", "userRequest": "./_baseReduce", "loc": "4:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\nfunction baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n}\n\nmodule.exports = baseReduce;\n" }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "index": 743, "index2": 741, "size": 1137, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/size", "loc": "20:12-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArrayLike = require('./isArrayLike'),\n isString = require('./isString'),\n stringSize = require('./_stringSize');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\nfunction size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n}\n\nmodule.exports = size;\n" }, { "id": 250, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isString.js", "name": "./node_modules/lodash/isString.js", "index": 744, "index2": 736, "size": 723, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "issuerId": 249, "issuerName": "./node_modules/lodash/size.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 64, "building": 25, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 249, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "module": "./node_modules/lodash/size.js", "moduleName": "./node_modules/lodash/size.js", "type": "cjs require", "userRequest": "./isString", "loc": "4:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n" }, { "id": 251, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "name": "./node_modules/lodash/_stringSize.js", "index": 745, "index2": 740, "size": 432, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "issuerId": 249, "issuerName": "./node_modules/lodash/size.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 64, "building": 25, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 249, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "module": "./node_modules/lodash/size.js", "moduleName": "./node_modules/lodash/size.js", "type": "cjs require", "userRequest": "./_stringSize", "loc": "5:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var asciiSize = require('./_asciiSize'),\n hasUnicode = require('./_hasUnicode'),\n unicodeSize = require('./_unicodeSize');\n\n/**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\nfunction stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n}\n\nmodule.exports = stringSize;\n" }, { "id": 252, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_asciiSize.js", "name": "./node_modules/lodash/_asciiSize.js", "index": 746, "index2": 737, "size": 271, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "issuerId": 251, "issuerName": "./node_modules/lodash/_stringSize.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 251, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "name": "./node_modules/lodash/_stringSize.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 66, "building": 36, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 251, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "module": "./node_modules/lodash/_stringSize.js", "moduleName": "./node_modules/lodash/_stringSize.js", "type": "cjs require", "userRequest": "./_asciiSize", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseProperty = require('./_baseProperty');\n\n/**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nvar asciiSize = baseProperty('length');\n\nmodule.exports = asciiSize;\n" }, { "id": 253, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasUnicode.js", "name": "./node_modules/lodash/_hasUnicode.js", "index": 747, "index2": 738, "size": 949, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "issuerId": 251, "issuerName": "./node_modules/lodash/_stringSize.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 251, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "name": "./node_modules/lodash/_stringSize.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 66, "building": 36, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 251, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "module": "./node_modules/lodash/_stringSize.js", "moduleName": "./node_modules/lodash/_stringSize.js", "type": "cjs require", "userRequest": "./_hasUnicode", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n" }, { "id": 254, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_unicodeSize.js", "name": "./node_modules/lodash/_unicodeSize.js", "index": 748, "index2": 739, "size": 1642, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "issuerId": 251, "issuerName": "./node_modules/lodash/_stringSize.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 251, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "name": "./node_modules/lodash/_stringSize.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 66, "building": 36, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 251, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "module": "./node_modules/lodash/_stringSize.js", "moduleName": "./node_modules/lodash/_stringSize.js", "type": "cjs require", "userRequest": "./_unicodeSize", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nfunction unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n}\n\nmodule.exports = unicodeSize;\n" }, { "id": 255, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "name": "./node_modules/lodash/transform.js", "index": 749, "index2": 742, "size": 2280, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/transform", "loc": "21:17-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayEach = require('./_arrayEach'),\n baseCreate = require('./_baseCreate'),\n baseForOwn = require('./_baseForOwn'),\n baseIteratee = require('./_baseIteratee'),\n getPrototype = require('./_getPrototype'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isTypedArray = require('./isTypedArray');\n\n/**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\nfunction transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = baseIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n}\n\nmodule.exports = transform;\n" }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "index": 750, "index2": 761, "size": 749, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/union", "loc": "22:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n baseUniq = require('./_baseUniq'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\nvar union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n});\n\nmodule.exports = union;\n" }, { "id": 257, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isFlattenable.js", "name": "./node_modules/lodash/_isFlattenable.js", "index": 752, "index2": 743, "size": 608, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "issuerId": 86, "issuerName": "./node_modules/lodash/_baseFlatten.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 86, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "name": "./node_modules/lodash/_baseFlatten.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } } ], "profile": { "factory": 62, "building": 25, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 86, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "module": "./node_modules/lodash/_baseFlatten.js", "moduleName": "./node_modules/lodash/_baseFlatten.js", "type": "cjs require", "userRequest": "./_isFlattenable", "loc": "2:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n" }, { "id": 258, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_apply.js", "name": "./node_modules/lodash/_apply.js", "index": 755, "index2": 745, "size": 714, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_overRest.js", "issuerId": 126, "issuerName": "./node_modules/lodash/_overRest.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } }, { "id": 126, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_overRest.js", "name": "./node_modules/lodash/_overRest.js", "profile": { "factory": 103, "building": 19 } } ], "profile": { "factory": 60, "building": 27 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 126, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_overRest.js", "module": "./node_modules/lodash/_overRest.js", "moduleName": "./node_modules/lodash/_overRest.js", "type": "cjs require", "userRequest": "./_apply", "loc": "1:12-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n" }, { "id": 259, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSetToString.js", "name": "./node_modules/lodash/_baseSetToString.js", "index": 757, "index2": 747, "size": 641, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "issuerId": 127, "issuerName": "./node_modules/lodash/_setToString.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } }, { "id": 127, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "name": "./node_modules/lodash/_setToString.js", "profile": { "factory": 103, "building": 19 } } ], "profile": { "factory": 61, "building": 27, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 127, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "module": "./node_modules/lodash/_setToString.js", "moduleName": "./node_modules/lodash/_setToString.js", "type": "cjs require", "userRequest": "./_baseSetToString", "loc": "1:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n" }, { "id": 260, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_shortOut.js", "name": "./node_modules/lodash/_shortOut.js", "index": 758, "index2": 748, "size": 941, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "issuerId": 127, "issuerName": "./node_modules/lodash/_setToString.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } }, { "id": 127, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "name": "./node_modules/lodash/_setToString.js", "profile": { "factory": 103, "building": 19 } } ], "profile": { "factory": 61, "building": 27, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 127, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "module": "./node_modules/lodash/_setToString.js", "moduleName": "./node_modules/lodash/_setToString.js", "type": "cjs require", "userRequest": "./_shortOut", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n" }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "index": 759, "index2": 759, "size": 1909, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "issuerId": 256, "issuerName": "./node_modules/lodash/union.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 83, "building": 21, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 256, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "module": "./node_modules/lodash/union.js", "moduleName": "./node_modules/lodash/union.js", "type": "cjs require", "userRequest": "./_baseUniq", "loc": "3:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n cacheHas = require('./_cacheHas'),\n createSet = require('./_createSet'),\n setToArray = require('./_setToArray');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseUniq;\n" }, { "id": 262, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "name": "./node_modules/lodash/_arrayIncludes.js", "index": 760, "index2": 755, "size": 526, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_arrayIncludes", "loc": "2:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n" }, { "id": 263, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "name": "./node_modules/lodash/_baseIndexOf.js", "index": 761, "index2": 754, "size": 659, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "issuerId": 262, "issuerName": "./node_modules/lodash/_arrayIncludes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 262, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "name": "./node_modules/lodash/_arrayIncludes.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } } ], "profile": { "factory": 80, "building": 19, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 262, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "module": "./node_modules/lodash/_arrayIncludes.js", "moduleName": "./node_modules/lodash/_arrayIncludes.js", "type": "cjs require", "userRequest": "./_baseIndexOf", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n" }, { "id": 264, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNaN.js", "name": "./node_modules/lodash/_baseIsNaN.js", "index": 763, "index2": 752, "size": 296, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "issuerId": 263, "issuerName": "./node_modules/lodash/_baseIndexOf.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 262, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "name": "./node_modules/lodash/_arrayIncludes.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 263, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "name": "./node_modules/lodash/_baseIndexOf.js", "profile": { "factory": 80, "building": 19, "dependencies": 0 } } ], "profile": { "factory": 95, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 263, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "module": "./node_modules/lodash/_baseIndexOf.js", "moduleName": "./node_modules/lodash/_baseIndexOf.js", "type": "cjs require", "userRequest": "./_baseIsNaN", "loc": "2:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n" }, { "id": 265, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_strictIndexOf.js", "name": "./node_modules/lodash/_strictIndexOf.js", "index": 764, "index2": 753, "size": 600, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "issuerId": 263, "issuerName": "./node_modules/lodash/_baseIndexOf.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 262, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "name": "./node_modules/lodash/_arrayIncludes.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 263, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "name": "./node_modules/lodash/_baseIndexOf.js", "profile": { "factory": 80, "building": 19, "dependencies": 0 } } ], "profile": { "factory": 95, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 263, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "module": "./node_modules/lodash/_baseIndexOf.js", "moduleName": "./node_modules/lodash/_baseIndexOf.js", "type": "cjs require", "userRequest": "./_strictIndexOf", "loc": "3:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n" }, { "id": 266, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludesWith.js", "name": "./node_modules/lodash/_arrayIncludesWith.js", "index": 765, "index2": 756, "size": 615, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_arrayIncludesWith", "loc": "3:24-55" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n" }, { "id": 267, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "name": "./node_modules/lodash/_createSet.js", "index": 766, "index2": 758, "size": 501, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_createSet", "loc": "5:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var Set = require('./_Set'),\n noop = require('./noop'),\n setToArray = require('./_setToArray');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n};\n\nmodule.exports = createSet;\n" }, { "id": 268, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/noop.js", "name": "./node_modules/lodash/noop.js", "index": 767, "index2": 757, "size": 250, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "issuerId": 267, "issuerName": "./node_modules/lodash/_createSet.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 267, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "name": "./node_modules/lodash/_createSet.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 267, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "module": "./node_modules/lodash/_createSet.js", "moduleName": "./node_modules/lodash/_createSet.js", "type": "cjs require", "userRequest": "./noop", "loc": "2:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n" }, { "id": 269, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseValues.js", "name": "./node_modules/lodash/_baseValues.js", "index": 770, "index2": 762, "size": 534, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/values.js", "issuerId": 130, "issuerName": "./node_modules/lodash/values.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 130, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/values.js", "name": "./node_modules/lodash/values.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 74, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 130, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/values.js", "module": "./node_modules/lodash/values.js", "moduleName": "./node_modules/lodash/values.js", "type": "cjs require", "userRequest": "./_baseValues", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var arrayMap = require('./_arrayMap');\n\n/**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nmodule.exports = baseValues;\n" }, { "id": 270, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/version.js", "name": "./node_modules/graphlib/lib/version.js", "index": 771, "index2": 766, "size": 26, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/index.js", "issuerId": 168, "issuerName": "./node_modules/graphlib/lib/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 168, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/index.js", "name": "./node_modules/graphlib/lib/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 72, "building": 43 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 168, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/index.js", "module": "./node_modules/graphlib/lib/index.js", "moduleName": "./node_modules/graphlib/lib/index.js", "type": "cjs require", "userRequest": "./version", "loc": "4:11-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "module.exports = '2.1.8';\n" }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "index": 772, "index2": 768, "size": 1399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "issuerId": 2, "issuerName": "./node_modules/graphlib/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 266, "building": 74, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 2, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "module": "./node_modules/graphlib/index.js", "moduleName": "./node_modules/graphlib/index.js", "type": "cjs require", "userRequest": "./lib/json", "loc": "35:8-29" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "var _ = require(\"./lodash\");\nvar Graph = require(\"./graph\");\n\nmodule.exports = {\n write: write,\n read: read\n};\n\nfunction write(g) {\n var json = {\n options: {\n directed: g.isDirected(),\n multigraph: g.isMultigraph(),\n compound: g.isCompound()\n },\n nodes: writeNodes(g),\n edges: writeEdges(g)\n };\n if (!_.isUndefined(g.graph())) {\n json.value = _.clone(g.graph());\n }\n return json;\n}\n\nfunction writeNodes(g) {\n return _.map(g.nodes(), function(v) {\n var nodeValue = g.node(v);\n var parent = g.parent(v);\n var node = { v: v };\n if (!_.isUndefined(nodeValue)) {\n node.value = nodeValue;\n }\n if (!_.isUndefined(parent)) {\n node.parent = parent;\n }\n return node;\n });\n}\n\nfunction writeEdges(g) {\n return _.map(g.edges(), function(e) {\n var edgeValue = g.edge(e);\n var edge = { v: e.v, w: e.w };\n if (!_.isUndefined(e.name)) {\n edge.name = e.name;\n }\n if (!_.isUndefined(edgeValue)) {\n edge.value = edgeValue;\n }\n return edge;\n });\n}\n\nfunction read(json) {\n var g = new Graph(json.options).setGraph(json.value);\n _.each(json.nodes, function(entry) {\n g.setNode(entry.v, entry.value);\n if (entry.parent) {\n g.setParent(entry.v, entry.parent);\n }\n });\n _.each(json.edges, function(entry) {\n g.setEdge({ v: entry.v, w: entry.w, name: entry.name }, entry.value);\n });\n return g;\n}\n" }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "index": 773, "index2": 782, "size": 424, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "issuerId": 2, "issuerName": "./node_modules/graphlib/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 266, "building": 74, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 2, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "module": "./node_modules/graphlib/index.js", "moduleName": "./node_modules/graphlib/index.js", "type": "cjs require", "userRequest": "./lib/alg", "loc": "36:7-27" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "module.exports = {\n components: require(\"./components\"),\n dijkstra: require(\"./dijkstra\"),\n dijkstraAll: require(\"./dijkstra-all\"),\n findCycles: require(\"./find-cycles\"),\n floydWarshall: require(\"./floyd-warshall\"),\n isAcyclic: require(\"./is-acyclic\"),\n postorder: require(\"./postorder\"),\n preorder: require(\"./preorder\"),\n prim: require(\"./prim\"),\n tarjan: require(\"./tarjan\"),\n topsort: require(\"./topsort\")\n};\n" }, { "id": 273, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/components.js", "name": "./node_modules/graphlib/lib/alg/components.js", "index": 774, "index2": 769, "size": 447, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./components", "loc": "2:14-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = components;\n\nfunction components(g) {\n var visited = {};\n var cmpts = [];\n var cmpt;\n\n function dfs(v) {\n if (_.has(visited, v)) return;\n visited[v] = true;\n cmpt.push(v);\n _.each(g.successors(v), dfs);\n _.each(g.predecessors(v), dfs);\n }\n\n _.each(g.nodes(), function(v) {\n cmpt = [];\n dfs(v);\n if (cmpt.length) {\n cmpts.push(cmpt);\n }\n });\n\n return cmpts;\n}\n" }, { "id": 274, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra-all.js", "name": "./node_modules/graphlib/lib/alg/dijkstra-all.js", "index": 777, "index2": 772, "size": 262, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./dijkstra-all", "loc": "4:15-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var dijkstra = require(\"./dijkstra\");\nvar _ = require(\"../lodash\");\n\nmodule.exports = dijkstraAll;\n\nfunction dijkstraAll(g, weightFunc, edgeFunc) {\n return _.transform(g.nodes(), function(acc, v) {\n acc[v] = dijkstra(g, v, weightFunc, edgeFunc);\n }, {});\n}\n" }, { "id": 275, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/find-cycles.js", "name": "./node_modules/graphlib/lib/alg/find-cycles.js", "index": 778, "index2": 774, "size": 256, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./find-cycles", "loc": "5:14-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\nvar tarjan = require(\"./tarjan\");\n\nmodule.exports = findCycles;\n\nfunction findCycles(g) {\n return _.filter(tarjan(g), function(cmpt) {\n return cmpt.length > 1 || (cmpt.length === 1 && g.hasEdge(cmpt[0], cmpt[0]));\n });\n}\n" }, { "id": 276, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/floyd-warshall.js", "name": "./node_modules/graphlib/lib/alg/floyd-warshall.js", "index": 780, "index2": 775, "size": 1235, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./floyd-warshall", "loc": "6:17-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = floydWarshall;\n\nvar DEFAULT_WEIGHT_FUNC = _.constant(1);\n\nfunction floydWarshall(g, weightFn, edgeFn) {\n return runFloydWarshall(g,\n weightFn || DEFAULT_WEIGHT_FUNC,\n edgeFn || function(v) { return g.outEdges(v); });\n}\n\nfunction runFloydWarshall(g, weightFn, edgeFn) {\n var results = {};\n var nodes = g.nodes();\n\n nodes.forEach(function(v) {\n results[v] = {};\n results[v][v] = { distance: 0 };\n nodes.forEach(function(w) {\n if (v !== w) {\n results[v][w] = { distance: Number.POSITIVE_INFINITY };\n }\n });\n edgeFn(v).forEach(function(edge) {\n var w = edge.v === v ? edge.w : edge.v;\n var d = weightFn(edge);\n results[v][w] = { distance: d, predecessor: v };\n });\n });\n\n nodes.forEach(function(k) {\n var rowK = results[k];\n nodes.forEach(function(i) {\n var rowI = results[i];\n nodes.forEach(function(j) {\n var ik = rowI[k];\n var kj = rowK[j];\n var ij = rowI[j];\n var altDistance = ik.distance + kj.distance;\n if (altDistance < ij.distance) {\n ij.distance = altDistance;\n ij.predecessor = kj.predecessor;\n }\n });\n });\n });\n\n return results;\n}\n" }, { "id": 277, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/is-acyclic.js", "name": "./node_modules/graphlib/lib/alg/is-acyclic.js", "index": 781, "index2": 777, "size": 237, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./is-acyclic", "loc": "7:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var topsort = require(\"./topsort\");\n\nmodule.exports = isAcyclic;\n\nfunction isAcyclic(g) {\n try {\n topsort(g);\n } catch (e) {\n if (e instanceof topsort.CycleException) {\n return false;\n }\n throw e;\n }\n return true;\n}\n" }, { "id": 278, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/postorder.js", "name": "./node_modules/graphlib/lib/alg/postorder.js", "index": 783, "index2": 779, "size": 117, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./postorder", "loc": "8:13-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var dfs = require(\"./dfs\");\n\nmodule.exports = postorder;\n\nfunction postorder(g, vs) {\n return dfs(g, vs, \"post\");\n}\n" }, { "id": 279, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/preorder.js", "name": "./node_modules/graphlib/lib/alg/preorder.js", "index": 785, "index2": 780, "size": 114, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./preorder", "loc": "9:12-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var dfs = require(\"./dfs\");\n\nmodule.exports = preorder;\n\nfunction preorder(g, vs) {\n return dfs(g, vs, \"pre\");\n}\n" }, { "id": 280, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "name": "./node_modules/graphlib/lib/alg/prim.js", "index": 786, "index2": 781, "size": 1105, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./prim", "loc": "10:8-25" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\nvar Graph = require(\"../graph\");\nvar PriorityQueue = require(\"../data/priority-queue\");\n\nmodule.exports = prim;\n\nfunction prim(g, weightFunc) {\n var result = new Graph();\n var parents = {};\n var pq = new PriorityQueue();\n var v;\n\n function updateNeighbors(edge) {\n var w = edge.v === v ? edge.w : edge.v;\n var pri = pq.priority(w);\n if (pri !== undefined) {\n var edgeWeight = weightFunc(edge);\n if (edgeWeight < pri) {\n parents[w] = v;\n pq.decrease(w, edgeWeight);\n }\n }\n }\n\n if (g.nodeCount() === 0) {\n return result;\n }\n\n _.each(g.nodes(), function(v) {\n pq.add(v, Number.POSITIVE_INFINITY);\n result.setNode(v);\n });\n\n // Start from an arbitrary node\n pq.decrease(g.nodes()[0], 0);\n\n var init = false;\n while (pq.size() > 0) {\n v = pq.removeMin();\n if (_.has(parents, v)) {\n result.setEdge(v, parents[v]);\n } else if (init) {\n throw new Error(\"Input graph is not connected: \" + g);\n } else {\n init = true;\n }\n\n g.nodeEdges(v).forEach(updateNeighbors);\n }\n\n return result;\n}\n" }, { "id": 281, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/graphlib.js", "name": "./node_modules/dagre-d3/lib/graphlib.js", "index": 788, "index2": 784, "size": 255, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "issuerId": 5, "issuerName": "./node_modules/dagre-d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 313, "building": 36, "dependencies": 79 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/graphlib", "loc": "24:12-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "/* global window */\n\nvar graphlib;\n\nif (typeof require === \"function\") {\n try {\n graphlib = require(\"graphlib\");\n }\n catch (e) {\n // continue regardless of error\n }\n}\n\nif (!graphlib) {\n graphlib = window.graphlib;\n}\n\nmodule.exports = graphlib;\n" }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "index": 792, "index2": 855, "size": 12344, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "issuerId": 21, "issuerName": "./node_modules/dagre/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 98, "dependencies": 119 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/layout", "loc": "26:10-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar acyclic = require(\"./acyclic\");\nvar normalize = require(\"./normalize\");\nvar rank = require(\"./rank\");\nvar normalizeRanks = require(\"./util\").normalizeRanks;\nvar parentDummyChains = require(\"./parent-dummy-chains\");\nvar removeEmptyRanks = require(\"./util\").removeEmptyRanks;\nvar nestingGraph = require(\"./nesting-graph\");\nvar addBorderSegments = require(\"./add-border-segments\");\nvar coordinateSystem = require(\"./coordinate-system\");\nvar order = require(\"./order\");\nvar position = require(\"./position\");\nvar util = require(\"./util\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = layout;\n\nfunction layout(g, opts) {\n var time = opts && opts.debugTiming ? util.time : util.notime;\n time(\"layout\", function() {\n var layoutGraph = \n time(\" buildLayoutGraph\", function() { return buildLayoutGraph(g); });\n time(\" runLayout\", function() { runLayout(layoutGraph, time); });\n time(\" updateInputGraph\", function() { updateInputGraph(g, layoutGraph); });\n });\n}\n\nfunction runLayout(g, time) {\n time(\" makeSpaceForEdgeLabels\", function() { makeSpaceForEdgeLabels(g); });\n time(\" removeSelfEdges\", function() { removeSelfEdges(g); });\n time(\" acyclic\", function() { acyclic.run(g); });\n time(\" nestingGraph.run\", function() { nestingGraph.run(g); });\n time(\" rank\", function() { rank(util.asNonCompoundGraph(g)); });\n time(\" injectEdgeLabelProxies\", function() { injectEdgeLabelProxies(g); });\n time(\" removeEmptyRanks\", function() { removeEmptyRanks(g); });\n time(\" nestingGraph.cleanup\", function() { nestingGraph.cleanup(g); });\n time(\" normalizeRanks\", function() { normalizeRanks(g); });\n time(\" assignRankMinMax\", function() { assignRankMinMax(g); });\n time(\" removeEdgeLabelProxies\", function() { removeEdgeLabelProxies(g); });\n time(\" normalize.run\", function() { normalize.run(g); });\n time(\" parentDummyChains\", function() { parentDummyChains(g); });\n time(\" addBorderSegments\", function() { addBorderSegments(g); });\n time(\" order\", function() { order(g); });\n time(\" insertSelfEdges\", function() { insertSelfEdges(g); });\n time(\" adjustCoordinateSystem\", function() { coordinateSystem.adjust(g); });\n time(\" position\", function() { position(g); });\n time(\" positionSelfEdges\", function() { positionSelfEdges(g); });\n time(\" removeBorderNodes\", function() { removeBorderNodes(g); });\n time(\" normalize.undo\", function() { normalize.undo(g); });\n time(\" fixupEdgeLabelCoords\", function() { fixupEdgeLabelCoords(g); });\n time(\" undoCoordinateSystem\", function() { coordinateSystem.undo(g); });\n time(\" translateGraph\", function() { translateGraph(g); });\n time(\" assignNodeIntersects\", function() { assignNodeIntersects(g); });\n time(\" reversePoints\", function() { reversePointsForReversedEdges(g); });\n time(\" acyclic.undo\", function() { acyclic.undo(g); });\n}\n\n/*\n * Copies final layout information from the layout graph back to the input\n * graph. This process only copies whitelisted attributes from the layout graph\n * to the input graph, so it serves as a good place to determine what\n * attributes can influence layout.\n */\nfunction updateInputGraph(inputGraph, layoutGraph) {\n _.forEach(inputGraph.nodes(), function(v) {\n var inputLabel = inputGraph.node(v);\n var layoutLabel = layoutGraph.node(v);\n\n if (inputLabel) {\n inputLabel.x = layoutLabel.x;\n inputLabel.y = layoutLabel.y;\n\n if (layoutGraph.children(v).length) {\n inputLabel.width = layoutLabel.width;\n inputLabel.height = layoutLabel.height;\n }\n }\n });\n\n _.forEach(inputGraph.edges(), function(e) {\n var inputLabel = inputGraph.edge(e);\n var layoutLabel = layoutGraph.edge(e);\n\n inputLabel.points = layoutLabel.points;\n if (_.has(layoutLabel, \"x\")) {\n inputLabel.x = layoutLabel.x;\n inputLabel.y = layoutLabel.y;\n }\n });\n\n inputGraph.graph().width = layoutGraph.graph().width;\n inputGraph.graph().height = layoutGraph.graph().height;\n}\n\nvar graphNumAttrs = [\"nodesep\", \"edgesep\", \"ranksep\", \"marginx\", \"marginy\"];\nvar graphDefaults = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: \"tb\" };\nvar graphAttrs = [\"acyclicer\", \"ranker\", \"rankdir\", \"align\"];\nvar nodeNumAttrs = [\"width\", \"height\"];\nvar nodeDefaults = { width: 0, height: 0 };\nvar edgeNumAttrs = [\"minlen\", \"weight\", \"width\", \"height\", \"labeloffset\"];\nvar edgeDefaults = {\n minlen: 1, weight: 1, width: 0, height: 0,\n labeloffset: 10, labelpos: \"r\"\n};\nvar edgeAttrs = [\"labelpos\"];\n\n/*\n * Constructs a new graph from the input graph, which can be used for layout.\n * This process copies only whitelisted attributes from the input graph to the\n * layout graph. Thus this function serves as a good place to determine what\n * attributes can influence layout.\n */\nfunction buildLayoutGraph(inputGraph) {\n var g = new Graph({ multigraph: true, compound: true });\n var graph = canonicalize(inputGraph.graph());\n\n g.setGraph(_.merge({},\n graphDefaults,\n selectNumberAttrs(graph, graphNumAttrs),\n _.pick(graph, graphAttrs)));\n\n _.forEach(inputGraph.nodes(), function(v) {\n var node = canonicalize(inputGraph.node(v));\n g.setNode(v, _.defaults(selectNumberAttrs(node, nodeNumAttrs), nodeDefaults));\n g.setParent(v, inputGraph.parent(v));\n });\n\n _.forEach(inputGraph.edges(), function(e) {\n var edge = canonicalize(inputGraph.edge(e));\n g.setEdge(e, _.merge({},\n edgeDefaults,\n selectNumberAttrs(edge, edgeNumAttrs),\n _.pick(edge, edgeAttrs)));\n });\n\n return g;\n}\n\n/*\n * This idea comes from the Gansner paper: to account for edge labels in our\n * layout we split each rank in half by doubling minlen and halving ranksep.\n * Then we can place labels at these mid-points between nodes.\n *\n * We also add some minimal padding to the width to push the label for the edge\n * away from the edge itself a bit.\n */\nfunction makeSpaceForEdgeLabels(g) {\n var graph = g.graph();\n graph.ranksep /= 2;\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n edge.minlen *= 2;\n if (edge.labelpos.toLowerCase() !== \"c\") {\n if (graph.rankdir === \"TB\" || graph.rankdir === \"BT\") {\n edge.width += edge.labeloffset;\n } else {\n edge.height += edge.labeloffset;\n }\n }\n });\n}\n\n/*\n * Creates temporary dummy nodes that capture the rank in which each edge's\n * label is going to, if it has one of non-zero width and height. We do this\n * so that we can safely remove empty ranks while preserving balance for the\n * label's position.\n */\nfunction injectEdgeLabelProxies(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.width && edge.height) {\n var v = g.node(e.v);\n var w = g.node(e.w);\n var label = { rank: (w.rank - v.rank) / 2 + v.rank, e: e };\n util.addDummyNode(g, \"edge-proxy\", label, \"_ep\");\n }\n });\n}\n\nfunction assignRankMinMax(g) {\n var maxRank = 0;\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.borderTop) {\n node.minRank = g.node(node.borderTop).rank;\n node.maxRank = g.node(node.borderBottom).rank;\n maxRank = _.max(maxRank, node.maxRank);\n }\n });\n g.graph().maxRank = maxRank;\n}\n\nfunction removeEdgeLabelProxies(g) {\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.dummy === \"edge-proxy\") {\n g.edge(node.e).labelRank = node.rank;\n g.removeNode(v);\n }\n });\n}\n\nfunction translateGraph(g) {\n var minX = Number.POSITIVE_INFINITY;\n var maxX = 0;\n var minY = Number.POSITIVE_INFINITY;\n var maxY = 0;\n var graphLabel = g.graph();\n var marginX = graphLabel.marginx || 0;\n var marginY = graphLabel.marginy || 0;\n\n function getExtremes(attrs) {\n var x = attrs.x;\n var y = attrs.y;\n var w = attrs.width;\n var h = attrs.height;\n minX = Math.min(minX, x - w / 2);\n maxX = Math.max(maxX, x + w / 2);\n minY = Math.min(minY, y - h / 2);\n maxY = Math.max(maxY, y + h / 2);\n }\n\n _.forEach(g.nodes(), function(v) { getExtremes(g.node(v)); });\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (_.has(edge, \"x\")) {\n getExtremes(edge);\n }\n });\n\n minX -= marginX;\n minY -= marginY;\n\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n node.x -= minX;\n node.y -= minY;\n });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, function(p) {\n p.x -= minX;\n p.y -= minY;\n });\n if (_.has(edge, \"x\")) { edge.x -= minX; }\n if (_.has(edge, \"y\")) { edge.y -= minY; }\n });\n\n graphLabel.width = maxX - minX + marginX;\n graphLabel.height = maxY - minY + marginY;\n}\n\nfunction assignNodeIntersects(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n var nodeV = g.node(e.v);\n var nodeW = g.node(e.w);\n var p1, p2;\n if (!edge.points) {\n edge.points = [];\n p1 = nodeW;\n p2 = nodeV;\n } else {\n p1 = edge.points[0];\n p2 = edge.points[edge.points.length - 1];\n }\n edge.points.unshift(util.intersectRect(nodeV, p1));\n edge.points.push(util.intersectRect(nodeW, p2));\n });\n}\n\nfunction fixupEdgeLabelCoords(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (_.has(edge, \"x\")) {\n if (edge.labelpos === \"l\" || edge.labelpos === \"r\") {\n edge.width -= edge.labeloffset;\n }\n switch (edge.labelpos) {\n case \"l\": edge.x -= edge.width / 2 + edge.labeloffset; break;\n case \"r\": edge.x += edge.width / 2 + edge.labeloffset; break;\n }\n }\n });\n}\n\nfunction reversePointsForReversedEdges(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.reversed) {\n edge.points.reverse();\n }\n });\n}\n\nfunction removeBorderNodes(g) {\n _.forEach(g.nodes(), function(v) {\n if (g.children(v).length) {\n var node = g.node(v);\n var t = g.node(node.borderTop);\n var b = g.node(node.borderBottom);\n var l = g.node(_.last(node.borderLeft));\n var r = g.node(_.last(node.borderRight));\n\n node.width = Math.abs(r.x - l.x);\n node.height = Math.abs(b.y - t.y);\n node.x = l.x + node.width / 2;\n node.y = t.y + node.height / 2;\n }\n });\n\n _.forEach(g.nodes(), function(v) {\n if (g.node(v).dummy === \"border\") {\n g.removeNode(v);\n }\n });\n}\n\nfunction removeSelfEdges(g) {\n _.forEach(g.edges(), function(e) {\n if (e.v === e.w) {\n var node = g.node(e.v);\n if (!node.selfEdges) {\n node.selfEdges = [];\n }\n node.selfEdges.push({ e: e, label: g.edge(e) });\n g.removeEdge(e);\n }\n });\n}\n\nfunction insertSelfEdges(g) {\n var layers = util.buildLayerMatrix(g);\n _.forEach(layers, function(layer) {\n var orderShift = 0;\n _.forEach(layer, function(v, i) {\n var node = g.node(v);\n node.order = i + orderShift;\n _.forEach(node.selfEdges, function(selfEdge) {\n util.addDummyNode(g, \"selfedge\", {\n width: selfEdge.label.width,\n height: selfEdge.label.height,\n rank: node.rank,\n order: i + (++orderShift),\n e: selfEdge.e,\n label: selfEdge.label\n }, \"_se\");\n });\n delete node.selfEdges;\n });\n });\n}\n\nfunction positionSelfEdges(g) {\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.dummy === \"selfedge\") {\n var selfNode = g.node(node.e.v);\n var x = selfNode.x + selfNode.width / 2;\n var y = selfNode.y;\n var dx = node.x - x;\n var dy = selfNode.height / 2;\n g.setEdge(node.e, node.label);\n g.removeNode(v);\n node.label.points = [\n { x: x + 2 * dx / 3, y: y - dy },\n { x: x + 5 * dx / 6, y: y - dy },\n { x: x + dx , y: y },\n { x: x + 5 * dx / 6, y: y + dy },\n { x: x + 2 * dx / 3, y: y + dy }\n ];\n node.label.x = node.x;\n node.label.y = node.y;\n }\n });\n}\n\nfunction selectNumberAttrs(obj, attrs) {\n return _.mapValues(_.pick(obj, attrs), Number);\n}\n\nfunction canonicalize(attrs) {\n var newAttrs = {};\n _.forEach(attrs, function(v, k) {\n newAttrs[k.toLowerCase()] = v;\n });\n return newAttrs;\n}\n" }, { "id": 283, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/cloneDeep.js", "name": "./node_modules/lodash/cloneDeep.js", "index": 794, "index2": 786, "size": 679, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/cloneDeep", "loc": "8:17-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n" }, { "id": 284, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "name": "./node_modules/lodash/find.js", "index": 797, "index2": 794, "size": 1304, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/find", "loc": "13:12-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var createFind = require('./_createFind'),\n findIndex = require('./findIndex');\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n" }, { "id": 285, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createFind.js", "name": "./node_modules/lodash/_createFind.js", "index": 798, "index2": 789, "size": 853, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "issuerId": 284, "issuerName": "./node_modules/lodash/find.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 284, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "name": "./node_modules/lodash/find.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 68, "building": 33, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 284, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "module": "./node_modules/lodash/find.js", "moduleName": "./node_modules/lodash/find.js", "type": "cjs require", "userRequest": "./_createFind", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseIteratee = require('./_baseIteratee'),\n isArrayLike = require('./isArrayLike'),\n keys = require('./keys');\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n}\n\nmodule.exports = createFind;\n" }, { "id": 286, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "name": "./node_modules/lodash/findIndex.js", "index": 799, "index2": 793, "size": 1654, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "issuerId": 284, "issuerName": "./node_modules/lodash/find.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 284, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "name": "./node_modules/lodash/find.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 68, "building": 33, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 284, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "module": "./node_modules/lodash/find.js", "moduleName": "./node_modules/lodash/find.js", "type": "cjs require", "userRequest": "./findIndex", "loc": "2:16-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n" }, { "id": 287, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toInteger.js", "name": "./node_modules/lodash/toInteger.js", "index": 800, "index2": 792, "size": 760, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "issuerId": 286, "issuerName": "./node_modules/lodash/findIndex.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 284, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "name": "./node_modules/lodash/find.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 286, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "name": "./node_modules/lodash/findIndex.js", "profile": { "factory": 68, "building": 33, "dependencies": 1 } } ], "profile": { "factory": 55, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 286, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "module": "./node_modules/lodash/findIndex.js", "moduleName": "./node_modules/lodash/findIndex.js", "type": "cjs require", "userRequest": "./toInteger", "loc": "3:16-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n" }, { "id": 288, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toNumber.js", "name": "./node_modules/lodash/toNumber.js", "index": 802, "index2": 790, "size": 1572, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toFinite.js", "issuerId": 138, "issuerName": "./node_modules/lodash/toFinite.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 145, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "name": "./node_modules/lodash/range.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 306, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "name": "./node_modules/lodash/_createRange.js", "profile": { "factory": 79, "building": 18, "dependencies": 2 } }, { "id": 138, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toFinite.js", "name": "./node_modules/lodash/toFinite.js", "profile": { "factory": 81, "building": 21 } } ], "profile": { "factory": 58, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 138, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toFinite.js", "module": "./node_modules/lodash/toFinite.js", "moduleName": "./node_modules/lodash/toFinite.js", "type": "cjs require", "userRequest": "./toNumber", "loc": "1:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n" }, { "id": 289, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "name": "./node_modules/lodash/forIn.js", "index": 804, "index2": 796, "size": 1065, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/forIn", "loc": "16:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseFor = require('./_baseFor'),\n castFunction = require('./_castFunction'),\n keysIn = require('./keysIn');\n\n/**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\nfunction forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, castFunction(iteratee), keysIn);\n}\n\nmodule.exports = forIn;\n" }, { "id": 290, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/last.js", "name": "./node_modules/lodash/last.js", "index": 805, "index2": 797, "size": 401, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/last", "loc": "19:12-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n" }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "index": 806, "index2": 798, "size": 1338, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/mapValues", "loc": "21:17-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseAssignValue = require('./_baseAssignValue'),\n baseForOwn = require('./_baseForOwn'),\n baseIteratee = require('./_baseIteratee');\n\n/**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\nfunction mapValues(object, iteratee) {\n var result = {};\n iteratee = baseIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n}\n\nmodule.exports = mapValues;\n" }, { "id": 292, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "name": "./node_modules/lodash/max.js", "index": 807, "index2": 801, "size": 614, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/max", "loc": "22:11-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseExtremum = require('./_baseExtremum'),\n baseGt = require('./_baseGt'),\n identity = require('./identity');\n\n/**\n * Computes the maximum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the maximum value.\n * @example\n *\n * _.max([4, 2, 8, 6]);\n * // => 8\n *\n * _.max([]);\n * // => undefined\n */\nfunction max(array) {\n return (array && array.length)\n ? baseExtremum(array, identity, baseGt)\n : undefined;\n}\n\nmodule.exports = max;\n" }, { "id": 293, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGt.js", "name": "./node_modules/lodash/_baseGt.js", "index": 809, "index2": 800, "size": 357, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "issuerId": 292, "issuerName": "./node_modules/lodash/max.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 292, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "name": "./node_modules/lodash/max.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 73, "building": 27 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 292, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "module": "./node_modules/lodash/max.js", "moduleName": "./node_modules/lodash/max.js", "type": "cjs require", "userRequest": "./_baseGt", "loc": "2:13-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\nfunction baseGt(value, other) {\n return value > other;\n}\n\nmodule.exports = baseGt;\n" }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "index": 810, "index2": 809, "size": 1220, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/merge", "loc": "23:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseMerge = require('./_baseMerge'),\n createAssigner = require('./_createAssigner');\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n" }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "index": 811, "index2": 807, "size": 1328, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "issuerId": 294, "issuerName": "./node_modules/lodash/merge.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 74, "building": 27, "dependencies": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 294, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "module": "./node_modules/lodash/merge.js", "moduleName": "./node_modules/lodash/merge.js", "type": "cjs require", "userRequest": "./_baseMerge", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n" }, { "id": 296, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "name": "./node_modules/lodash/_baseMergeDeep.js", "index": 813, "index2": 806, "size": 3069, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "issuerId": 295, "issuerName": "./node_modules/lodash/_baseMerge.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "profile": { "factory": 74, "building": 27, "dependencies": 37 } } ], "profile": { "factory": 65, "building": 23, "dependencies": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./_baseMergeDeep", "loc": "4:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var assignMergeValue = require('./_assignMergeValue'),\n cloneBuffer = require('./_cloneBuffer'),\n cloneTypedArray = require('./_cloneTypedArray'),\n copyArray = require('./_copyArray'),\n initCloneObject = require('./_initCloneObject'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isPlainObject = require('./isPlainObject'),\n isTypedArray = require('./isTypedArray'),\n safeGet = require('./_safeGet'),\n toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n" }, { "id": 297, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toPlainObject.js", "name": "./node_modules/lodash/toPlainObject.js", "index": 816, "index2": 805, "size": 744, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "issuerId": 296, "issuerName": "./node_modules/lodash/_baseMergeDeep.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "profile": { "factory": 74, "building": 27, "dependencies": 37 } }, { "id": 296, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "name": "./node_modules/lodash/_baseMergeDeep.js", "profile": { "factory": 65, "building": 23, "dependencies": 15 } } ], "profile": { "factory": 66, "building": 38, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./toPlainObject", "loc": "15:20-46" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n" }, { "id": 298, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createAssigner.js", "name": "./node_modules/lodash/_createAssigner.js", "index": 817, "index2": 808, "size": 1042, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "issuerId": 294, "issuerName": "./node_modules/lodash/merge.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 74, "building": 27, "dependencies": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 294, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "module": "./node_modules/lodash/merge.js", "moduleName": "./node_modules/lodash/merge.js", "type": "cjs require", "userRequest": "./_createAssigner", "loc": "2:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n" }, { "id": 299, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/min.js", "name": "./node_modules/lodash/min.js", "index": 818, "index2": 811, "size": 614, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/min", "loc": "24:11-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseExtremum = require('./_baseExtremum'),\n baseLt = require('./_baseLt'),\n identity = require('./identity');\n\n/**\n * Computes the minimum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * _.min([4, 2, 8, 6]);\n * // => 2\n *\n * _.min([]);\n * // => undefined\n */\nfunction min(array) {\n return (array && array.length)\n ? baseExtremum(array, identity, baseLt)\n : undefined;\n}\n\nmodule.exports = min;\n" }, { "id": 300, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "name": "./node_modules/lodash/minBy.js", "index": 820, "index2": 812, "size": 991, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/minBy", "loc": "25:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseExtremum = require('./_baseExtremum'),\n baseIteratee = require('./_baseIteratee'),\n baseLt = require('./_baseLt');\n\n/**\n * This method is like `_.min` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * the value is ranked. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * _.minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * // The `_.property` iteratee shorthand.\n * _.minBy(objects, 'n');\n * // => { 'n': 1 }\n */\nfunction minBy(array, iteratee) {\n return (array && array.length)\n ? baseExtremum(array, baseIteratee(iteratee, 2), baseLt)\n : undefined;\n}\n\nmodule.exports = minBy;\n" }, { "id": 301, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "name": "./node_modules/lodash/now.js", "index": 821, "index2": 813, "size": 520, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/now", "loc": "26:11-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n" }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "index": 823, "index2": 816, "size": 501, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "issuerId": 144, "issuerName": "./node_modules/lodash/pick.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 68, "building": 40, "dependencies": 46 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 144, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "module": "./node_modules/lodash/pick.js", "moduleName": "./node_modules/lodash/pick.js", "type": "cjs require", "userRequest": "./_basePick", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var basePickBy = require('./_basePickBy'),\n hasIn = require('./hasIn');\n\n/**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\nfunction basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n}\n\nmodule.exports = basePick;\n" }, { "id": 303, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "name": "./node_modules/lodash/_basePickBy.js", "index": 824, "index2": 815, "size": 791, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "issuerId": 302, "issuerName": "./node_modules/lodash/_basePick.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "profile": { "factory": 68, "building": 40, "dependencies": 46 } } ], "profile": { "factory": 62, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 302, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "module": "./node_modules/lodash/_basePick.js", "moduleName": "./node_modules/lodash/_basePick.js", "type": "cjs require", "userRequest": "./_basePickBy", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGet = require('./_baseGet'),\n baseSet = require('./_baseSet'),\n castPath = require('./_castPath');\n\n/**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n}\n\nmodule.exports = basePickBy;\n" }, { "id": 304, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "name": "./node_modules/lodash/_baseSet.js", "index": 825, "index2": 814, "size": 1278, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "issuerId": 303, "issuerName": "./node_modules/lodash/_basePickBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "profile": { "factory": 68, "building": 40, "dependencies": 46 } }, { "id": 303, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "name": "./node_modules/lodash/_basePickBy.js", "profile": { "factory": 62, "building": 23, "dependencies": 0 } } ], "profile": { "factory": 63, "building": 25, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 303, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "module": "./node_modules/lodash/_basePickBy.js", "moduleName": "./node_modules/lodash/_basePickBy.js", "type": "cjs require", "userRequest": "./_baseSet", "loc": "2:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var assignValue = require('./_assignValue'),\n castPath = require('./_castPath'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\nfunction baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n}\n\nmodule.exports = baseSet;\n" }, { "id": 305, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_flatRest.js", "name": "./node_modules/lodash/_flatRest.js", "index": 826, "index2": 817, "size": 457, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "issuerId": 144, "issuerName": "./node_modules/lodash/pick.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 68, "building": 40, "dependencies": 46 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 144, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "module": "./node_modules/lodash/pick.js", "moduleName": "./node_modules/lodash/pick.js", "type": "cjs require", "userRequest": "./_flatRest", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n" }, { "id": 306, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "name": "./node_modules/lodash/_createRange.js", "index": 828, "index2": 820, "size": 864, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "issuerId": 145, "issuerName": "./node_modules/lodash/range.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 145, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "name": "./node_modules/lodash/range.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 79, "building": 18, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 145, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "module": "./node_modules/lodash/range.js", "moduleName": "./node_modules/lodash/range.js", "type": "cjs require", "userRequest": "./_createRange", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseRange = require('./_baseRange'),\n isIterateeCall = require('./_isIterateeCall'),\n toFinite = require('./toFinite');\n\n/**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\nfunction createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n}\n\nmodule.exports = createRange;\n" }, { "id": 307, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRange.js", "name": "./node_modules/lodash/_baseRange.js", "index": 829, "index2": 819, "size": 850, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "issuerId": 306, "issuerName": "./node_modules/lodash/_createRange.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 145, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "name": "./node_modules/lodash/range.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 306, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "name": "./node_modules/lodash/_createRange.js", "profile": { "factory": 79, "building": 18, "dependencies": 2 } } ], "profile": { "factory": 81, "building": 21 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 306, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "module": "./node_modules/lodash/_createRange.js", "moduleName": "./node_modules/lodash/_createRange.js", "type": "cjs require", "userRequest": "./_baseRange", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\nfunction baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n}\n\nmodule.exports = baseRange;\n" }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "index": 830, "index2": 826, "size": 1668, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/sortBy", "loc": "30:14-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseFlatten = require('./_baseFlatten'),\n baseOrderBy = require('./_baseOrderBy'),\n baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]\n */\nvar sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n});\n\nmodule.exports = sortBy;\n" }, { "id": 309, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "name": "./node_modules/lodash/_baseOrderBy.js", "index": 831, "index2": 825, "size": 1196, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "issuerId": 308, "issuerName": "./node_modules/lodash/sortBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 76, "building": 23, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 308, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "module": "./node_modules/lodash/sortBy.js", "moduleName": "./node_modules/lodash/sortBy.js", "type": "cjs require", "userRequest": "./_baseOrderBy", "loc": "2:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n baseSortBy = require('./_baseSortBy'),\n baseUnary = require('./_baseUnary'),\n compareMultiple = require('./_compareMultiple'),\n identity = require('./identity');\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n var index = -1;\n iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(baseIteratee));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n}\n\nmodule.exports = baseOrderBy;\n" }, { "id": 310, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSortBy.js", "name": "./node_modules/lodash/_baseSortBy.js", "index": 832, "index2": 822, "size": 543, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "issuerId": 309, "issuerName": "./node_modules/lodash/_baseOrderBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 309, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "name": "./node_modules/lodash/_baseOrderBy.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } } ], "profile": { "factory": 61, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_baseSortBy", "loc": "4:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n}\n\nmodule.exports = baseSortBy;\n" }, { "id": 311, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareMultiple.js", "name": "./node_modules/lodash/_compareMultiple.js", "index": 833, "index2": 824, "size": 1599, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "issuerId": 309, "issuerName": "./node_modules/lodash/_baseOrderBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 309, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "name": "./node_modules/lodash/_baseOrderBy.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } } ], "profile": { "factory": 61, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_compareMultiple", "loc": "6:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var compareAscending = require('./_compareAscending');\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n}\n\nmodule.exports = compareMultiple;\n" }, { "id": 312, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareAscending.js", "name": "./node_modules/lodash/_compareAscending.js", "index": 834, "index2": 823, "size": 1343, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareMultiple.js", "issuerId": 311, "issuerName": "./node_modules/lodash/_compareMultiple.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 309, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "name": "./node_modules/lodash/_baseOrderBy.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } }, { "id": 311, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareMultiple.js", "name": "./node_modules/lodash/_compareMultiple.js", "profile": { "factory": 61, "building": 28 } } ], "profile": { "factory": 62, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 311, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareMultiple.js", "module": "./node_modules/lodash/_compareMultiple.js", "moduleName": "./node_modules/lodash/_compareMultiple.js", "type": "cjs require", "userRequest": "./_compareAscending", "loc": "1:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var isSymbol = require('./isSymbol');\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n}\n\nmodule.exports = compareAscending;\n" }, { "id": 313, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "name": "./node_modules/lodash/zipObject.js", "index": 836, "index2": 829, "size": 664, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/zipObject", "loc": "33:17-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var assignValue = require('./_assignValue'),\n baseZipObject = require('./_baseZipObject');\n\n/**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\nfunction zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n}\n\nmodule.exports = zipObject;\n" }, { "id": 314, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseZipObject.js", "name": "./node_modules/lodash/_baseZipObject.js", "index": 837, "index2": 828, "size": 660, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "issuerId": 313, "issuerName": "./node_modules/lodash/zipObject.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 313, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "name": "./node_modules/lodash/zipObject.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 129, "building": 19, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 313, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "module": "./node_modules/lodash/zipObject.js", "moduleName": "./node_modules/lodash/zipObject.js", "type": "cjs require", "userRequest": "./_baseZipObject", "loc": "2:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\nfunction baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n}\n\nmodule.exports = baseZipObject;\n" }, { "id": 315, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "name": "./node_modules/dagre/lib/acyclic.js", "index": 838, "index2": 833, "size": 1242, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./acyclic", "loc": "4:14-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar greedyFAS = require(\"./greedy-fas\");\n\nmodule.exports = {\n run: run,\n undo: undo\n};\n\nfunction run(g) {\n var fas = (g.graph().acyclicer === \"greedy\"\n ? greedyFAS(g, weightFn(g))\n : dfsFAS(g));\n _.forEach(fas, function(e) {\n var label = g.edge(e);\n g.removeEdge(e);\n label.forwardName = e.name;\n label.reversed = true;\n g.setEdge(e.w, e.v, label, _.uniqueId(\"rev\"));\n });\n\n function weightFn(g) {\n return function(e) {\n return g.edge(e).weight;\n };\n }\n}\n\nfunction dfsFAS(g) {\n var fas = [];\n var stack = {};\n var visited = {};\n\n function dfs(v) {\n if (_.has(visited, v)) {\n return;\n }\n visited[v] = true;\n stack[v] = true;\n _.forEach(g.outEdges(v), function(e) {\n if (_.has(stack, e.w)) {\n fas.push(e);\n } else {\n dfs(e.w);\n }\n });\n delete stack[v];\n }\n\n _.forEach(g.nodes(), dfs);\n return fas;\n}\n\nfunction undo(g) {\n _.forEach(g.edges(), function(e) {\n var label = g.edge(e);\n if (label.reversed) {\n g.removeEdge(e);\n\n var forwardName = label.forwardName;\n delete label.reversed;\n delete label.forwardName;\n g.setEdge(e.w, e.v, label, forwardName);\n }\n });\n}\n" }, { "id": 316, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "name": "./node_modules/dagre/lib/greedy-fas.js", "index": 839, "index2": 832, "size": 3370, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "issuerId": 315, "issuerName": "./node_modules/dagre/lib/acyclic.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 315, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "name": "./node_modules/dagre/lib/acyclic.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 79, "building": 18, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 315, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "module": "./node_modules/dagre/lib/acyclic.js", "moduleName": "./node_modules/dagre/lib/acyclic.js", "type": "cjs require", "userRequest": "./greedy-fas", "loc": "4:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"./lodash\");\nvar Graph = require(\"./graphlib\").Graph;\nvar List = require(\"./data/list\");\n\n/*\n * A greedy heuristic for finding a feedback arc set for a graph. A feedback\n * arc set is a set of edges that can be removed to make a graph acyclic.\n * The algorithm comes from: P. Eades, X. Lin, and W. F. Smyth, \"A fast and\n * effective heuristic for the feedback arc set problem.\" This implementation\n * adjusts that from the paper to allow for weighted edges.\n */\nmodule.exports = greedyFAS;\n\nvar DEFAULT_WEIGHT_FN = _.constant(1);\n\nfunction greedyFAS(g, weightFn) {\n if (g.nodeCount() <= 1) {\n return [];\n }\n var state = buildState(g, weightFn || DEFAULT_WEIGHT_FN);\n var results = doGreedyFAS(state.graph, state.buckets, state.zeroIdx);\n\n // Expand multi-edges\n return _.flatten(_.map(results, function(e) {\n return g.outEdges(e.v, e.w);\n }), true);\n}\n\nfunction doGreedyFAS(g, buckets, zeroIdx) {\n var results = [];\n var sources = buckets[buckets.length - 1];\n var sinks = buckets[0];\n\n var entry;\n while (g.nodeCount()) {\n while ((entry = sinks.dequeue())) { removeNode(g, buckets, zeroIdx, entry); }\n while ((entry = sources.dequeue())) { removeNode(g, buckets, zeroIdx, entry); }\n if (g.nodeCount()) {\n for (var i = buckets.length - 2; i > 0; --i) {\n entry = buckets[i].dequeue();\n if (entry) {\n results = results.concat(removeNode(g, buckets, zeroIdx, entry, true));\n break;\n }\n }\n }\n }\n\n return results;\n}\n\nfunction removeNode(g, buckets, zeroIdx, entry, collectPredecessors) {\n var results = collectPredecessors ? [] : undefined;\n\n _.forEach(g.inEdges(entry.v), function(edge) {\n var weight = g.edge(edge);\n var uEntry = g.node(edge.v);\n\n if (collectPredecessors) {\n results.push({ v: edge.v, w: edge.w });\n }\n\n uEntry.out -= weight;\n assignBucket(buckets, zeroIdx, uEntry);\n });\n\n _.forEach(g.outEdges(entry.v), function(edge) {\n var weight = g.edge(edge);\n var w = edge.w;\n var wEntry = g.node(w);\n wEntry[\"in\"] -= weight;\n assignBucket(buckets, zeroIdx, wEntry);\n });\n\n g.removeNode(entry.v);\n\n return results;\n}\n\nfunction buildState(g, weightFn) {\n var fasGraph = new Graph();\n var maxIn = 0;\n var maxOut = 0;\n\n _.forEach(g.nodes(), function(v) {\n fasGraph.setNode(v, { v: v, \"in\": 0, out: 0 });\n });\n\n // Aggregate weights on nodes, but also sum the weights across multi-edges\n // into a single edge for the fasGraph.\n _.forEach(g.edges(), function(e) {\n var prevWeight = fasGraph.edge(e.v, e.w) || 0;\n var weight = weightFn(e);\n var edgeWeight = prevWeight + weight;\n fasGraph.setEdge(e.v, e.w, edgeWeight);\n maxOut = Math.max(maxOut, fasGraph.node(e.v).out += weight);\n maxIn = Math.max(maxIn, fasGraph.node(e.w)[\"in\"] += weight);\n });\n\n var buckets = _.range(maxOut + maxIn + 3).map(function() { return new List(); });\n var zeroIdx = maxIn + 1;\n\n _.forEach(fasGraph.nodes(), function(v) {\n assignBucket(buckets, zeroIdx, fasGraph.node(v));\n });\n\n return { graph: fasGraph, buckets: buckets, zeroIdx: zeroIdx };\n}\n\nfunction assignBucket(buckets, zeroIdx, entry) {\n if (!entry.out) {\n buckets[0].enqueue(entry);\n } else if (!entry[\"in\"]) {\n buckets[buckets.length - 1].enqueue(entry);\n } else {\n buckets[entry.out - entry[\"in\"] + zeroIdx].enqueue(entry);\n }\n}\n" }, { "id": 317, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/data/list.js", "name": "./node_modules/dagre/lib/data/list.js", "index": 840, "index2": 831, "size": 1188, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "issuerId": 316, "issuerName": "./node_modules/dagre/lib/greedy-fas.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 315, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "name": "./node_modules/dagre/lib/acyclic.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 316, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "name": "./node_modules/dagre/lib/greedy-fas.js", "profile": { "factory": 79, "building": 18, "dependencies": 2 } } ], "profile": { "factory": 86, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 316, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "module": "./node_modules/dagre/lib/greedy-fas.js", "moduleName": "./node_modules/dagre/lib/greedy-fas.js", "type": "cjs require", "userRequest": "./data/list", "loc": "3:11-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/*\n * Simple doubly linked list implementation derived from Cormen, et al.,\n * \"Introduction to Algorithms\".\n */\n\nmodule.exports = List;\n\nfunction List() {\n var sentinel = {};\n sentinel._next = sentinel._prev = sentinel;\n this._sentinel = sentinel;\n}\n\nList.prototype.dequeue = function() {\n var sentinel = this._sentinel;\n var entry = sentinel._prev;\n if (entry !== sentinel) {\n unlink(entry);\n return entry;\n }\n};\n\nList.prototype.enqueue = function(entry) {\n var sentinel = this._sentinel;\n if (entry._prev && entry._next) {\n unlink(entry);\n }\n entry._next = sentinel._next;\n sentinel._next._prev = entry;\n sentinel._next = entry;\n entry._prev = sentinel;\n};\n\nList.prototype.toString = function() {\n var strs = [];\n var sentinel = this._sentinel;\n var curr = sentinel._prev;\n while (curr !== sentinel) {\n strs.push(JSON.stringify(curr, filterOutLinks));\n curr = curr._prev;\n }\n return \"[\" + strs.join(\", \") + \"]\";\n};\n\nfunction unlink(entry) {\n entry._prev._next = entry._next;\n entry._next._prev = entry._prev;\n delete entry._next;\n delete entry._prev;\n}\n\nfunction filterOutLinks(k, v) {\n if (k !== \"_next\" && k !== \"_prev\") {\n return v;\n }\n}\n" }, { "id": 318, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/normalize.js", "name": "./node_modules/dagre/lib/normalize.js", "index": 841, "index2": 835, "size": 2279, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./normalize", "loc": "5:16-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = {\n run: run,\n undo: undo\n};\n\n/*\n * Breaks any long edges in the graph into short segments that span 1 layer\n * each. This operation is undoable with the denormalize function.\n *\n * Pre-conditions:\n *\n * 1. The input graph is a DAG.\n * 2. Each node in the graph has a \"rank\" property.\n *\n * Post-condition:\n *\n * 1. All edges in the graph have a length of 1.\n * 2. Dummy nodes are added where edges have been split into segments.\n * 3. The graph is augmented with a \"dummyChains\" attribute which contains\n * the first dummy in each chain of dummy nodes produced.\n */\nfunction run(g) {\n g.graph().dummyChains = [];\n _.forEach(g.edges(), function(edge) { normalizeEdge(g, edge); });\n}\n\nfunction normalizeEdge(g, e) {\n var v = e.v;\n var vRank = g.node(v).rank;\n var w = e.w;\n var wRank = g.node(w).rank;\n var name = e.name;\n var edgeLabel = g.edge(e);\n var labelRank = edgeLabel.labelRank;\n\n if (wRank === vRank + 1) return;\n\n g.removeEdge(e);\n\n var dummy, attrs, i;\n for (i = 0, ++vRank; vRank < wRank; ++i, ++vRank) {\n edgeLabel.points = [];\n attrs = {\n width: 0, height: 0,\n edgeLabel: edgeLabel, edgeObj: e,\n rank: vRank\n };\n dummy = util.addDummyNode(g, \"edge\", attrs, \"_d\");\n if (vRank === labelRank) {\n attrs.width = edgeLabel.width;\n attrs.height = edgeLabel.height;\n attrs.dummy = \"edge-label\";\n attrs.labelpos = edgeLabel.labelpos;\n }\n g.setEdge(v, dummy, { weight: edgeLabel.weight }, name);\n if (i === 0) {\n g.graph().dummyChains.push(dummy);\n }\n v = dummy;\n }\n\n g.setEdge(v, w, { weight: edgeLabel.weight }, name);\n}\n\nfunction undo(g) {\n _.forEach(g.graph().dummyChains, function(v) {\n var node = g.node(v);\n var origLabel = node.edgeLabel;\n var w;\n g.setEdge(node.edgeObj, origLabel);\n while (node.dummy) {\n w = g.successors(v)[0];\n g.removeNode(v);\n origLabel.points.push({ x: node.x, y: node.y });\n if (node.dummy === \"edge-label\") {\n origLabel.x = node.x;\n origLabel.y = node.y;\n origLabel.width = node.width;\n origLabel.height = node.height;\n }\n v = w;\n node = g.node(v);\n }\n });\n}\n" }, { "id": 319, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "name": "./node_modules/dagre/lib/rank/index.js", "index": 843, "index2": 839, "size": 1302, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./rank", "loc": "6:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar rankUtil = require(\"./util\");\nvar longestPath = rankUtil.longestPath;\nvar feasibleTree = require(\"./feasible-tree\");\nvar networkSimplex = require(\"./network-simplex\");\n\nmodule.exports = rank;\n\n/*\n * Assigns a rank to each node in the input graph that respects the \"minlen\"\n * constraint specified on edges between nodes.\n *\n * This basic structure is derived from Gansner, et al., \"A Technique for\n * Drawing Directed Graphs.\"\n *\n * Pre-conditions:\n *\n * 1. Graph must be a connected DAG\n * 2. Graph nodes must be objects\n * 3. Graph edges must have \"weight\" and \"minlen\" attributes\n *\n * Post-conditions:\n *\n * 1. Graph nodes will have a \"rank\" attribute based on the results of the\n * algorithm. Ranks can start at any index (including negative), we'll\n * fix them up later.\n */\nfunction rank(g) {\n switch(g.graph().ranker) {\n case \"network-simplex\": networkSimplexRanker(g); break;\n case \"tight-tree\": tightTreeRanker(g); break;\n case \"longest-path\": longestPathRanker(g); break;\n default: networkSimplexRanker(g);\n }\n}\n\n// A fast and simple ranker, but results are far from optimal.\nvar longestPathRanker = longestPath;\n\nfunction tightTreeRanker(g) {\n longestPath(g);\n feasibleTree(g);\n}\n\nfunction networkSimplexRanker(g) {\n networkSimplex(g);\n}\n" }, { "id": 320, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "name": "./node_modules/dagre/lib/rank/network-simplex.js", "index": 846, "index2": 838, "size": 6706, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "issuerId": 319, "issuerName": "./node_modules/dagre/lib/rank/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 319, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "name": "./node_modules/dagre/lib/rank/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 85, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 319, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "module": "./node_modules/dagre/lib/rank/index.js", "moduleName": "./node_modules/dagre/lib/rank/index.js", "type": "cjs require", "userRequest": "./network-simplex", "loc": "6:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar feasibleTree = require(\"./feasible-tree\");\nvar slack = require(\"./util\").slack;\nvar initRank = require(\"./util\").longestPath;\nvar preorder = require(\"../graphlib\").alg.preorder;\nvar postorder = require(\"../graphlib\").alg.postorder;\nvar simplify = require(\"../util\").simplify;\n\nmodule.exports = networkSimplex;\n\n// Expose some internals for testing purposes\nnetworkSimplex.initLowLimValues = initLowLimValues;\nnetworkSimplex.initCutValues = initCutValues;\nnetworkSimplex.calcCutValue = calcCutValue;\nnetworkSimplex.leaveEdge = leaveEdge;\nnetworkSimplex.enterEdge = enterEdge;\nnetworkSimplex.exchangeEdges = exchangeEdges;\n\n/*\n * The network simplex algorithm assigns ranks to each node in the input graph\n * and iteratively improves the ranking to reduce the length of edges.\n *\n * Preconditions:\n *\n * 1. The input graph must be a DAG.\n * 2. All nodes in the graph must have an object value.\n * 3. All edges in the graph must have \"minlen\" and \"weight\" attributes.\n *\n * Postconditions:\n *\n * 1. All nodes in the graph will have an assigned \"rank\" attribute that has\n * been optimized by the network simplex algorithm. Ranks start at 0.\n *\n *\n * A rough sketch of the algorithm is as follows:\n *\n * 1. Assign initial ranks to each node. We use the longest path algorithm,\n * which assigns ranks to the lowest position possible. In general this\n * leads to very wide bottom ranks and unnecessarily long edges.\n * 2. Construct a feasible tight tree. A tight tree is one such that all\n * edges in the tree have no slack (difference between length of edge\n * and minlen for the edge). This by itself greatly improves the assigned\n * rankings by shorting edges.\n * 3. Iteratively find edges that have negative cut values. Generally a\n * negative cut value indicates that the edge could be removed and a new\n * tree edge could be added to produce a more compact graph.\n *\n * Much of the algorithms here are derived from Gansner, et al., \"A Technique\n * for Drawing Directed Graphs.\" The structure of the file roughly follows the\n * structure of the overall algorithm.\n */\nfunction networkSimplex(g) {\n g = simplify(g);\n initRank(g);\n var t = feasibleTree(g);\n initLowLimValues(t);\n initCutValues(t, g);\n\n var e, f;\n while ((e = leaveEdge(t))) {\n f = enterEdge(t, g, e);\n exchangeEdges(t, g, e, f);\n }\n}\n\n/*\n * Initializes cut values for all edges in the tree.\n */\nfunction initCutValues(t, g) {\n var vs = postorder(t, t.nodes());\n vs = vs.slice(0, vs.length - 1);\n _.forEach(vs, function(v) {\n assignCutValue(t, g, v);\n });\n}\n\nfunction assignCutValue(t, g, child) {\n var childLab = t.node(child);\n var parent = childLab.parent;\n t.edge(child, parent).cutvalue = calcCutValue(t, g, child);\n}\n\n/*\n * Given the tight tree, its graph, and a child in the graph calculate and\n * return the cut value for the edge between the child and its parent.\n */\nfunction calcCutValue(t, g, child) {\n var childLab = t.node(child);\n var parent = childLab.parent;\n // True if the child is on the tail end of the edge in the directed graph\n var childIsTail = true;\n // The graph's view of the tree edge we're inspecting\n var graphEdge = g.edge(child, parent);\n // The accumulated cut value for the edge between this node and its parent\n var cutValue = 0;\n\n if (!graphEdge) {\n childIsTail = false;\n graphEdge = g.edge(parent, child);\n }\n\n cutValue = graphEdge.weight;\n\n _.forEach(g.nodeEdges(child), function(e) {\n var isOutEdge = e.v === child,\n other = isOutEdge ? e.w : e.v;\n\n if (other !== parent) {\n var pointsToHead = isOutEdge === childIsTail,\n otherWeight = g.edge(e).weight;\n\n cutValue += pointsToHead ? otherWeight : -otherWeight;\n if (isTreeEdge(t, child, other)) {\n var otherCutValue = t.edge(child, other).cutvalue;\n cutValue += pointsToHead ? -otherCutValue : otherCutValue;\n }\n }\n });\n\n return cutValue;\n}\n\nfunction initLowLimValues(tree, root) {\n if (arguments.length < 2) {\n root = tree.nodes()[0];\n }\n dfsAssignLowLim(tree, {}, 1, root);\n}\n\nfunction dfsAssignLowLim(tree, visited, nextLim, v, parent) {\n var low = nextLim;\n var label = tree.node(v);\n\n visited[v] = true;\n _.forEach(tree.neighbors(v), function(w) {\n if (!_.has(visited, w)) {\n nextLim = dfsAssignLowLim(tree, visited, nextLim, w, v);\n }\n });\n\n label.low = low;\n label.lim = nextLim++;\n if (parent) {\n label.parent = parent;\n } else {\n // TODO should be able to remove this when we incrementally update low lim\n delete label.parent;\n }\n\n return nextLim;\n}\n\nfunction leaveEdge(tree) {\n return _.find(tree.edges(), function(e) {\n return tree.edge(e).cutvalue < 0;\n });\n}\n\nfunction enterEdge(t, g, edge) {\n var v = edge.v;\n var w = edge.w;\n\n // For the rest of this function we assume that v is the tail and w is the\n // head, so if we don't have this edge in the graph we should flip it to\n // match the correct orientation.\n if (!g.hasEdge(v, w)) {\n v = edge.w;\n w = edge.v;\n }\n\n var vLabel = t.node(v);\n var wLabel = t.node(w);\n var tailLabel = vLabel;\n var flip = false;\n\n // If the root is in the tail of the edge then we need to flip the logic that\n // checks for the head and tail nodes in the candidates function below.\n if (vLabel.lim > wLabel.lim) {\n tailLabel = wLabel;\n flip = true;\n }\n\n var candidates = _.filter(g.edges(), function(edge) {\n return flip === isDescendant(t, t.node(edge.v), tailLabel) &&\n flip !== isDescendant(t, t.node(edge.w), tailLabel);\n });\n\n return _.minBy(candidates, function(edge) { return slack(g, edge); });\n}\n\nfunction exchangeEdges(t, g, e, f) {\n var v = e.v;\n var w = e.w;\n t.removeEdge(v, w);\n t.setEdge(f.v, f.w, {});\n initLowLimValues(t);\n initCutValues(t, g);\n updateRanks(t, g);\n}\n\nfunction updateRanks(t, g) {\n var root = _.find(t.nodes(), function(v) { return !g.node(v).parent; });\n var vs = preorder(t, root);\n vs = vs.slice(1);\n _.forEach(vs, function(v) {\n var parent = t.node(v).parent,\n edge = g.edge(v, parent),\n flipped = false;\n\n if (!edge) {\n edge = g.edge(parent, v);\n flipped = true;\n }\n\n g.node(v).rank = g.node(parent).rank + (flipped ? edge.minlen : -edge.minlen);\n });\n}\n\n/*\n * Returns true if the edge is in the tree.\n */\nfunction isTreeEdge(tree, u, v) {\n return tree.hasEdge(u, v);\n}\n\n/*\n * Returns true if the specified node is descendant of the root node per the\n * assigned low and lim attributes in the tree.\n */\nfunction isDescendant(tree, vLabel, rootLabel) {\n return rootLabel.low <= vLabel.lim && vLabel.lim <= rootLabel.lim;\n}\n" }, { "id": 321, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/parent-dummy-chains.js", "name": "./node_modules/dagre/lib/parent-dummy-chains.js", "index": 847, "index2": 840, "size": 2017, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./parent-dummy-chains", "loc": "8:24-56" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"./lodash\");\n\nmodule.exports = parentDummyChains;\n\nfunction parentDummyChains(g) {\n var postorderNums = postorder(g);\n\n _.forEach(g.graph().dummyChains, function(v) {\n var node = g.node(v);\n var edgeObj = node.edgeObj;\n var pathData = findPath(g, postorderNums, edgeObj.v, edgeObj.w);\n var path = pathData.path;\n var lca = pathData.lca;\n var pathIdx = 0;\n var pathV = path[pathIdx];\n var ascending = true;\n\n while (v !== edgeObj.w) {\n node = g.node(v);\n\n if (ascending) {\n while ((pathV = path[pathIdx]) !== lca &&\n g.node(pathV).maxRank < node.rank) {\n pathIdx++;\n }\n\n if (pathV === lca) {\n ascending = false;\n }\n }\n\n if (!ascending) {\n while (pathIdx < path.length - 1 &&\n g.node(pathV = path[pathIdx + 1]).minRank <= node.rank) {\n pathIdx++;\n }\n pathV = path[pathIdx];\n }\n\n g.setParent(v, pathV);\n v = g.successors(v)[0];\n }\n });\n}\n\n// Find a path from v to w through the lowest common ancestor (LCA). Return the\n// full path and the LCA.\nfunction findPath(g, postorderNums, v, w) {\n var vPath = [];\n var wPath = [];\n var low = Math.min(postorderNums[v].low, postorderNums[w].low);\n var lim = Math.max(postorderNums[v].lim, postorderNums[w].lim);\n var parent;\n var lca;\n\n // Traverse up from v to find the LCA\n parent = v;\n do {\n parent = g.parent(parent);\n vPath.push(parent);\n } while (parent &&\n (postorderNums[parent].low > low || lim > postorderNums[parent].lim));\n lca = parent;\n\n // Traverse from w to LCA\n parent = w;\n while ((parent = g.parent(parent)) !== lca) {\n wPath.push(parent);\n }\n\n return { path: vPath.concat(wPath.reverse()), lca: lca };\n}\n\nfunction postorder(g) {\n var result = {};\n var lim = 0;\n\n function dfs(v) {\n var low = lim;\n _.forEach(g.children(v), dfs);\n result[v] = { low: low, lim: lim++ };\n }\n _.forEach(g.children(), dfs);\n\n return result;\n}\n" }, { "id": 322, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/nesting-graph.js", "name": "./node_modules/dagre/lib/nesting-graph.js", "index": 848, "index2": 841, "size": 3641, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./nesting-graph", "loc": "10:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = {\n run: run,\n cleanup: cleanup\n};\n\n/*\n * A nesting graph creates dummy nodes for the tops and bottoms of subgraphs,\n * adds appropriate edges to ensure that all cluster nodes are placed between\n * these boundries, and ensures that the graph is connected.\n *\n * In addition we ensure, through the use of the minlen property, that nodes\n * and subgraph border nodes to not end up on the same rank.\n *\n * Preconditions:\n *\n * 1. Input graph is a DAG\n * 2. Nodes in the input graph has a minlen attribute\n *\n * Postconditions:\n *\n * 1. Input graph is connected.\n * 2. Dummy nodes are added for the tops and bottoms of subgraphs.\n * 3. The minlen attribute for nodes is adjusted to ensure nodes do not\n * get placed on the same rank as subgraph border nodes.\n *\n * The nesting graph idea comes from Sander, \"Layout of Compound Directed\n * Graphs.\"\n */\nfunction run(g) {\n var root = util.addDummyNode(g, \"root\", {}, \"_root\");\n var depths = treeDepths(g);\n var height = _.max(_.values(depths)) - 1; // Note: depths is an Object not an array\n var nodeSep = 2 * height + 1;\n\n g.graph().nestingRoot = root;\n\n // Multiply minlen by nodeSep to align nodes on non-border ranks.\n _.forEach(g.edges(), function(e) { g.edge(e).minlen *= nodeSep; });\n\n // Calculate a weight that is sufficient to keep subgraphs vertically compact\n var weight = sumWeights(g) + 1;\n\n // Create border nodes and link them up\n _.forEach(g.children(), function(child) {\n dfs(g, root, nodeSep, weight, height, depths, child);\n });\n\n // Save the multiplier for node layers for later removal of empty border\n // layers.\n g.graph().nodeRankFactor = nodeSep;\n}\n\nfunction dfs(g, root, nodeSep, weight, height, depths, v) {\n var children = g.children(v);\n if (!children.length) {\n if (v !== root) {\n g.setEdge(root, v, { weight: 0, minlen: nodeSep });\n }\n return;\n }\n\n var top = util.addBorderNode(g, \"_bt\");\n var bottom = util.addBorderNode(g, \"_bb\");\n var label = g.node(v);\n\n g.setParent(top, v);\n label.borderTop = top;\n g.setParent(bottom, v);\n label.borderBottom = bottom;\n\n _.forEach(children, function(child) {\n dfs(g, root, nodeSep, weight, height, depths, child);\n\n var childNode = g.node(child);\n var childTop = childNode.borderTop ? childNode.borderTop : child;\n var childBottom = childNode.borderBottom ? childNode.borderBottom : child;\n var thisWeight = childNode.borderTop ? weight : 2 * weight;\n var minlen = childTop !== childBottom ? 1 : height - depths[v] + 1;\n\n g.setEdge(top, childTop, {\n weight: thisWeight,\n minlen: minlen,\n nestingEdge: true\n });\n\n g.setEdge(childBottom, bottom, {\n weight: thisWeight,\n minlen: minlen,\n nestingEdge: true\n });\n });\n\n if (!g.parent(v)) {\n g.setEdge(root, top, { weight: 0, minlen: height + depths[v] });\n }\n}\n\nfunction treeDepths(g) {\n var depths = {};\n function dfs(v, depth) {\n var children = g.children(v);\n if (children && children.length) {\n _.forEach(children, function(child) {\n dfs(child, depth + 1);\n });\n }\n depths[v] = depth;\n }\n _.forEach(g.children(), function(v) { dfs(v, 1); });\n return depths;\n}\n\nfunction sumWeights(g) {\n return _.reduce(g.edges(), function(acc, e) {\n return acc + g.edge(e).weight;\n }, 0);\n}\n\nfunction cleanup(g) {\n var graphLabel = g.graph();\n g.removeNode(graphLabel.nestingRoot);\n delete graphLabel.nestingRoot;\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.nestingEdge) {\n g.removeEdge(e);\n }\n });\n}\n" }, { "id": 323, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/add-border-segments.js", "name": "./node_modules/dagre/lib/add-border-segments.js", "index": 849, "index2": 842, "size": 993, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./add-border-segments", "loc": "11:24-56" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = addBorderSegments;\n\nfunction addBorderSegments(g) {\n function dfs(v) {\n var children = g.children(v);\n var node = g.node(v);\n if (children.length) {\n _.forEach(children, dfs);\n }\n\n if (_.has(node, \"minRank\")) {\n node.borderLeft = [];\n node.borderRight = [];\n for (var rank = node.minRank, maxRank = node.maxRank + 1;\n rank < maxRank;\n ++rank) {\n addBorderNode(g, \"borderLeft\", \"_bl\", v, node, rank);\n addBorderNode(g, \"borderRight\", \"_br\", v, node, rank);\n }\n }\n }\n\n _.forEach(g.children(), dfs);\n}\n\nfunction addBorderNode(g, prop, prefix, sg, sgNode, rank) {\n var label = { width: 0, height: 0, rank: rank, borderType: prop };\n var prev = sgNode[prop][rank - 1];\n var curr = util.addDummyNode(g, \"border\", label, prefix);\n sgNode[prop][rank] = curr;\n g.setParent(curr, sg);\n if (prev) {\n g.setEdge(prev, curr, { weight: 1 });\n }\n}\n" }, { "id": 324, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/coordinate-system.js", "name": "./node_modules/dagre/lib/coordinate-system.js", "index": 850, "index2": 843, "size": 1418, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./coordinate-system", "loc": "12:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\n\nmodule.exports = {\n adjust: adjust,\n undo: undo\n};\n\nfunction adjust(g) {\n var rankDir = g.graph().rankdir.toLowerCase();\n if (rankDir === \"lr\" || rankDir === \"rl\") {\n swapWidthHeight(g);\n }\n}\n\nfunction undo(g) {\n var rankDir = g.graph().rankdir.toLowerCase();\n if (rankDir === \"bt\" || rankDir === \"rl\") {\n reverseY(g);\n }\n\n if (rankDir === \"lr\" || rankDir === \"rl\") {\n swapXY(g);\n swapWidthHeight(g);\n }\n}\n\nfunction swapWidthHeight(g) {\n _.forEach(g.nodes(), function(v) { swapWidthHeightOne(g.node(v)); });\n _.forEach(g.edges(), function(e) { swapWidthHeightOne(g.edge(e)); });\n}\n\nfunction swapWidthHeightOne(attrs) {\n var w = attrs.width;\n attrs.width = attrs.height;\n attrs.height = w;\n}\n\nfunction reverseY(g) {\n _.forEach(g.nodes(), function(v) { reverseYOne(g.node(v)); });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, reverseYOne);\n if (_.has(edge, \"y\")) {\n reverseYOne(edge);\n }\n });\n}\n\nfunction reverseYOne(attrs) {\n attrs.y = -attrs.y;\n}\n\nfunction swapXY(g) {\n _.forEach(g.nodes(), function(v) { swapXYOne(g.node(v)); });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, swapXYOne);\n if (_.has(edge, \"x\")) {\n swapXYOne(edge);\n }\n });\n}\n\nfunction swapXYOne(attrs) {\n var x = attrs.x;\n attrs.x = attrs.y;\n attrs.y = x;\n}\n" }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "index": 851, "index2": 852, "size": 2161, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./order", "loc": "13:12-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar initOrder = require(\"./init-order\");\nvar crossCount = require(\"./cross-count\");\nvar sortSubgraph = require(\"./sort-subgraph\");\nvar buildLayerGraph = require(\"./build-layer-graph\");\nvar addSubgraphConstraints = require(\"./add-subgraph-constraints\");\nvar Graph = require(\"../graphlib\").Graph;\nvar util = require(\"../util\");\n\nmodule.exports = order;\n\n/*\n * Applies heuristics to minimize edge crossings in the graph and sets the best\n * order solution as an order attribute on each node.\n *\n * Pre-conditions:\n *\n * 1. Graph must be DAG\n * 2. Graph nodes must be objects with a \"rank\" attribute\n * 3. Graph edges must have the \"weight\" attribute\n *\n * Post-conditions:\n *\n * 1. Graph nodes will have an \"order\" attribute based on the results of the\n * algorithm.\n */\nfunction order(g) {\n var maxRank = util.maxRank(g),\n downLayerGraphs = buildLayerGraphs(g, _.range(1, maxRank + 1), \"inEdges\"),\n upLayerGraphs = buildLayerGraphs(g, _.range(maxRank - 1, -1, -1), \"outEdges\");\n\n var layering = initOrder(g);\n assignOrder(g, layering);\n\n var bestCC = Number.POSITIVE_INFINITY,\n best;\n\n for (var i = 0, lastBest = 0; lastBest < 4; ++i, ++lastBest) {\n sweepLayerGraphs(i % 2 ? downLayerGraphs : upLayerGraphs, i % 4 >= 2);\n\n layering = util.buildLayerMatrix(g);\n var cc = crossCount(g, layering);\n if (cc < bestCC) {\n lastBest = 0;\n best = _.cloneDeep(layering);\n bestCC = cc;\n }\n }\n\n assignOrder(g, best);\n}\n\nfunction buildLayerGraphs(g, ranks, relationship) {\n return _.map(ranks, function(rank) {\n return buildLayerGraph(g, rank, relationship);\n });\n}\n\nfunction sweepLayerGraphs(layerGraphs, biasRight) {\n var cg = new Graph();\n _.forEach(layerGraphs, function(lg) {\n var root = lg.graph().root;\n var sorted = sortSubgraph(lg, root, cg, biasRight);\n _.forEach(sorted.vs, function(v, i) {\n lg.node(v).order = i;\n });\n addSubgraphConstraints(lg, cg, sorted.vs);\n });\n}\n\nfunction assignOrder(g, layering) {\n _.forEach(layering, function(layer) {\n _.forEach(layer, function(v, i) {\n g.node(v).order = i;\n });\n });\n}\n" }, { "id": 326, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/init-order.js", "name": "./node_modules/dagre/lib/order/init-order.js", "index": 852, "index2": 844, "size": 1073, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "issuerId": 325, "issuerName": "./node_modules/dagre/lib/order/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 80, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "./init-order", "loc": "4:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = initOrder;\n\n/*\n * Assigns an initial order value for each node by performing a DFS search\n * starting from nodes in the first rank. Nodes are assigned an order in their\n * rank as they are first visited.\n *\n * This approach comes from Gansner, et al., \"A Technique for Drawing Directed\n * Graphs.\"\n *\n * Returns a layering matrix with an array per layer and each layer sorted by\n * the order of its nodes.\n */\nfunction initOrder(g) {\n var visited = {};\n var simpleNodes = _.filter(g.nodes(), function(v) {\n return !g.children(v).length;\n });\n var maxRank = _.max(_.map(simpleNodes, function(v) { return g.node(v).rank; }));\n var layers = _.map(_.range(maxRank + 1), function() { return []; });\n\n function dfs(v) {\n if (_.has(visited, v)) return;\n visited[v] = true;\n var node = g.node(v);\n layers[node.rank].push(v);\n _.forEach(g.successors(v), dfs);\n }\n\n var orderedVs = _.sortBy(simpleNodes, function(v) { return g.node(v).rank; });\n _.forEach(orderedVs, dfs);\n\n return layers;\n}\n" }, { "id": 327, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/cross-count.js", "name": "./node_modules/dagre/lib/order/cross-count.js", "index": 853, "index2": 845, "size": 1984, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "issuerId": 325, "issuerName": "./node_modules/dagre/lib/order/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 80, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "./cross-count", "loc": "5:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = crossCount;\n\n/*\n * A function that takes a layering (an array of layers, each with an array of\n * ordererd nodes) and a graph and returns a weighted crossing count.\n *\n * Pre-conditions:\n *\n * 1. Input graph must be simple (not a multigraph), directed, and include\n * only simple edges.\n * 2. Edges in the input graph must have assigned weights.\n *\n * Post-conditions:\n *\n * 1. The graph and layering matrix are left unchanged.\n *\n * This algorithm is derived from Barth, et al., \"Bilayer Cross Counting.\"\n */\nfunction crossCount(g, layering) {\n var cc = 0;\n for (var i = 1; i < layering.length; ++i) {\n cc += twoLayerCrossCount(g, layering[i-1], layering[i]);\n }\n return cc;\n}\n\nfunction twoLayerCrossCount(g, northLayer, southLayer) {\n // Sort all of the edges between the north and south layers by their position\n // in the north layer and then the south. Map these edges to the position of\n // their head in the south layer.\n var southPos = _.zipObject(southLayer,\n _.map(southLayer, function (v, i) { return i; }));\n var southEntries = _.flatten(_.map(northLayer, function(v) {\n return _.sortBy(_.map(g.outEdges(v), function(e) {\n return { pos: southPos[e.w], weight: g.edge(e).weight };\n }), \"pos\");\n }), true);\n\n // Build the accumulator tree\n var firstIndex = 1;\n while (firstIndex < southLayer.length) firstIndex <<= 1;\n var treeSize = 2 * firstIndex - 1;\n firstIndex -= 1;\n var tree = _.map(new Array(treeSize), function() { return 0; });\n\n // Calculate the weighted crossings\n var cc = 0;\n _.forEach(southEntries.forEach(function(entry) {\n var index = entry.pos + firstIndex;\n tree[index] += entry.weight;\n var weightSum = 0;\n while (index > 0) {\n if (index % 2) {\n weightSum += tree[index + 1];\n }\n index = (index - 1) >> 1;\n tree[index] += entry.weight;\n }\n cc += entry.weight * weightSum;\n }));\n\n return cc;\n}\n" }, { "id": 328, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "name": "./node_modules/dagre/lib/order/sort-subgraph.js", "index": 854, "index2": 849, "size": 2144, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "issuerId": 325, "issuerName": "./node_modules/dagre/lib/order/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 80, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "./sort-subgraph", "loc": "6:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"../lodash\");\nvar barycenter = require(\"./barycenter\");\nvar resolveConflicts = require(\"./resolve-conflicts\");\nvar sort = require(\"./sort\");\n\nmodule.exports = sortSubgraph;\n\nfunction sortSubgraph(g, v, cg, biasRight) {\n var movable = g.children(v);\n var node = g.node(v);\n var bl = node ? node.borderLeft : undefined;\n var br = node ? node.borderRight: undefined;\n var subgraphs = {};\n\n if (bl) {\n movable = _.filter(movable, function(w) {\n return w !== bl && w !== br;\n });\n }\n\n var barycenters = barycenter(g, movable);\n _.forEach(barycenters, function(entry) {\n if (g.children(entry.v).length) {\n var subgraphResult = sortSubgraph(g, entry.v, cg, biasRight);\n subgraphs[entry.v] = subgraphResult;\n if (_.has(subgraphResult, \"barycenter\")) {\n mergeBarycenters(entry, subgraphResult);\n }\n }\n });\n\n var entries = resolveConflicts(barycenters, cg);\n expandSubgraphs(entries, subgraphs);\n\n var result = sort(entries, biasRight);\n\n if (bl) {\n result.vs = _.flatten([bl, result.vs, br], true);\n if (g.predecessors(bl).length) {\n var blPred = g.node(g.predecessors(bl)[0]),\n brPred = g.node(g.predecessors(br)[0]);\n if (!_.has(result, \"barycenter\")) {\n result.barycenter = 0;\n result.weight = 0;\n }\n result.barycenter = (result.barycenter * result.weight +\n blPred.order + brPred.order) / (result.weight + 2);\n result.weight += 2;\n }\n }\n\n return result;\n}\n\nfunction expandSubgraphs(entries, subgraphs) {\n _.forEach(entries, function(entry) {\n entry.vs = _.flatten(entry.vs.map(function(v) {\n if (subgraphs[v]) {\n return subgraphs[v].vs;\n }\n return v;\n }), true);\n });\n}\n\nfunction mergeBarycenters(target, other) {\n if (!_.isUndefined(target.barycenter)) {\n target.barycenter = (target.barycenter * target.weight +\n other.barycenter * other.weight) /\n (target.weight + other.weight);\n target.weight += other.weight;\n } else {\n target.barycenter = other.barycenter;\n target.weight = other.weight;\n }\n}\n" }, { "id": 329, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/barycenter.js", "name": "./node_modules/dagre/lib/order/barycenter.js", "index": 855, "index2": 846, "size": 623, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "issuerId": 328, "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 328, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "name": "./node_modules/dagre/lib/order/sort-subgraph.js", "profile": { "factory": 80, "building": 24, "dependencies": 0 } } ], "profile": { "factory": 59, "building": 30, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 328, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "module": "./node_modules/dagre/lib/order/sort-subgraph.js", "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", "type": "cjs require", "userRequest": "./barycenter", "loc": "2:17-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = barycenter;\n\nfunction barycenter(g, movable) {\n return _.map(movable, function(v) {\n var inV = g.inEdges(v);\n if (!inV.length) {\n return { v: v };\n } else {\n var result = _.reduce(inV, function(acc, e) {\n var edge = g.edge(e),\n nodeU = g.node(e.v);\n return {\n sum: acc.sum + (edge.weight * nodeU.order),\n weight: acc.weight + edge.weight\n };\n }, { sum: 0, weight: 0 });\n\n return {\n v: v,\n barycenter: result.sum / result.weight,\n weight: result.weight\n };\n }\n });\n}\n\n" }, { "id": 330, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/resolve-conflicts.js", "name": "./node_modules/dagre/lib/order/resolve-conflicts.js", "index": 856, "index2": 847, "size": 3329, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "issuerId": 328, "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 328, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "name": "./node_modules/dagre/lib/order/sort-subgraph.js", "profile": { "factory": 80, "building": 24, "dependencies": 0 } } ], "profile": { "factory": 59, "building": 30, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 328, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "module": "./node_modules/dagre/lib/order/sort-subgraph.js", "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", "type": "cjs require", "userRequest": "./resolve-conflicts", "loc": "3:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = resolveConflicts;\n\n/*\n * Given a list of entries of the form {v, barycenter, weight} and a\n * constraint graph this function will resolve any conflicts between the\n * constraint graph and the barycenters for the entries. If the barycenters for\n * an entry would violate a constraint in the constraint graph then we coalesce\n * the nodes in the conflict into a new node that respects the contraint and\n * aggregates barycenter and weight information.\n *\n * This implementation is based on the description in Forster, \"A Fast and\n * Simple Hueristic for Constrained Two-Level Crossing Reduction,\" thought it\n * differs in some specific details.\n *\n * Pre-conditions:\n *\n * 1. Each entry has the form {v, barycenter, weight}, or if the node has\n * no barycenter, then {v}.\n *\n * Returns:\n *\n * A new list of entries of the form {vs, i, barycenter, weight}. The list\n * `vs` may either be a singleton or it may be an aggregation of nodes\n * ordered such that they do not violate constraints from the constraint\n * graph. The property `i` is the lowest original index of any of the\n * elements in `vs`.\n */\nfunction resolveConflicts(entries, cg) {\n var mappedEntries = {};\n _.forEach(entries, function(entry, i) {\n var tmp = mappedEntries[entry.v] = {\n indegree: 0,\n \"in\": [],\n out: [],\n vs: [entry.v],\n i: i\n };\n if (!_.isUndefined(entry.barycenter)) {\n tmp.barycenter = entry.barycenter;\n tmp.weight = entry.weight;\n }\n });\n\n _.forEach(cg.edges(), function(e) {\n var entryV = mappedEntries[e.v];\n var entryW = mappedEntries[e.w];\n if (!_.isUndefined(entryV) && !_.isUndefined(entryW)) {\n entryW.indegree++;\n entryV.out.push(mappedEntries[e.w]);\n }\n });\n\n var sourceSet = _.filter(mappedEntries, function(entry) {\n return !entry.indegree;\n });\n\n return doResolveConflicts(sourceSet);\n}\n\nfunction doResolveConflicts(sourceSet) {\n var entries = [];\n\n function handleIn(vEntry) {\n return function(uEntry) {\n if (uEntry.merged) {\n return;\n }\n if (_.isUndefined(uEntry.barycenter) ||\n _.isUndefined(vEntry.barycenter) ||\n uEntry.barycenter >= vEntry.barycenter) {\n mergeEntries(vEntry, uEntry);\n }\n };\n }\n\n function handleOut(vEntry) {\n return function(wEntry) {\n wEntry[\"in\"].push(vEntry);\n if (--wEntry.indegree === 0) {\n sourceSet.push(wEntry);\n }\n };\n }\n\n while (sourceSet.length) {\n var entry = sourceSet.pop();\n entries.push(entry);\n _.forEach(entry[\"in\"].reverse(), handleIn(entry));\n _.forEach(entry.out, handleOut(entry));\n }\n\n return _.map(_.filter(entries, function(entry) { return !entry.merged; }),\n function(entry) {\n return _.pick(entry, [\"vs\", \"i\", \"barycenter\", \"weight\"]);\n });\n\n}\n\nfunction mergeEntries(target, source) {\n var sum = 0;\n var weight = 0;\n\n if (target.weight) {\n sum += target.barycenter * target.weight;\n weight += target.weight;\n }\n\n if (source.weight) {\n sum += source.barycenter * source.weight;\n weight += source.weight;\n }\n\n target.vs = source.vs.concat(target.vs);\n target.barycenter = sum / weight;\n target.weight = weight;\n target.i = Math.min(source.i, target.i);\n source.merged = true;\n}\n" }, { "id": 331, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort.js", "name": "./node_modules/dagre/lib/order/sort.js", "index": 857, "index2": 848, "size": 1374, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "issuerId": 328, "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 328, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "name": "./node_modules/dagre/lib/order/sort-subgraph.js", "profile": { "factory": 80, "building": 24, "dependencies": 0 } } ], "profile": { "factory": 59, "building": 30, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 328, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "module": "./node_modules/dagre/lib/order/sort-subgraph.js", "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", "type": "cjs require", "userRequest": "./sort", "loc": "4:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var _ = require(\"../lodash\");\nvar util = require(\"../util\");\n\nmodule.exports = sort;\n\nfunction sort(entries, biasRight) {\n var parts = util.partition(entries, function(entry) {\n return _.has(entry, \"barycenter\");\n });\n var sortable = parts.lhs,\n unsortable = _.sortBy(parts.rhs, function(entry) { return -entry.i; }),\n vs = [],\n sum = 0,\n weight = 0,\n vsIndex = 0;\n\n sortable.sort(compareWithBias(!!biasRight));\n\n vsIndex = consumeUnsortable(vs, unsortable, vsIndex);\n\n _.forEach(sortable, function (entry) {\n vsIndex += entry.vs.length;\n vs.push(entry.vs);\n sum += entry.barycenter * entry.weight;\n weight += entry.weight;\n vsIndex = consumeUnsortable(vs, unsortable, vsIndex);\n });\n\n var result = { vs: _.flatten(vs, true) };\n if (weight) {\n result.barycenter = sum / weight;\n result.weight = weight;\n }\n return result;\n}\n\nfunction consumeUnsortable(vs, unsortable, index) {\n var last;\n while (unsortable.length && (last = _.last(unsortable)).i <= index) {\n unsortable.pop();\n vs.push(last.vs);\n index++;\n }\n return index;\n}\n\nfunction compareWithBias(bias) {\n return function(entryV, entryW) {\n if (entryV.barycenter < entryW.barycenter) {\n return -1;\n } else if (entryV.barycenter > entryW.barycenter) {\n return 1;\n }\n\n return !bias ? entryV.i - entryW.i : entryW.i - entryV.i;\n };\n}\n" }, { "id": 332, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/build-layer-graph.js", "name": "./node_modules/dagre/lib/order/build-layer-graph.js", "index": 858, "index2": 850, "size": 2568, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "issuerId": 325, "issuerName": "./node_modules/dagre/lib/order/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 80, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "./build-layer-graph", "loc": "7:22-52" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\n\nmodule.exports = buildLayerGraph;\n\n/*\n * Constructs a graph that can be used to sort a layer of nodes. The graph will\n * contain all base and subgraph nodes from the request layer in their original\n * hierarchy and any edges that are incident on these nodes and are of the type\n * requested by the \"relationship\" parameter.\n *\n * Nodes from the requested rank that do not have parents are assigned a root\n * node in the output graph, which is set in the root graph attribute. This\n * makes it easy to walk the hierarchy of movable nodes during ordering.\n *\n * Pre-conditions:\n *\n * 1. Input graph is a DAG\n * 2. Base nodes in the input graph have a rank attribute\n * 3. Subgraph nodes in the input graph has minRank and maxRank attributes\n * 4. Edges have an assigned weight\n *\n * Post-conditions:\n *\n * 1. Output graph has all nodes in the movable rank with preserved\n * hierarchy.\n * 2. Root nodes in the movable layer are made children of the node\n * indicated by the root attribute of the graph.\n * 3. Non-movable nodes incident on movable nodes, selected by the\n * relationship parameter, are included in the graph (without hierarchy).\n * 4. Edges incident on movable nodes, selected by the relationship\n * parameter, are added to the output graph.\n * 5. The weights for copied edges are aggregated as need, since the output\n * graph is not a multi-graph.\n */\nfunction buildLayerGraph(g, rank, relationship) {\n var root = createRootNode(g),\n result = new Graph({ compound: true }).setGraph({ root: root })\n .setDefaultNodeLabel(function(v) { return g.node(v); });\n\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v),\n parent = g.parent(v);\n\n if (node.rank === rank || node.minRank <= rank && rank <= node.maxRank) {\n result.setNode(v);\n result.setParent(v, parent || root);\n\n // This assumes we have only short edges!\n _.forEach(g[relationship](v), function(e) {\n var u = e.v === v ? e.w : e.v,\n edge = result.edge(u, v),\n weight = !_.isUndefined(edge) ? edge.weight : 0;\n result.setEdge(u, v, { weight: g.edge(e).weight + weight });\n });\n\n if (_.has(node, \"minRank\")) {\n result.setNode(v, {\n borderLeft: node.borderLeft[rank],\n borderRight: node.borderRight[rank]\n });\n }\n }\n });\n\n return result;\n}\n\nfunction createRootNode(g) {\n var v;\n while (g.hasNode((v = _.uniqueId(\"_root\"))));\n return v;\n}\n" }, { "id": 333, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/add-subgraph-constraints.js", "name": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", "index": 859, "index2": 851, "size": 1219, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "issuerId": 325, "issuerName": "./node_modules/dagre/lib/order/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 80, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "./add-subgraph-constraints", "loc": "8:29-66" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = addSubgraphConstraints;\n\nfunction addSubgraphConstraints(g, cg, vs) {\n var prev = {},\n rootPrev;\n\n _.forEach(vs, function(v) {\n var child = g.parent(v),\n parent,\n prevChild;\n while (child) {\n parent = g.parent(child);\n if (parent) {\n prevChild = prev[parent];\n prev[parent] = child;\n } else {\n prevChild = rootPrev;\n rootPrev = child;\n }\n if (prevChild && prevChild !== child) {\n cg.setEdge(prevChild, child);\n return;\n }\n child = parent;\n }\n });\n\n /*\n function dfs(v) {\n var children = v ? g.children(v) : g.children();\n if (children.length) {\n var min = Number.POSITIVE_INFINITY,\n subgraphs = [];\n _.each(children, function(child) {\n var childMin = dfs(child);\n if (g.children(child).length) {\n subgraphs.push({ v: child, order: childMin });\n }\n min = Math.min(min, childMin);\n });\n _.reduce(_.sortBy(subgraphs, \"order\"), function(prev, curr) {\n cg.setEdge(prev.v, curr.v);\n return curr;\n });\n return min;\n }\n return g.node(v).order;\n }\n dfs(undefined);\n */\n}\n" }, { "id": 334, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "name": "./node_modules/dagre/lib/position/index.js", "index": 860, "index2": 854, "size": 666, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./position", "loc": "14:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar util = require(\"../util\");\nvar positionX = require(\"./bk\").positionX;\n\nmodule.exports = position;\n\nfunction position(g) {\n g = util.asNonCompoundGraph(g);\n\n positionY(g);\n _.forEach(positionX(g), function(x, v) {\n g.node(v).x = x;\n });\n}\n\nfunction positionY(g) {\n var layering = util.buildLayerMatrix(g);\n var rankSep = g.graph().ranksep;\n var prevY = 0;\n _.forEach(layering, function(layer) {\n var maxHeight = _.max(_.map(layer, function(v) { return g.node(v).height; }));\n _.forEach(layer, function(v) {\n g.node(v).y = prevY + maxHeight / 2;\n });\n prevY += maxHeight + rankSep;\n });\n}\n\n" }, { "id": 335, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/bk.js", "name": "./node_modules/dagre/lib/position/bk.js", "index": 861, "index2": 853, "size": 11912, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "issuerId": 334, "issuerName": "./node_modules/dagre/lib/position/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 334, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "name": "./node_modules/dagre/lib/position/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 64, "building": 38, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 334, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "module": "./node_modules/dagre/lib/position/index.js", "moduleName": "./node_modules/dagre/lib/position/index.js", "type": "cjs require", "userRequest": "./bk", "loc": "5:16-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\nvar util = require(\"../util\");\n\n/*\n * This module provides coordinate assignment based on Brandes and Köpf, \"Fast\n * and Simple Horizontal Coordinate Assignment.\"\n */\n\nmodule.exports = {\n positionX: positionX,\n findType1Conflicts: findType1Conflicts,\n findType2Conflicts: findType2Conflicts,\n addConflict: addConflict,\n hasConflict: hasConflict,\n verticalAlignment: verticalAlignment,\n horizontalCompaction: horizontalCompaction,\n alignCoordinates: alignCoordinates,\n findSmallestWidthAlignment: findSmallestWidthAlignment,\n balance: balance\n};\n\n/*\n * Marks all edges in the graph with a type-1 conflict with the \"type1Conflict\"\n * property. A type-1 conflict is one where a non-inner segment crosses an\n * inner segment. An inner segment is an edge with both incident nodes marked\n * with the \"dummy\" property.\n *\n * This algorithm scans layer by layer, starting with the second, for type-1\n * conflicts between the current layer and the previous layer. For each layer\n * it scans the nodes from left to right until it reaches one that is incident\n * on an inner segment. It then scans predecessors to determine if they have\n * edges that cross that inner segment. At the end a final scan is done for all\n * nodes on the current rank to see if they cross the last visited inner\n * segment.\n *\n * This algorithm (safely) assumes that a dummy node will only be incident on a\n * single node in the layers being scanned.\n */\nfunction findType1Conflicts(g, layering) {\n var conflicts = {};\n\n function visitLayer(prevLayer, layer) {\n var\n // last visited node in the previous layer that is incident on an inner\n // segment.\n k0 = 0,\n // Tracks the last node in this layer scanned for crossings with a type-1\n // segment.\n scanPos = 0,\n prevLayerLength = prevLayer.length,\n lastNode = _.last(layer);\n\n _.forEach(layer, function(v, i) {\n var w = findOtherInnerSegmentNode(g, v),\n k1 = w ? g.node(w).order : prevLayerLength;\n\n if (w || v === lastNode) {\n _.forEach(layer.slice(scanPos, i +1), function(scanNode) {\n _.forEach(g.predecessors(scanNode), function(u) {\n var uLabel = g.node(u),\n uPos = uLabel.order;\n if ((uPos < k0 || k1 < uPos) &&\n !(uLabel.dummy && g.node(scanNode).dummy)) {\n addConflict(conflicts, u, scanNode);\n }\n });\n });\n scanPos = i + 1;\n k0 = k1;\n }\n });\n\n return layer;\n }\n\n _.reduce(layering, visitLayer);\n return conflicts;\n}\n\nfunction findType2Conflicts(g, layering) {\n var conflicts = {};\n\n function scan(south, southPos, southEnd, prevNorthBorder, nextNorthBorder) {\n var v;\n _.forEach(_.range(southPos, southEnd), function(i) {\n v = south[i];\n if (g.node(v).dummy) {\n _.forEach(g.predecessors(v), function(u) {\n var uNode = g.node(u);\n if (uNode.dummy &&\n (uNode.order < prevNorthBorder || uNode.order > nextNorthBorder)) {\n addConflict(conflicts, u, v);\n }\n });\n }\n });\n }\n\n\n function visitLayer(north, south) {\n var prevNorthPos = -1,\n nextNorthPos,\n southPos = 0;\n\n _.forEach(south, function(v, southLookahead) {\n if (g.node(v).dummy === \"border\") {\n var predecessors = g.predecessors(v);\n if (predecessors.length) {\n nextNorthPos = g.node(predecessors[0]).order;\n scan(south, southPos, southLookahead, prevNorthPos, nextNorthPos);\n southPos = southLookahead;\n prevNorthPos = nextNorthPos;\n }\n }\n scan(south, southPos, south.length, nextNorthPos, north.length);\n });\n\n return south;\n }\n\n _.reduce(layering, visitLayer);\n return conflicts;\n}\n\nfunction findOtherInnerSegmentNode(g, v) {\n if (g.node(v).dummy) {\n return _.find(g.predecessors(v), function(u) {\n return g.node(u).dummy;\n });\n }\n}\n\nfunction addConflict(conflicts, v, w) {\n if (v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n\n var conflictsV = conflicts[v];\n if (!conflictsV) {\n conflicts[v] = conflictsV = {};\n }\n conflictsV[w] = true;\n}\n\nfunction hasConflict(conflicts, v, w) {\n if (v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n return _.has(conflicts[v], w);\n}\n\n/*\n * Try to align nodes into vertical \"blocks\" where possible. This algorithm\n * attempts to align a node with one of its median neighbors. If the edge\n * connecting a neighbor is a type-1 conflict then we ignore that possibility.\n * If a previous node has already formed a block with a node after the node\n * we're trying to form a block with, we also ignore that possibility - our\n * blocks would be split in that scenario.\n */\nfunction verticalAlignment(g, layering, conflicts, neighborFn) {\n var root = {},\n align = {},\n pos = {};\n\n // We cache the position here based on the layering because the graph and\n // layering may be out of sync. The layering matrix is manipulated to\n // generate different extreme alignments.\n _.forEach(layering, function(layer) {\n _.forEach(layer, function(v, order) {\n root[v] = v;\n align[v] = v;\n pos[v] = order;\n });\n });\n\n _.forEach(layering, function(layer) {\n var prevIdx = -1;\n _.forEach(layer, function(v) {\n var ws = neighborFn(v);\n if (ws.length) {\n ws = _.sortBy(ws, function(w) { return pos[w]; });\n var mp = (ws.length - 1) / 2;\n for (var i = Math.floor(mp), il = Math.ceil(mp); i <= il; ++i) {\n var w = ws[i];\n if (align[v] === v &&\n prevIdx < pos[w] &&\n !hasConflict(conflicts, v, w)) {\n align[w] = v;\n align[v] = root[v] = root[w];\n prevIdx = pos[w];\n }\n }\n }\n });\n });\n\n return { root: root, align: align };\n}\n\nfunction horizontalCompaction(g, layering, root, align, reverseSep) {\n // This portion of the algorithm differs from BK due to a number of problems.\n // Instead of their algorithm we construct a new block graph and do two\n // sweeps. The first sweep places blocks with the smallest possible\n // coordinates. The second sweep removes unused space by moving blocks to the\n // greatest coordinates without violating separation.\n var xs = {},\n blockG = buildBlockGraph(g, layering, root, reverseSep),\n borderType = reverseSep ? \"borderLeft\" : \"borderRight\";\n\n function iterate(setXsFunc, nextNodesFunc) {\n var stack = blockG.nodes();\n var elem = stack.pop();\n var visited = {};\n while (elem) {\n if (visited[elem]) {\n setXsFunc(elem);\n } else {\n visited[elem] = true;\n stack.push(elem);\n stack = stack.concat(nextNodesFunc(elem));\n }\n\n elem = stack.pop();\n }\n }\n\n // First pass, assign smallest coordinates\n function pass1(elem) {\n xs[elem] = blockG.inEdges(elem).reduce(function(acc, e) {\n return Math.max(acc, xs[e.v] + blockG.edge(e));\n }, 0);\n }\n\n // Second pass, assign greatest coordinates\n function pass2(elem) {\n var min = blockG.outEdges(elem).reduce(function(acc, e) {\n return Math.min(acc, xs[e.w] - blockG.edge(e));\n }, Number.POSITIVE_INFINITY);\n\n var node = g.node(elem);\n if (min !== Number.POSITIVE_INFINITY && node.borderType !== borderType) {\n xs[elem] = Math.max(xs[elem], min);\n }\n }\n\n iterate(pass1, blockG.predecessors.bind(blockG));\n iterate(pass2, blockG.successors.bind(blockG));\n\n // Assign x coordinates to all nodes\n _.forEach(align, function(v) {\n xs[v] = xs[root[v]];\n });\n\n return xs;\n}\n\n\nfunction buildBlockGraph(g, layering, root, reverseSep) {\n var blockGraph = new Graph(),\n graphLabel = g.graph(),\n sepFn = sep(graphLabel.nodesep, graphLabel.edgesep, reverseSep);\n\n _.forEach(layering, function(layer) {\n var u;\n _.forEach(layer, function(v) {\n var vRoot = root[v];\n blockGraph.setNode(vRoot);\n if (u) {\n var uRoot = root[u],\n prevMax = blockGraph.edge(uRoot, vRoot);\n blockGraph.setEdge(uRoot, vRoot, Math.max(sepFn(g, v, u), prevMax || 0));\n }\n u = v;\n });\n });\n\n return blockGraph;\n}\n\n/*\n * Returns the alignment that has the smallest width of the given alignments.\n */\nfunction findSmallestWidthAlignment(g, xss) {\n return _.minBy(_.values(xss), function (xs) {\n var max = Number.NEGATIVE_INFINITY;\n var min = Number.POSITIVE_INFINITY;\n\n _.forIn(xs, function (x, v) {\n var halfWidth = width(g, v) / 2;\n\n max = Math.max(x + halfWidth, max);\n min = Math.min(x - halfWidth, min);\n });\n\n return max - min;\n });\n}\n\n/*\n * Align the coordinates of each of the layout alignments such that\n * left-biased alignments have their minimum coordinate at the same point as\n * the minimum coordinate of the smallest width alignment and right-biased\n * alignments have their maximum coordinate at the same point as the maximum\n * coordinate of the smallest width alignment.\n */\nfunction alignCoordinates(xss, alignTo) {\n var alignToVals = _.values(alignTo),\n alignToMin = _.min(alignToVals),\n alignToMax = _.max(alignToVals);\n\n _.forEach([\"u\", \"d\"], function(vert) {\n _.forEach([\"l\", \"r\"], function(horiz) {\n var alignment = vert + horiz,\n xs = xss[alignment],\n delta;\n if (xs === alignTo) return;\n\n var xsVals = _.values(xs);\n delta = horiz === \"l\" ? alignToMin - _.min(xsVals) : alignToMax - _.max(xsVals);\n\n if (delta) {\n xss[alignment] = _.mapValues(xs, function(x) { return x + delta; });\n }\n });\n });\n}\n\nfunction balance(xss, align) {\n return _.mapValues(xss.ul, function(ignore, v) {\n if (align) {\n return xss[align.toLowerCase()][v];\n } else {\n var xs = _.sortBy(_.map(xss, v));\n return (xs[1] + xs[2]) / 2;\n }\n });\n}\n\nfunction positionX(g) {\n var layering = util.buildLayerMatrix(g);\n var conflicts = _.merge(\n findType1Conflicts(g, layering),\n findType2Conflicts(g, layering));\n\n var xss = {};\n var adjustedLayering;\n _.forEach([\"u\", \"d\"], function(vert) {\n adjustedLayering = vert === \"u\" ? layering : _.values(layering).reverse();\n _.forEach([\"l\", \"r\"], function(horiz) {\n if (horiz === \"r\") {\n adjustedLayering = _.map(adjustedLayering, function(inner) {\n return _.values(inner).reverse();\n });\n }\n\n var neighborFn = (vert === \"u\" ? g.predecessors : g.successors).bind(g);\n var align = verticalAlignment(g, adjustedLayering, conflicts, neighborFn);\n var xs = horizontalCompaction(g, adjustedLayering,\n align.root, align.align, horiz === \"r\");\n if (horiz === \"r\") {\n xs = _.mapValues(xs, function(x) { return -x; });\n }\n xss[vert + horiz] = xs;\n });\n });\n\n var smallestWidth = findSmallestWidthAlignment(g, xss);\n alignCoordinates(xss, smallestWidth);\n return balance(xss, g.graph().align);\n}\n\nfunction sep(nodeSep, edgeSep, reverseSep) {\n return function(g, v, w) {\n var vLabel = g.node(v);\n var wLabel = g.node(w);\n var sum = 0;\n var delta;\n\n sum += vLabel.width / 2;\n if (_.has(vLabel, \"labelpos\")) {\n switch (vLabel.labelpos.toLowerCase()) {\n case \"l\": delta = -vLabel.width / 2; break;\n case \"r\": delta = vLabel.width / 2; break;\n }\n }\n if (delta) {\n sum += reverseSep ? delta : -delta;\n }\n delta = 0;\n\n sum += (vLabel.dummy ? edgeSep : nodeSep) / 2;\n sum += (wLabel.dummy ? edgeSep : nodeSep) / 2;\n\n sum += wLabel.width / 2;\n if (_.has(wLabel, \"labelpos\")) {\n switch (wLabel.labelpos.toLowerCase()) {\n case \"l\": delta = wLabel.width / 2; break;\n case \"r\": delta = -wLabel.width / 2; break;\n }\n }\n if (delta) {\n sum += reverseSep ? delta : -delta;\n }\n delta = 0;\n\n return sum;\n };\n}\n\nfunction width(g, v) {\n return g.node(v).width;\n}\n" }, { "id": 336, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/debug.js", "name": "./node_modules/dagre/lib/debug.js", "index": 862, "index2": 856, "size": 775, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "issuerId": 21, "issuerName": "./node_modules/dagre/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 98, "dependencies": 119 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/debug", "loc": "27:9-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = {\n debugOrdering: debugOrdering\n};\n\n/* istanbul ignore next */\nfunction debugOrdering(g) {\n var layerMatrix = util.buildLayerMatrix(g);\n\n var h = new Graph({ compound: true, multigraph: true }).setGraph({});\n\n _.forEach(g.nodes(), function(v) {\n h.setNode(v, { label: v });\n h.setParent(v, \"layer\" + g.node(v).rank);\n });\n\n _.forEach(g.edges(), function(e) {\n h.setEdge(e.v, e.w, {}, e.name);\n });\n\n _.forEach(layerMatrix, function(layer, i) {\n var layerV = \"layer\" + i;\n h.setNode(layerV, { rank: \"same\" });\n _.reduce(layer, function(u, v) {\n h.setEdge(u, v, { style: \"invis\" });\n return v;\n });\n });\n\n return h;\n}\n" }, { "id": 337, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/version.js", "name": "./node_modules/dagre/lib/version.js", "index": 863, "index2": 857, "size": 26, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "issuerId": 21, "issuerName": "./node_modules/dagre/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 98, "dependencies": 119 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/version", "loc": "32:11-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "module.exports = \"0.8.5\";\n" }, { "id": 338, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "name": "./node_modules/dagre-d3/lib/intersect/index.js", "index": 864, "index2": 866, "size": 222, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "issuerId": 5, "issuerName": "./node_modules/dagre-d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 313, "building": 36, "dependencies": 79 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/intersect", "loc": "26:13-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "module.exports = {\n node: require(\"./intersect-node\"),\n circle: require(\"./intersect-circle\"),\n ellipse: require(\"./intersect-ellipse\"),\n polygon: require(\"./intersect-polygon\"),\n rect: require(\"./intersect-rect\")\n};\n" }, { "id": 339, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-line.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-line.js", "index": 869, "index2": 863, "size": 2010, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "issuerId": 150, "issuerName": "./node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 350, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "name": "./node_modules/dagre-d3/lib/shapes.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } }, { "id": 150, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "profile": { "factory": 78, "building": 33, "dependencies": 0 } } ], "profile": { "factory": 64, "building": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 150, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "module": "./node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "type": "cjs require", "userRequest": "./intersect-line", "loc": "3:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "module.exports = intersectLine;\n\n/*\n * Returns the point at which two lines, p and q, intersect or returns\n * undefined if they do not intersect.\n */\nfunction intersectLine(p1, p2, q1, q2) {\n // Algorithm from J. Avro, (ed.) Graphics Gems, No 2, Morgan Kaufmann, 1994,\n // p7 and p473.\n\n var a1, a2, b1, b2, c1, c2;\n var r1, r2 , r3, r4;\n var denom, offset, num;\n var x, y;\n\n // Compute a1, b1, c1, where line joining points 1 and 2 is F(x,y) = a1 x +\n // b1 y + c1 = 0.\n a1 = p2.y - p1.y;\n b1 = p1.x - p2.x;\n c1 = (p2.x * p1.y) - (p1.x * p2.y);\n\n // Compute r3 and r4.\n r3 = ((a1 * q1.x) + (b1 * q1.y) + c1);\n r4 = ((a1 * q2.x) + (b1 * q2.y) + c1);\n\n // Check signs of r3 and r4. If both point 3 and point 4 lie on\n // same side of line 1, the line segments do not intersect.\n if ((r3 !== 0) && (r4 !== 0) && sameSign(r3, r4)) {\n return /*DONT_INTERSECT*/;\n }\n\n // Compute a2, b2, c2 where line joining points 3 and 4 is G(x,y) = a2 x + b2 y + c2 = 0\n a2 = q2.y - q1.y;\n b2 = q1.x - q2.x;\n c2 = (q2.x * q1.y) - (q1.x * q2.y);\n\n // Compute r1 and r2\n r1 = (a2 * p1.x) + (b2 * p1.y) + c2;\n r2 = (a2 * p2.x) + (b2 * p2.y) + c2;\n\n // Check signs of r1 and r2. If both point 1 and point 2 lie\n // on same side of second line segment, the line segments do\n // not intersect.\n if ((r1 !== 0) && (r2 !== 0) && (sameSign(r1, r2))) {\n return /*DONT_INTERSECT*/;\n }\n\n // Line segments intersect: compute intersection point.\n denom = (a1 * b2) - (a2 * b1);\n if (denom === 0) {\n return /*COLLINEAR*/;\n }\n\n offset = Math.abs(denom / 2);\n\n // The denom/2 is to get rounding instead of truncating. It\n // is added or subtracted to the numerator, depending upon the\n // sign of the numerator.\n num = (b1 * c2) - (b2 * c1);\n x = (num < 0) ? ((num - offset) / denom) : ((num + offset) / denom);\n\n num = (a2 * c1) - (a1 * c2);\n y = (num < 0) ? ((num - offset) / denom) : ((num + offset) / denom);\n\n return { x: x, y: y };\n}\n\nfunction sameSign(r1, r2) {\n return r1 * r2 > 0;\n}\n" }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "index": 871, "index2": 883, "size": 4207, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "issuerId": 5, "issuerName": "./node_modules/dagre-d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 313, "building": 36, "dependencies": 79 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/render", "loc": "27:10-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "var _ = require(\"./lodash\");\nvar d3 = require(\"./d3\");\nvar layout = require(\"./dagre\").layout;\n\nmodule.exports = render;\n\n// This design is based on http://bost.ocks.org/mike/chart/.\nfunction render() {\n var createNodes = require(\"./create-nodes\");\n var createClusters = require(\"./create-clusters\");\n var createEdgeLabels = require(\"./create-edge-labels\");\n var createEdgePaths = require(\"./create-edge-paths\");\n var positionNodes = require(\"./position-nodes\");\n var positionEdgeLabels = require(\"./position-edge-labels\");\n var positionClusters = require(\"./position-clusters\");\n var shapes = require(\"./shapes\");\n var arrows = require(\"./arrows\");\n\n var fn = function(svg, g) {\n preProcessGraph(g);\n\n var outputGroup = createOrSelectGroup(svg, \"output\");\n var clustersGroup = createOrSelectGroup(outputGroup, \"clusters\");\n var edgePathsGroup = createOrSelectGroup(outputGroup, \"edgePaths\");\n var edgeLabels = createEdgeLabels(createOrSelectGroup(outputGroup, \"edgeLabels\"), g);\n var nodes = createNodes(createOrSelectGroup(outputGroup, \"nodes\"), g, shapes);\n\n layout(g);\n\n positionNodes(nodes, g);\n positionEdgeLabels(edgeLabels, g);\n createEdgePaths(edgePathsGroup, g, arrows);\n\n var clusters = createClusters(clustersGroup, g);\n positionClusters(clusters, g);\n\n postProcessGraph(g);\n };\n\n fn.createNodes = function(value) {\n if (!arguments.length) return createNodes;\n createNodes = value;\n return fn;\n };\n\n fn.createClusters = function(value) {\n if (!arguments.length) return createClusters;\n createClusters = value;\n return fn;\n };\n\n fn.createEdgeLabels = function(value) {\n if (!arguments.length) return createEdgeLabels;\n createEdgeLabels = value;\n return fn;\n };\n\n fn.createEdgePaths = function(value) {\n if (!arguments.length) return createEdgePaths;\n createEdgePaths = value;\n return fn;\n };\n\n fn.shapes = function(value) {\n if (!arguments.length) return shapes;\n shapes = value;\n return fn;\n };\n\n fn.arrows = function(value) {\n if (!arguments.length) return arrows;\n arrows = value;\n return fn;\n };\n\n return fn;\n}\n\nvar NODE_DEFAULT_ATTRS = {\n paddingLeft: 10,\n paddingRight: 10,\n paddingTop: 10,\n paddingBottom: 10,\n rx: 0,\n ry: 0,\n shape: \"rect\"\n};\n\nvar EDGE_DEFAULT_ATTRS = {\n arrowhead: \"normal\",\n curve: d3.curveLinear\n};\n\nfunction preProcessGraph(g) {\n g.nodes().forEach(function(v) {\n var node = g.node(v);\n if (!_.has(node, \"label\") && !g.children(v).length) { node.label = v; }\n\n if (_.has(node, \"paddingX\")) {\n _.defaults(node, {\n paddingLeft: node.paddingX,\n paddingRight: node.paddingX\n });\n }\n\n if (_.has(node, \"paddingY\")) {\n _.defaults(node, {\n paddingTop: node.paddingY,\n paddingBottom: node.paddingY\n });\n }\n\n if (_.has(node, \"padding\")) {\n _.defaults(node, {\n paddingLeft: node.padding,\n paddingRight: node.padding,\n paddingTop: node.padding,\n paddingBottom: node.padding\n });\n }\n\n _.defaults(node, NODE_DEFAULT_ATTRS);\n\n _.each([\"paddingLeft\", \"paddingRight\", \"paddingTop\", \"paddingBottom\"], function(k) {\n node[k] = Number(node[k]);\n });\n\n // Save dimensions for restore during post-processing\n if (_.has(node, \"width\")) { node._prevWidth = node.width; }\n if (_.has(node, \"height\")) { node._prevHeight = node.height; }\n });\n\n g.edges().forEach(function(e) {\n var edge = g.edge(e);\n if (!_.has(edge, \"label\")) { edge.label = \"\"; }\n _.defaults(edge, EDGE_DEFAULT_ATTRS);\n });\n}\n\nfunction postProcessGraph(g) {\n _.each(g.nodes(), function(v) {\n var node = g.node(v);\n\n // Restore original dimensions\n if (_.has(node, \"_prevWidth\")) {\n node.width = node._prevWidth;\n } else {\n delete node.width;\n }\n\n if (_.has(node, \"_prevHeight\")) {\n node.height = node._prevHeight;\n } else {\n delete node.height;\n }\n\n delete node._prevWidth;\n delete node._prevHeight;\n });\n}\n\nfunction createOrSelectGroup(root, name) {\n var selection = root.select(\"g.\" + name);\n if (selection.empty()) {\n selection = root.append(\"g\").attr(\"class\", name);\n }\n return selection;\n}\n" }, { "id": 341, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-nodes.js", "name": "./node_modules/dagre-d3/lib/create-nodes.js", "index": 874, "index2": 874, "size": 2192, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./create-nodes", "loc": "9:20-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar addLabel = require(\"./label/add-label\");\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\n\nmodule.exports = createNodes;\n\nfunction createNodes(selection, g, shapes) {\n var simpleNodes = g.nodes().filter(function(v) { return !util.isSubgraph(g, v); });\n var svgNodes = selection.selectAll(\"g.node\")\n .data(simpleNodes, function(v) { return v; })\n .classed(\"update\", true);\n\n svgNodes.exit().remove();\n\n svgNodes.enter().append(\"g\")\n .attr(\"class\", \"node\")\n .style(\"opacity\", 0);\n\n svgNodes = selection.selectAll(\"g.node\"); \n\n svgNodes.each(function(v) {\n var node = g.node(v);\n var thisGroup = d3.select(this);\n util.applyClass(thisGroup, node[\"class\"],\n (thisGroup.classed(\"update\") ? \"update \" : \"\") + \"node\");\n\n thisGroup.select(\"g.label\").remove();\n var labelGroup = thisGroup.append(\"g\").attr(\"class\", \"label\");\n var labelDom = addLabel(labelGroup, node);\n var shape = shapes[node.shape];\n var bbox = _.pick(labelDom.node().getBBox(), \"width\", \"height\");\n\n node.elem = this;\n\n if (node.id) { thisGroup.attr(\"id\", node.id); }\n if (node.labelId) { labelGroup.attr(\"id\", node.labelId); }\n\n if (_.has(node, \"width\")) { bbox.width = node.width; }\n if (_.has(node, \"height\")) { bbox.height = node.height; }\n\n bbox.width += node.paddingLeft + node.paddingRight;\n bbox.height += node.paddingTop + node.paddingBottom;\n labelGroup.attr(\"transform\", \"translate(\" +\n ((node.paddingLeft - node.paddingRight) / 2) + \",\" +\n ((node.paddingTop - node.paddingBottom) / 2) + \")\");\n\n var root = d3.select(this);\n root.select(\".label-container\").remove();\n var shapeSvg = shape(root, bbox, node).classed(\"label-container\", true);\n util.applyStyle(shapeSvg, node.style);\n\n var shapeBBox = shapeSvg.node().getBBox();\n node.width = shapeBBox.width;\n node.height = shapeBBox.height;\n });\n\n var exitSelection;\n\n if (svgNodes.exit) {\n exitSelection = svgNodes.exit();\n } else {\n exitSelection = svgNodes.selectAll(null); // empty selection\n }\n\n util.applyTransition(exitSelection, g)\n .style(\"opacity\", 0)\n .remove();\n\n return svgNodes;\n}\n" }, { "id": 342, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-text-label.js", "name": "./node_modules/dagre-d3/lib/label/add-text-label.js", "index": 876, "index2": 870, "size": 939, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "issuerId": 89, "issuerName": "./node_modules/dagre-d3/lib/label/add-label.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 345, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "name": "./node_modules/dagre-d3/lib/create-edge-labels.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } }, { "id": 89, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "name": "./node_modules/dagre-d3/lib/label/add-label.js", "profile": { "factory": 69, "building": 34, "dependencies": 58 } } ], "profile": { "factory": 74, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 89, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "module": "./node_modules/dagre-d3/lib/label/add-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-label.js", "type": "cjs require", "userRequest": "./add-text-label", "loc": "1:19-46" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var util = require(\"../util\");\n\nmodule.exports = addTextLabel;\n\n/*\n * Attaches a text label to the specified root. Handles escape sequences.\n */\nfunction addTextLabel(root, node) {\n var domNode = root.append(\"text\");\n\n var lines = processEscapeSequences(node.label).split(\"\\n\");\n for (var i = 0; i < lines.length; i++) {\n domNode.append(\"tspan\")\n .attr(\"xml:space\", \"preserve\")\n .attr(\"dy\", \"1em\")\n .attr(\"x\", \"1\")\n .text(lines[i]);\n }\n\n util.applyStyle(domNode, node.labelStyle);\n\n return domNode;\n}\n\nfunction processEscapeSequences(text) {\n var newText = \"\";\n var escaped = false;\n var ch;\n for (var i = 0; i < text.length; ++i) {\n ch = text[i];\n if (escaped) {\n switch(ch) {\n case \"n\": newText += \"\\n\"; break;\n default: newText += ch;\n }\n escaped = false;\n } else if (ch === \"\\\\\") {\n escaped = true;\n } else {\n newText += ch;\n }\n }\n return newText;\n}\n" }, { "id": 343, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-svg-label.js", "name": "./node_modules/dagre-d3/lib/label/add-svg-label.js", "index": 879, "index2": 872, "size": 230, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "issuerId": 89, "issuerName": "./node_modules/dagre-d3/lib/label/add-label.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 345, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "name": "./node_modules/dagre-d3/lib/create-edge-labels.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } }, { "id": 89, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "name": "./node_modules/dagre-d3/lib/label/add-label.js", "profile": { "factory": 69, "building": 34, "dependencies": 58 } } ], "profile": { "factory": 74, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 89, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "module": "./node_modules/dagre-d3/lib/label/add-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-label.js", "type": "cjs require", "userRequest": "./add-svg-label", "loc": "3:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var util = require(\"../util\");\n\nmodule.exports = addSVGLabel;\n\nfunction addSVGLabel(root, node) {\n var domNode = root;\n\n domNode.node().appendChild(node.label);\n\n util.applyStyle(domNode, node.labelStyle);\n\n return domNode;\n}\n" }, { "id": 344, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-clusters.js", "name": "./node_modules/dagre-d3/lib/create-clusters.js", "index": 880, "index2": 875, "size": 1399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./create-clusters", "loc": "10:23-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var util = require(\"./util\");\nvar d3 = require(\"./d3\");\nvar addLabel = require(\"./label/add-label\");\n\nmodule.exports = createClusters;\n\nfunction createClusters(selection, g) {\n var clusters = g.nodes().filter(function(v) { return util.isSubgraph(g, v); });\n var svgClusters = selection.selectAll(\"g.cluster\")\n .data(clusters, function(v) { return v; });\n\n svgClusters.selectAll(\"*\").remove();\n svgClusters.enter().append(\"g\")\n .attr(\"class\", \"cluster\")\n .attr(\"id\",function(v){\n var node = g.node(v);\n return node.id;\n })\n .style(\"opacity\", 0);\n \n svgClusters = selection.selectAll(\"g.cluster\");\n\n util.applyTransition(svgClusters, g)\n .style(\"opacity\", 1);\n\n svgClusters.each(function(v) {\n var node = g.node(v);\n var thisGroup = d3.select(this);\n d3.select(this).append(\"rect\");\n var labelGroup = thisGroup.append(\"g\").attr(\"class\", \"label\");\n addLabel(labelGroup, node, node.clusterLabelPos);\n });\n\n svgClusters.selectAll(\"rect\").each(function(c) {\n var node = g.node(c);\n var domCluster = d3.select(this);\n util.applyStyle(domCluster, node.style);\n });\n\n var exitSelection;\n\n if (svgClusters.exit) {\n exitSelection = svgClusters.exit();\n } else {\n exitSelection = svgClusters.selectAll(null); // empty selection\n }\n\n util.applyTransition(exitSelection, g)\n .style(\"opacity\", 0)\n .remove();\n\n return svgClusters;\n}\n" }, { "id": 345, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "name": "./node_modules/dagre-d3/lib/create-edge-labels.js", "index": 881, "index2": 876, "size": 1273, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./create-edge-labels", "loc": "11:25-56" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar addLabel = require(\"./label/add-label\");\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\n\nmodule.exports = createEdgeLabels;\n\nfunction createEdgeLabels(selection, g) {\n var svgEdgeLabels = selection.selectAll(\"g.edgeLabel\")\n .data(g.edges(), function(e) { return util.edgeToId(e); })\n .classed(\"update\", true);\n\n svgEdgeLabels.exit().remove();\n svgEdgeLabels.enter().append(\"g\")\n .classed(\"edgeLabel\", true)\n .style(\"opacity\", 0);\n\n svgEdgeLabels = selection.selectAll(\"g.edgeLabel\");\n\n svgEdgeLabels.each(function(e) {\n var root = d3.select(this);\n root.select(\".label\").remove();\n var edge = g.edge(e);\n var label = addLabel(root, g.edge(e), 0, 0).classed(\"label\", true);\n var bbox = label.node().getBBox();\n\n if (edge.labelId) { label.attr(\"id\", edge.labelId); }\n if (!_.has(edge, \"width\")) { edge.width = bbox.width; }\n if (!_.has(edge, \"height\")) { edge.height = bbox.height; }\n });\n\n var exitSelection;\n\n if (svgEdgeLabels.exit) {\n exitSelection = svgEdgeLabels.exit();\n } else {\n exitSelection = svgEdgeLabels.selectAll(null); // empty selection\n }\n\n util.applyTransition(exitSelection, g)\n .style(\"opacity\", 0)\n .remove();\n\n return svgEdgeLabels;\n}\n" }, { "id": 346, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-paths.js", "name": "./node_modules/dagre-d3/lib/create-edge-paths.js", "index": 882, "index2": 877, "size": 3300, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./create-edge-paths", "loc": "12:24-54" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar intersectNode = require(\"./intersect/intersect-node\");\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\nmodule.exports = createEdgePaths;\n\nfunction createEdgePaths(selection, g, arrows) {\n var previousPaths = selection.selectAll(\"g.edgePath\")\n .data(g.edges(), function(e) { return util.edgeToId(e); })\n .classed(\"update\", true);\n\n var newPaths = enter(previousPaths, g);\n exit(previousPaths, g);\n\n var svgPaths = previousPaths.merge !== undefined ? previousPaths.merge(newPaths) : previousPaths;\n util.applyTransition(svgPaths, g)\n .style(\"opacity\", 1);\n\n // Save DOM element in the path group, and set ID and class\n svgPaths.each(function(e) {\n var domEdge = d3.select(this);\n var edge = g.edge(e);\n edge.elem = this;\n\n if (edge.id) {\n domEdge.attr(\"id\", edge.id);\n }\n\n util.applyClass(domEdge, edge[\"class\"],\n (domEdge.classed(\"update\") ? \"update \" : \"\") + \"edgePath\");\n });\n\n svgPaths.selectAll(\"path.path\")\n .each(function(e) {\n var edge = g.edge(e);\n edge.arrowheadId = _.uniqueId(\"arrowhead\");\n\n var domEdge = d3.select(this)\n .attr(\"marker-end\", function() {\n return \"url(\" + makeFragmentRef(location.href, edge.arrowheadId) + \")\";\n })\n .style(\"fill\", \"none\");\n\n util.applyTransition(domEdge, g)\n .attr(\"d\", function(e) { return calcPoints(g, e); });\n\n util.applyStyle(domEdge, edge.style);\n });\n\n svgPaths.selectAll(\"defs *\").remove();\n svgPaths.selectAll(\"defs\")\n .each(function(e) {\n var edge = g.edge(e);\n var arrowhead = arrows[edge.arrowhead];\n arrowhead(d3.select(this), edge.arrowheadId, edge, \"arrowhead\");\n });\n\n return svgPaths;\n}\n\nfunction makeFragmentRef(url, fragmentId) {\n var baseUrl = url.split(\"#\")[0];\n return baseUrl + \"#\" + fragmentId;\n}\n\nfunction calcPoints(g, e) {\n var edge = g.edge(e);\n var tail = g.node(e.v);\n var head = g.node(e.w);\n var points = edge.points.slice(1, edge.points.length - 1);\n points.unshift(intersectNode(tail, points[0]));\n points.push(intersectNode(head, points[points.length - 1]));\n\n return createLine(edge, points);\n}\n\nfunction createLine(edge, points) {\n var line = (d3.line || d3.svg.line)()\n .x(function(d) { return d.x; })\n .y(function(d) { return d.y; });\n \n (line.curve || line.interpolate)(edge.curve);\n\n return line(points);\n}\n\nfunction getCoords(elem) {\n var bbox = elem.getBBox();\n var matrix = elem.ownerSVGElement.getScreenCTM()\n .inverse()\n .multiply(elem.getScreenCTM())\n .translate(bbox.width / 2, bbox.height / 2);\n return { x: matrix.e, y: matrix.f };\n}\n\nfunction enter(svgPaths, g) {\n var svgPathsEnter = svgPaths.enter().append(\"g\")\n .attr(\"class\", \"edgePath\")\n .style(\"opacity\", 0);\n svgPathsEnter.append(\"path\")\n .attr(\"class\", \"path\")\n .attr(\"d\", function(e) {\n var edge = g.edge(e);\n var sourceElem = g.node(e.v).elem;\n var points = _.range(edge.points.length).map(function() { return getCoords(sourceElem); });\n return createLine(edge, points);\n });\n svgPathsEnter.append(\"defs\");\n return svgPathsEnter;\n}\n\nfunction exit(svgPaths, g) {\n var svgPathExit = svgPaths.exit();\n util.applyTransition(svgPathExit, g)\n .style(\"opacity\", 0)\n .remove();\n}\n" }, { "id": 347, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-nodes.js", "name": "./node_modules/dagre-d3/lib/position-nodes.js", "index": 883, "index2": 878, "size": 490, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./position-nodes", "loc": "13:22-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\n\nmodule.exports = positionNodes;\n\nfunction positionNodes(selection, g) {\n var created = selection.filter(function() { return !d3.select(this).classed(\"update\"); });\n\n function translate(v) {\n var node = g.node(v);\n return \"translate(\" + node.x + \",\" + node.y + \")\";\n }\n\n created.attr(\"transform\", translate);\n\n util.applyTransition(selection, g)\n .style(\"opacity\", 1)\n .attr(\"transform\", translate);\n}\n" }, { "id": 348, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-edge-labels.js", "name": "./node_modules/dagre-d3/lib/position-edge-labels.js", "index": 884, "index2": 879, "size": 553, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./position-edge-labels", "loc": "14:27-60" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\nvar _ = require(\"./lodash\");\n\nmodule.exports = positionEdgeLabels;\n\nfunction positionEdgeLabels(selection, g) {\n var created = selection.filter(function() { return !d3.select(this).classed(\"update\"); });\n\n function translate(e) {\n var edge = g.edge(e);\n return _.has(edge, \"x\") ? \"translate(\" + edge.x + \",\" + edge.y + \")\" : \"\";\n }\n\n created.attr(\"transform\", translate);\n\n util.applyTransition(selection, g)\n .style(\"opacity\", 1)\n .attr(\"transform\", translate);\n}\n" }, { "id": 349, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-clusters.js", "name": "./node_modules/dagre-d3/lib/position-clusters.js", "index": 885, "index2": 880, "size": 862, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./position-clusters", "loc": "15:25-55" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\n\nmodule.exports = positionClusters;\n\nfunction positionClusters(selection, g) {\n var created = selection.filter(function() { return !d3.select(this).classed(\"update\"); });\n\n function translate(v) {\n var node = g.node(v);\n return \"translate(\" + node.x + \",\" + node.y + \")\";\n }\n\n created.attr(\"transform\", translate);\n\n util.applyTransition(selection, g)\n .style(\"opacity\", 1)\n .attr(\"transform\", translate);\n\n util.applyTransition(created.selectAll(\"rect\"), g)\n .attr(\"width\", function(v) { return g.node(v).width; })\n .attr(\"height\", function(v) { return g.node(v).height; })\n .attr(\"x\", function(v) {\n var node = g.node(v);\n return -node.width / 2;\n })\n .attr(\"y\", function(v) {\n var node = g.node(v);\n return -node.height / 2;\n });\n}\n" }, { "id": 350, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "name": "./node_modules/dagre-d3/lib/shapes.js", "index": 886, "index2": 881, "size": 2121, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./shapes", "loc": "16:15-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar intersectRect = require(\"./intersect/intersect-rect\");\nvar intersectEllipse = require(\"./intersect/intersect-ellipse\");\nvar intersectCircle = require(\"./intersect/intersect-circle\");\nvar intersectPolygon = require(\"./intersect/intersect-polygon\");\n\nmodule.exports = {\n rect: rect,\n ellipse: ellipse,\n circle: circle,\n diamond: diamond\n};\n\nfunction rect(parent, bbox, node) {\n var shapeSvg = parent.insert(\"rect\", \":first-child\")\n .attr(\"rx\", node.rx)\n .attr(\"ry\", node.ry)\n .attr(\"x\", -bbox.width / 2)\n .attr(\"y\", -bbox.height / 2)\n .attr(\"width\", bbox.width)\n .attr(\"height\", bbox.height);\n\n node.intersect = function(point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n}\n\nfunction ellipse(parent, bbox, node) {\n var rx = bbox.width / 2;\n var ry = bbox.height / 2;\n var shapeSvg = parent.insert(\"ellipse\", \":first-child\")\n .attr(\"x\", -bbox.width / 2)\n .attr(\"y\", -bbox.height / 2)\n .attr(\"rx\", rx)\n .attr(\"ry\", ry);\n\n node.intersect = function(point) {\n return intersectEllipse(node, rx, ry, point);\n };\n\n return shapeSvg;\n}\n\nfunction circle(parent, bbox, node) {\n var r = Math.max(bbox.width, bbox.height) / 2;\n var shapeSvg = parent.insert(\"circle\", \":first-child\")\n .attr(\"x\", -bbox.width / 2)\n .attr(\"y\", -bbox.height / 2)\n .attr(\"r\", r);\n\n node.intersect = function(point) {\n return intersectCircle(node, r, point);\n };\n\n return shapeSvg;\n}\n\n// Circumscribe an ellipse for the bounding box with a diamond shape. I derived\n// the function to calculate the diamond shape from:\n// http://mathforum.org/kb/message.jspa?messageID=3750236\nfunction diamond(parent, bbox, node) {\n var w = (bbox.width * Math.SQRT2) / 2;\n var h = (bbox.height * Math.SQRT2) / 2;\n var points = [\n { x: 0, y: -h },\n { x: -w, y: 0 },\n { x: 0, y: h },\n { x: w, y: 0 }\n ];\n var shapeSvg = parent.insert(\"polygon\", \":first-child\")\n .attr(\"points\", points.map(function(p) { return p.x + \",\" + p.y; }).join(\" \"));\n\n node.intersect = function(p) {\n return intersectPolygon(node, points, p);\n };\n\n return shapeSvg;\n}\n" }, { "id": 351, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/arrows.js", "name": "./node_modules/dagre-d3/lib/arrows.js", "index": 887, "index2": 882, "size": 1867, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./arrows", "loc": "17:15-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var util = require(\"./util\");\n\nmodule.exports = {\n \"default\": normal,\n \"normal\": normal,\n \"vee\": vee,\n \"undirected\": undirected\n};\n\nfunction normal(parent, id, edge, type) {\n var marker = parent.append(\"marker\")\n .attr(\"id\", id)\n .attr(\"viewBox\", \"0 0 10 10\")\n .attr(\"refX\", 9)\n .attr(\"refY\", 5)\n .attr(\"markerUnits\", \"strokeWidth\")\n .attr(\"markerWidth\", 8)\n .attr(\"markerHeight\", 6)\n .attr(\"orient\", \"auto\");\n\n var path = marker.append(\"path\")\n .attr(\"d\", \"M 0 0 L 10 5 L 0 10 z\")\n .style(\"stroke-width\", 1)\n .style(\"stroke-dasharray\", \"1,0\");\n util.applyStyle(path, edge[type + \"Style\"]);\n if (edge[type + \"Class\"]) {\n path.attr(\"class\", edge[type + \"Class\"]);\n }\n}\n\nfunction vee(parent, id, edge, type) {\n var marker = parent.append(\"marker\")\n .attr(\"id\", id)\n .attr(\"viewBox\", \"0 0 10 10\")\n .attr(\"refX\", 9)\n .attr(\"refY\", 5)\n .attr(\"markerUnits\", \"strokeWidth\")\n .attr(\"markerWidth\", 8)\n .attr(\"markerHeight\", 6)\n .attr(\"orient\", \"auto\");\n\n var path = marker.append(\"path\")\n .attr(\"d\", \"M 0 0 L 10 5 L 0 10 L 4 5 z\")\n .style(\"stroke-width\", 1)\n .style(\"stroke-dasharray\", \"1,0\");\n util.applyStyle(path, edge[type + \"Style\"]);\n if (edge[type + \"Class\"]) {\n path.attr(\"class\", edge[type + \"Class\"]);\n }\n}\n\nfunction undirected(parent, id, edge, type) {\n var marker = parent.append(\"marker\")\n .attr(\"id\", id)\n .attr(\"viewBox\", \"0 0 10 10\")\n .attr(\"refX\", 9)\n .attr(\"refY\", 5)\n .attr(\"markerUnits\", \"strokeWidth\")\n .attr(\"markerWidth\", 8)\n .attr(\"markerHeight\", 6)\n .attr(\"orient\", \"auto\");\n\n var path = marker.append(\"path\")\n .attr(\"d\", \"M 0 5 L 10 5\")\n .style(\"stroke-width\", 1)\n .style(\"stroke-dasharray\", \"1,0\");\n util.applyStyle(path, edge[type + \"Style\"]);\n if (edge[type + \"Class\"]) {\n path.attr(\"class\", edge[type + \"Class\"]);\n }\n}\n" }, { "id": 352, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/version.js", "name": "./node_modules/dagre-d3/lib/version.js", "index": 888, "index2": 884, "size": 26, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "issuerId": 5, "issuerName": "./node_modules/dagre-d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 313, "building": 36, "dependencies": 79 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/version", "loc": "29:11-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "module.exports = \"0.6.4\";\n" }, { "id": 353, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "name": "./src/mermaid.js + 51 modules", "index": 0, "index2": 924, "size": 420362, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": null, "module": null, "moduleName": null, "type": "single entry", "userRequest": "./src/mermaid.js", "loc": "mermaid" } ], "usedExports": true, "providedExports": [ "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/class/parser/classDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/er/parser/erDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/flowchart/parser/flow.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/gantt/parser/gantt.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/git/parser/gitGraph.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/info/parser/info.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/pie/parser/pie.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/sequence/parser/sequenceDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/state/parser/stateDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/user-journey/parser/journey.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/@braintree/sanitize-url/index.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/dagre-wrapper/intersect/intersect-node.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/d3/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/dagre-d3/lib/d3.js (referenced with cjs require))", "ModuleConcatenation bailout: Cannot concat with ./node_modules/dagre-d3/index.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/dagre-d3/lib/label/add-html-label.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/dagre/index.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/graphlib/index.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/moment-mini/moment.min.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/scope-css/index.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./package.json (<- Module is not an ECMAScript module)" ], "depth": 0, "modules": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "index": 0, "index2": 924, "size": 5291, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "profile": { "factory": 54, "building": 197 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": null, "module": null, "moduleName": null, "type": "single entry", "userRequest": "./src/mermaid.js", "loc": "mermaid" } ], "usedExports": true, "providedExports": [ "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is an entry point" ], "depth": 0, "source": "/**\n * Web page integration module for the mermaid framework. It uses the mermaidAPI for mermaid functionality and to render\n * the diagrams to svg code.\n */\n// import { decode } from 'he';\nimport decode from 'entity-decode/browser';\nimport mermaidAPI from './mermaidAPI';\nimport { logger } from './logger';\nimport utils from './utils';\n/**\n * ## init\n * Function that goes through the document to find the chart definitions in there and render them.\n *\n * The function tags the processed attributes with the attribute data-processed and ignores found elements with the\n * attribute already set. This way the init function can be triggered several times.\n *\n * Optionally, `init` can accept in the second argument one of the following:\n * - a DOM Node\n * - an array of DOM nodes (as would come from a jQuery selector)\n * - a W3C selector, a la `.mermaid`\n *\n * ```mermaid\n * graph LR;\n * a(Find elements)-->b{Processed}\n * b-->|Yes|c(Leave element)\n * b-->|No |d(Transform)\n * ```\n * Renders the mermaid diagrams\n * @param nodes a css selector or an array of nodes\n */\n\nvar init = function init() {\n var _this = this;\n\n var conf = mermaidAPI.getConfig(); // console.log('Starting rendering diagrams (init) - mermaid.init');\n\n var nodes;\n\n if (arguments.length >= 2) {\n /*! sequence config was passed as #1 */\n if (typeof arguments[0] !== 'undefined') {\n mermaid.sequenceConfig = arguments[0];\n }\n\n nodes = arguments[1];\n } else {\n nodes = arguments[0];\n } // if last argument is a function this is the callback function\n\n\n var callback;\n\n if (typeof arguments[arguments.length - 1] === 'function') {\n callback = arguments[arguments.length - 1];\n logger.debug('Callback function found');\n } else {\n if (typeof conf.mermaid !== 'undefined') {\n if (typeof conf.mermaid.callback === 'function') {\n callback = conf.mermaid.callback;\n logger.debug('Callback function found');\n } else {\n logger.debug('No Callback function found');\n }\n }\n }\n\n nodes = nodes === undefined ? document.querySelectorAll('.mermaid') : typeof nodes === 'string' ? document.querySelectorAll(nodes) : nodes instanceof window.Node ? [nodes] : nodes; // Last case - sequence config was passed pick next\n\n logger.debug('Start On Load before: ' + mermaid.startOnLoad);\n\n if (typeof mermaid.startOnLoad !== 'undefined') {\n logger.debug('Start On Load inner: ' + mermaid.startOnLoad);\n mermaidAPI.initialize({\n startOnLoad: mermaid.startOnLoad\n });\n }\n\n if (typeof mermaid.ganttConfig !== 'undefined') {\n mermaidAPI.initialize({\n gantt: mermaid.ganttConfig\n });\n }\n\n var txt;\n\n var _loop = function _loop(i) {\n var element = nodes[i];\n /*! Check if previously processed */\n\n if (!element.getAttribute('data-processed')) {\n element.setAttribute('data-processed', true);\n } else {\n return \"continue\";\n }\n\n var id = \"mermaid-\".concat(Date.now()); // Fetch the graph definition including tags\n\n txt = element.innerHTML; // transforms the html to pure text\n\n txt = decode(txt).trim().replace(//gi, '
');\n var init = utils.detectInit(txt);\n\n if (init) {\n logger.debug('Detected early reinit: ', init);\n }\n\n try {\n mermaidAPI.render(id, txt, function (svgCode, bindFunctions) {\n element.innerHTML = svgCode;\n\n if (typeof callback !== 'undefined') {\n callback(id);\n }\n\n if (bindFunctions) bindFunctions(element);\n }, element);\n } catch (e) {\n logger.warn('Syntax Error rendering');\n logger.warn(e);\n\n if (_this.parseError) {\n _this.parseError(e);\n }\n }\n };\n\n for (var i = 0; i < nodes.length; i++) {\n var _ret = _loop(i);\n\n if (_ret === \"continue\") continue;\n }\n};\n\nvar initialize = function initialize(config) {\n mermaidAPI.reset();\n\n if (typeof config.mermaid !== 'undefined') {\n if (typeof config.mermaid.startOnLoad !== 'undefined') {\n mermaid.startOnLoad = config.mermaid.startOnLoad;\n }\n\n if (typeof config.mermaid.htmlLabels !== 'undefined') {\n mermaid.htmlLabels = config.mermaid.htmlLabels;\n }\n }\n\n mermaidAPI.initialize(config);\n};\n/**\n * ##contentLoaded\n * Callback function that is called when page is loaded. This functions fetches configuration for mermaid rendering and\n * calls init for rendering the mermaid diagrams on the page.\n */\n\n\nvar contentLoaded = function contentLoaded() {\n var config;\n\n if (mermaid.startOnLoad) {\n // No config found, do check API config\n config = mermaidAPI.getConfig();\n\n if (config.startOnLoad) {\n mermaid.init();\n }\n } else {\n if (typeof mermaid.startOnLoad === 'undefined') {\n logger.debug('In start, no config');\n config = mermaidAPI.getConfig();\n\n if (config.startOnLoad) {\n mermaid.init();\n }\n }\n }\n};\n\nif (typeof document !== 'undefined') {\n /*!\n * Wait for document loaded before starting the execution\n */\n window.addEventListener('load', function () {\n contentLoaded();\n }, false);\n}\n\nvar mermaid = {\n startOnLoad: true,\n htmlLabels: true,\n mermaidAPI: mermaidAPI,\n parse: mermaidAPI.parse,\n render: mermaidAPI.render,\n init: init,\n initialize: initialize,\n contentLoaded: contentLoaded\n};\nexport default mermaid;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/entity-decode/browser.js", "name": "./node_modules/entity-decode/browser.js", "index": 1, "index2": 0, "size": 523, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } } ], "profile": { "factory": 469, "building": 134, "dependencies": 1692 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "entity-decode/browser", "loc": "6:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "entity-decode/browser", "loc": "100:10-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 1, "source": "/**\n * @see https://github.com/vuejs/vue/commit/a855dd0564a657a73b7249469490d39817f27cf7#diff-c0a2623ea5896a83e3b630f236b47b52\n * @see https://stackoverflow.com/a/13091266/4936667\n */\n\nvar decoder;\n\nexport default function decode(html) {\n decoder = decoder || document.createElement('div');\n // Escape HTML before decoding for HTML Entities\n html = escape(html).replace(/%26/g,'&').replace(/%23/g,'#').replace(/%3B/g,';');\n // decoding\n decoder.innerHTML = html;\n\n return unescape(decoder.textContent);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "index": 541, "index2": 542, "size": 1937, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } } ], "profile": { "factory": 469, "building": 134, "dependencies": 1692 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "module": "./src/diagrams/info/infoDb.js", "moduleName": "./src/diagrams/info/infoDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "module": "./src/diagrams/pie/pieDb.js", "moduleName": "./src/diagrams/pie/pieDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "module": "./src/dagre-wrapper/markers.js", "moduleName": "./src/dagre-wrapper/markers.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "4:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "8:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "module": "./src/diagrams/info/infoDb.js", "moduleName": "./src/diagrams/info/infoDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "8:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "9:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "9:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "11:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "module": "./src/diagrams/pie/pieDb.js", "moduleName": "./src/diagrams/pie/pieDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "11:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "12:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "12:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "13:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "module": "./src/dagre-wrapper/markers.js", "moduleName": "./src/dagre-wrapper/markers.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "13:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "14:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "14:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "17:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "19:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "20:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "21:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "22:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "22:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "23:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "23:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "24:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "25:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "26:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "26:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "28:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "28:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "30:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "30:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "30:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "31:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "34:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "35:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "35:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "36:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "37:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "38:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "38:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "39:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "39:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "42:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "42:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "43:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "46:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "47:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "50:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "51:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "55:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "55:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "56:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "59:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "60:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "60:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "60:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "61:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "61:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "62:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "62:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "66:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "67:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "67:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "67:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "68:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "69:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "69:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "70:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "72:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "72:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "72:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "74:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "76:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "77:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "78:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "78:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "79:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "79:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "81:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "81:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "83:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "83:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "86:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "87:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "87:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "88:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "88:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "89:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "90:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "90:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "92:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "93:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "94:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "95:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "95:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "95:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "96:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "97:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "98:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "99:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "100:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "100:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "101:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "104:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "106:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "107:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "117:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "117:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "118:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "118:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "119:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "120:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "123:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "124:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "124:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "125:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "126:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "127:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "129:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "130:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "130:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "130:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "132:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "133:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "133:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "136:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "136:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "137:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "140:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "144:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "148:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "148:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "151:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "152:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "152:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "153:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "153:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "156:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "158:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "159:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "159:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "161:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "165:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "165:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "167:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "168:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "170:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "171:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "179:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "182:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "182:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "183:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "183:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "184:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "185:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "186:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "186:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "188:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "188:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "189:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "193:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "194:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "196:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "196:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "197:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "202:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "205:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "206:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "206:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "208:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "209:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "211:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "214:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "222:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "223:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "223:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "228:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "234:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "235:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "236:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "240:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "240:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "242:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "243:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "244:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "247:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "249:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "249:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "251:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "253:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "254:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "262:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "265:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "271:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "271:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "272:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "275:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "282:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "288:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "291:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "292:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "293:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "297:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "299:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "303:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "306:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "314:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "314:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "323:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "324:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "326:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "327:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "332:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "337:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "337:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "349:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "349:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "353:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "353:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "358:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "360:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "376:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "389:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "389:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "403:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "416:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "420:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "430:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "444:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "462:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "469:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "470:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "475:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "516:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "547:2-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "548:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "556:2-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "557:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "559:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "584:0-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "595:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "616:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "642:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "715:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "800:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "912:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "944:2-8" } ], "usedExports": [ "logger", "setLogLevel" ], "providedExports": [ "LEVELS", "logger", "setLogLevel" ], "optimizationBailout": [], "depth": 1, "source": "import moment from 'moment-mini'; //\n\nexport var LEVELS = {\n debug: 1,\n info: 2,\n warn: 3,\n error: 4,\n fatal: 5\n};\nexport var logger = {\n debug: function debug() {},\n info: function info() {},\n warn: function warn() {},\n error: function error() {},\n fatal: function fatal() {}\n};\nexport var setLogLevel = function setLogLevel() {\n var level = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fatal';\n\n if (isNaN(level)) {\n level = level.toLowerCase();\n\n if (LEVELS[level] !== undefined) {\n level = LEVELS[level];\n }\n }\n\n logger.trace = function () {};\n\n logger.debug = function () {};\n\n logger.info = function () {};\n\n logger.warn = function () {};\n\n logger.error = function () {};\n\n logger.fatal = function () {};\n\n if (level <= LEVELS.fatal) {\n logger.fatal = console.error ? console.error.bind(console, format('FATAL'), 'color: orange') : console.log.bind(console, '\\x1b[35m', format('FATAL'));\n }\n\n if (level <= LEVELS.error) {\n logger.error = console.error ? console.error.bind(console, format('ERROR'), 'color: orange') : console.log.bind(console, '\\x1b[31m', format('ERROR'));\n }\n\n if (level <= LEVELS.warn) {\n logger.warn = console.warn ? console.warn.bind(console, format('WARN'), 'color: orange') : console.log.bind(console, \"\\x1B[33m\", format('WARN'));\n }\n\n if (level <= LEVELS.info) {\n logger.info = console.info ? // ? console.info.bind(console, '\\x1b[34m', format('INFO'), 'color: blue')\n console.info.bind(console, format('INFO'), 'color: lightblue') : console.log.bind(console, '\\x1b[34m', format('INFO'));\n }\n\n if (level <= LEVELS.debug) {\n logger.debug = console.debug ? console.debug.bind(console, format('DEBUG'), 'color: lightgreen') : console.log.bind(console, '\\x1b[32m', format('DEBUG'));\n }\n};\n\nvar format = function format(level) {\n var time = moment().format('ss.SSS');\n return \"%c\".concat(time, \" : \").concat(level, \" : \");\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "index": 539, "index2": 544, "size": 24774, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } } ], "profile": { "factory": 469, "building": 134, "dependencies": 1692 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "5:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "5:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "6:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../utils", "loc": "6:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "7:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "9:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "10:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "10:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "13:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "20:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "37:14-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "42:17-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "43:17-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../utils", "loc": "48:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "56:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "58:22-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "63:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "65:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "66:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "70:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "101:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "160:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "172:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "174:24-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "188:24-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "197:19-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "214:19-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "217:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "223:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "227:4-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "229:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "231:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "233:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "250:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "252:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "252:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "254:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "262:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "280:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "282:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "337:32-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "396:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "437:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "441:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "527:29-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "548:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "548:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "673:38-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "674:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "736:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "739:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "770:23-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "770:66-71" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "788:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "788:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "797:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "821:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "824:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "847:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "854:17-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "855:20-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "866:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "869:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "878:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "890:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "899:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "930:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "933:2-17" } ], "usedExports": [ "default", "assignWithDepth", "getStylesFromArray", "interpolateToCurve", "generateId" ], "providedExports": [ "detectInit", "detectDirective", "detectType", "isSubstringInArray", "interpolateToCurve", "formatUrl", "runFunc", "getStylesFromArray", "generateId", "random", "assignWithDepth", "getTextObj", "drawSimpleText", "wrapLabel", "calculateTextHeight", "calculateTextWidth", "calculateTextDimensions", "default" ], "optimizationBailout": [], "depth": 1, "source": "var _this = this;\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { curveBasis, curveBasisClosed, curveBasisOpen, curveLinear, curveLinearClosed, curveMonotoneX, curveMonotoneY, curveNatural, curveStep, curveStepAfter, curveStepBefore, select } from 'd3';\nimport { logger } from './logger';\nimport { sanitizeUrl } from '@braintree/sanitize-url';\nimport common from './diagrams/common/common'; // import cryptoRandomString from 'crypto-random-string';\n// Effectively an enum of the supported curve types, accessible by name\n\nvar d3CurveTypes = {\n curveBasis: curveBasis,\n curveBasisClosed: curveBasisClosed,\n curveBasisOpen: curveBasisOpen,\n curveLinear: curveLinear,\n curveLinearClosed: curveLinearClosed,\n curveMonotoneX: curveMonotoneX,\n curveMonotoneY: curveMonotoneY,\n curveNatural: curveNatural,\n curveStep: curveStep,\n curveStepAfter: curveStepAfter,\n curveStepBefore: curveStepBefore\n};\nvar directive = /[%]{2}[{]\\s*(?:(?:(\\w+)\\s*:|(\\w+))\\s*(?:(?:(\\w+))|((?:(?![}][%]{2}).|\\r?\\n)*))?\\s*)(?:[}][%]{2})?/gi;\nvar directiveWithoutOpen = /\\s*(?:(?:(\\w+)(?=:):|(\\w+))\\s*(?:(?:(\\w+))|((?:(?![}][%]{2}).|\\r?\\n)*))?\\s*)(?:[}][%]{2})?/gi;\nvar anyComment = /\\s*%%.*\\n/gm;\n/**\n * @function detectInit\n * Detects the init config object from the text\n * ```mermaid\n * %%{init: {\"theme\": \"debug\", \"logLevel\": 1 }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n * or\n * ```mermaid\n * %%{initialize: {\"theme\": \"dark\", logLevel: \"debug\" }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @returns {object} the json object representing the init passed to mermaid.initialize()\n */\n\nexport var detectInit = function detectInit(text) {\n var inits = detectDirective(text, /(?:init\\b)|(?:initialize\\b)/);\n var results = {};\n\n if (Array.isArray(inits)) {\n var args = inits.map(function (init) {\n return init.args;\n });\n results = assignWithDepth(results, _toConsumableArray(args));\n } else {\n results = inits.args;\n }\n\n if (results) {\n var type = detectType(text);\n ['config'].forEach(function (prop) {\n if (typeof results[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n results[type] = results[prop];\n delete results[prop];\n }\n });\n }\n\n return results;\n};\n/**\n * @function detectDirective\n * Detects the directive from the text. Text can be single line or multiline. If type is null or omitted\n * the first directive encountered in text will be returned\n * ```mermaid\n * graph LR\n * %%{somedirective}%%\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @param {string|RegExp} type The directive to return (default: null)\n * @returns {object | Array} An object or Array representing the directive(s): { type: string, args: object|null } matched by the input type\n * if a single directive was found, that directive object will be returned.\n */\n\nexport var detectDirective = function detectDirective(text) {\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n try {\n var commentWithoutDirectives = new RegExp(\"[%]{2}(?![{]\".concat(directiveWithoutOpen.source, \")(?=[}][%]{2}).*\\n\"), 'ig');\n text = text.trim().replace(commentWithoutDirectives, '').replace(/'/gm, '\"');\n logger.debug(\"Detecting diagram directive\".concat(type !== null ? ' type:' + type : '', \" based on the text:\").concat(text));\n var match,\n result = [];\n\n while ((match = directive.exec(text)) !== null) {\n // This is necessary to avoid infinite loops with zero-width matches\n if (match.index === directive.lastIndex) {\n directive.lastIndex++;\n }\n\n if (match && !type || type && match[1] && match[1].match(type) || type && match[2] && match[2].match(type)) {\n var _type = match[1] ? match[1] : match[2];\n\n var args = match[3] ? match[3].trim() : match[4] ? JSON.parse(match[4].trim()) : null;\n result.push({\n type: _type,\n args: args\n });\n }\n }\n\n if (result.length === 0) {\n result.push({\n type: text,\n args: null\n });\n }\n\n return result.length === 1 ? result[0] : result;\n } catch (error) {\n logger.error(\"ERROR: \".concat(error.message, \" - Unable to parse directive\").concat(type !== null ? ' type:' + type : '', \" based on the text:\").concat(text));\n return {\n type: null,\n args: null\n };\n }\n};\n/**\n * @function detectType\n * Detects the type of the graph text. Takes into consideration the possible existence of an %%init\n * directive\n * ```mermaid\n * %%{initialize: {\"startOnLoad\": true, logLevel: \"fatal\" }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @returns {string} A graph definition key\n */\n\nexport var detectType = function detectType(text) {\n text = text.replace(directive, '').replace(anyComment, '\\n');\n logger.debug('Detecting diagram type based on the text ' + text);\n\n if (text.match(/^\\s*sequenceDiagram/)) {\n return 'sequence';\n }\n\n if (text.match(/^\\s*gantt/)) {\n return 'gantt';\n }\n\n if (text.match(/^\\s*classDiagram/)) {\n return 'class';\n }\n\n if (text.match(/^\\s*stateDiagram-v2/)) {\n return 'stateDiagram';\n }\n\n if (text.match(/^\\s*stateDiagram/)) {\n return 'state';\n }\n\n if (text.match(/^\\s*gitGraph/)) {\n return 'git';\n }\n\n if (text.match(/^\\s*flowchart/)) {\n return 'flowchart-v2';\n }\n\n if (text.match(/^\\s*info/)) {\n return 'info';\n }\n\n if (text.match(/^\\s*pie/)) {\n return 'pie';\n }\n\n if (text.match(/^\\s*erDiagram/)) {\n return 'er';\n }\n\n if (text.match(/^\\s*journey/)) {\n return 'journey';\n }\n\n return 'flowchart';\n};\n\nvar memoize = function memoize(fn, resolver) {\n var cache = {};\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var n = resolver ? resolver.apply(_this, args) : args[0];\n\n if (n in cache) {\n return cache[n];\n } else {\n var result = fn.apply(void 0, args);\n cache[n] = result;\n return result;\n }\n };\n};\n/**\n * @function isSubstringInArray\n * Detects whether a substring in present in a given array\n * @param {string} str The substring to detect\n * @param {array} arr The array to search\n * @returns {number} the array index containing the substring or -1 if not present\n **/\n\n\nexport var isSubstringInArray = function isSubstringInArray(str, arr) {\n for (var i = 0; i < arr.length; i++) {\n if (arr[i].match(str)) return i;\n }\n\n return -1;\n};\nexport var interpolateToCurve = function interpolateToCurve(interpolate, defaultCurve) {\n if (!interpolate) {\n return defaultCurve;\n }\n\n var curveName = \"curve\".concat(interpolate.charAt(0).toUpperCase() + interpolate.slice(1));\n return d3CurveTypes[curveName] || defaultCurve;\n};\nexport var formatUrl = function formatUrl(linkStr, config) {\n var url = linkStr.trim();\n\n if (url) {\n if (config.securityLevel !== 'loose') {\n return sanitizeUrl(url);\n }\n\n return url;\n }\n};\nexport var runFunc = function runFunc(functionName) {\n var _obj;\n\n var arrPaths = functionName.split('.');\n var len = arrPaths.length - 1;\n var fnName = arrPaths[len];\n var obj = window;\n\n for (var i = 0; i < len; i++) {\n obj = obj[arrPaths[i]];\n if (!obj) return;\n }\n\n for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n params[_key2 - 1] = arguments[_key2];\n }\n\n (_obj = obj)[fnName].apply(_obj, params);\n};\n\nvar distance = function distance(p1, p2) {\n return p1 && p2 ? Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2)) : 0;\n};\n\nvar traverseEdge = function traverseEdge(points) {\n var prevPoint;\n var totalDistance = 0;\n points.forEach(function (point) {\n totalDistance += distance(point, prevPoint);\n prevPoint = point;\n }); // Traverse half of total distance along points\n\n var remainingDistance = totalDistance / 2;\n var center = undefined;\n prevPoint = undefined;\n points.forEach(function (point) {\n if (prevPoint && !center) {\n var vectorDistance = distance(point, prevPoint);\n\n if (vectorDistance < remainingDistance) {\n remainingDistance -= vectorDistance;\n } else {\n // The point is remainingDistance from prevPoint in the vector between prevPoint and point\n // Calculate the coordinates\n var distanceRatio = remainingDistance / vectorDistance;\n if (distanceRatio <= 0) center = prevPoint;\n if (distanceRatio >= 1) center = {\n x: point.x,\n y: point.y\n };\n\n if (distanceRatio > 0 && distanceRatio < 1) {\n center = {\n x: (1 - distanceRatio) * prevPoint.x + distanceRatio * point.x,\n y: (1 - distanceRatio) * prevPoint.y + distanceRatio * point.y\n };\n }\n }\n }\n\n prevPoint = point;\n });\n return center;\n};\n\nvar calcLabelPosition = function calcLabelPosition(points) {\n return traverseEdge(points);\n};\n\nvar calcCardinalityPosition = function calcCardinalityPosition(isRelationTypePresent, points, initialPosition) {\n var prevPoint;\n var totalDistance = 0; // eslint-disable-line\n\n if (points[0] !== initialPosition) {\n points = points.reverse();\n }\n\n points.forEach(function (point) {\n totalDistance += distance(point, prevPoint);\n prevPoint = point;\n }); // Traverse only 25 total distance along points to find cardinality point\n\n var distanceToCardinalityPoint = 25;\n var remainingDistance = distanceToCardinalityPoint;\n var center = {\n x: 0,\n y: 0\n };\n prevPoint = undefined;\n points.forEach(function (point) {\n if (prevPoint && !center) {\n var vectorDistance = distance(point, prevPoint);\n\n if (vectorDistance < remainingDistance) {\n remainingDistance -= vectorDistance;\n } else {\n // The point is remainingDistance from prevPoint in the vector between prevPoint and point\n // Calculate the coordinates\n var distanceRatio = remainingDistance / vectorDistance;\n if (distanceRatio <= 0) center = prevPoint;\n if (distanceRatio >= 1) center = {\n x: point.x,\n y: point.y\n };\n\n if (distanceRatio > 0 && distanceRatio < 1) {\n center = {\n x: (1 - distanceRatio) * prevPoint.x + distanceRatio * point.x,\n y: (1 - distanceRatio) * prevPoint.y + distanceRatio * point.y\n };\n }\n }\n }\n\n prevPoint = point;\n }); // if relation is present (Arrows will be added), change cardinality point off-set distance (d)\n\n var d = isRelationTypePresent ? 10 : 5; //Calculate Angle for x and y axis\n\n var angle = Math.atan2(points[0].y - center.y, points[0].x - center.x);\n var cardinalityPosition = {\n x: 0,\n y: 0\n }; //Calculation cardinality position using angle, center point on the line/curve but pendicular and with offset-distance\n\n cardinalityPosition.x = Math.sin(angle) * d + (points[0].x + center.x) / 2;\n cardinalityPosition.y = -Math.cos(angle) * d + (points[0].y + center.y) / 2;\n return cardinalityPosition;\n};\n\nexport var getStylesFromArray = function getStylesFromArray(arr) {\n var style = '';\n var labelStyle = '';\n\n for (var i = 0; i < arr.length; i++) {\n if (typeof arr[i] !== 'undefined') {\n // add text properties to label style definition\n if (arr[i].startsWith('color:') || arr[i].startsWith('text-align:')) {\n labelStyle = labelStyle + arr[i] + ';';\n } else {\n style = style + arr[i] + ';';\n }\n }\n }\n\n return {\n style: style,\n labelStyle: labelStyle\n };\n};\nvar cnt = 0;\nexport var generateId = function generateId() {\n cnt++;\n return 'id-' + Math.random().toString(36).substr(2, 12) + '-' + cnt;\n};\nexport var random = function random(options) {\n // return cryptoRandomString(options);\n return 'apa';\n};\n/**\n * @function assignWithDepth\n * Extends the functionality of {@link ObjectConstructor.assign} with the ability to merge arbitrary-depth objects\n * For each key in src with path `k` (recursively) performs an Object.assign(dst[`k`], src[`k`]) with\n * a slight change from the typical handling of undefined for dst[`k`]: instead of raising an error,\n * dst[`k`] is auto-initialized to {} and effectively merged with src[`k`]\n *

\n * Additionally, dissimilar types will not clobber unless the config.clobber parameter === true. Example:\n * ```\n * let config_0 = { foo: { bar: 'bar' }, bar: 'foo' };\n * let config_1 = { foo: 'foo', bar: 'bar' };\n * let result = assignWithDepth(config_0, config_1);\n * console.log(result);\n * //-> result: { foo: { bar: 'bar' }, bar: 'bar' }\n * ```\n *

\n * Traditional Object.assign would have clobbered foo in config_0 with foo in config_1.\n *

\n * If src is a destructured array of objects and dst is not an array, assignWithDepth will apply each element of src to dst\n * in order.\n * @param dst:any - the destination of the merge\n * @param src:any - the source object(s) to merge into destination\n * @param config:{ depth: number, clobber: boolean } - depth: depth to traverse within src and dst for merging -\n * clobber: should dissimilar types clobber (default: { depth: 2, clobber: false })\n * @returns {*}\n */\n\nexport var assignWithDepth = function assignWithDepth(dst, src, config) {\n var _Object$assign = Object.assign({\n depth: 2,\n clobber: false\n }, config),\n depth = _Object$assign.depth,\n clobber = _Object$assign.clobber;\n\n if (Array.isArray(src) && !Array.isArray(dst)) {\n src.forEach(function (s) {\n return assignWithDepth(dst, s, config);\n });\n return dst;\n } else if (Array.isArray(src) && Array.isArray(dst)) {\n src.forEach(function (s) {\n if (dst.indexOf(s) === -1) {\n dst.push(s);\n }\n });\n return dst;\n }\n\n if (typeof dst === 'undefined' || depth <= 0) {\n if (dst !== undefined && dst !== null && _typeof(dst) === 'object' && _typeof(src) === 'object') {\n return Object.assign(dst, src);\n } else {\n return src;\n }\n }\n\n if (typeof src !== 'undefined' && _typeof(dst) === 'object' && _typeof(src) === 'object') {\n Object.keys(src).forEach(function (key) {\n if (_typeof(src[key]) === 'object' && (dst[key] === undefined || _typeof(dst[key]) === 'object')) {\n if (dst[key] === undefined) {\n dst[key] = Array.isArray(src[key]) ? [] : {};\n }\n\n dst[key] = assignWithDepth(dst[key], src[key], {\n depth: depth - 1,\n clobber: clobber\n });\n } else if (clobber || _typeof(dst[key]) !== 'object' && _typeof(src[key]) !== 'object') {\n dst[key] = src[key];\n }\n });\n }\n\n return dst;\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n anchor: 'start',\n style: '#666',\n width: 100,\n height: 100,\n textMargin: 0,\n rx: 0,\n ry: 0,\n valign: undefined\n };\n};\nexport var drawSimpleText = function drawSimpleText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(common.lineBreakRegex, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.style('text-anchor', textData.anchor);\n textElem.style('font-family', textData.fontFamily);\n textElem.style('font-size', textData.fontSize);\n textElem.style('font-weight', textData.fontWeight);\n textElem.attr('fill', textData.fill);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.attr('fill', textData.fill);\n span.text(nText);\n return textElem;\n};\nexport var wrapLabel = memoize(function (label, maxWidth, config) {\n if (!label) {\n return label;\n }\n\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n joinWith: '
'\n }, config);\n\n if (common.lineBreakRegex.test(label)) {\n return label;\n }\n\n var words = label.split(' ');\n var completedLines = [];\n var nextLine = '';\n words.forEach(function (word, index) {\n var wordLength = calculateTextWidth(\"\".concat(word, \" \"), config);\n var nextLineLength = calculateTextWidth(nextLine, config);\n\n if (wordLength > maxWidth) {\n var _breakString = breakString(word, maxWidth, '-', config),\n hyphenatedStrings = _breakString.hyphenatedStrings,\n remainingWord = _breakString.remainingWord;\n\n completedLines.push.apply(completedLines, [nextLine].concat(_toConsumableArray(hyphenatedStrings)));\n nextLine = remainingWord;\n } else if (nextLineLength + wordLength >= maxWidth) {\n completedLines.push(nextLine);\n nextLine = word;\n } else {\n nextLine = [nextLine, word].filter(Boolean).join(' ');\n }\n\n var currentWord = index + 1;\n var isLastWord = currentWord === words.length;\n\n if (isLastWord) {\n completedLines.push(nextLine);\n }\n });\n return completedLines.filter(function (line) {\n return line !== '';\n }).join(config.joinWith);\n}, function (label, maxWidth, config) {\n return \"\".concat(label, \"-\").concat(maxWidth, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily, \"-\").concat(config.joinWith);\n});\nvar breakString = memoize(function (word, maxWidth) {\n var hyphenCharacter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-';\n var config = arguments.length > 3 ? arguments[3] : undefined;\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n margin: 0\n }, config);\n var characters = word.split('');\n var lines = [];\n var currentLine = '';\n characters.forEach(function (character, index) {\n var nextLine = \"\".concat(currentLine).concat(character);\n var lineWidth = calculateTextWidth(nextLine, config);\n\n if (lineWidth >= maxWidth) {\n var currentCharacter = index + 1;\n var isLastLine = characters.length === currentCharacter;\n var hyphenatedNextLine = \"\".concat(nextLine).concat(hyphenCharacter);\n lines.push(isLastLine ? nextLine : hyphenatedNextLine);\n currentLine = '';\n } else {\n currentLine = nextLine;\n }\n });\n return {\n hyphenatedStrings: lines,\n remainingWord: currentLine\n };\n}, function (word, maxWidth) {\n var hyphenCharacter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-';\n var config = arguments.length > 3 ? arguments[3] : undefined;\n return \"\".concat(word, \"-\").concat(maxWidth, \"-\").concat(hyphenCharacter, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily);\n});\n/**\n * This calculates the text's height, taking into account the wrap breaks and\n * both the statically configured height, width, and the length of the text (in pixels).\n *\n * If the wrapped text text has greater height, we extend the height, so it's\n * value won't overflow.\n *\n * @return - The height for the given text\n * @param text the text to measure\n * @param config - the config for fontSize, fontFamily, and fontWeight all impacting the resulting size\n */\n\nexport var calculateTextHeight = function calculateTextHeight(text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n margin: 15\n }, config);\n return calculateTextDimensions(text, config).height;\n};\n/**\n * This calculates the width of the given text, font size and family.\n *\n * @return - The width for the given text\n * @param text - The text to calculate the width of\n * @param config - the config for fontSize, fontFamily, and fontWeight all impacting the resulting size\n */\n\nexport var calculateTextWidth = function calculateTextWidth(text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial'\n }, config);\n return calculateTextDimensions(text, config).width;\n};\n/**\n * This calculates the dimensions of the given text, font size, font family, font weight, and margins.\n *\n * @return - The width for the given text\n * @param text - The text to calculate the width of\n * @param config - the config for fontSize, fontFamily, fontWeight, and margin all impacting the resulting size\n */\n\nexport var calculateTextDimensions = memoize(function (text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial'\n }, config);\n var _config = config,\n fontSize = _config.fontSize,\n fontFamily = _config.fontFamily,\n fontWeight = _config.fontWeight;\n\n if (!text) {\n return {\n width: 0,\n height: 0\n };\n } // We can't really know if the user supplied font family will render on the user agent;\n // thus, we'll take the max width between the user supplied font family, and a default\n // of sans-serif.\n\n\n var fontFamilies = ['sans-serif', fontFamily];\n var lines = text.split(common.lineBreakRegex);\n var dims = [];\n var body = select('body'); // We don't want to leak DOM elements - if a removal operation isn't available\n // for any reason, do not continue.\n\n if (!body.remove) {\n return {\n width: 0,\n height: 0,\n lineHeight: 0\n };\n }\n\n var g = body.append('svg');\n\n for (var _i = 0, _fontFamilies = fontFamilies; _i < _fontFamilies.length; _i++) {\n var _fontFamily = _fontFamilies[_i];\n var cheight = 0;\n var dim = {\n width: 0,\n height: 0,\n lineHeight: 0\n };\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = lines[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var line = _step.value;\n var textObj = getTextObj();\n textObj.text = line;\n var textElem = drawSimpleText(g, textObj).style('font-size', fontSize).style('font-weight', fontWeight).style('font-family', _fontFamily);\n var bBox = (textElem._groups || textElem)[0][0].getBBox();\n dim.width = Math.round(Math.max(dim.width, bBox.width));\n cheight = Math.round(bBox.height);\n dim.height += cheight;\n dim.lineHeight = Math.round(Math.max(dim.lineHeight, cheight));\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n dims.push(dim);\n }\n\n g.remove();\n var index = isNaN(dims[1].height) || isNaN(dims[1].width) || isNaN(dims[1].lineHeight) || dims[0].height > dims[1].height && dims[0].width > dims[1].width && dims[0].lineHeight > dims[1].lineHeight ? 0 : 1;\n return dims[index];\n}, function (text, config) {\n return \"\".concat(text, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily);\n});\nexport default {\n assignWithDepth: assignWithDepth,\n wrapLabel: wrapLabel,\n calculateTextHeight: calculateTextHeight,\n calculateTextWidth: calculateTextWidth,\n calculateTextDimensions: calculateTextDimensions,\n detectInit: detectInit,\n detectDirective: detectDirective,\n detectType: detectType,\n isSubstringInArray: isSubstringInArray,\n interpolateToCurve: interpolateToCurve,\n calcLabelPosition: calcLabelPosition,\n calcCardinalityPosition: calcCardinalityPosition,\n formatUrl: formatUrl,\n getStylesFromArray: getStylesFromArray,\n generateId: generateId,\n random: random,\n memoize: memoize,\n runFunc: runFunc\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "index": 2, "index2": 923, "size": 19471, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } } ], "profile": { "factory": 469, "building": 134, "dependencies": 1692 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../mermaidAPI", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./mermaidAPI", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../mermaidAPI", "loc": "14:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "35:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "73:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "79:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "108:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "135:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "147:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "161:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "169:15-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "190:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "191:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "192:10-20" } ], "usedExports": [ "default" ], "providedExports": [ "encodeEntities", "decodeEntities", "default" ], "optimizationBailout": [], "depth": 1, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * This is the api to be used when optionally handling the integration with the web page, instead of using the default integration provided by mermaid.js.\n *\n * The core of this api is the [**render**](https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#render) function which, given a graph\n * definition as text, renders the graph/diagram and returns an svg element for the graph.\n *\n * It is is then up to the user of the API to make use of the svg, either insert it somewhere in the page or do something completely different.\n *\n * In addition to the render function, a number of behavioral configuration options are available.\n *\n * @name mermaidAPI\n */\nimport { select } from 'd3';\nimport scope from 'scope-css';\nimport pkg from '../package.json';\nimport { setConfig, getConfig, setSiteConfig, getSiteConfig } from './config';\nimport { logger, setLogLevel } from './logger';\nimport utils, { assignWithDepth } from './utils';\nimport flowRenderer from './diagrams/flowchart/flowRenderer';\nimport flowRendererV2 from './diagrams/flowchart/flowRenderer-v2';\nimport flowParser from './diagrams/flowchart/parser/flow';\nimport flowDb from './diagrams/flowchart/flowDb';\nimport sequenceRenderer from './diagrams/sequence/sequenceRenderer';\nimport sequenceParser from './diagrams/sequence/parser/sequenceDiagram';\nimport sequenceDb from './diagrams/sequence/sequenceDb';\nimport ganttRenderer from './diagrams/gantt/ganttRenderer';\nimport ganttParser from './diagrams/gantt/parser/gantt';\nimport ganttDb from './diagrams/gantt/ganttDb';\nimport classRenderer from './diagrams/class/classRenderer';\nimport classParser from './diagrams/class/parser/classDiagram';\nimport classDb from './diagrams/class/classDb';\nimport stateRenderer from './diagrams/state/stateRenderer';\nimport stateRendererV2 from './diagrams/state/stateRenderer-v2';\nimport stateParser from './diagrams/state/parser/stateDiagram';\nimport stateDb from './diagrams/state/stateDb';\nimport gitGraphRenderer from './diagrams/git/gitGraphRenderer';\nimport gitGraphParser from './diagrams/git/parser/gitGraph';\nimport gitGraphAst from './diagrams/git/gitGraphAst';\nimport infoRenderer from './diagrams/info/infoRenderer';\nimport errorRenderer from './errorRenderer';\nimport infoParser from './diagrams/info/parser/info';\nimport infoDb from './diagrams/info/infoDb';\nimport pieRenderer from './diagrams/pie/pieRenderer';\nimport pieParser from './diagrams/pie/parser/pie';\nimport pieDb from './diagrams/pie/pieDb';\nimport erDb from './diagrams/er/erDb';\nimport erParser from './diagrams/er/parser/erDiagram';\nimport erRenderer from './diagrams/er/erRenderer';\nimport journeyParser from './diagrams/user-journey/parser/journey';\nimport journeyDb from './diagrams/user-journey/journeyDb';\nimport journeyRenderer from './diagrams/user-journey/journeyRenderer';\nimport configApi from './config';\nvar themes = {};\n\nfor (var _i = 0, _arr = ['default', 'forest', 'dark', 'neutral']; _i < _arr.length; _i++) {\n var themeName = _arr[_i];\n themes[themeName] = require(\"./themes/\".concat(themeName, \"/index.scss\"));\n}\n\nfunction parse(text) {\n var graphInit = utils.detectInit(text);\n\n if (graphInit) {\n reinitialize(graphInit);\n logger.debug('reinit ', graphInit);\n }\n\n var graphType = utils.detectType(text);\n var parser;\n logger.debug('Type ' + graphType);\n\n switch (graphType) {\n case 'git':\n parser = gitGraphParser;\n parser.parser.yy = gitGraphAst;\n break;\n\n case 'flowchart':\n flowDb.clear();\n parser = flowParser;\n parser.parser.yy = flowDb;\n break;\n\n case 'flowchart-v2':\n flowDb.clear();\n parser = flowParser;\n parser.parser.yy = flowDb;\n break;\n\n case 'sequence':\n parser = sequenceParser;\n parser.parser.yy = sequenceDb;\n break;\n\n case 'gantt':\n parser = ganttParser;\n parser.parser.yy = ganttDb;\n break;\n\n case 'class':\n parser = classParser;\n parser.parser.yy = classDb;\n break;\n\n case 'state':\n parser = stateParser;\n parser.parser.yy = stateDb;\n break;\n\n case 'stateDiagram':\n parser = stateParser;\n parser.parser.yy = stateDb;\n break;\n\n case 'info':\n logger.debug('info info info');\n parser = infoParser;\n parser.parser.yy = infoDb;\n break;\n\n case 'pie':\n logger.debug('pie');\n parser = pieParser;\n parser.parser.yy = pieDb;\n break;\n\n case 'er':\n logger.debug('er');\n parser = erParser;\n parser.parser.yy = erDb;\n break;\n\n case 'journey':\n logger.debug('Journey');\n parser = journeyParser;\n parser.parser.yy = journeyDb;\n break;\n }\n\n parser.parser.yy.graphType = graphType;\n\n parser.parser.yy.parseError = function (str, hash) {\n var error = {\n str: str,\n hash: hash\n };\n throw error;\n };\n\n parser.parse(text);\n return parser;\n}\n\nexport var encodeEntities = function encodeEntities(text) {\n var txt = text;\n txt = txt.replace(/style.*:\\S*#.*;/g, function (s) {\n var innerTxt = s.substring(0, s.length - 1);\n return innerTxt;\n });\n txt = txt.replace(/classDef.*:\\S*#.*;/g, function (s) {\n var innerTxt = s.substring(0, s.length - 1);\n return innerTxt;\n });\n txt = txt.replace(/#\\w+;/g, function (s) {\n var innerTxt = s.substring(1, s.length - 1);\n var isInt = /^\\+?\\d+$/.test(innerTxt);\n\n if (isInt) {\n return 'fl°°' + innerTxt + '¶ß';\n } else {\n return 'fl°' + innerTxt + '¶ß';\n }\n });\n return txt;\n};\nexport var decodeEntities = function decodeEntities(text) {\n var txt = text;\n txt = txt.replace(/fl°°/g, function () {\n return '&#';\n });\n txt = txt.replace(/fl°/g, function () {\n return '&';\n });\n txt = txt.replace(/¶ß/g, function () {\n return ';';\n });\n return txt;\n};\n/**\n * Function that renders an svg with a graph from a chart definition. Usage example below.\n *\n * ```js\n * mermaidAPI.initialize({\n * startOnLoad:true\n * });\n * $(function(){\n * const graphDefinition = 'graph TB\\na-->b';\n * const cb = function(svgGraph){\n * console.log(svgGraph);\n * };\n * mermaidAPI.render('id1',graphDefinition,cb);\n * });\n *```\n * @param id the id of the element to be rendered\n * @param _txt the graph definition\n * @param cb callback which is called after rendering is finished with the svg code as inparam.\n * @param container selector to element in which a div with the graph temporarily will be inserted. In one is\n * provided a hidden div will be inserted in the body of the page instead. The element will be removed when rendering is\n * completed.\n */\n\nvar render = function render(id, _txt, cb, container) {\n var cnf = getConfig(); // Check the maximum allowed text size\n\n var txt = _txt;\n\n if (_txt.length > cnf.maxTextSize) {\n txt = 'graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa';\n }\n\n var graphInit = utils.detectInit(txt);\n\n if (graphInit) {\n reinitialize(graphInit);\n assignWithDepth(cnf, getConfig());\n }\n\n if (typeof container !== 'undefined') {\n container.innerHTML = '';\n select(container).append('div').attr('id', 'd' + id).attr('style', 'font-family: ' + cnf.fontFamily).append('svg').attr('id', id).attr('width', '100%').attr('xmlns', 'http://www.w3.org/2000/svg').append('g');\n } else {\n var existingSvg = document.getElementById(id);\n\n if (existingSvg) {\n existingSvg.remove();\n }\n\n var _element = document.querySelector('#' + 'd' + id);\n\n if (_element) {\n _element.remove();\n }\n\n select('body').append('div').attr('id', 'd' + id).append('svg').attr('id', id).attr('width', '100%').attr('xmlns', 'http://www.w3.org/2000/svg').append('g');\n }\n\n window.txt = txt;\n txt = encodeEntities(txt);\n var element = select('#d' + id).node();\n var graphType = utils.detectType(txt); // insert inline style into svg\n\n var svg = element.firstChild;\n var firstChild = svg.firstChild; // pre-defined theme\n\n var style = themes[cnf.theme];\n\n if (style === undefined) {\n style = '';\n } // user provided theme CSS\n\n\n if (cnf.themeCSS !== undefined) {\n style += \"\\n\".concat(cnf.themeCSS);\n } // user provided theme CSS\n\n\n if (cnf.fontFamily !== undefined) {\n style += \"\\n:root { --mermaid-font-family: \".concat(cnf.fontFamily, \"}\");\n } // user provided theme CSS\n\n\n if (cnf.altFontFamily !== undefined) {\n style += \"\\n:root { --mermaid-alt-font-family: \".concat(cnf.altFontFamily, \"}\");\n } // classDef\n\n\n if (graphType === 'flowchart' || graphType === 'flowchart-v2' || graphType === 'graph') {\n var classes = flowRenderer.getClasses(txt);\n\n for (var className in classes) {\n style += \"\\n.\".concat(className, \" > * { \").concat(classes[className].styles.join(' !important; '), \" !important; }\");\n\n if (classes[className].textStyles) {\n style += \"\\n.\".concat(className, \" tspan { \").concat(classes[className].textStyles.join(' !important; '), \" !important; }\");\n }\n }\n }\n\n var style1 = document.createElement('style');\n style1.innerHTML = scope(style, \"#\".concat(id));\n svg.insertBefore(style1, firstChild); // Verify that the generated svgs are ok before removing this\n // const style2 = document.createElement('style');\n // const cs = window.getComputedStyle(svg);\n // style2.innerHTML = `#d${id} * {\n // color: ${cs.color};\n // // font: ${cs.font};\n // // font-family: Arial;\n // // font-size: 24px;\n // }`;\n // svg.insertBefore(style2, firstChild);\n\n try {\n switch (graphType) {\n case 'git':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n gitGraphRenderer.setConf(cnf.git);\n gitGraphRenderer.draw(txt, id, false);\n break;\n\n case 'flowchart':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n flowRenderer.setConf(cnf.flowchart);\n flowRenderer.draw(txt, id, false);\n break;\n\n case 'flowchart-v2':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n flowRendererV2.setConf(cnf.flowchart);\n flowRendererV2.draw(txt, id, false);\n break;\n\n case 'sequence':\n cnf.sequence.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n\n if (cnf.sequenceDiagram) {\n // backwards compatibility\n sequenceRenderer.setConf(Object.assign(cnf.sequence, cnf.sequenceDiagram));\n console.error('`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.');\n } else {\n sequenceRenderer.setConf(cnf.sequence);\n }\n\n sequenceRenderer.draw(txt, id);\n break;\n\n case 'gantt':\n cnf.gantt.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n ganttRenderer.setConf(cnf.gantt);\n ganttRenderer.draw(txt, id);\n break;\n\n case 'class':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n classRenderer.setConf(cnf.class);\n classRenderer.draw(txt, id);\n break;\n\n case 'state':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n stateRenderer.setConf(cnf.state);\n stateRenderer.draw(txt, id);\n break;\n\n case 'stateDiagram':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n stateRendererV2.setConf(cnf.state);\n stateRendererV2.draw(txt, id);\n break;\n\n case 'info':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n infoRenderer.setConf(cnf.class);\n infoRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'pie':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n pieRenderer.setConf(cnf.class);\n pieRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'er':\n erRenderer.setConf(cnf.er);\n erRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'journey':\n journeyRenderer.setConf(cnf.journey);\n journeyRenderer.draw(txt, id, pkg.version);\n break;\n }\n } catch (e) {\n // errorRenderer.setConf(cnf.class);\n errorRenderer.draw(id, pkg.version);\n throw e;\n }\n\n select(\"[id=\\\"\".concat(id, \"\\\"]\")).selectAll('foreignobject > *').attr('xmlns', 'http://www.w3.org/1999/xhtml'); // if (cnf.arrowMarkerAbsolute) {\n // url =\n // window.location.protocol +\n // '//' +\n // window.location.host +\n // window.location.pathname +\n // window.location.search;\n // url = url.replace(/\\(/g, '\\\\(');\n // url = url.replace(/\\)/g, '\\\\)');\n // }\n // Fix for when the base tag is used\n\n var svgCode = select('#d' + id).node().innerHTML;\n logger.debug('cnf.arrowMarkerAbsolute', cnf.arrowMarkerAbsolute);\n\n if (!cnf.arrowMarkerAbsolute || cnf.arrowMarkerAbsolute === 'false') {\n svgCode = svgCode.replace(/marker-end=\"url\\(.*?#/g, 'marker-end=\"url(#', 'g');\n }\n\n svgCode = decodeEntities(svgCode);\n\n if (typeof cb !== 'undefined') {\n switch (graphType) {\n case 'flowchart':\n case 'flowchart-v2':\n cb(svgCode, flowDb.bindFunctions);\n break;\n\n case 'gantt':\n cb(svgCode, ganttDb.bindFunctions);\n break;\n\n case 'class':\n cb(svgCode, classDb.bindFunctions);\n break;\n\n default:\n cb(svgCode);\n }\n } else {\n logger.debug('CB = undefined!');\n }\n\n var node = select('#d' + id).node();\n\n if (node !== null && typeof node.remove === 'function') {\n select('#d' + id).node().remove();\n }\n\n return svgCode;\n};\n\nvar currentDirective = {};\n\nvar parseDirective = function parseDirective(statement, context, type) {\n try {\n if (statement !== undefined) {\n statement = statement.trim();\n\n switch (context) {\n case 'open_directive':\n currentDirective = {};\n break;\n\n case 'type_directive':\n currentDirective.type = statement.toLowerCase();\n break;\n\n case 'arg_directive':\n currentDirective.args = JSON.parse(statement);\n break;\n\n case 'close_directive':\n handleDirective(currentDirective, type);\n currentDirective = null;\n break;\n }\n }\n } catch (error) {\n logger.error(\"Error while rendering sequenceDiagram directive: \".concat(statement, \" jison context: \").concat(context));\n logger.error(error.message);\n }\n};\n\nvar handleDirective = function handleDirective(directive, type) {\n logger.debug(\"Directive type=\".concat(directive.type, \" with args:\"), directive.args);\n\n switch (directive.type) {\n case 'init':\n case 'initialize':\n {\n ['config'].forEach(function (prop) {\n if (typeof directive.args[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n directive.args[type] = directive.args[prop];\n delete directive.args[prop];\n }\n });\n reinitialize(directive.args);\n break;\n }\n\n case 'wrap':\n case 'nowrap':\n directive.args = {\n config: {\n wrap: directive.type === 'wrap'\n }\n };\n ['config'].forEach(function (prop) {\n if (typeof directive.args[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n directive.args[type] = directive.args[prop];\n delete directive.args[prop];\n }\n });\n reinitialize(directive.args);\n break;\n\n default:\n logger.warn(\"Unhandled directive: source: '%%{\".concat(directive.type, \": \").concat(JSON.stringify(directive.args ? directive.args : {}), \"}%%\"), directive);\n break;\n }\n};\n\nfunction updateRendererConfigs(conf) {\n gitGraphRenderer.setConf(conf.git);\n flowRenderer.setConf(conf.flowchart);\n flowRendererV2.setConf(conf.flowchart);\n\n if (typeof conf['sequenceDiagram'] !== 'undefined') {\n sequenceRenderer.setConf(assignWithDepth(conf.sequence, conf['sequenceDiagram']));\n }\n\n sequenceRenderer.setConf(conf.sequence);\n ganttRenderer.setConf(conf.gantt);\n classRenderer.setConf(conf.class);\n stateRenderer.setConf(conf.state);\n stateRendererV2.setConf(conf.state);\n infoRenderer.setConf(conf.class);\n pieRenderer.setConf(conf.class);\n erRenderer.setConf(conf.er);\n journeyRenderer.setConf(conf.journey);\n errorRenderer.setConf(conf.class);\n}\n\nfunction reinitialize(options) {\n console.log(\"mermaidAPI.reinitialize: v\".concat(pkg.version), options); // Set default options\n\n var config = _typeof(options) === 'object' ? setConfig(options) : getSiteConfig();\n updateRendererConfigs(config);\n setLogLevel(config.logLevel);\n logger.debug('mermaidAPI.reinitialize: ', config);\n}\n\nfunction initialize(options) {\n // console.log(`mermaidAPI.initialize: v${pkg.version}`);\n // Set default options\n var config = _typeof(options) === 'object' ? setSiteConfig(options) : getSiteConfig();\n updateRendererConfigs(config);\n setLogLevel(config.logLevel);\n logger.debug('mermaidAPI.initialize: ', config);\n} // function getConfig () {\n// console.warn('get config')\n// return config\n// }\n\n\nvar mermaidAPI = Object.freeze({\n render: render,\n parse: parse,\n parseDirective: parseDirective,\n initialize: initialize,\n reinitialize: reinitialize,\n getConfig: getConfig,\n getSiteConfig: getSiteConfig,\n reset: function reset() {\n // console.warn('reset');\n configApi.reset();\n var siteConfig = getSiteConfig();\n updateRendererConfigs(siteConfig);\n },\n globalReset: function globalReset() {\n configApi.reset(configApi.defaultConfig);\n updateRendererConfigs(getConfig());\n },\n defaultConfig: configApi.defaultConfig\n});\nsetLogLevel(getConfig().logLevel);\nconfigApi.reset(getConfig());\nexport default mermaidAPI;\n/**\n * ## mermaidAPI configuration defaults\n *

\n *\n * <script>\n *   var config = {\n *     theme:'default',\n *     logLevel:'fatal',\n *     securityLevel:'strict',\n *     startOnLoad:true,\n *     arrowMarkerAbsolute:false,\n *\n *     er:{\n *       diagramPadding:20,\n *       layoutDirection:'TB',\n *       minEntityWidth:100,\n *       minEntityHeight:75,\n *       entityPadding:15,\n *       stroke:'gray',\n *       fill:'honeydew',\n *       fontSize:12,\n *       useMaxWidth:true,\n *     },\n *     flowchart:{\n *       diagramPadding:8,\n *       htmlLabels:true,\n *       curve:'linear',\n *     },\n *     sequence:{\n *       diagramMarginX:50,\n *       diagramMarginY:10,\n *       actorMargin:50,\n *       width:150,\n *       height:65,\n *       boxMargin:10,\n *       boxTextMargin:5,\n *       noteMargin:10,\n *       messageMargin:35,\n *       messageAlign:'center',\n *       mirrorActors:true,\n *       bottomMarginAdj:1,\n *       useMaxWidth:true,\n *       rightAngles:false,\n *       showSequenceNumbers:false,\n *     },\n *     gantt:{\n *       titleTopMargin:25,\n *       barHeight:20,\n *       barGap:4,\n *       topPadding:50,\n *       leftPadding:75,\n *       gridLineStartPadding:35,\n *       fontSize:11,\n *       fontFamily:'\"Open-Sans\", \"sans-serif\"',\n *       numberSectionStyles:4,\n *       axisFormat:'%Y-%m-%d',\n *     }\n *   };\n *   mermaid.initialize(config);\n * </script>\n *
\n */" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/common/common.js", "name": "./src/diagrams/common/common.js", "index": 546, "index2": 543, "size": 1849, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "issuerId": null, "issuerName": "./src/utils.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 1707, "building": 708 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "9:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "9:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/common/common", "loc": "16:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "22:50-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "22:98-104" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "55:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "60:34-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "61:34-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "111:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "150:53-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "170:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "175:30-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "197:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "197:33-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "209:28-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "239:21-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "249:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "271:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "279:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "295:28-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "341:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "391:30-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "436:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "536:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "568:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "708:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "getRows", "removeScript", "sanitizeText", "lineBreakRegex", "hasBreaks", "splitBreaks", "default" ], "optimizationBailout": [], "depth": 2, "source": "export var getRows = function getRows(s) {\n if (!s) return 1;\n var str = breakToPlaceholder(s);\n str = str.replace(/\\\\n/g, '#br#');\n return str.split('#br#');\n};\nexport var removeScript = function removeScript(txt) {\n var rs = '';\n var idx = 0;\n\n while (idx >= 0) {\n idx = txt.indexOf('= 0) {\n rs += txt.substr(0, idx);\n txt = txt.substr(idx + 1);\n idx = txt.indexOf('');\n\n if (idx >= 0) {\n idx += 9;\n txt = txt.substr(idx);\n }\n } else {\n rs += txt;\n idx = -1;\n break;\n }\n }\n\n return rs;\n};\nexport var sanitizeText = function sanitizeText(text, config) {\n var txt = text;\n var htmlLabels = true;\n if (config.flowchart && (config.flowchart.htmlLabels === false || config.flowchart.htmlLabels === 'false')) htmlLabels = false;\n\n if (htmlLabels) {\n var level = config.securityLevel;\n\n if (level == 'antiscript') {\n txt = removeScript(txt);\n } else if (level !== 'loose') {\n // eslint-disable-line\n txt = breakToPlaceholder(txt);\n txt = txt.replace(//g, '>');\n txt = txt.replace(/=/g, '=');\n txt = placeholderToBreak(txt);\n }\n }\n\n return txt;\n};\nexport var lineBreakRegex = //gi;\nexport var hasBreaks = function hasBreaks(text) {\n return //gi.test(text);\n};\nexport var splitBreaks = function splitBreaks(text) {\n return text.split(//gi);\n};\n\nvar breakToPlaceholder = function breakToPlaceholder(s) {\n return s.replace(lineBreakRegex, '#br#');\n};\n\nvar placeholderToBreak = function placeholderToBreak(s) {\n return s.replace(/#br#/g, '
');\n};\n\nexport default {\n getRows: getRows,\n sanitizeText: sanitizeText,\n hasBreaks: hasBreaks,\n splitBreaks: splitBreaks,\n lineBreakRegex: lineBreakRegex,\n removeScript: removeScript\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "name": "./src/config.js", "index": 553, "index2": 550, "size": 29029, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "3:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "6:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "6:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "7:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "7:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "10:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "11:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "12:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:86-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:153-162" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:192-201" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:220-229" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./config", "loc": "18:0-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "20:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:92-101" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:158-167" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "23:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "26:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:117-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:162-171" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:144-153" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:208-217" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:246-255" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "32:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "41:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "41:219-228" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "44:23-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:119-128" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:164-173" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "49:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:64-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:98-107" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:132-141" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./config", "loc": "54:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:52-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:142-151" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:184-193" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "67:35-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:135-144" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:213-222" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:251-260" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "74:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "82:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "85:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "86:19-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "90:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "90:102-111" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "97:124-133" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "137:18-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "139:176-185" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "139:207-216" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "144:18-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "144:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:214-223" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:255-264" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:79-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:108-117" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:150-159" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:178-187" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:207-216" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:249-258" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:277-286" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:306-315" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:86-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:153-162" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:196-205" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:224-233" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "156:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "157:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "159:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "165:128-137" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "165:165-174" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "172:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "173:241-250" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "198:23-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "215:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "220:27-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "221:47-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "227:25-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "233:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "244:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "248:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "253:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "260:39-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "261:33-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "265:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "269:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "288:41-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "289:43-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "306:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "308:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "326:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "331:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "341:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "354:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:91-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:152-161" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:214-223" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:268-277" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "478:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "510:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "545:47-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "545:68-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "554:47-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "554:72-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "570:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "571:17-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "574:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "575:21-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "579:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "579:20-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "580:26-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "582:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "584:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "585:0-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "585:16-25" } ], "usedExports": [ "getConfig", "setConfig", "getSiteConfig", "setSiteConfig", "default" ], "providedExports": [ "defaultConfig", "setSiteConfig", "getSiteConfig", "setConfig", "getConfig", "sanitize", "reset", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { assignWithDepth } from './utils';\nimport { logger } from './logger';\n/**\n * These are the default options which can be overridden with the initialization call like so:\n * **Example 1:**\n *
\n * mermaid.initialize({\n *   flowchart:{\n *     htmlLabels: false\n *   }\n * });\n * 
\n *\n * **Example 2:**\n *
\n * <script>\n *   var config = {\n *     startOnLoad:true,\n *     flowchart:{\n *       useMaxWidth:true,\n *       htmlLabels:true,\n *       curve:'cardinal',\n *     },\n *\n *     securityLevel:'loose',\n *   };\n *   mermaid.initialize(config);\n * </script>\n * 
\n * A summary of all options and their defaults is found [here](https://github.com/knsv/mermaid/blob/master/docs/Setup.md#mermaidapi-configuration-defaults). A description of each option follows below.\n *\n * @name Configuration\n */\n\nvar config = {\n /** theme , the CSS style sheet\n *\n * theme , the CSS style sheet\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| Theme |Built in Themes| String | Optional | Values include, default, forest, dark, neutral, null|\n ***Notes:**To disable any pre-defined mermaid theme, use \"null\".\n *
\n   *  \"theme\": \"forest\",\n   *  \"themeCSS\": \".node rect { fill: red; }\"\n   * 
\n */\n theme: 'default',\n themeCSS: undefined,\n\n /* **maxTextSize** - The maximum allowed size of the users text diamgram */\n maxTextSize: 50000,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *|fontFamily | specifies the font to be used in the rendered diagrams| String | Required | Verdana, Arial, Trebuchet MS,|\n *\n ***notes: Default value is \\\\\"trebuchet ms\\\\\".\n */\n fontFamily: '\"trebuchet ms\", verdana, arial;',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| logLevel |This option decides the amount of logging to be used.| String | Required | 1, 2, 3, 4, 5 |\n *\n *\n ***Notes:**\n *- debug: 1.\n *- info: 2.\n *- warn: 3.\n *- error: 4.\n *- fatal: 5(default).\n */\n logLevel: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| securitylevel | Level of trust for parsed diagram|String | Required | Strict, Loose, antiscript |\n *\n ***Notes:\n *- **strict**: (**default**) tags in text are encoded, click functionality is disabeled\n *- **loose**: tags in text are allowed, click functionality is enabled\n *- **antiscript**: html tags in text are allowed, (only script element is removed), click functionality is enabled\n */\n securityLevel: 'strict',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| startOnLoad| Dictates whether mermaind starts on Page load | Boolean | Required | True, False |\n *\n ***Notes:**\n ***Default value: true**\n */\n startOnLoad: true,\n\n /**\n *| Parameter | Description |Type | Required |Values|\n *| --- | --- | --- | --- | --- |\n *| arrowMarkerAbsolute | Controls whether or arrow markers in html code are absolute paths or anchors | Boolean | Required | True, False |\n *\n *\n *## Notes**: This matters if you are using base tag settings.\n ***Default value: false**.\n */\n arrowMarkerAbsolute: false,\n\n /**\n * This option controls which currentConfig keys are considered _secure_ and can only be changed via\n * call to mermaidAPI.initialize. Calls to mermaidAPI.reinitialize cannot make changes to\n * the `secure` keys in the current currentConfig. This prevents malicious graph directives from\n * overriding a site's default security.\n */\n secure: ['secure', 'securityLevel', 'startOnLoad', 'maxTextSize'],\n\n /**\n * The object containing configurations specific for flowcharts\n */\n flowchart: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramPadding | amount of padding around the diagram as a whole | Integer | Required | Any Positive Value |\n *\n ***Notes:**The amount of padding around the diagram as a whole so that embedded diagrams have margins, expressed in pixels\n ***Default value: 8**.\n */\n diagramPadding: 8,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| htmlLabels | Flag for setting whether or not a html tag should be used for rendering labels on the edges. | Boolean| Required | True, False|\n *\n ***Notes: Default value: true**.\n */\n htmlLabels: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| nodeSpacing | Defines the spacing between nodes on the same level | Integer| Required | Any positive Numbers |\n *\n ***Notes:\n *Pertains to horizontal spacing for TB (top to bottom) or BT (bottom to top) graphs, and the vertical spacing for LR as well as RL graphs.**\n ***Default value 50**.\n */\n nodeSpacing: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rankSpacing | Defines the spacing between nodes on different levels | Integer | Required| Any Positive Numbers |\n *\n ***Notes: pertains to vertical spacing for TB (top to bottom) or BT (bottom to top), and the horizontal spacing for LR as well as RL graphs.\n ***Default value 50**.\n */\n rankSpacing: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| curve | Defines how mermaid renders curves for flowcharts. | String | Required | Basis, Linear, Cardinal|\n *\n ***Notes:\n *Default Vaue: Linear**\n */\n curve: 'linear',\n // Only used in new experimental rendering\n // repreesents the padding between the labels and the shape\n padding: 15\n },\n\n /**\n * The object containing configurations specific for sequence diagrams\n */\n sequence: {\n /**\n * widt of the activation rect\n * **Default value 10**.\n */\n activationWidth: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginX | margin to the right and left of the sequence diagram | Integer | Required | Any Positive Values |\n *\n ***Notes:**\n ***Default value 50**.\n */\n diagramMarginX: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginY | Margin to the over and under the sequence diagram | Integer | Required | Any Positive Values|\n *\n ***Notes:**\n ***Default value 10**.\n */\n diagramMarginY: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorMargin | Margin between actors. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n actorMargin: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| width | Width of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 150**.\n */\n width: 150,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| height | Height of actor boxes | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 65**..\n */\n height: 65,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n ***Default value 10**.\n */\n boxMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxTextMargin| margin around the text in loop/alt/opt boxes | Integer | Required| Any Positive Value|\n *\n ***Notes:**\n *\n ***Default value 5**.\n */\n boxTextMargin: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteMargin | margin around notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n ***Default value 10**.\n */\n noteMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageMargin | Space between messages. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n *Space between messages.\n ***Default value 35**.\n */\n messageMargin: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageAlign | Multiline message alignment | Integer | Required | left, center, right |\n *\n ***Notes:**center **default**\n */\n messageAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| mirrorActors | mirror actors under diagram. | Boolean| Required | True, False |\n *\n ***Notes:**\n *\n ***Default value true**.\n */\n mirrorActors: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| bottomMarginAdj | Prolongs the edge of the diagram downwards. | Integer | Required | Any Positive Value |\n *\n ***Notes:**Depending on css styling this might need adjustment.\n ***Default value 1**.\n */\n bottomMarginAdj: 1,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See Notes | Boolean | Required | True, False |\n *\n ***Notes:**\n *when this flag is set to true, the height and width is set to 100% and is then scaling with the\n *available space. If set to false, the absolute space required is used.\n ***Default value: True**.\n */\n useMaxWidth: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rightAngles | display curve arrows as right angles| Boolean | Required | True, False |\n *\n ***Notes:**\n *\n *This will display arrows that start and begin at the same node as right angles, rather than a curve\n ***Default value false**.\n */\n rightAngles: false,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| showSequenceNumbers | This will show the node numbers | Boolean | Required | True, False |\n *\n ***Notes:**\n ***Default value false**.\n */\n showSequenceNumbers: false,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorFontSize| This sets the font size of the actor's description | Integer | Require | Any Positive Value |\n *\n ***Notes:**\n ***Default value 14**..\n */\n actorFontSize: 14,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorFontFamily |This sets the font family of the actor's description | 3 | 4 | Open-Sans, Sans-Serif |\n *\n ***Notes:**\n ***Default value \"Open-Sans\", \"sans-serif\"**.\n */\n actorFontFamily: '\"Open-Sans\", \"sans-serif\"',\n\n /**\n * This sets the font weight of the actor's description\n * **Default value 400.\n */\n actorFontWeight: 400,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteFontSize |This sets the font size of actor-attached notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 14**..\n */\n noteFontSize: 14,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteFontFamily| This sets the font family of actor-attached notes. | String | Required | trebuchet ms, verdana, arial |\n *\n ***Notes:**\n ***Default value: trebuchet ms **.\n */\n noteFontFamily: '\"trebuchet ms\", verdana, arial',\n\n /**\n * This sets the font weight of the note's description\n * **Default value 400.\n */\n noteFontWeight: 400,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteAlign | This sets the text alignment of actor-attached notes. | string | required | left, center, right|\n *\n ***Notes:**\n ***Default value center**.\n */\n noteAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageFontSize | This sets the font size of actor messages. | Integer | Required | Any Positive Number |\n *\n ***Notes:**\n ***Default value 16**.\n */\n messageFontSize: 16,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageFontFamily | This sets the font family of actor messages. | String| Required | trebuchet ms\", verdana, aria |\n *\n ***Notes:**\n ***Default value:\"trebuchet ms**.\n */\n messageFontFamily: '\"trebuchet ms\", verdana, arial',\n\n /**\n * This sets the font weight of the message's description\n * **Default value 400.\n */\n messageFontWeight: 400,\n\n /**\n * This sets the auto-wrap state for the diagram\n * **Default value false.\n */\n wrap: false,\n\n /**\n * This sets the auto-wrap padding for the diagram (sides only)\n * **Default value 10.\n */\n wrapPadding: 10,\n\n /**\n * This sets the width of the loop-box (loop, alt, opt, par)\n * **Default value 50.\n */\n labelBoxWidth: 50,\n\n /**\n * This sets the height of the loop-box (loop, alt, opt, par)\n * **Default value 20.\n */\n labelBoxHeight: 20,\n messageFont: function messageFont() {\n return {\n fontFamily: this.messageFontFamily,\n fontSize: this.messageFontSize,\n fontWeight: this.messageFontWeight\n };\n },\n noteFont: function noteFont() {\n return {\n fontFamily: this.noteFontFamily,\n fontSize: this.noteFontSize,\n fontWeight: this.noteFontWeight\n };\n },\n actorFont: function actorFont() {\n return {\n fontFamily: this.actorFontFamily,\n fontSize: this.actorFontSize,\n fontWeight: this.actorFontWeight\n };\n }\n },\n\n /**\n * The object containing configurations specific for gantt diagrams*\n */\n gantt: {\n /**\n *### titleTopMargin\n *\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| titleTopMargin | Margin top for the text over the gantt diagram | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 25**.\n */\n titleTopMargin: 25,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| barHeight | The height of the bars in the graph | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 20**.\n */\n barHeight: 20,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| barGap | The margin between the different activities in the gantt diagram. | Integer | Optional |Any Positive Value |\n *\n ***Notes:**\n ***Default value 4**.\n */\n barGap: 4,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| topPadding | Margin between title and gantt diagram and between axis and gantt diagram. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n topPadding: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| leftPadding | The space allocated for the section name to the left of the activities. | Integer| Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 75**.\n */\n leftPadding: 75,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| gridLineStartPadding | Vertical starting position of the grid lines. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 35**.\n */\n gridLineStartPadding: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontSize | Font size| Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 11**.\n */\n fontSize: 11,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontFamily | font Family | string | required |\"Open-Sans\", \"sans-serif\" |\n *\n ***Notes:**\n *\n ***Default value '\"Open-Sans\", \"sans-serif\"'**.\n */\n fontFamily: '\"Open-Sans\", \"sans-serif\"',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| numberSectionStyles | The number of alternating section styles | Integer | 4 | Any Positive Value |\n *\n ***Notes:**\n ***Default value 4**.\n */\n numberSectionStyles: 4,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| axisFormat | Datetime format of the axis. | 3 | Required | Date in yy-mm-dd |\n *\n ***Notes:**\n *\n * This might need adjustment to match your locale and preferences\n ***Default value '%Y-%m-%d'**.\n */\n axisFormat: '%Y-%m-%d'\n },\n\n /**\n * The object containing configurations specific for sequence diagrams\n */\n journey: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginX | margin to the right and left of the sequence diagram | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n diagramMarginX: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginY | margin to the over and under the sequence diagram. | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 10**..\n */\n diagramMarginY: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorMargin | Margin between actors. | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 50**.\n */\n actorMargin: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| width | Width of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 150**.\n */\n width: 150,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| height | Height of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 65**.\n */\n height: 65,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 10**.\n */\n boxMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxTextMargin | margin around the text in loop/alt/opt boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n */\n boxTextMargin: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteMargin | margin around notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 10**.\n */\n noteMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageMargin |Space between messages. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n *Space between messages.\n ***Default value 35**.\n */\n messageMargin: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageAlign |Multiline message alignment | 3 | 4 | left, center, right |\n *\n ***Notes:**default:center**\n */\n messageAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| bottomMarginAdj | Prolongs the edge of the diagram downwards. | Integer | 4 | Any Positive Value |\n *\n ***Notes:**Depending on css styling this might need adjustment.\n ***Default value 1**.\n */\n bottomMarginAdj: 1,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See notes | Boolean | 4 | True, False |\n *\n ***Notes:**when this flag is set the height and width is set to 100% and is then scaling with the\n *available space if not the absolute space required is used.\n *\n ***Default value true**.\n */\n useMaxWidth: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rightAngles | Curved Arrows become Right Angles, | 3 | 4 | True, False |\n *\n ***Notes:**This will display arrows that start and begin at the same node as right angles, rather than a curves\n ***Default value false**.\n */\n rightAngles: false\n },\n class: {\n arrowMarkerAbsolute: false\n },\n git: {\n arrowMarkerAbsolute: false\n },\n state: {\n dividerMargin: 10,\n sizeUnit: 5,\n padding: 8,\n textHeight: 10,\n titleShift: -15,\n noteMargin: 10,\n forkWidth: 70,\n forkHeight: 7,\n // Used\n miniPadding: 2,\n // Font size factor, this is used to guess the width of the edges labels before rendering by dagre\n // layout. This might need updating if/when switching font\n fontSizeFactor: 5.02,\n fontSize: 24,\n labelHeight: 16,\n edgeLengthFactor: '20',\n compositTitleSize: 35,\n radius: 5\n },\n\n /**\n * The object containing configurations specific for entity relationship diagrams\n */\n er: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramPadding | amount of padding around the diagram as a whole | Integer | Required | Any Positive Value |\n *\n ***Notes:**The amount of padding around the diagram as a whole so that embedded diagrams have margins, expressed in pixels\n ***Default value: 20**.\n */\n diagramPadding: 20,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| layoutDirection | Directional bias for layout of entities. | String | Required | \"TB\", \"BT\",\"LR\",\"RL\" |\n *\n ***Notes:**\n *'TB' for Top-Bottom, 'BT'for Bottom-Top, 'LR' for Left-Right, or 'RL' for Right to Left.\n * T = top, B = bottom, L = left, and R = right.\n ***Default value: TB **.\n */\n layoutDirection: 'TB',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| minEntityWidth | The mimimum width of an entity box, | Integer | Required| Any Positive Value |\n *\n ***Notes:**expressed in pixels\n ***Default value: 100**.\n */\n minEntityWidth: 100,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| minEntityHeight| The minimum height of an entity box, | Integer | 4 | Any Positive Value |\n *\n ***Notes:**expressed in pixels\n ***Default value: 75 **\n */\n minEntityHeight: 75,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| entityPadding|minimum internal padding betweentext in box and box borders| Integer | 4 | Any Positive Value |\n *\n ***Notes:**The minimum internal padding betweentext in an entity box and the enclosing box borders, expressed in pixels.\n ***Default value: 15 **\n */\n entityPadding: 15,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| stroke | Stroke color of box edges and lines | String | 4 | Any recognized color |\n ***Default value: gray **\n */\n stroke: 'gray',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fill | Fill color of entity boxes | String | 4 | Any recognized color |\n *\n ***Notes:**\n ***Default value:'honeydew'**\n */\n fill: 'honeydew',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontSize| Font Size in pixels| Integer | | Any Positive Value |\n *\n ***Notes:**Font size (expressed as an integer representing a number of pixels)\n ***Default value: 12 **\n */\n fontSize: 12,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See Notes | Boolean | Required | true, false |\n *\n ***Notes:**\n *When this flag is set to true, the diagram width is locked to 100% and\n *scaled based on available space. If set to false, the diagram reserves its\n *absolute width.\n ***Default value: true**.\n */\n useMaxWidth: true\n }\n};\nconfig.class.arrowMarkerAbsolute = config.arrowMarkerAbsolute;\nconfig.git.arrowMarkerAbsolute = config.arrowMarkerAbsolute;\nexport var defaultConfig = Object.freeze(config);\nvar siteConfig = assignWithDepth({}, defaultConfig);\nvar currentConfig = assignWithDepth({}, defaultConfig);\n/**\n * Sets the siteConfig. The siteConfig is a protected configuration for repeat use. Calls to reset() will reset\n * the currentConfig to siteConfig. Calls to reset(configApi.defaultConfig) will reset siteConfig and currentConfig\n * to the defaultConfig\n * Note: currentConfig is set in this function\n * @param conf - the base currentConfig to use as siteConfig\n * @returns {*} - the siteConfig\n */\n\nexport var setSiteConfig = function setSiteConfig(conf) {\n assignWithDepth(currentConfig, conf, {\n clobber: true\n });\n assignWithDepth(siteConfig, conf);\n return getSiteConfig();\n};\n/**\n * Obtains the current siteConfig base configuration\n * @returns {*}\n */\n\nexport var getSiteConfig = function getSiteConfig() {\n return assignWithDepth({}, siteConfig);\n};\n/**\n * Sets the currentConfig. The param conf is sanitized based on the siteConfig.secure keys. Any\n * values found in conf with key found in siteConfig.secure will be replaced with the corresponding\n * siteConfig value.\n * @param conf - the potential currentConfig\n * @returns {*} - the currentConfig merged with the sanitized conf\n */\n\nexport var setConfig = function setConfig(conf) {\n sanitize(conf);\n assignWithDepth(currentConfig, conf);\n return getConfig();\n};\n/**\n * Obtains the currentConfig\n * @returns {*} - the currentConfig\n */\n\nexport var getConfig = function getConfig() {\n return assignWithDepth({}, currentConfig);\n};\n/**\n * Ensures options parameter does not attempt to override siteConfig secure keys\n * Note: modifies options in-place\n * @param options - the potential setConfig parameter\n */\n\nexport var sanitize = function sanitize(options) {\n Object.keys(siteConfig.secure).forEach(function (key) {\n if (typeof options[siteConfig.secure[key]] !== 'undefined') {\n // DO NOT attempt to print options[siteConfig.secure[key]] within `${}` as a malicious script\n // can exploit the logger's attempt to stringify the value and execute arbitrary code\n logger.warn(\"Denied attempt to modify a secure key \".concat(siteConfig.secure[key]), options[siteConfig.secure[key]]);\n delete options[siteConfig.secure[key]];\n }\n });\n};\n/**\n * Resets this currentConfig to conf\n * @param conf - the base currentConfig to reset to (default: current siteConfig )\n */\n\nexport var reset = function reset() {\n var conf = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getSiteConfig();\n Object.keys(siteConfig).forEach(function (key) {\n return delete siteConfig[key];\n });\n Object.keys(currentConfig).forEach(function (key) {\n return delete currentConfig[key];\n });\n assignWithDepth(siteConfig, conf, {\n clobber: true\n });\n assignWithDepth(currentConfig, conf, {\n clobber: true\n });\n};\nvar configApi = Object.freeze({\n sanitize: sanitize,\n setSiteConfig: setSiteConfig,\n getSiteConfig: getSiteConfig,\n setConfig: setConfig,\n getConfig: getConfig,\n reset: reset,\n defaultConfig: defaultConfig\n});\nexport default configApi;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "name": "./src/diagrams/flowchart/flowDb.js", "index": 552, "index2": 551, "size": 18389, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./flowDb", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "./flowDb", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowDb", "loc": "24:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "81:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "83:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "87:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "89:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "272:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "276:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "279:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "292:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "294:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "294:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "296:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "302:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "305:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "315:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "317:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "325:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "325:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "329:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "333:13-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "334:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "348:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "354:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "358:13-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "359:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "372:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "383:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "392:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "402:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "415:20-26" } ], "usedExports": [ "default" ], "providedExports": [ "addVertex", "addSingleLink", "addLink", "updateLinkInterpolate", "updateLink", "addClass", "setDirection", "setClass", "setLink", "getTooltip", "setClickEvent", "bindFunctions", "getDirection", "getVertices", "getEdges", "getClasses", "clear", "defaultStyle", "addSubGraph", "getDepthFirstPos", "indexNodes", "getSubGraphs", "firstGraph", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { select } from 'd3';\nimport { logger } from '../../logger'; // eslint-disable-line\n\nimport utils from '../../utils';\nimport { getConfig } from '../../config';\nimport common from '../common/common'; // const MERMAID_DOM_ID_PREFIX = 'mermaid-dom-id-';\n\nvar MERMAID_DOM_ID_PREFIX = '';\nvar config = getConfig();\nvar vertices = {};\nvar edges = [];\nvar classes = [];\nvar subGraphs = [];\nvar subGraphLookup = {};\nvar tooltips = {};\nvar subCount = 0;\nvar firstGraphFlag = true;\nvar direction; // Functions to be run after graph rendering\n\nvar funs = [];\n/**\n * Function called by parser when a node definition has been found\n * @param id\n * @param text\n * @param type\n * @param style\n * @param classes\n */\n\nexport var addVertex = function addVertex(_id, text, type, style, classes) {\n var txt;\n var id = _id;\n\n if (typeof id === 'undefined') {\n return;\n }\n\n if (id.trim().length === 0) {\n return;\n }\n\n if (id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] === 'undefined') {\n vertices[id] = {\n id: id,\n styles: [],\n classes: []\n };\n }\n\n if (typeof text !== 'undefined') {\n txt = common.sanitizeText(text.trim(), config); // strip quotes if string starts and ends with a quote\n\n if (txt[0] === '\"' && txt[txt.length - 1] === '\"') {\n txt = txt.substring(1, txt.length - 1);\n }\n\n vertices[id].text = txt;\n } else {\n if (typeof vertices[id].text === 'undefined') {\n vertices[id].text = _id;\n }\n }\n\n if (typeof type !== 'undefined') {\n vertices[id].type = type;\n }\n\n if (typeof style !== 'undefined') {\n if (style !== null) {\n style.forEach(function (s) {\n vertices[id].styles.push(s);\n });\n }\n }\n\n if (typeof classes !== 'undefined') {\n if (classes !== null) {\n classes.forEach(function (s) {\n vertices[id].classes.push(s);\n });\n }\n }\n};\n/**\n * Function called by parser when a link/edge definition has been found\n * @param start\n * @param end\n * @param type\n * @param linktext\n */\n\nexport var addSingleLink = function addSingleLink(_start, _end, type, linktext) {\n var start = _start;\n var end = _end;\n if (start[0].match(/\\d/)) start = MERMAID_DOM_ID_PREFIX + start;\n if (end[0].match(/\\d/)) end = MERMAID_DOM_ID_PREFIX + end; // logger.info('Got edge...', start, end);\n\n var edge = {\n start: start,\n end: end,\n type: undefined,\n text: ''\n };\n linktext = type.text;\n\n if (typeof linktext !== 'undefined') {\n edge.text = common.sanitizeText(linktext.trim(), config); // strip quotes if string starts and exnds with a quote\n\n if (edge.text[0] === '\"' && edge.text[edge.text.length - 1] === '\"') {\n edge.text = edge.text.substring(1, edge.text.length - 1);\n }\n }\n\n if (typeof type !== 'undefined') {\n edge.type = type.type;\n edge.stroke = type.stroke;\n }\n\n edges.push(edge);\n};\nexport var addLink = function addLink(_start, _end, type, linktext) {\n var i, j;\n\n for (i = 0; i < _start.length; i++) {\n for (j = 0; j < _end.length; j++) {\n addSingleLink(_start[i], _end[j], type, linktext);\n }\n }\n};\n/**\n * Updates a link's line interpolation algorithm\n * @param pos\n * @param interpolate\n */\n\nexport var updateLinkInterpolate = function updateLinkInterpolate(positions, interp) {\n positions.forEach(function (pos) {\n if (pos === 'default') {\n edges.defaultInterpolate = interp;\n } else {\n edges[pos].interpolate = interp;\n }\n });\n};\n/**\n * Updates a link with a style\n * @param pos\n * @param style\n */\n\nexport var updateLink = function updateLink(positions, style) {\n positions.forEach(function (pos) {\n if (pos === 'default') {\n edges.defaultStyle = style;\n } else {\n if (utils.isSubstringInArray('fill', style) === -1) {\n style.push('fill:none');\n }\n\n edges[pos].style = style;\n }\n });\n};\nexport var addClass = function addClass(id, style) {\n if (typeof classes[id] === 'undefined') {\n classes[id] = {\n id: id,\n styles: [],\n textStyles: []\n };\n }\n\n if (typeof style !== 'undefined') {\n if (style !== null) {\n style.forEach(function (s) {\n if (s.match('color')) {\n var newStyle1 = s.replace('fill', 'bgFill');\n var newStyle2 = newStyle1.replace('color', 'fill');\n classes[id].textStyles.push(newStyle2);\n }\n\n classes[id].styles.push(s);\n });\n }\n }\n};\n/**\n * Called by parser when a graph definition is found, stores the direction of the chart.\n * @param dir\n */\n\nexport var setDirection = function setDirection(dir) {\n direction = dir;\n\n if (direction.match(/.*/)) {\n direction = 'LR';\n }\n\n if (direction.match(/.*v/)) {\n direction = 'TB';\n }\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setClass = function setClass(ids, className) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] !== 'undefined') {\n vertices[id].classes.push(className);\n }\n\n if (typeof subGraphLookup[id] !== 'undefined') {\n subGraphLookup[id].classes.push(className);\n }\n });\n};\n\nvar setTooltip = function setTooltip(ids, tooltip) {\n ids.split(',').forEach(function (id) {\n if (typeof tooltip !== 'undefined') {\n tooltips[id] = common.sanitizeText(tooltip, config);\n }\n });\n};\n\nvar setClickFun = function setClickFun(_id, functionName) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (getConfig().securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n if (typeof vertices[id] !== 'undefined') {\n funs.push(function () {\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n utils.runFunc(functionName, id);\n }, false);\n }\n });\n }\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n * @param tooltip Tooltip for the clickable element\n */\n\n\nexport var setLink = function setLink(ids, linkStr, tooltip) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] !== 'undefined') {\n vertices[id].link = utils.formatUrl(linkStr, config);\n }\n });\n setTooltip(ids, tooltip);\n setClass(ids, 'clickable');\n};\nexport var getTooltip = function getTooltip(id) {\n return tooltips[id];\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setClickEvent = function setClickEvent(ids, functionName, tooltip) {\n ids.split(',').forEach(function (id) {\n setClickFun(id, functionName);\n });\n setTooltip(ids, tooltip);\n setClass(ids, 'clickable');\n};\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport var getDirection = function getDirection() {\n return direction.trim();\n};\n/**\n * Retrieval function for fetching the found nodes after parsing has completed.\n * @returns {{}|*|vertices}\n */\n\nexport var getVertices = function getVertices() {\n return vertices;\n};\n/**\n * Retrieval function for fetching the found links after parsing has completed.\n * @returns {{}|*|edges}\n */\n\nexport var getEdges = function getEdges() {\n return edges;\n};\n/**\n * Retrieval function for fetching the found class definitions after parsing has completed.\n * @returns {{}|*|classes}\n */\n\nexport var getClasses = function getClasses() {\n return classes;\n};\n\nvar setupToolTips = function setupToolTips(element) {\n var tooltipElem = select('.mermaidTooltip');\n\n if ((tooltipElem._groups || tooltipElem)[0][0] === null) {\n tooltipElem = select('body').append('div').attr('class', 'mermaidTooltip').style('opacity', 0);\n }\n\n var svg = select(element).select('svg');\n var nodes = svg.selectAll('g.node');\n nodes.on('mouseover', function () {\n var el = select(this);\n var title = el.attr('title'); // Dont try to draw a tooltip if no data is provided\n\n if (title === null) {\n return;\n }\n\n var rect = this.getBoundingClientRect();\n tooltipElem.transition().duration(200).style('opacity', '.9');\n tooltipElem.html(el.attr('title')).style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px').style('top', window.scrollY + rect.top - 14 + document.body.scrollTop + 'px');\n el.classed('hover', true);\n }).on('mouseout', function () {\n tooltipElem.transition().duration(500).style('opacity', 0);\n var el = select(this);\n el.classed('hover', false);\n });\n};\n\nfuns.push(setupToolTips);\n/**\n * Clears the internal graph db so that a new graph can be parsed.\n */\n\nexport var clear = function clear() {\n vertices = {};\n classes = {};\n edges = [];\n funs = [];\n funs.push(setupToolTips);\n subGraphs = [];\n subGraphLookup = {};\n subCount = 0;\n tooltips = [];\n firstGraphFlag = true;\n};\n/**\n *\n * @returns {string}\n */\n\nexport var defaultStyle = function defaultStyle() {\n return 'fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;';\n};\n/**\n * Clears the internal graph db so that a new graph can be parsed.\n */\n\nexport var addSubGraph = function addSubGraph(_id, list, _title) {\n var id = _id.trim();\n\n var title = _title;\n\n if (_id === _title && _title.match(/\\s/)) {\n id = undefined;\n }\n\n function uniq(a) {\n var prims = {\n boolean: {},\n number: {},\n string: {}\n };\n var objs = [];\n return a.filter(function (item) {\n var type = _typeof(item);\n\n if (item.trim() === '') {\n return false;\n }\n\n if (type in prims) {\n return prims[type].hasOwnProperty(item) ? false : prims[type][item] = true; // eslint-disable-line\n } else {\n return objs.indexOf(item) >= 0 ? false : objs.push(item);\n }\n });\n }\n\n var nodeList = [];\n nodeList = uniq(nodeList.concat.apply(nodeList, list));\n\n for (var i = 0; i < nodeList.length; i++) {\n if (nodeList[i][0].match(/\\d/)) nodeList[i] = MERMAID_DOM_ID_PREFIX + nodeList[i];\n }\n\n id = id || 'subGraph' + subCount;\n if (id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n title = title || '';\n title = common.sanitizeText(title, config);\n subCount = subCount + 1;\n var subGraph = {\n id: id,\n nodes: nodeList,\n title: title.trim(),\n classes: []\n };\n subGraphs.push(subGraph);\n subGraphLookup[id] = subGraph;\n return id;\n};\n\nvar getPosForId = function getPosForId(id) {\n for (var i = 0; i < subGraphs.length; i++) {\n if (subGraphs[i].id === id) {\n return i;\n }\n }\n\n return -1;\n};\n\nvar secCount = -1;\nvar posCrossRef = [];\n\nvar indexNodes2 = function indexNodes2(id, pos) {\n var nodes = subGraphs[pos].nodes;\n secCount = secCount + 1;\n\n if (secCount > 2000) {\n return;\n }\n\n posCrossRef[secCount] = pos; // Check if match\n\n if (subGraphs[pos].id === id) {\n return {\n result: true,\n count: 0\n };\n }\n\n var count = 0;\n var posCount = 1;\n\n while (count < nodes.length) {\n var childPos = getPosForId(nodes[count]); // Ignore regular nodes (pos will be -1)\n\n if (childPos >= 0) {\n var res = indexNodes2(id, childPos);\n\n if (res.result) {\n return {\n result: true,\n count: posCount + res.count\n };\n } else {\n posCount = posCount + res.count;\n }\n }\n\n count = count + 1;\n }\n\n return {\n result: false,\n count: posCount\n };\n};\n\nexport var getDepthFirstPos = function getDepthFirstPos(pos) {\n return posCrossRef[pos];\n};\nexport var indexNodes = function indexNodes() {\n secCount = -1;\n\n if (subGraphs.length > 0) {\n indexNodes2('none', subGraphs.length - 1, 0);\n }\n};\nexport var getSubGraphs = function getSubGraphs() {\n return subGraphs;\n};\nexport var firstGraph = function firstGraph() {\n if (firstGraphFlag) {\n firstGraphFlag = false;\n return true;\n }\n\n return false;\n};\n\nvar destructStartLink = function destructStartLink(_str) {\n var str = _str.trim();\n\n switch (str) {\n case '<--':\n return {\n type: 'arrow_point',\n stroke: 'normal'\n };\n\n case 'x--':\n return {\n type: 'arrow_cross',\n stroke: 'normal'\n };\n\n case 'o--':\n return {\n type: 'arrow_circle',\n stroke: 'normal'\n };\n\n case '<-.':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case 'x-.':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case 'o-.':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '<==':\n return {\n type: 'arrow_point',\n stroke: 'thick'\n };\n\n case 'x==':\n return {\n type: 'arrow_cross',\n stroke: 'thick'\n };\n\n case 'o==':\n return {\n type: 'arrow_circle',\n stroke: 'thick'\n };\n\n case '--':\n return {\n type: 'arrow_open',\n stroke: 'normal'\n };\n\n case '==':\n return {\n type: 'arrow_open',\n stroke: 'thick'\n };\n\n case '-.':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n }\n};\n\nvar destructEndLink = function destructEndLink(_str) {\n var str = _str.trim();\n\n switch (str) {\n case '--x':\n return {\n type: 'arrow_cross',\n stroke: 'normal'\n };\n\n case '-->':\n return {\n type: 'arrow_point',\n stroke: 'normal'\n };\n\n case '<-->':\n return {\n type: 'double_arrow_point',\n stroke: 'normal'\n };\n\n case 'x--x':\n return {\n type: 'double_arrow_cross',\n stroke: 'normal'\n };\n\n case 'o--o':\n return {\n type: 'double_arrow_circle',\n stroke: 'normal'\n };\n\n case 'o.-o':\n return {\n type: 'double_arrow_circle',\n stroke: 'dotted'\n };\n\n case '<==>':\n return {\n type: 'double_arrow_point',\n stroke: 'thick'\n };\n\n case 'o==o':\n return {\n type: 'double_arrow_circle',\n stroke: 'thick'\n };\n\n case 'x==x':\n return {\n type: 'double_arrow_cross',\n stroke: 'thick'\n };\n\n case 'x.-x':\n return {\n type: 'double_arrow_cross',\n stroke: 'dotted'\n };\n\n case 'x-.-x':\n return {\n type: 'double_arrow_cross',\n stroke: 'dotted'\n };\n\n case '<.->':\n return {\n type: 'double_arrow_point',\n stroke: 'dotted'\n };\n\n case '<-.->':\n return {\n type: 'double_arrow_point',\n stroke: 'dotted'\n };\n\n case 'o-.-o':\n return {\n type: 'double_arrow_circle',\n stroke: 'dotted'\n };\n\n case '--o':\n return {\n type: 'arrow_circle',\n stroke: 'normal'\n };\n\n case '---':\n return {\n type: 'arrow_open',\n stroke: 'normal'\n };\n\n case '-.-x':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case '-.->':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case '-.-o':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '-.-':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n\n case '.-x':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case '.->':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case '.-o':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '.-':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n\n case '==x':\n return {\n type: 'arrow_cross',\n stroke: 'thick'\n };\n\n case '==>':\n return {\n type: 'arrow_point',\n stroke: 'thick'\n };\n\n case '==o':\n return {\n type: 'arrow_circle',\n stroke: 'thick'\n };\n\n case '===':\n return {\n type: 'arrow_open',\n stroke: 'thick'\n };\n }\n};\n\nvar destructLink = function destructLink(_str, _startStr) {\n var info = destructEndLink(_str);\n var startInfo;\n\n if (_startStr) {\n startInfo = destructStartLink(_startStr);\n\n if (startInfo.stroke !== info.stroke) {\n return {\n type: 'INVALID',\n stroke: 'INVALID'\n };\n }\n\n if (startInfo.type === 'arrow_open') {\n // -- xyz --> - take arrow type form ending\n startInfo.type = info.type;\n } else {\n // x-- xyz --> - not supported\n if (startInfo.type !== info.type) return {\n type: 'INVALID',\n stroke: 'INVALID'\n };\n startInfo.type = 'double_' + startInfo.type;\n }\n\n if (startInfo.type === 'double_arrow') {\n startInfo.type = 'double_arrow_point';\n }\n\n return startInfo;\n }\n\n return info;\n};\n\nexport default {\n addVertex: addVertex,\n addLink: addLink,\n updateLinkInterpolate: updateLinkInterpolate,\n updateLink: updateLink,\n addClass: addClass,\n setDirection: setDirection,\n setClass: setClass,\n getTooltip: getTooltip,\n setClickEvent: setClickEvent,\n setLink: setLink,\n bindFunctions: bindFunctions,\n getDirection: getDirection,\n getVertices: getVertices,\n getEdges: getEdges,\n getClasses: getClasses,\n clear: clear,\n defaultStyle: defaultStyle,\n addSubGraph: addSubGraph,\n getDepthFirstPos: getDepthFirstPos,\n indexNodes: indexNodes,\n getSubGraphs: getSubGraphs,\n destructLink: destructLink,\n lex: {\n firstGraph: firstGraph\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "index": 571, "index2": 887, "size": 14240, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "21:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "280:18-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "314:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "315:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "523:2-14" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "addVertices", "addEdges", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select, curveLinear, selectAll } from 'd3';\nimport flowDb from './flowDb';\nimport flow from './parser/flow';\nimport { getConfig } from '../../config';\nimport dagreD3 from 'dagre-d3';\nimport addHtmlLabel from 'dagre-d3/lib/label/add-html-label.js';\nimport { logger } from '../../logger';\nimport common from '../common/common';\nimport { interpolateToCurve, getStylesFromArray } from '../../utils';\nimport flowChartShapes from './flowChartShapes';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Function that adds the vertices found in the graph definition to the graph to be rendered.\n * @param vert Object containing the vertices.\n * @param g The graph that is to be drawn.\n */\n\nexport var addVertices = function addVertices(vert, g, svgId) {\n var svg = select(\"[id=\\\"\".concat(svgId, \"\\\"]\"));\n var keys = Object.keys(vert); // Iterate through each item in the vertex object (containing all the vertices found) in the graph definition\n\n keys.forEach(function (id) {\n var vertex = vert[id];\n /**\n * Variable for storing the classes for the vertex\n * @type {string}\n */\n\n var classStr = 'default';\n\n if (vertex.classes.length > 0) {\n classStr = vertex.classes.join(' ');\n }\n\n var styles = getStylesFromArray(vertex.styles); // Use vertex id as text in the box if no text is provided by the graph definition\n\n var vertexText = vertex.text !== undefined ? vertex.text : vertex.id; // We create a SVG label, either by delegating to addHtmlLabel or manually\n\n var vertexNode;\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n var node = {\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n vertexNode = addHtmlLabel(svg, node).node();\n vertexNode.parentNode.removeChild(vertexNode);\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n var rows = vertexText.split(common.lineBreakRegex);\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '1');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n vertexNode = svgLabel;\n }\n\n var radious = 0;\n var _shape = ''; // Set the shape based parameters\n\n switch (vertex.type) {\n case 'round':\n radious = 5;\n _shape = 'rect';\n break;\n\n case 'square':\n _shape = 'rect';\n break;\n\n case 'diamond':\n _shape = 'question';\n break;\n\n case 'hexagon':\n _shape = 'hexagon';\n break;\n\n case 'odd':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'lean_right':\n _shape = 'lean_right';\n break;\n\n case 'lean_left':\n _shape = 'lean_left';\n break;\n\n case 'trapezoid':\n _shape = 'trapezoid';\n break;\n\n case 'inv_trapezoid':\n _shape = 'inv_trapezoid';\n break;\n\n case 'odd_right':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'circle':\n _shape = 'circle';\n break;\n\n case 'ellipse':\n _shape = 'ellipse';\n break;\n\n case 'stadium':\n _shape = 'stadium';\n break;\n\n case 'subroutine':\n _shape = 'subroutine';\n break;\n\n case 'cylinder':\n _shape = 'cylinder';\n break;\n\n case 'group':\n _shape = 'rect';\n break;\n\n default:\n _shape = 'rect';\n } // Add the node\n\n\n g.setNode(vertex.id, {\n labelType: 'svg',\n labelStyle: styles.labelStyle,\n shape: _shape,\n label: vertexNode,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id\n });\n });\n};\n/**\n * Add edges to graph based on parsed graph defninition\n * @param {Object} edges The edges to add to the graph\n * @param {Object} g The graph object\n */\n\nexport var addEdges = function addEdges(edges, g) {\n var cnt = 0;\n var defaultStyle;\n var defaultLabelStyle;\n\n if (typeof edges.defaultStyle !== 'undefined') {\n var defaultStyles = getStylesFromArray(edges.defaultStyle);\n defaultStyle = defaultStyles.style;\n defaultLabelStyle = defaultStyles.labelStyle;\n }\n\n edges.forEach(function (edge) {\n cnt++; // Identify Link\n\n var linkId = 'L-' + edge.start + '-' + edge.end;\n var linkNameStart = 'LS-' + edge.start;\n var linkNameEnd = 'LE-' + edge.end;\n var edgeData = {}; // Set link type for rendering\n\n if (edge.type === 'arrow_open') {\n edgeData.arrowhead = 'none';\n } else {\n edgeData.arrowhead = 'normal';\n }\n\n var style = '';\n var labelStyle = '';\n\n if (typeof edge.style !== 'undefined') {\n var styles = getStylesFromArray(edge.style);\n style = styles.style;\n labelStyle = styles.labelStyle;\n } else {\n switch (edge.stroke) {\n case 'normal':\n style = 'fill:none';\n\n if (typeof defaultStyle !== 'undefined') {\n style = defaultStyle;\n }\n\n if (typeof defaultLabelStyle !== 'undefined') {\n labelStyle = defaultLabelStyle;\n }\n\n break;\n\n case 'dotted':\n style = 'fill:none;stroke-width:2px;stroke-dasharray:3;';\n break;\n\n case 'thick':\n style = ' stroke-width: 3.5px;fill:none';\n break;\n }\n }\n\n edgeData.style = style;\n edgeData.labelStyle = labelStyle;\n\n if (typeof edge.interpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edge.interpolate, curveLinear);\n } else if (typeof edges.defaultInterpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edges.defaultInterpolate, curveLinear);\n } else {\n edgeData.curve = interpolateToCurve(conf.curve, curveLinear);\n }\n\n if (typeof edge.text === 'undefined') {\n if (typeof edge.style !== 'undefined') {\n edgeData.arrowheadStyle = 'fill: #333';\n }\n } else {\n edgeData.arrowheadStyle = 'fill: #333';\n edgeData.labelpos = 'c';\n\n if (getConfig().flowchart.htmlLabels) {\n edgeData.labelType = 'html';\n edgeData.label = \"\").concat(edge.text, \"\");\n } else {\n edgeData.labelType = 'text';\n edgeData.label = edge.text.replace(common.lineBreakRegex, '\\n');\n\n if (typeof edge.style === 'undefined') {\n edgeData.style = edgeData.style || 'stroke: #333; stroke-width: 1.5px;fill:none';\n }\n\n edgeData.labelStyle = edgeData.labelStyle.replace('color:', 'fill:');\n }\n }\n\n edgeData.id = linkId;\n edgeData.class = linkNameStart + ' ' + linkNameEnd; // Add the edge to the graph\n\n g.setEdge(edge.start, edge.end, edgeData, cnt);\n });\n};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.info('Extracting classes');\n flowDb.clear();\n\n try {\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n\n parser.parse(text);\n return flowDb.getClasses();\n } catch (e) {\n return;\n }\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing flowchart');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n // try {\n\n parser.parse(text); // } catch (err) {\n // logger.debug('Parsing failed');\n // }\n // Fetch the default direction, use TD if none was found\n\n var dir = flowDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'TD';\n }\n\n var conf = getConfig().flowchart;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: dir,\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n var subG;\n var subGraphs = flowDb.getSubGraphs();\n\n for (var _i = subGraphs.length - 1; _i >= 0; _i--) {\n subG = subGraphs[_i];\n flowDb.addVertex(subG.id, subG.title, 'group', undefined, subG.classes);\n } // Fetch the verices/nodes and edges/links from the parsed graph definition\n\n\n var vert = flowDb.getVertices();\n var edges = flowDb.getEdges();\n var i = 0;\n\n for (i = subGraphs.length - 1; i >= 0; i--) {\n subG = subGraphs[i];\n selectAll('cluster').append('text');\n\n for (var j = 0; j < subG.nodes.length; j++) {\n g.setParent(subG.nodes[j], subG.id);\n }\n }\n\n addVertices(vert, g, id);\n addEdges(edges, g); // Create the renderer\n\n var Render = dagreD3.render;\n var render = new Render(); // Add custom shapes\n\n flowChartShapes.addToRender(render); // Add our custom arrow - an empty arrowhead\n\n render.arrows().none = function normal(parent, id, edge, type) {\n var marker = parent.append('marker').attr('id', id).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'strokeWidth').attr('markerWidth', 8).attr('markerHeight', 6).attr('orient', 'auto');\n var path = marker.append('path').attr('d', 'M 0 0 L 0 0 L 0 0 z');\n dagreD3.util.applyStyle(path, edge[type + 'Style']);\n }; // Override normal arrowhead defined in d3. Remove style & add class to allow css styling.\n\n\n render.arrows().normal = function normal(parent, id) {\n var marker = parent.append('marker').attr('id', id).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'strokeWidth').attr('markerWidth', 8).attr('markerHeight', 6).attr('orient', 'auto');\n marker.append('path').attr('d', 'M 0 0 L 10 5 L 0 10 z').attr('class', 'arrowheadPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n }; // Set up an SVG group so that we can translate the final graph.\n\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g);\n element.selectAll('g.node').attr('title', function () {\n return flowDb.getTooltip(this.id);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n svg.attr('viewBox', vBox); // Index nodes\n\n flowDb.indexNodes('subGraph' + i); // reposition labels\n\n for (i = 0; i < subGraphs.length; i++) {\n subG = subGraphs[i];\n\n if (subG.title !== 'undefined') {\n var clusterRects = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"] rect');\n var clusterEl = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"]');\n var xPos = clusterRects[0].x.baseVal.value;\n var yPos = clusterRects[0].y.baseVal.value;\n var _width = clusterRects[0].width.baseVal.value;\n var cluster = select(clusterEl[0]);\n var te = cluster.select('.label');\n te.attr('transform', \"translate(\".concat(xPos + _width / 2, \", \").concat(yPos + 14, \")\"));\n te.attr('id', id + 'Text');\n\n for (var _j = 0; _j < subG.classes.length; _j++) {\n clusterEl[0].classList.add(subG.classes[_j]);\n }\n }\n } // Add label rects for non html labels\n\n\n if (!conf.htmlLabels || true) {\n // eslint-disable-line\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n } // If node has a link, wrap it in an anchor SVG object.\n\n\n var keys = Object.keys(vert);\n keys.forEach(function (key) {\n var vertex = vert[key];\n\n if (vertex.link) {\n var node = select('#' + id + ' [id=\"' + key + '\"]');\n\n if (node) {\n var link = document.createElementNS('http://www.w3.org/2000/svg', 'a');\n link.setAttributeNS('http://www.w3.org/2000/svg', 'class', vertex.classes.join(' '));\n link.setAttributeNS('http://www.w3.org/2000/svg', 'href', vertex.link);\n link.setAttributeNS('http://www.w3.org/2000/svg', 'rel', 'noopener');\n var linkNode = node.insert(function () {\n return link;\n }, ':first-child');\n var shape = node.select('.label-container');\n\n if (shape) {\n linkNode.append(function () {\n return shape.node();\n });\n }\n\n var _label = node.select('.label');\n\n if (_label) {\n linkNode.append(function () {\n return _label.node();\n });\n }\n }\n }\n });\n};\nexport default {\n setConf: setConf,\n addVertices: addVertices,\n addEdges: addEdges,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "index": 891, "index2": 905, "size": 14132, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "22:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "320:8-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "321:8-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "524:2-16" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "addVertices", "addEdges", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select, curveLinear, selectAll } from 'd3';\nimport flowDb from './flowDb';\nimport flow from './parser/flow';\nimport { getConfig } from '../../config';\nimport { render } from '../../dagre-wrapper/index.js';\nimport addHtmlLabel from 'dagre-d3/lib/label/add-html-label.js';\nimport { logger } from '../../logger';\nimport common from '../common/common';\nimport { interpolateToCurve, getStylesFromArray } from '../../utils';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Function that adds the vertices found during parsing to the graph to be rendered.\n * @param vert Object containing the vertices.\n * @param g The graph that is to be drawn.\n */\n\nexport var addVertices = function addVertices(vert, g, svgId) {\n var svg = select(\"[id=\\\"\".concat(svgId, \"\\\"]\"));\n var keys = Object.keys(vert); // Iterate through each item in the vertex object (containing all the vertices found) in the graph definition\n\n keys.forEach(function (id) {\n var vertex = vert[id];\n /**\n * Variable for storing the classes for the vertex\n * @type {string}\n */\n\n var classStr = 'default';\n\n if (vertex.classes.length > 0) {\n classStr = vertex.classes.join(' ');\n }\n\n var styles = getStylesFromArray(vertex.styles); // Use vertex id as text in the box if no text is provided by the graph definition\n\n var vertexText = vertex.text !== undefined ? vertex.text : vertex.id; // We create a SVG label, either by delegating to addHtmlLabel or manually\n\n var vertexNode;\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n var node = {\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n vertexNode = addHtmlLabel(svg, node).node();\n vertexNode.parentNode.removeChild(vertexNode);\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n var rows = vertexText.split(common.lineBreakRegex);\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '1');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n vertexNode = svgLabel;\n }\n\n var radious = 0;\n var _shape = ''; // Set the shape based parameters\n\n switch (vertex.type) {\n case 'round':\n radious = 5;\n _shape = 'rect';\n break;\n\n case 'square':\n _shape = 'rect';\n break;\n\n case 'diamond':\n _shape = 'question';\n break;\n\n case 'hexagon':\n _shape = 'hexagon';\n break;\n\n case 'odd':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'lean_right':\n _shape = 'lean_right';\n break;\n\n case 'lean_left':\n _shape = 'lean_left';\n break;\n\n case 'trapezoid':\n _shape = 'trapezoid';\n break;\n\n case 'inv_trapezoid':\n _shape = 'inv_trapezoid';\n break;\n\n case 'odd_right':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'circle':\n _shape = 'circle';\n break;\n\n case 'ellipse':\n _shape = 'ellipse';\n break;\n\n case 'stadium':\n _shape = 'stadium';\n break;\n\n case 'subroutine':\n _shape = 'subroutine';\n break;\n\n case 'cylinder':\n _shape = 'cylinder';\n break;\n\n case 'group':\n _shape = 'rect';\n break;\n\n default:\n _shape = 'rect';\n } // Add the node\n\n\n g.setNode(vertex.id, {\n labelStyle: styles.labelStyle,\n shape: _shape,\n labelText: vertexText,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id,\n width: vertex.type === 'group' ? 500 : undefined,\n type: vertex.type,\n padding: getConfig().flowchart.padding\n });\n logger.info('setNode', {\n labelStyle: styles.labelStyle,\n shape: _shape,\n labelText: vertexText,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id,\n width: vertex.type === 'group' ? 500 : undefined,\n type: vertex.type,\n padding: getConfig().flowchart.padding\n });\n });\n};\n/**\n * Add edges to graph based on parsed graph defninition\n * @param {Object} edges The edges to add to the graph\n * @param {Object} g The graph object\n */\n\nexport var addEdges = function addEdges(edges, g) {\n var cnt = 0;\n var defaultStyle;\n var defaultLabelStyle;\n\n if (typeof edges.defaultStyle !== 'undefined') {\n var defaultStyles = getStylesFromArray(edges.defaultStyle);\n defaultStyle = defaultStyles.style;\n defaultLabelStyle = defaultStyles.labelStyle;\n }\n\n edges.forEach(function (edge) {\n cnt++; // Identify Link\n\n var linkId = 'L-' + edge.start + '-' + edge.end;\n var linkNameStart = 'LS-' + edge.start;\n var linkNameEnd = 'LE-' + edge.end;\n var edgeData = {}; //edgeData.id = 'id' + cnt;\n // Set link type for rendering\n\n if (edge.type === 'arrow_open') {\n edgeData.arrowhead = 'none';\n } else {\n edgeData.arrowhead = 'normal';\n }\n\n logger.info(edgeData, edge);\n edgeData.arrowType = edge.type;\n var style = '';\n var labelStyle = '';\n\n if (typeof edge.style !== 'undefined') {\n var styles = getStylesFromArray(edge.style);\n style = styles.style;\n labelStyle = styles.labelStyle;\n } else {\n switch (edge.stroke) {\n case 'normal':\n style = 'fill:none';\n\n if (typeof defaultStyle !== 'undefined') {\n style = defaultStyle;\n }\n\n if (typeof defaultLabelStyle !== 'undefined') {\n labelStyle = defaultLabelStyle;\n }\n\n edgeData.thickness = 'normal';\n edgeData.pattern = 'solid';\n break;\n\n case 'dotted':\n edgeData.thickness = 'normal';\n edgeData.pattern = 'dotted';\n break;\n\n case 'thick':\n edgeData.thickness = 'thick';\n edgeData.pattern = 'solid';\n break;\n }\n }\n\n edgeData.style = style;\n edgeData.labelStyle = labelStyle;\n\n if (typeof edge.interpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edge.interpolate, curveLinear);\n } else if (typeof edges.defaultInterpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edges.defaultInterpolate, curveLinear);\n } else {\n edgeData.curve = interpolateToCurve(conf.curve, curveLinear);\n }\n\n if (typeof edge.text === 'undefined') {\n if (typeof edge.style !== 'undefined') {\n edgeData.arrowheadStyle = 'fill: #333';\n }\n } else {\n edgeData.arrowheadStyle = 'fill: #333';\n edgeData.labelpos = 'c';\n\n if (getConfig().flowchart.htmlLabels && false) {\n // eslint-disable-line\n edgeData.labelType = 'html';\n edgeData.label = \"\").concat(edge.text, \"\");\n } else {\n edgeData.labelType = 'text';\n edgeData.label = edge.text.replace(common.lineBreakRegex, '\\n');\n\n if (typeof edge.style === 'undefined') {\n edgeData.style = edgeData.style || 'stroke: #333; stroke-width: 1.5px;fill:none';\n }\n\n edgeData.labelStyle = edgeData.labelStyle.replace('color:', 'fill:');\n }\n }\n\n edgeData.id = linkId;\n edgeData.classes = 'flowchart-link ' + linkNameStart + ' ' + linkNameEnd; // Add the edge to the graph\n\n g.setEdge(edge.start, edge.end, edgeData, cnt);\n });\n};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.info('Extracting classes');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb;\n\n try {\n // Parse the graph definition\n parser.parse(text);\n } catch (e) {\n return;\n }\n\n return flowDb.getClasses();\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing flowchart');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n // try {\n\n parser.parse(text); // } catch (err) {\n // logger.debug('Parsing failed');\n // }\n // Fetch the default direction, use TD if none was found\n\n var dir = flowDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'TD';\n }\n\n var conf = getConfig().flowchart;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: dir,\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n var subG;\n var subGraphs = flowDb.getSubGraphs();\n logger.info('Subgraphs - ', subGraphs);\n\n for (var _i = subGraphs.length - 1; _i >= 0; _i--) {\n subG = subGraphs[_i];\n logger.info('Subgraph - ', subG);\n flowDb.addVertex(subG.id, subG.title, 'group', undefined, subG.classes);\n } // Fetch the verices/nodes and edges/links from the parsed graph definition\n\n\n var vert = flowDb.getVertices();\n var edges = flowDb.getEdges();\n logger.info(edges);\n var i = 0;\n\n for (i = subGraphs.length - 1; i >= 0; i--) {\n subG = subGraphs[i];\n selectAll('cluster').append('text');\n\n for (var j = 0; j < subG.nodes.length; j++) {\n g.setParent(subG.nodes[j], subG.id);\n }\n }\n\n addVertices(vert, g, id);\n addEdges(edges, g); // Add custom shapes\n // flowChartShapes.addToRenderV2(addShape);\n // Set up an SVG group so that we can translate the final graph.\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g, ['point', 'circle', 'cross'], 'flowchart', id); // dagre.layout(g);\n\n element.selectAll('g.node').attr('title', function () {\n return flowDb.getTooltip(this.id);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n logger.debug(\"new ViewBox 0 0 \".concat(width, \" \").concat(height), \"translate(\".concat(padding - g._label.marginx, \", \").concat(padding - g._label.marginy, \")\"));\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n }\n\n svg.attr('viewBox', \"0 0 \".concat(width, \" \").concat(height));\n svg.select('g').attr('transform', \"translate(\".concat(padding - g._label.marginx, \", \").concat(padding - svgBounds.y, \")\")); // Index nodes\n\n flowDb.indexNodes('subGraph' + i); // // reposition labels\n // for (i = 0; i < subGraphs.length; i++) {\n // subG = subGraphs[i];\n // if (subG.title !== 'undefined') {\n // const clusterRects = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"] rect');\n // const clusterEl = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"]');\n // const xPos = clusterRects[0].x.baseVal.value;\n // const yPos = clusterRects[0].y.baseVal.value;\n // const width = clusterRects[0].width.baseVal.value;\n // const cluster = d3.select(clusterEl[0]);\n // const te = cluster.select('.label');\n // te.attr('transform', `translate(${xPos + width / 2}, ${yPos + 14})`);\n // te.attr('id', id + 'Text');\n // for (let j = 0; j < subG.classes.length; j++) {\n // clusterEl[0].classList.add(subG.classes[j]);\n // }\n // }\n // }\n // Add label rects for non html labels\n\n if (!conf.htmlLabels) {\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n } // If node has a link, wrap it in an anchor SVG object.\n\n\n var keys = Object.keys(vert);\n keys.forEach(function (key) {\n var vertex = vert[key];\n\n if (vertex.link) {\n var node = select('#' + id + ' [id=\"' + key + '\"]');\n\n if (node) {\n var link = document.createElementNS('http://www.w3.org/2000/svg', 'a');\n link.setAttributeNS('http://www.w3.org/2000/svg', 'class', vertex.classes.join(' '));\n link.setAttributeNS('http://www.w3.org/2000/svg', 'href', vertex.link);\n link.setAttributeNS('http://www.w3.org/2000/svg', 'rel', 'noopener');\n var linkNode = node.insert(function () {\n return link;\n }, ':first-child');\n var shape = node.select('.label-container');\n\n if (shape) {\n linkNode.append(function () {\n return shape.node();\n });\n }\n\n var _label = node.select('.label');\n\n if (_label) {\n linkNode.append(function () {\n return _label.node();\n });\n }\n }\n }\n });\n};\nexport default {\n setConf: setConf,\n addVertices: addVertices,\n addEdges: addEdges,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "name": "./src/diagrams/sequence/sequenceDb.js", "index": 556, "index2": 554, "size": 8123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./sequenceDb", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./sequenceDb", "loc": "8:12-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/sequenceDb", "loc": "27:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceDb", "loc": "94:25-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./sequenceDb", "loc": "360:6-16" } ], "usedExports": [ "default" ], "providedExports": [ "parseDirective", "addActor", "addMessage", "addSignal", "getMessages", "getActors", "getActor", "getActorKeys", "getTitle", "getTitleWrapped", "enableSequenceNumbers", "showSequenceNumbers", "setWrap", "autoWrap", "clear", "parseMessage", "LINETYPE", "ARROWTYPE", "PLACEMENT", "addNote", "setTitle", "apply", "default" ], "optimizationBailout": [], "depth": 2, "source": "import mermaidAPI from '../../mermaidAPI';\nimport configApi from '../../config';\nimport common from '../common/common';\nimport { logger } from '../../logger';\nvar prevActor = undefined;\nvar actors = {};\nvar messages = [];\nvar notes = [];\nvar title = '';\nvar titleWrapped = false;\nvar sequenceNumbersEnabled = false;\nvar wrapEnabled = false;\nexport var parseDirective = function parseDirective(statement, context, type) {\n mermaidAPI.parseDirective(statement, context, type);\n};\nexport var addActor = function addActor(id, name, description) {\n // Don't allow description nulling\n var old = actors[id];\n if (old && name === old.name && description == null) return; // Don't allow null descriptions, either\n\n if (description == null || description.text == null) {\n description = {\n text: name,\n wrap: null\n };\n }\n\n actors[id] = {\n name: name,\n description: description.text,\n wrap: description.wrap === undefined && autoWrap() || !!description.wrap,\n prevActor: prevActor\n };\n\n if (prevActor && actors[prevActor]) {\n actors[prevActor].nextActor = id;\n }\n\n prevActor = id;\n};\n\nvar activationCount = function activationCount(part) {\n var i;\n var count = 0;\n\n for (i = 0; i < messages.length; i++) {\n // console.warn(i, messages[i]);\n if (messages[i].type === LINETYPE.ACTIVE_START) {\n if (messages[i].from.actor === part) {\n count++;\n }\n }\n\n if (messages[i].type === LINETYPE.ACTIVE_END) {\n if (messages[i].from.actor === part) {\n count--;\n }\n }\n }\n\n return count;\n};\n\nexport var addMessage = function addMessage(idFrom, idTo, message, answer) {\n messages.push({\n from: idFrom,\n to: idTo,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n answer: answer\n });\n};\nexport var addSignal = function addSignal(idFrom, idTo) {\n var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n text: undefined,\n wrap: undefined\n };\n var messageType = arguments.length > 3 ? arguments[3] : undefined;\n\n if (messageType === LINETYPE.ACTIVE_END) {\n var cnt = activationCount(idFrom.actor);\n\n if (cnt < 1) {\n // Bail out as there is an activation signal from an inactive participant\n var error = new Error('Trying to inactivate an inactive participant (' + idFrom.actor + ')');\n error.hash = {\n text: '->>-',\n token: '->>-',\n line: '1',\n loc: {\n first_line: 1,\n last_line: 1,\n first_column: 1,\n last_column: 1\n },\n expected: [\"'ACTIVE_PARTICIPANT'\"]\n };\n throw error;\n }\n }\n\n messages.push({\n from: idFrom,\n to: idTo,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n type: messageType\n });\n return true;\n};\nexport var getMessages = function getMessages() {\n return messages;\n};\nexport var getActors = function getActors() {\n return actors;\n};\nexport var getActor = function getActor(id) {\n return actors[id];\n};\nexport var getActorKeys = function getActorKeys() {\n return Object.keys(actors);\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var getTitleWrapped = function getTitleWrapped() {\n return titleWrapped;\n};\nexport var enableSequenceNumbers = function enableSequenceNumbers() {\n sequenceNumbersEnabled = true;\n};\nexport var showSequenceNumbers = function showSequenceNumbers() {\n return sequenceNumbersEnabled;\n};\nexport var setWrap = function setWrap(wrapSetting) {\n wrapEnabled = wrapSetting;\n};\nexport var autoWrap = function autoWrap() {\n return wrapEnabled;\n};\nexport var clear = function clear() {\n actors = {};\n messages = [];\n};\nexport var parseMessage = function parseMessage(str) {\n var _str = str.trim();\n\n var message = {\n text: _str.replace(/^[:]?(?:no)?wrap:/, '').trim(),\n wrap: _str.match(/^[:]?(?:no)?wrap:/) === null ? common.hasBreaks(_str) || autoWrap() : _str.match(/^[:]?wrap:/) !== null ? true : _str.match(/^[:]?nowrap:/) !== null ? false : autoWrap()\n };\n logger.debug('parseMessage:', message);\n return message;\n};\nexport var LINETYPE = {\n SOLID: 0,\n DOTTED: 1,\n NOTE: 2,\n SOLID_CROSS: 3,\n DOTTED_CROSS: 4,\n SOLID_OPEN: 5,\n DOTTED_OPEN: 6,\n LOOP_START: 10,\n LOOP_END: 11,\n ALT_START: 12,\n ALT_ELSE: 13,\n ALT_END: 14,\n OPT_START: 15,\n OPT_END: 16,\n ACTIVE_START: 17,\n ACTIVE_END: 18,\n PAR_START: 19,\n PAR_AND: 20,\n PAR_END: 21,\n RECT_START: 22,\n RECT_END: 23\n};\nexport var ARROWTYPE = {\n FILLED: 0,\n OPEN: 1\n};\nexport var PLACEMENT = {\n LEFTOF: 0,\n RIGHTOF: 1,\n OVER: 2\n};\nexport var addNote = function addNote(actor, placement, message) {\n var note = {\n actor: actor,\n placement: placement,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap\n }; // Coerce actor into a [to, from, ...] array\n\n var actors = [].concat(actor, actor);\n notes.push(note);\n messages.push({\n from: actors[0],\n to: actors[1],\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n type: LINETYPE.NOTE,\n placement: placement\n });\n};\nexport var setTitle = function setTitle(titleWrap) {\n title = titleWrap.text;\n titleWrapped = titleWrap.wrap === undefined && autoWrap() || !!titleWrap.wrap;\n};\nexport var apply = function apply(param) {\n if (param instanceof Array) {\n param.forEach(function (item) {\n apply(item);\n });\n } else {\n switch (param.type) {\n case 'addActor':\n addActor(param.actor, param.actor, param.description);\n break;\n\n case 'activeStart':\n addSignal(param.actor, undefined, undefined, param.signalType);\n break;\n\n case 'activeEnd':\n addSignal(param.actor, undefined, undefined, param.signalType);\n break;\n\n case 'addNote':\n addNote(param.actor, param.placement, param.text);\n break;\n\n case 'addMessage':\n addSignal(param.from, param.to, param.msg, param.signalType);\n break;\n\n case 'loopStart':\n addSignal(undefined, undefined, param.loopText, param.signalType);\n break;\n\n case 'loopEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'rectStart':\n addSignal(undefined, undefined, param.color, param.signalType);\n break;\n\n case 'rectEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'optStart':\n addSignal(undefined, undefined, param.optText, param.signalType);\n break;\n\n case 'optEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'altStart':\n addSignal(undefined, undefined, param.altText, param.signalType);\n break;\n\n case 'else':\n addSignal(undefined, undefined, param.altText, param.signalType);\n break;\n\n case 'altEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'setTitle':\n setTitle(param.text);\n break;\n\n case 'parStart':\n addSignal(undefined, undefined, param.parText, param.signalType);\n break;\n\n case 'and':\n addSignal(undefined, undefined, param.parText, param.signalType);\n break;\n\n case 'parEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n }\n }\n};\nexport default {\n addActor: addActor,\n addMessage: addMessage,\n addSignal: addSignal,\n autoWrap: autoWrap,\n setWrap: setWrap,\n enableSequenceNumbers: enableSequenceNumbers,\n showSequenceNumbers: showSequenceNumbers,\n getMessages: getMessages,\n getActors: getActors,\n getActor: getActor,\n getActorKeys: getActorKeys,\n getTitle: getTitle,\n parseDirective: parseDirective,\n getConfig: function getConfig() {\n return configApi.getConfig().sequence;\n },\n getTitleWrapped: getTitleWrapped,\n clear: clear,\n parseMessage: parseMessage,\n LINETYPE: LINETYPE,\n ARROWTYPE: ARROWTYPE,\n PLACEMENT: PLACEMENT,\n addNote: addNote,\n setTitle: setTitle,\n apply: apply\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "name": "./src/diagrams/sequence/sequenceRenderer.js", "index": 908, "index2": 907, "size": 35513, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "25:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "329:10-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "332:10-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "335:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "527:4-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "530:2-18" } ], "usedExports": [ "default" ], "providedExports": [ "bounds", "drawActors", "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select, selectAll } from 'd3';\nimport svgDraw, { drawText } from './svgDraw';\nimport { logger } from '../../logger';\nimport { parser } from './parser/sequenceDiagram';\nimport common from '../common/common';\nimport sequenceDb from './sequenceDb';\nimport utils, { assignWithDepth } from '../../utils';\nparser.yy = sequenceDb;\nvar conf = {};\nexport var bounds = {\n data: {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n },\n verticalPos: 0,\n sequenceItems: [],\n activations: [],\n models: {\n getHeight: function getHeight() {\n return Math.max.apply(null, this.actors.length === 0 ? [0] : this.actors.map(function (actor) {\n return actor.height || 0;\n })) + (this.loops.length === 0 ? 0 : this.loops.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n })) + (this.messages.length === 0 ? 0 : this.messages.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n })) + (this.notes.length === 0 ? 0 : this.notes.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n }));\n },\n clear: function clear() {\n this.actors = [];\n this.loops = [];\n this.messages = [];\n this.notes = [];\n },\n addActor: function addActor(actorModel) {\n this.actors.push(actorModel);\n },\n addLoop: function addLoop(loopModel) {\n this.loops.push(loopModel);\n },\n addMessage: function addMessage(msgModel) {\n this.messages.push(msgModel);\n },\n addNote: function addNote(noteModel) {\n this.notes.push(noteModel);\n },\n lastActor: function lastActor() {\n return this.actors[this.actors.length - 1];\n },\n lastLoop: function lastLoop() {\n return this.loops[this.loops.length - 1];\n },\n lastMessage: function lastMessage() {\n return this.messages[this.messages.length - 1];\n },\n lastNote: function lastNote() {\n return this.notes[this.notes.length - 1];\n },\n actors: [],\n loops: [],\n messages: [],\n notes: []\n },\n init: function init() {\n this.sequenceItems = [];\n this.activations = [];\n this.models.clear();\n this.data = {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n };\n this.verticalPos = 0;\n setConf(parser.yy.getConfig());\n },\n updateVal: function updateVal(obj, key, val, fun) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = val;\n } else {\n obj[key] = fun(val, obj[key]);\n }\n },\n updateBounds: function updateBounds(startx, starty, stopx, stopy) {\n var _self = this;\n\n var cnt = 0;\n\n function updateFn(type) {\n return function updateItemBounds(item) {\n cnt++; // The loop sequenceItems is a stack so the biggest margins in the beginning of the sequenceItems\n\n var n = _self.sequenceItems.length - cnt + 1;\n\n _self.updateVal(item, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopy', stopy + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n if (!(type === 'activation')) {\n _self.updateVal(item, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopy', stopy + n * conf.boxMargin, Math.max);\n }\n };\n }\n\n this.sequenceItems.forEach(updateFn());\n this.activations.forEach(updateFn('activation'));\n },\n insert: function insert(startx, starty, stopx, stopy) {\n var _startx = Math.min(startx, stopx);\n\n var _stopx = Math.max(startx, stopx);\n\n var _starty = Math.min(starty, stopy);\n\n var _stopy = Math.max(starty, stopy);\n\n this.updateVal(bounds.data, 'startx', _startx, Math.min);\n this.updateVal(bounds.data, 'starty', _starty, Math.min);\n this.updateVal(bounds.data, 'stopx', _stopx, Math.max);\n this.updateVal(bounds.data, 'stopy', _stopy, Math.max);\n this.updateBounds(_startx, _starty, _stopx, _stopy);\n },\n newActivation: function newActivation(message, diagram, actors) {\n var actorRect = actors[message.from.actor];\n var stackedSize = actorActivations(message.from.actor).length || 0;\n var x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;\n this.activations.push({\n startx: x,\n starty: this.verticalPos + 2,\n stopx: x + conf.activationWidth,\n stopy: undefined,\n actor: message.from.actor,\n anchored: svgDraw.anchorElement(diagram)\n });\n },\n endActivation: function endActivation(message) {\n // find most recent activation for given actor\n var lastActorActivationIdx = this.activations.map(function (activation) {\n return activation.actor;\n }).lastIndexOf(message.from.actor);\n return this.activations.splice(lastActorActivationIdx, 1)[0];\n },\n createLoop: function createLoop() {\n var title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n message: undefined,\n wrap: false,\n width: undefined\n };\n var fill = arguments.length > 1 ? arguments[1] : undefined;\n return {\n startx: undefined,\n starty: this.verticalPos,\n stopx: undefined,\n stopy: undefined,\n title: title.message,\n wrap: title.wrap,\n width: title.width,\n height: 0,\n fill: fill\n };\n },\n newLoop: function newLoop() {\n var title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n message: undefined,\n wrap: false,\n width: undefined\n };\n var fill = arguments.length > 1 ? arguments[1] : undefined;\n this.sequenceItems.push(this.createLoop(title, fill));\n },\n endLoop: function endLoop() {\n return this.sequenceItems.pop();\n },\n addSectionToLoop: function addSectionToLoop(message) {\n var loop = this.sequenceItems.pop();\n loop.sections = loop.sections || [];\n loop.sectionTitles = loop.sectionTitles || [];\n loop.sections.push({\n y: bounds.getVerticalPos(),\n height: 0\n });\n loop.sectionTitles.push(message);\n this.sequenceItems.push(loop);\n },\n bumpVerticalPos: function bumpVerticalPos(bump) {\n this.verticalPos = this.verticalPos + bump;\n this.data.stopy = this.verticalPos;\n },\n getVerticalPos: function getVerticalPos() {\n return this.verticalPos;\n },\n getBounds: function getBounds() {\n return {\n bounds: this.data,\n models: this.models\n };\n }\n};\n/**\n * Draws an note in the diagram with the attached line\n * @param elem - The diagram to draw to.\n * @param noteModel:{x: number, y: number, message: string, width: number} - startx: x axis start position, verticalPos: y axis position, messsage: the message to be shown, width: Set this with a custom width to override the default configured width.\n */\n\nvar drawNote = function drawNote(elem, noteModel) {\n bounds.bumpVerticalPos(conf.boxMargin);\n noteModel.height = conf.boxMargin;\n noteModel.starty = bounds.getVerticalPos();\n var rect = svgDraw.getNoteRect();\n rect.x = noteModel.startx;\n rect.y = noteModel.starty;\n rect.width = noteModel.width || conf.width;\n rect.class = 'note';\n var g = elem.append('g');\n var rectElem = svgDraw.drawRect(g, rect);\n var textObj = svgDraw.getTextObj();\n textObj.x = noteModel.startx;\n textObj.y = noteModel.starty;\n textObj.width = rect.width;\n textObj.dy = '1em';\n textObj.text = noteModel.message;\n textObj.class = 'noteText';\n textObj.fontFamily = conf.noteFontFamily;\n textObj.fontSize = conf.noteFontSize;\n textObj.fontWeight = conf.noteFontWeight;\n textObj.anchor = conf.noteAlign;\n textObj.textMargin = conf.noteMargin;\n textObj.valign = conf.noteAlign;\n textObj.wrap = true;\n var textElem = drawText(g, textObj);\n var textHeight = Math.round(textElem.map(function (te) {\n return (te._groups || te)[0][0].getBBox().height;\n }).reduce(function (acc, curr) {\n return acc + curr;\n }));\n rectElem.attr('height', textHeight + 2 * conf.noteMargin);\n noteModel.height += textHeight + 2 * conf.noteMargin;\n bounds.bumpVerticalPos(textHeight + 2 * conf.noteMargin);\n noteModel.stopy = noteModel.starty + textHeight + 2 * conf.noteMargin;\n noteModel.stopx = noteModel.startx + rect.width;\n bounds.insert(noteModel.startx, noteModel.starty, noteModel.stopx, noteModel.stopy);\n bounds.models.addNote(noteModel);\n};\n/**\n * Draws a message\n * @param g - the parent of the message element\n * @param msgModel - the model containing fields describing a message\n */\n\n\nvar drawMessage = function drawMessage(g, msgModel) {\n bounds.bumpVerticalPos(10);\n var startx = msgModel.startx,\n stopx = msgModel.stopx,\n starty = msgModel.starty,\n message = msgModel.message,\n type = msgModel.type,\n sequenceIndex = msgModel.sequenceIndex,\n wrap = msgModel.wrap;\n var lines = common.splitBreaks(message).length;\n var textDims = utils.calculateTextDimensions(message, conf.messageFont());\n var lineHeight = textDims.height / lines;\n msgModel.height += lineHeight;\n bounds.bumpVerticalPos(lineHeight);\n var textObj = svgDraw.getTextObj();\n textObj.x = startx;\n textObj.y = starty + 10;\n textObj.width = stopx - startx;\n textObj.class = 'messageText';\n textObj.dy = '1em';\n textObj.text = message;\n textObj.fontFamily = conf.messageFontFamily;\n textObj.fontSize = conf.messageFontSize;\n textObj.fontWeight = conf.messageFontWeight;\n textObj.anchor = conf.messageAlign;\n textObj.valign = conf.messageAlign;\n textObj.textMargin = conf.wrapPadding;\n textObj.tspan = false;\n textObj.wrap = wrap;\n drawText(g, textObj);\n var totalOffset = textDims.height - 10;\n var textWidth = textDims.width;\n var line, lineStarty;\n\n if (startx === stopx) {\n lineStarty = bounds.getVerticalPos() + totalOffset;\n\n if (conf.rightAngles) {\n line = g.append('path').attr('d', \"M \".concat(startx, \",\").concat(lineStarty, \" H \").concat(startx + Math.max(conf.width / 2, textWidth / 2), \" V \").concat(lineStarty + 25, \" H \").concat(startx));\n } else {\n totalOffset += conf.boxMargin;\n lineStarty = bounds.getVerticalPos() + totalOffset;\n line = g.append('path').attr('d', 'M ' + startx + ',' + lineStarty + ' C ' + (startx + 60) + ',' + (lineStarty - 10) + ' ' + (startx + 60) + ',' + (lineStarty + 30) + ' ' + startx + ',' + (lineStarty + 20));\n }\n\n totalOffset += 30;\n var dx = Math.max(textWidth / 2, conf.width / 2);\n bounds.insert(startx - dx, bounds.getVerticalPos() - 10 + totalOffset, stopx + dx, bounds.getVerticalPos() + 30 + totalOffset);\n } else {\n totalOffset += conf.boxMargin;\n lineStarty = bounds.getVerticalPos() + totalOffset;\n line = g.append('line');\n line.attr('x1', startx);\n line.attr('y1', lineStarty);\n line.attr('x2', stopx);\n line.attr('y2', lineStarty);\n bounds.insert(startx, lineStarty - 10, stopx, lineStarty);\n } // Make an SVG Container\n // Draw the line\n\n\n if (type === parser.yy.LINETYPE.DOTTED || type === parser.yy.LINETYPE.DOTTED_CROSS || type === parser.yy.LINETYPE.DOTTED_OPEN) {\n line.style('stroke-dasharray', '3, 3');\n line.attr('class', 'messageLine1');\n } else {\n line.attr('class', 'messageLine0');\n }\n\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n line.attr('stroke-width', 2);\n line.attr('stroke', 'none'); // handled by theme/css anyway\n\n line.style('fill', 'none'); // remove any fill colour\n\n if (type === parser.yy.LINETYPE.SOLID || type === parser.yy.LINETYPE.DOTTED) {\n line.attr('marker-end', 'url(' + url + '#arrowhead)');\n }\n\n if (type === parser.yy.LINETYPE.SOLID_CROSS || type === parser.yy.LINETYPE.DOTTED_CROSS) {\n line.attr('marker-end', 'url(' + url + '#crosshead)');\n } // add node number\n\n\n if (sequenceDb.showSequenceNumbers() || conf.showSequenceNumbers) {\n line.attr('marker-start', 'url(' + url + '#sequencenumber)');\n g.append('text').attr('x', startx).attr('y', lineStarty + 4).attr('font-family', 'sans-serif').attr('font-size', '12px').attr('text-anchor', 'middle').attr('textLength', '16px').attr('class', 'sequenceNumber').text(sequenceIndex);\n }\n\n bounds.bumpVerticalPos(totalOffset);\n msgModel.height += totalOffset;\n msgModel.stopy = msgModel.starty + msgModel.height;\n bounds.insert(msgModel.fromBounds, msgModel.starty, msgModel.toBounds, msgModel.stopy);\n};\n\nexport var drawActors = function drawActors(diagram, actors, actorKeys, verticalPos) {\n // Draw the actors\n var prevWidth = 0;\n var prevMargin = 0;\n\n for (var i = 0; i < actorKeys.length; i++) {\n var actor = actors[actorKeys[i]]; // Add some rendering data to the object\n\n actor.width = actor.width || conf.width;\n actor.height = Math.max(actor.height || conf.height, conf.height);\n actor.margin = actor.margin || conf.actorMargin;\n actor.x = prevWidth + prevMargin;\n actor.y = verticalPos; // Draw the box with the attached line\n\n svgDraw.drawActor(diagram, actor, conf);\n bounds.insert(actor.x, verticalPos, actor.x + actor.width, actor.height);\n prevWidth += actor.width;\n prevMargin += actor.margin;\n bounds.models.addActor(actor);\n } // Add a margin between the actor boxes and the first arrow\n\n\n bounds.bumpVerticalPos(conf.height);\n};\nexport var setConf = function setConf(cnf) {\n assignWithDepth(conf, cnf);\n\n if (cnf.fontFamily) {\n conf.actorFontFamily = conf.noteFontFamily = conf.messageFontFamily = cnf.fontFamily;\n }\n\n if (cnf.fontSize) {\n conf.actorFontSize = conf.noteFontSize = conf.messageFontSize = cnf.fontSize;\n }\n\n if (cnf.fontWeight) {\n conf.actorFontWeight = conf.noteFontWeight = conf.messageFontWeight = cnf.fontWeight;\n }\n};\n\nvar actorActivations = function actorActivations(actor) {\n return bounds.activations.filter(function (activation) {\n return activation.actor === actor;\n });\n};\n\nvar activationBounds = function activationBounds(actor, actors) {\n // handle multiple stacked activations for same actor\n var actorObj = actors[actor];\n var activations = actorActivations(actor);\n var left = activations.reduce(function (acc, activation) {\n return Math.min(acc, activation.startx);\n }, actorObj.x + actorObj.width / 2);\n var right = activations.reduce(function (acc, activation) {\n return Math.max(acc, activation.stopx);\n }, actorObj.x + actorObj.width / 2);\n return [left, right];\n};\n\nfunction adjustLoopHeightForWrap(loopWidths, msg, preMargin, postMargin, addLoopFn) {\n bounds.bumpVerticalPos(preMargin);\n var heightAdjust = postMargin;\n\n if (msg.id && msg.message && loopWidths[msg.id]) {\n var loopWidth = loopWidths[msg.id].width;\n var textConf = conf.messageFont();\n msg.message = utils.wrapLabel(\"[\".concat(msg.message, \"]\"), loopWidth - 2 * conf.wrapPadding, textConf);\n msg.width = loopWidth;\n msg.wrap = true; // const lines = common.splitBreaks(msg.message).length;\n\n var textDims = utils.calculateTextDimensions(msg.message, textConf);\n var totalOffset = Math.max(textDims.height, conf.labelBoxHeight);\n heightAdjust = postMargin + totalOffset;\n logger.debug(\"\".concat(totalOffset, \" - \").concat(msg.message));\n }\n\n addLoopFn(msg);\n bounds.bumpVerticalPos(heightAdjust);\n}\n/**\n * Draws a sequenceDiagram in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.yy.setWrap(conf.wrap);\n parser.parse(text + '\\n');\n bounds.init();\n logger.debug(\"C:\".concat(JSON.stringify(conf, null, 2)));\n var diagram = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Fetch data from the parsing\n\n var actors = parser.yy.getActors();\n var actorKeys = parser.yy.getActorKeys();\n var messages = parser.yy.getMessages();\n var title = parser.yy.getTitle();\n var maxMessageWidthPerActor = getMaxMessageWidthPerActor(actors, messages);\n conf.height = calculateActorMargins(actors, maxMessageWidthPerActor);\n drawActors(diagram, actors, actorKeys, 0);\n var loopWidths = calculateLoopBounds(messages, actors, maxMessageWidthPerActor); // The arrow head definition is attached to the svg once\n\n svgDraw.insertArrowHead(diagram);\n svgDraw.insertArrowCrossHead(diagram);\n svgDraw.insertSequenceNumber(diagram);\n\n function activeEnd(msg, verticalPos) {\n var activationData = bounds.endActivation(msg);\n\n if (activationData.starty + 18 > verticalPos) {\n activationData.starty = verticalPos - 6;\n verticalPos += 12;\n }\n\n svgDraw.drawActivation(diagram, activationData, verticalPos, conf, actorActivations(msg.from.actor).length);\n bounds.insert(activationData.startx, verticalPos - 10, activationData.stopx, verticalPos);\n } // Draw the messages/signals\n\n\n var sequenceIndex = 1;\n messages.forEach(function (msg) {\n var loopModel, noteModel, msgModel;\n\n switch (msg.type) {\n case parser.yy.LINETYPE.NOTE:\n noteModel = msg.noteModel;\n drawNote(diagram, noteModel);\n break;\n\n case parser.yy.LINETYPE.ACTIVE_START:\n bounds.newActivation(msg, diagram, actors);\n break;\n\n case parser.yy.LINETYPE.ACTIVE_END:\n activeEnd(msg, bounds.getVerticalPos());\n break;\n\n case parser.yy.LINETYPE.LOOP_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.LOOP_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'loop', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.RECT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin, function (message) {\n return bounds.newLoop(undefined, message.message);\n });\n break;\n\n case parser.yy.LINETYPE.RECT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawBackgroundRect(diagram, loopModel);\n bounds.models.addLoop(loopModel);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n break;\n\n case parser.yy.LINETYPE.OPT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.OPT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'opt', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.ALT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.ALT_ELSE:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin + conf.boxTextMargin, conf.boxMargin, function (message) {\n return bounds.addSectionToLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.ALT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'alt', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.PAR_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.PAR_AND:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin + conf.boxTextMargin, conf.boxMargin, function (message) {\n return bounds.addSectionToLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.PAR_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'par', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n default:\n try {\n // lastMsg = msg\n msgModel = msg.msgModel;\n msgModel.starty = bounds.getVerticalPos();\n msgModel.sequenceIndex = sequenceIndex;\n drawMessage(diagram, msgModel);\n bounds.models.addMessage(msgModel);\n } catch (e) {\n logger.error('error while drawing message', e);\n }\n\n } // Increment sequence counter if msg.type is a line (and not another event like activation or note, etc)\n\n\n if ([parser.yy.LINETYPE.SOLID_OPEN, parser.yy.LINETYPE.DOTTED_OPEN, parser.yy.LINETYPE.SOLID, parser.yy.LINETYPE.DOTTED, parser.yy.LINETYPE.SOLID_CROSS, parser.yy.LINETYPE.DOTTED_CROSS].includes(msg.type)) {\n sequenceIndex++;\n }\n });\n\n if (conf.mirrorActors) {\n // Draw actors below diagram\n bounds.bumpVerticalPos(conf.boxMargin * 2);\n drawActors(diagram, actors, actorKeys, bounds.getVerticalPos());\n }\n\n var _bounds$getBounds = bounds.getBounds(),\n box = _bounds$getBounds.bounds; // Adjust line height of actor lines now that the height of the diagram is known\n\n\n logger.debug('For line height fix Querying: #' + id + ' .actor-line');\n var actorLines = selectAll('#' + id + ' .actor-line');\n actorLines.attr('y2', box.stopy);\n var height = box.stopy - box.starty + 2 * conf.diagramMarginY;\n\n if (conf.mirrorActors) {\n height = height - conf.boxMargin + conf.bottomMarginAdj;\n }\n\n var width = box.stopx - box.startx + 2 * conf.diagramMarginX;\n\n if (title) {\n diagram.append('text').text(title).attr('x', (box.stopx - box.startx) / 2 - 2 * conf.diagramMarginX).attr('y', -25);\n }\n\n if (conf.useMaxWidth) {\n diagram.attr('height', '100%');\n diagram.attr('width', '100%');\n diagram.attr('style', 'max-width:' + width + 'px;'); // diagram.attr('style', 'max-width:100%;');\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n }\n\n var extraVertForTitle = title ? 40 : 0;\n diagram.attr('viewBox', box.startx - conf.diagramMarginX + ' -' + (conf.diagramMarginY + extraVertForTitle) + ' ' + width + ' ' + (height + extraVertForTitle));\n logger.debug(\"models:\", bounds.models);\n};\n/**\n * Retrieves the max message width of each actor, supports signals (messages, loops)\n * and notes.\n *\n * It will enumerate each given message, and will determine its text width, in relation\n * to the actor it originates from, and destined to.\n *\n * @param actors - The actors map\n * @param messages - A list of message objects to iterate\n */\n\nvar getMaxMessageWidthPerActor = function getMaxMessageWidthPerActor(actors, messages) {\n var maxMessageWidthPerActor = {};\n messages.forEach(function (msg) {\n if (actors[msg.to] && actors[msg.from]) {\n var actor = actors[msg.to]; // If this is the first actor, and the message is left of it, no need to calculate the margin\n\n if (msg.placement === parser.yy.PLACEMENT.LEFTOF && !actor.prevActor) {\n return;\n } // If this is the last actor, and the message is right of it, no need to calculate the margin\n\n\n if (msg.placement === parser.yy.PLACEMENT.RIGHTOF && !actor.nextActor) {\n return;\n }\n\n var isNote = msg.placement !== undefined;\n var isMessage = !isNote;\n var textFont = isNote ? conf.noteFont() : conf.messageFont();\n var wrappedMessage = msg.wrap ? utils.wrapLabel(msg.message, conf.width - 2 * conf.wrapPadding, textFont) : msg.message;\n var messageDimensions = utils.calculateTextDimensions(wrappedMessage, textFont);\n var messageWidth = messageDimensions.width + 2 * conf.wrapPadding;\n /*\n * The following scenarios should be supported:\n *\n * - There's a message (non-note) between fromActor and toActor\n * - If fromActor is on the right and toActor is on the left, we should\n * define the toActor's margin\n * - If fromActor is on the left and toActor is on the right, we should\n * define the fromActor's margin\n * - There's a note, in which case fromActor == toActor\n * - If the note is to the left of the actor, we should define the previous actor\n * margin\n * - If the note is on the actor, we should define both the previous and next actor\n * margins, each being the half of the note size\n * - If the note is on the right of the actor, we should define the current actor\n * margin\n */\n\n if (isMessage && msg.from === actor.nextActor) {\n maxMessageWidthPerActor[msg.to] = Math.max(maxMessageWidthPerActor[msg.to] || 0, messageWidth);\n } else if (isMessage && msg.from === actor.prevActor) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth);\n } else if (isMessage && msg.from === msg.to) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth / 2);\n maxMessageWidthPerActor[msg.to] = Math.max(maxMessageWidthPerActor[msg.to] || 0, messageWidth / 2);\n } else if (msg.placement === parser.yy.PLACEMENT.RIGHTOF) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth);\n } else if (msg.placement === parser.yy.PLACEMENT.LEFTOF) {\n maxMessageWidthPerActor[actor.prevActor] = Math.max(maxMessageWidthPerActor[actor.prevActor] || 0, messageWidth);\n } else if (msg.placement === parser.yy.PLACEMENT.OVER) {\n if (actor.prevActor) {\n maxMessageWidthPerActor[actor.prevActor] = Math.max(maxMessageWidthPerActor[actor.prevActor] || 0, messageWidth / 2);\n }\n\n if (actor.nextActor) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth / 2);\n }\n }\n }\n });\n logger.debug('maxMessageWidthPerActor:', maxMessageWidthPerActor);\n return maxMessageWidthPerActor;\n};\n/**\n * This will calculate the optimal margin for each given actor, for a given\n * actor->messageWidth map.\n *\n * An actor's margin is determined by the width of the actor, the width of the\n * largest message that originates from it, and the configured conf.actorMargin.\n *\n * @param actors - The actors map to calculate margins for\n * @param actorToMessageWidth - A map of actor key -> max message width it holds\n */\n\n\nvar calculateActorMargins = function calculateActorMargins(actors, actorToMessageWidth) {\n var maxHeight = 0;\n Object.keys(actors).forEach(function (prop) {\n var actor = actors[prop];\n\n if (actor.wrap) {\n actor.description = utils.wrapLabel(actor.description, conf.width - 2 * conf.wrapPadding, conf.actorFont());\n }\n\n var actDims = utils.calculateTextDimensions(actor.description, conf.actorFont());\n actor.width = actor.wrap ? conf.width : Math.max(conf.width, actDims.width + 2 * conf.wrapPadding);\n actor.height = actor.wrap ? Math.max(actDims.height, conf.height) : conf.height;\n maxHeight = Math.max(maxHeight, actor.height);\n });\n\n for (var actorKey in actorToMessageWidth) {\n var actor = actors[actorKey];\n\n if (!actor) {\n continue;\n }\n\n var nextActor = actors[actor.nextActor]; // No need to space out an actor that doesn't have a next link\n\n if (!nextActor) {\n continue;\n }\n\n var messageWidth = actorToMessageWidth[actorKey];\n var actorWidth = messageWidth + conf.actorMargin - actor.width / 2 - nextActor.width / 2;\n actor.margin = Math.max(actorWidth, conf.actorMargin);\n }\n\n return Math.max(maxHeight, conf.height);\n};\n\nvar buildNoteModel = function buildNoteModel(msg, actors) {\n var startx = actors[msg.from].x;\n var stopx = actors[msg.to].x;\n var shouldWrap = msg.wrap && msg.message;\n var textDimensions = utils.calculateTextDimensions(shouldWrap ? utils.wrapLabel(msg.message, conf.width, conf.noteFont()) : msg.message, conf.noteFont());\n var noteModel = {\n width: shouldWrap ? conf.width : Math.max(conf.width, textDimensions.width + 2 * conf.noteMargin),\n height: 0,\n startx: actors[msg.from].x,\n stopx: 0,\n starty: 0,\n stopy: 0,\n message: msg.message\n };\n\n if (msg.placement === parser.yy.PLACEMENT.RIGHTOF) {\n noteModel.width = shouldWrap ? Math.max(conf.width, textDimensions.width) : Math.max(actors[msg.from].width / 2 + actors[msg.to].width / 2, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx + (actors[msg.from].width + conf.actorMargin) / 2;\n } else if (msg.placement === parser.yy.PLACEMENT.LEFTOF) {\n noteModel.width = shouldWrap ? Math.max(conf.width, textDimensions.width + 2 * conf.noteMargin) : Math.max(actors[msg.from].width / 2 + actors[msg.to].width / 2, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx - noteModel.width + (actors[msg.from].width - conf.actorMargin) / 2;\n } else if (msg.to === msg.from) {\n textDimensions = utils.calculateTextDimensions(shouldWrap ? utils.wrapLabel(msg.message, Math.max(conf.width, actors[msg.from].width), conf.noteFont()) : msg.message, conf.noteFont());\n noteModel.width = shouldWrap ? Math.max(conf.width, actors[msg.from].width) : Math.max(actors[msg.from].width, conf.width, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx + (actors[msg.from].width - noteModel.width) / 2;\n } else {\n noteModel.width = Math.abs(startx + actors[msg.from].width / 2 - (stopx + actors[msg.to].width / 2)) + conf.actorMargin;\n noteModel.startx = startx < stopx ? startx + actors[msg.from].width / 2 - conf.actorMargin / 2 : stopx + actors[msg.to].width / 2 - conf.actorMargin / 2;\n }\n\n if (shouldWrap) {\n noteModel.message = utils.wrapLabel(msg.message, noteModel.width - 2 * conf.wrapPadding, conf.noteFont());\n }\n\n logger.debug(\"NM:[\".concat(noteModel.startx, \",\").concat(noteModel.stopx, \",\").concat(noteModel.starty, \",\").concat(noteModel.stopy, \":\").concat(noteModel.width, \",\").concat(noteModel.height, \"=\").concat(msg.message, \"]\"));\n return noteModel;\n};\n\nvar buildMessageModel = function buildMessageModel(msg, actors) {\n var process = false;\n\n if ([parser.yy.LINETYPE.SOLID_OPEN, parser.yy.LINETYPE.DOTTED_OPEN, parser.yy.LINETYPE.SOLID, parser.yy.LINETYPE.DOTTED, parser.yy.LINETYPE.SOLID_CROSS, parser.yy.LINETYPE.DOTTED_CROSS].includes(msg.type)) {\n process = true;\n }\n\n if (!process) {\n return {};\n }\n\n var fromBounds = activationBounds(msg.from, actors);\n var toBounds = activationBounds(msg.to, actors);\n var fromIdx = fromBounds[0] <= toBounds[0] ? 1 : 0;\n var toIdx = fromBounds[0] < toBounds[0] ? 0 : 1;\n var allBounds = fromBounds.concat(toBounds);\n var boundedWidth = Math.abs(toBounds[toIdx] - fromBounds[fromIdx]);\n var msgDims = utils.calculateTextDimensions(msg.message, conf.messageFont());\n\n if (msg.wrap && msg.message) {\n msg.message = utils.wrapLabel(msg.message, Math.max(boundedWidth + 2 * conf.wrapPadding, conf.width), conf.messageFont());\n }\n\n return {\n width: Math.max(msg.wrap ? 0 : msgDims.width + 2 * conf.wrapPadding, boundedWidth + 2 * conf.wrapPadding, conf.width),\n height: 0,\n startx: fromBounds[fromIdx],\n stopx: toBounds[toIdx],\n starty: 0,\n stopy: 0,\n message: msg.message,\n type: msg.type,\n wrap: msg.wrap,\n fromBounds: Math.min.apply(null, allBounds),\n toBounds: Math.max.apply(null, allBounds)\n };\n};\n\nvar calculateLoopBounds = function calculateLoopBounds(messages, actors) {\n var loops = {};\n var stack = [];\n var current, noteModel, msgModel;\n messages.forEach(function (msg) {\n msg.id = utils.random({\n length: 10\n });\n\n switch (msg.type) {\n case parser.yy.LINETYPE.LOOP_START:\n case parser.yy.LINETYPE.ALT_START:\n case parser.yy.LINETYPE.OPT_START:\n case parser.yy.LINETYPE.PAR_START:\n stack.push({\n id: msg.id,\n msg: msg.message,\n from: Number.MAX_SAFE_INTEGER,\n to: Number.MIN_SAFE_INTEGER,\n width: 0\n });\n break;\n\n case parser.yy.LINETYPE.ALT_ELSE:\n case parser.yy.LINETYPE.PAR_AND:\n if (msg.message) {\n current = stack.pop();\n loops[current.id] = current;\n loops[msg.id] = current;\n stack.push(current);\n }\n\n break;\n\n case parser.yy.LINETYPE.LOOP_END:\n case parser.yy.LINETYPE.ALT_END:\n case parser.yy.LINETYPE.OPT_END:\n case parser.yy.LINETYPE.PAR_END:\n current = stack.pop();\n loops[current.id] = current;\n break;\n\n case parser.yy.LINETYPE.ACTIVE_START:\n {\n var actorRect = actors[msg.from ? msg.from.actor : msg.to.actor];\n var stackedSize = actorActivations(msg.from ? msg.from.actor : msg.to.actor).length;\n var x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;\n var toAdd = {\n startx: x,\n stopx: x + conf.activationWidth,\n actor: msg.from.actor,\n enabled: true\n };\n bounds.activations.push(toAdd);\n }\n break;\n\n case parser.yy.LINETYPE.ACTIVE_END:\n {\n var lastActorActivationIdx = bounds.activations.map(function (a) {\n return a.actor;\n }).lastIndexOf(msg.from.actor);\n delete bounds.activations.splice(lastActorActivationIdx, 1)[0];\n }\n break;\n }\n\n var isNote = msg.placement !== undefined;\n\n if (isNote) {\n noteModel = buildNoteModel(msg, actors);\n msg.noteModel = noteModel;\n stack.forEach(function (stk) {\n current = stk;\n current.from = Math.min(current.from, noteModel.startx);\n current.to = Math.max(current.to, noteModel.startx + noteModel.width);\n current.width = Math.max(current.width, Math.abs(current.from - current.to)) - conf.labelBoxWidth;\n });\n } else {\n msgModel = buildMessageModel(msg, actors);\n msg.msgModel = msgModel;\n\n if (msgModel.startx && msgModel.stopx && stack.length > 0) {\n stack.forEach(function (stk) {\n current = stk;\n\n if (msgModel.startx === msgModel.stopx) {\n var from = actors[msg.from];\n var to = actors[msg.to];\n current.from = Math.min(from.x - msgModel.width / 2, from.x - from.width / 2, current.from);\n current.to = Math.max(to.x + msgModel.width / 2, to.x + from.width / 2, current.to);\n current.width = Math.max(current.width, Math.abs(current.to - current.from)) - conf.labelBoxWidth;\n } else {\n current.from = Math.min(msgModel.startx, current.from);\n current.to = Math.max(msgModel.stopx, current.to);\n current.width = Math.max(current.width, msgModel.width) - conf.labelBoxWidth;\n }\n });\n }\n }\n });\n bounds.activations = [];\n logger.debug('Loop type widths:', loops);\n return loops;\n};\n\nexport default {\n bounds: bounds,\n drawActors: drawActors,\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "name": "./src/diagrams/gantt/ganttDb.js", "index": 558, "index2": 556, "size": 16304, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./ganttDb", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "./ganttDb", "loc": "5:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/ganttDb", "loc": "30:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttDb", "loc": "99:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "./ganttDb", "loc": "331:22-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttDb", "loc": "419:20-27" } ], "usedExports": [ "default" ], "providedExports": [ "clear", "setAxisFormat", "getAxisFormat", "setTodayMarker", "getTodayMarker", "setDateFormat", "enableInclusiveEndDates", "endDatesAreInclusive", "getDateFormat", "setExcludes", "getExcludes", "setTitle", "getTitle", "addSection", "getSections", "getTasks", "addTask", "findTaskById", "addTaskOrg", "setLink", "setClass", "setClickEvent", "bindFunctions", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport moment from 'moment-mini';\nimport { sanitizeUrl } from '@braintree/sanitize-url';\nimport { logger } from '../../logger';\nimport { getConfig } from '../../config';\nimport utils from '../../utils';\nvar dateFormat = '';\nvar axisFormat = '';\nvar todayMarker = '';\nvar excludes = [];\nvar title = '';\nvar sections = [];\nvar tasks = [];\nvar currentSection = '';\nvar tags = ['active', 'done', 'crit', 'milestone'];\nvar funs = [];\nvar inclusiveEndDates = false; // The serial order of the task in the script\n\nvar lastOrder = 0;\nexport var clear = function clear() {\n sections = [];\n tasks = [];\n currentSection = '';\n funs = [];\n title = '';\n taskCnt = 0;\n lastTask = undefined;\n lastTaskID = undefined;\n rawTasks = [];\n dateFormat = '';\n axisFormat = '';\n todayMarker = '';\n excludes = [];\n inclusiveEndDates = false;\n lastOrder = 0;\n};\nexport var setAxisFormat = function setAxisFormat(txt) {\n axisFormat = txt;\n};\nexport var getAxisFormat = function getAxisFormat() {\n return axisFormat;\n};\nexport var setTodayMarker = function setTodayMarker(txt) {\n todayMarker = txt;\n};\nexport var getTodayMarker = function getTodayMarker() {\n return todayMarker;\n};\nexport var setDateFormat = function setDateFormat(txt) {\n dateFormat = txt;\n};\nexport var enableInclusiveEndDates = function enableInclusiveEndDates() {\n inclusiveEndDates = true;\n};\nexport var endDatesAreInclusive = function endDatesAreInclusive() {\n return inclusiveEndDates;\n};\nexport var getDateFormat = function getDateFormat() {\n return dateFormat;\n};\nexport var setExcludes = function setExcludes(txt) {\n excludes = txt.toLowerCase().split(/[\\s,]+/);\n};\nexport var getExcludes = function getExcludes() {\n return excludes;\n};\nexport var setTitle = function setTitle(txt) {\n title = txt;\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var addSection = function addSection(txt) {\n currentSection = txt;\n sections.push(txt);\n};\nexport var getSections = function getSections() {\n return sections;\n};\nexport var getTasks = function getTasks() {\n var allItemsPricessed = compileTasks();\n var maxDepth = 10;\n var iterationCount = 0;\n\n while (!allItemsPricessed && iterationCount < maxDepth) {\n allItemsPricessed = compileTasks();\n iterationCount++;\n }\n\n tasks = rawTasks;\n return tasks;\n};\n\nvar isInvalidDate = function isInvalidDate(date, dateFormat, excludes) {\n if (date.isoWeekday() >= 6 && excludes.indexOf('weekends') >= 0) {\n return true;\n }\n\n if (excludes.indexOf(date.format('dddd').toLowerCase()) >= 0) {\n return true;\n }\n\n return excludes.indexOf(date.format(dateFormat.trim())) >= 0;\n};\n\nvar checkTaskDates = function checkTaskDates(task, dateFormat, excludes) {\n if (!excludes.length || task.manualEndTime) return;\n var startTime = moment(task.startTime, dateFormat, true);\n startTime.add(1, 'd');\n var endTime = moment(task.endTime, dateFormat, true);\n var renderEndTime = fixTaskDates(startTime, endTime, dateFormat, excludes);\n task.endTime = endTime.toDate();\n task.renderEndTime = renderEndTime;\n};\n\nvar fixTaskDates = function fixTaskDates(startTime, endTime, dateFormat, excludes) {\n var invalid = false;\n var renderEndTime = null;\n\n while (startTime <= endTime) {\n if (!invalid) {\n renderEndTime = endTime.toDate();\n }\n\n invalid = isInvalidDate(startTime, dateFormat, excludes);\n\n if (invalid) {\n endTime.add(1, 'd');\n }\n\n startTime.add(1, 'd');\n }\n\n return renderEndTime;\n};\n\nvar getStartDate = function getStartDate(prevTime, dateFormat, str) {\n str = str.trim(); // Test for after\n\n var re = /^after\\s+([\\d\\w- ]+)/;\n var afterStatement = re.exec(str.trim());\n\n if (afterStatement !== null) {\n // check all after ids and take the latest\n var latestEndingTask = null;\n afterStatement[1].split(' ').forEach(function (id) {\n var task = findTaskById(id);\n\n if (typeof task !== 'undefined') {\n if (!latestEndingTask) {\n latestEndingTask = task;\n } else {\n if (task.endTime > latestEndingTask.endTime) {\n latestEndingTask = task;\n }\n }\n }\n });\n\n if (!latestEndingTask) {\n var dt = new Date();\n dt.setHours(0, 0, 0, 0);\n return dt;\n } else {\n return latestEndingTask.endTime;\n }\n } // Check for actual date set\n\n\n var mDate = moment(str, dateFormat.trim(), true);\n\n if (mDate.isValid()) {\n return mDate.toDate();\n } else {\n logger.debug('Invalid date:' + str);\n logger.debug('With date format:' + dateFormat.trim());\n } // Default date - now\n\n\n return new Date();\n};\n\nvar durationToDate = function durationToDate(durationStatement, relativeTime) {\n if (durationStatement !== null) {\n switch (durationStatement[2]) {\n case 's':\n relativeTime.add(durationStatement[1], 'seconds');\n break;\n\n case 'm':\n relativeTime.add(durationStatement[1], 'minutes');\n break;\n\n case 'h':\n relativeTime.add(durationStatement[1], 'hours');\n break;\n\n case 'd':\n relativeTime.add(durationStatement[1], 'days');\n break;\n\n case 'w':\n relativeTime.add(durationStatement[1], 'weeks');\n break;\n }\n } // Default date - now\n\n\n return relativeTime.toDate();\n};\n\nvar getEndDate = function getEndDate(prevTime, dateFormat, str, inclusive) {\n inclusive = inclusive || false;\n str = str.trim(); // Check for actual date\n\n var mDate = moment(str, dateFormat.trim(), true);\n\n if (mDate.isValid()) {\n if (inclusive) {\n mDate.add(1, 'd');\n }\n\n return mDate.toDate();\n }\n\n return durationToDate(/^([\\d]+)([wdhms])/.exec(str.trim()), moment(prevTime));\n};\n\nvar taskCnt = 0;\n\nvar parseId = function parseId(idStr) {\n if (typeof idStr === 'undefined') {\n taskCnt = taskCnt + 1;\n return 'task' + taskCnt;\n }\n\n return idStr;\n}; // id, startDate, endDate\n// id, startDate, length\n// id, after x, endDate\n// id, after x, length\n// startDate, endDate\n// startDate, length\n// after x, endDate\n// after x, length\n// endDate\n// length\n\n\nvar compileData = function compileData(prevTask, dataStr) {\n var ds;\n\n if (dataStr.substr(0, 1) === ':') {\n ds = dataStr.substr(1, dataStr.length);\n } else {\n ds = dataStr;\n }\n\n var data = ds.split(',');\n var task = {}; // Get tags like active, done, crit and milestone\n\n getTaskTags(data, task, tags);\n\n for (var i = 0; i < data.length; i++) {\n data[i] = data[i].trim();\n }\n\n var endTimeData = '';\n\n switch (data.length) {\n case 1:\n task.id = parseId();\n task.startTime = prevTask.endTime;\n endTimeData = data[0];\n break;\n\n case 2:\n task.id = parseId();\n task.startTime = getStartDate(undefined, dateFormat, data[0]);\n endTimeData = data[1];\n break;\n\n case 3:\n task.id = parseId(data[0]);\n task.startTime = getStartDate(undefined, dateFormat, data[1]);\n endTimeData = data[2];\n break;\n\n default:\n }\n\n if (endTimeData) {\n task.endTime = getEndDate(task.startTime, dateFormat, endTimeData, inclusiveEndDates);\n task.manualEndTime = moment(endTimeData, 'YYYY-MM-DD', true).isValid();\n checkTaskDates(task, dateFormat, excludes);\n }\n\n return task;\n};\n\nvar parseData = function parseData(prevTaskId, dataStr) {\n var ds;\n\n if (dataStr.substr(0, 1) === ':') {\n ds = dataStr.substr(1, dataStr.length);\n } else {\n ds = dataStr;\n }\n\n var data = ds.split(',');\n var task = {}; // Get tags like active, done, crit and milestone\n\n getTaskTags(data, task, tags);\n\n for (var i = 0; i < data.length; i++) {\n data[i] = data[i].trim();\n }\n\n switch (data.length) {\n case 1:\n task.id = parseId();\n task.startTime = {\n type: 'prevTaskEnd',\n id: prevTaskId\n };\n task.endTime = {\n data: data[0]\n };\n break;\n\n case 2:\n task.id = parseId();\n task.startTime = {\n type: 'getStartDate',\n startData: data[0]\n };\n task.endTime = {\n data: data[1]\n };\n break;\n\n case 3:\n task.id = parseId(data[0]);\n task.startTime = {\n type: 'getStartDate',\n startData: data[1]\n };\n task.endTime = {\n data: data[2]\n };\n break;\n\n default:\n }\n\n return task;\n};\n\nvar lastTask;\nvar lastTaskID;\nvar rawTasks = [];\nvar taskDb = {};\nexport var addTask = function addTask(descr, data) {\n var rawTask = {\n section: currentSection,\n type: currentSection,\n processed: false,\n manualEndTime: false,\n renderEndTime: null,\n raw: {\n data: data\n },\n task: descr,\n classes: []\n };\n var taskInfo = parseData(lastTaskID, data);\n rawTask.raw.startTime = taskInfo.startTime;\n rawTask.raw.endTime = taskInfo.endTime;\n rawTask.id = taskInfo.id;\n rawTask.prevTaskId = lastTaskID;\n rawTask.active = taskInfo.active;\n rawTask.done = taskInfo.done;\n rawTask.crit = taskInfo.crit;\n rawTask.milestone = taskInfo.milestone;\n rawTask.order = lastOrder;\n lastOrder++;\n var pos = rawTasks.push(rawTask);\n lastTaskID = rawTask.id; // Store cross ref\n\n taskDb[rawTask.id] = pos - 1;\n};\nexport var findTaskById = function findTaskById(id) {\n var pos = taskDb[id];\n return rawTasks[pos];\n};\nexport var addTaskOrg = function addTaskOrg(descr, data) {\n var newTask = {\n section: currentSection,\n type: currentSection,\n description: descr,\n task: descr,\n classes: []\n };\n var taskInfo = compileData(lastTask, data);\n newTask.startTime = taskInfo.startTime;\n newTask.endTime = taskInfo.endTime;\n newTask.id = taskInfo.id;\n newTask.active = taskInfo.active;\n newTask.done = taskInfo.done;\n newTask.crit = taskInfo.crit;\n newTask.milestone = taskInfo.milestone;\n lastTask = newTask;\n tasks.push(newTask);\n};\n\nvar compileTasks = function compileTasks() {\n var compileTask = function compileTask(pos) {\n var task = rawTasks[pos];\n var startTime = '';\n\n switch (rawTasks[pos].raw.startTime.type) {\n case 'prevTaskEnd':\n {\n var prevTask = findTaskById(task.prevTaskId);\n task.startTime = prevTask.endTime;\n break;\n }\n\n case 'getStartDate':\n startTime = getStartDate(undefined, dateFormat, rawTasks[pos].raw.startTime.startData);\n\n if (startTime) {\n rawTasks[pos].startTime = startTime;\n }\n\n break;\n }\n\n if (rawTasks[pos].startTime) {\n rawTasks[pos].endTime = getEndDate(rawTasks[pos].startTime, dateFormat, rawTasks[pos].raw.endTime.data, inclusiveEndDates);\n\n if (rawTasks[pos].endTime) {\n rawTasks[pos].processed = true;\n rawTasks[pos].manualEndTime = moment(rawTasks[pos].raw.endTime.data, 'YYYY-MM-DD', true).isValid();\n checkTaskDates(rawTasks[pos], dateFormat, excludes);\n }\n }\n\n return rawTasks[pos].processed;\n };\n\n var allProcessed = true;\n\n for (var i = 0; i < rawTasks.length; i++) {\n compileTask(i);\n allProcessed = allProcessed && rawTasks[i].processed;\n }\n\n return allProcessed;\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n */\n\n\nexport var setLink = function setLink(ids, _linkStr) {\n var linkStr = _linkStr;\n\n if (getConfig().securityLevel !== 'loose') {\n linkStr = sanitizeUrl(_linkStr);\n }\n\n ids.split(',').forEach(function (id) {\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n pushFun(id, function () {\n window.open(linkStr, '_self');\n });\n }\n });\n setClass(ids, 'clickable');\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setClass = function setClass(ids, className) {\n ids.split(',').forEach(function (id) {\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n rawTask.classes.push(className);\n }\n });\n};\n\nvar setClickFun = function setClickFun(id, functionName, functionArgs) {\n if (getConfig().securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n var argList = [];\n\n if (typeof functionArgs === 'string') {\n /* Splits functionArgs by ',', ignoring all ',' in double quoted strings */\n argList = functionArgs.split(/,(?=(?:(?:[^\"]*\"){2})*[^\"]*$)/);\n\n for (var i = 0; i < argList.length; i++) {\n var item = argList[i].trim();\n /* Removes all double quotes at the start and end of an argument */\n\n /* This preserves all starting and ending whitespace inside */\n\n if (item.charAt(0) === '\"' && item.charAt(item.length - 1) === '\"') {\n item = item.substr(1, item.length - 2);\n }\n\n argList[i] = item;\n }\n }\n /* if no arguments passed into callback, default to passing in id */\n\n\n if (argList.length === 0) {\n argList.push(id);\n }\n\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n pushFun(id, function () {\n utils.runFunc.apply(utils, [functionName].concat(_toConsumableArray(argList)));\n });\n }\n};\n/**\n * The callbackFunction is executed in a click event bound to the task with the specified id or the task's assigned text\n * @param id The task's id\n * @param callbackFunction A function to be executed when clicked on the task or the task's text\n */\n\n\nvar pushFun = function pushFun(id, callbackFunction) {\n funs.push(function () {\n // const elem = d3.select(element).select(`[id=\"${id}\"]`)\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n callbackFunction();\n });\n }\n });\n funs.push(function () {\n // const elem = d3.select(element).select(`[id=\"${id}-text\"]`)\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"-text\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n callbackFunction();\n });\n }\n });\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param functionArgs Function args the function should be called with\n */\n\n\nexport var setClickEvent = function setClickEvent(ids, functionName, functionArgs) {\n ids.split(',').forEach(function (id) {\n setClickFun(id, functionName, functionArgs);\n });\n setClass(ids, 'clickable');\n};\n/**\n * Binds all functions previously added to fun (specified through click) to the element\n * @param element\n */\n\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport default {\n clear: clear,\n setDateFormat: setDateFormat,\n getDateFormat: getDateFormat,\n enableInclusiveEndDates: enableInclusiveEndDates,\n endDatesAreInclusive: endDatesAreInclusive,\n setAxisFormat: setAxisFormat,\n getAxisFormat: getAxisFormat,\n setTodayMarker: setTodayMarker,\n getTodayMarker: getTodayMarker,\n setTitle: setTitle,\n getTitle: getTitle,\n addSection: addSection,\n getSections: getSections,\n getTasks: getTasks,\n addTask: addTask,\n findTaskById: findTaskById,\n addTaskOrg: addTaskOrg,\n setExcludes: setExcludes,\n getExcludes: getExcludes,\n setClickEvent: setClickEvent,\n setLink: setLink,\n bindFunctions: bindFunctions,\n durationToDate: durationToDate\n};\n\nfunction getTaskTags(data, task, tags) {\n var matchFound = true;\n\n while (matchFound) {\n matchFound = false;\n tags.forEach(function (t) {\n var pattern = '^\\\\s*' + t + '\\\\s*$';\n var regex = new RegExp(pattern);\n\n if (data[0].match(regex)) {\n task[t] = true;\n data.shift(1);\n matchFound = true;\n }\n });\n }\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "name": "./src/diagrams/gantt/ganttRenderer.js", "index": 910, "index2": 908, "size": 12233, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "28:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "340:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "341:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "531:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select, scaleTime, min, max, scaleLinear, interpolateHcl, axisBottom, timeFormat } from 'd3';\nimport { parser } from './parser/gantt';\nimport common from '../common/common';\nimport ganttDb from './ganttDb';\nparser.yy = ganttDb;\nvar conf = {\n titleTopMargin: 25,\n barHeight: 20,\n barGap: 4,\n topPadding: 50,\n rightPadding: 75,\n leftPadding: 75,\n gridLineStartPadding: 35,\n fontSize: 11,\n fontFamily: '\"Open-Sans\", \"sans-serif\"'\n};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\nvar w;\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.parse(text);\n var elem = document.getElementById(id);\n w = elem.parentElement.offsetWidth;\n\n if (typeof w === 'undefined') {\n w = 1200;\n }\n\n if (typeof conf.useWidth !== 'undefined') {\n w = conf.useWidth;\n }\n\n var taskArray = parser.yy.getTasks(); // Set height based on number of tasks\n\n var h = taskArray.length * (conf.barHeight + conf.barGap) + 2 * conf.topPadding;\n elem.setAttribute('height', '100%'); // Set viewBox\n\n elem.setAttribute('viewBox', '0 0 ' + w + ' ' + h);\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Set timescale\n\n var timeScale = scaleTime().domain([min(taskArray, function (d) {\n return d.startTime;\n }), max(taskArray, function (d) {\n return d.endTime;\n })]).rangeRound([0, w - conf.leftPadding - conf.rightPadding]);\n var categories = [];\n\n for (var i = 0; i < taskArray.length; i++) {\n categories.push(taskArray[i].type);\n }\n\n var catsUnfiltered = categories; // for vert labels\n\n categories = checkUnique(categories);\n\n function taskCompare(a, b) {\n var taskA = a.startTime;\n var taskB = b.startTime;\n var result = 0;\n\n if (taskA > taskB) {\n result = 1;\n } else if (taskA < taskB) {\n result = -1;\n }\n\n return result;\n } // Sort the task array using the above taskCompare() so that\n // tasks are created based on their order of startTime\n\n\n taskArray.sort(taskCompare);\n makeGant(taskArray, w, h);\n\n if (typeof conf.useWidth !== 'undefined') {\n elem.setAttribute('width', w);\n }\n\n svg.append('text').text(parser.yy.getTitle()).attr('x', w / 2).attr('y', conf.titleTopMargin).attr('class', 'titleText');\n\n function makeGant(tasks, pageWidth, pageHeight) {\n var barHeight = conf.barHeight;\n var gap = barHeight + conf.barGap;\n var topPadding = conf.topPadding;\n var leftPadding = conf.leftPadding;\n var colorScale = scaleLinear().domain([0, categories.length]).range(['#00B9FA', '#F95002']).interpolate(interpolateHcl);\n makeGrid(leftPadding, topPadding, pageWidth, pageHeight);\n drawRects(tasks, gap, topPadding, leftPadding, barHeight, colorScale, pageWidth, pageHeight);\n vertLabels(gap, topPadding, leftPadding, barHeight, colorScale);\n drawToday(leftPadding, topPadding, pageWidth, pageHeight);\n }\n\n function drawRects(theArray, theGap, theTopPad, theSidePad, theBarHeight, theColorScale, w) {\n // Draw background rects covering the entire width of the graph, these form the section rows.\n svg.append('g').selectAll('rect').data(theArray).enter().append('rect').attr('x', 0).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + theTopPad - 2;\n }).attr('width', function () {\n return w - conf.rightPadding / 2;\n }).attr('height', theGap).attr('class', function (d) {\n for (var _i = 0; _i < categories.length; _i++) {\n if (d.type === categories[_i]) {\n return 'section section' + _i % conf.numberSectionStyles;\n }\n }\n\n return 'section section0';\n }); // Draw the rects representing the tasks\n\n var rectangles = svg.append('g').selectAll('rect').data(theArray).enter();\n rectangles.append('rect').attr('id', function (d) {\n return d.id;\n }).attr('rx', 3).attr('ry', 3).attr('x', function (d) {\n if (d.milestone) {\n return timeScale(d.startTime) + theSidePad + 0.5 * (timeScale(d.endTime) - timeScale(d.startTime)) - 0.5 * theBarHeight;\n }\n\n return timeScale(d.startTime) + theSidePad;\n }).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + theTopPad;\n }).attr('width', function (d) {\n if (d.milestone) {\n return theBarHeight;\n }\n\n return timeScale(d.renderEndTime || d.endTime) - timeScale(d.startTime);\n }).attr('height', theBarHeight).attr('transform-origin', function (d, i) {\n return (timeScale(d.startTime) + theSidePad + 0.5 * (timeScale(d.endTime) - timeScale(d.startTime))).toString() + 'px ' + (i * theGap + theTopPad + 0.5 * theBarHeight).toString() + 'px';\n }).attr('class', function (d) {\n var res = 'task';\n var classStr = '';\n\n if (d.classes.length > 0) {\n classStr = d.classes.join(' ');\n }\n\n var secNum = 0;\n\n for (var _i2 = 0; _i2 < categories.length; _i2++) {\n if (d.type === categories[_i2]) {\n secNum = _i2 % conf.numberSectionStyles;\n }\n }\n\n var taskClass = '';\n\n if (d.active) {\n if (d.crit) {\n taskClass += ' activeCrit';\n } else {\n taskClass = ' active';\n }\n } else if (d.done) {\n if (d.crit) {\n taskClass = ' doneCrit';\n } else {\n taskClass = ' done';\n }\n } else {\n if (d.crit) {\n taskClass += ' crit';\n }\n }\n\n if (taskClass.length === 0) {\n taskClass = ' task';\n }\n\n if (d.milestone) {\n taskClass = ' milestone ' + taskClass;\n }\n\n taskClass += secNum;\n taskClass += ' ' + classStr;\n return res + taskClass;\n }); // Append task labels\n\n rectangles.append('text').attr('id', function (d) {\n return d.id + '-text';\n }).text(function (d) {\n return d.task;\n }).attr('font-size', conf.fontSize).attr('x', function (d) {\n var startX = timeScale(d.startTime);\n var endX = timeScale(d.renderEndTime || d.endTime);\n\n if (d.milestone) {\n startX += 0.5 * (timeScale(d.endTime) - timeScale(d.startTime)) - 0.5 * theBarHeight;\n }\n\n if (d.milestone) {\n endX = startX + theBarHeight;\n }\n\n var textWidth = this.getBBox().width; // Check id text width > width of rectangle\n\n if (textWidth > endX - startX) {\n if (endX + textWidth + 1.5 * conf.leftPadding > w) {\n return startX + theSidePad - 5;\n } else {\n return endX + theSidePad + 5;\n }\n } else {\n return (endX - startX) / 2 + startX + theSidePad;\n }\n }).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + conf.barHeight / 2 + (conf.fontSize / 2 - 2) + theTopPad;\n }).attr('text-height', theBarHeight).attr('class', function (d) {\n var startX = timeScale(d.startTime);\n var endX = timeScale(d.endTime);\n\n if (d.milestone) {\n endX = startX + theBarHeight;\n }\n\n var textWidth = this.getBBox().width;\n var classStr = '';\n\n if (d.classes.length > 0) {\n classStr = d.classes.join(' ');\n }\n\n var secNum = 0;\n console.log(conf);\n\n for (var _i3 = 0; _i3 < categories.length; _i3++) {\n if (d.type === categories[_i3]) {\n secNum = _i3 % conf.numberSectionStyles;\n }\n }\n\n var taskType = '';\n\n if (d.active) {\n if (d.crit) {\n taskType = 'activeCritText' + secNum;\n } else {\n taskType = 'activeText' + secNum;\n }\n }\n\n if (d.done) {\n if (d.crit) {\n taskType = taskType + ' doneCritText' + secNum;\n } else {\n taskType = taskType + ' doneText' + secNum;\n }\n } else {\n if (d.crit) {\n taskType = taskType + ' critText' + secNum;\n }\n }\n\n if (d.milestone) {\n taskType += ' milestoneText';\n } // Check id text width > width of rectangle\n\n\n if (textWidth > endX - startX) {\n if (endX + textWidth + 1.5 * conf.leftPadding > w) {\n return classStr + ' taskTextOutsideLeft taskTextOutside' + secNum + ' ' + taskType;\n } else {\n return classStr + ' taskTextOutsideRight taskTextOutside' + secNum + ' ' + taskType + ' width-' + textWidth;\n }\n } else {\n return classStr + ' taskText taskText' + secNum + ' ' + taskType + ' width-' + textWidth;\n }\n });\n }\n\n function makeGrid(theSidePad, theTopPad, w, h) {\n var xAxis = axisBottom(timeScale).tickSize(-h + theTopPad + conf.gridLineStartPadding).tickFormat(timeFormat(parser.yy.getAxisFormat() || conf.axisFormat || '%Y-%m-%d'));\n svg.append('g').attr('class', 'grid').attr('transform', 'translate(' + theSidePad + ', ' + (h - 50) + ')').call(xAxis).selectAll('text').style('text-anchor', 'middle').attr('fill', '#000').attr('stroke', 'none').attr('font-size', 10).attr('dy', '1em');\n }\n\n function vertLabels(theGap, theTopPad) {\n var numOccurances = [];\n var prevGap = 0;\n\n for (var _i4 = 0; _i4 < categories.length; _i4++) {\n numOccurances[_i4] = [categories[_i4], getCount(categories[_i4], catsUnfiltered)];\n }\n\n svg.append('g') // without doing this, impossible to put grid lines behind text\n .selectAll('text').data(numOccurances).enter().append(function (d) {\n var rows = d[0].split(common.lineBreakRegex);\n var dy = -(rows.length - 1) / 2;\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('dy', dy + 'em');\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttribute('alignment-baseline', 'central');\n tspan.setAttribute('x', '10');\n if (j > 0) tspan.setAttribute('dy', '1em');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n return svgLabel;\n }).attr('x', 10).attr('y', function (d, i) {\n if (i > 0) {\n for (var j = 0; j < i; j++) {\n prevGap += numOccurances[i - 1][1];\n return d[1] * theGap / 2 + prevGap * theGap + theTopPad;\n }\n } else {\n return d[1] * theGap / 2 + theTopPad;\n }\n }).attr('class', function (d) {\n for (var _i5 = 0; _i5 < categories.length; _i5++) {\n if (d[0] === categories[_i5]) {\n return 'sectionTitle sectionTitle' + _i5 % conf.numberSectionStyles;\n }\n }\n\n return 'sectionTitle';\n });\n }\n\n function drawToday(theSidePad, theTopPad, w, h) {\n var todayMarker = ganttDb.getTodayMarker();\n\n if (todayMarker === 'off') {\n return;\n }\n\n var todayG = svg.append('g').attr('class', 'today');\n var today = new Date();\n var todayLine = todayG.append('line');\n todayLine.attr('x1', timeScale(today) + theSidePad).attr('x2', timeScale(today) + theSidePad).attr('y1', conf.titleTopMargin).attr('y2', h - conf.titleTopMargin).attr('class', 'today');\n\n if (todayMarker !== '') {\n todayLine.attr('style', todayMarker.replace(/,/g, ';'));\n }\n } // from this stackexchange question: http://stackoverflow.com/questions/1890203/unique-for-arrays-in-javascript\n\n\n function checkUnique(arr) {\n var hash = {};\n var result = [];\n\n for (var _i6 = 0, l = arr.length; _i6 < l; ++_i6) {\n if (!hash.hasOwnProperty(arr[_i6])) {\n // eslint-disable-line\n // it works with objects! in FF, at least\n hash[arr[_i6]] = true;\n result.push(arr[_i6]);\n }\n }\n\n return result;\n } // from this stackexchange question: http://stackoverflow.com/questions/14227981/count-how-many-strings-in-an-array-have-duplicates-in-the-same-array\n\n\n function getCounts(arr) {\n var i = arr.length; // const to loop over\n\n var obj = {}; // obj to store results\n\n while (i) {\n obj[arr[--i]] = (obj[arr[i]] || 0) + 1; // count occurrences\n }\n\n return obj;\n } // get specific from everything\n\n\n function getCount(word, arr) {\n return getCounts(arr)[word] || 0;\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "name": "./src/diagrams/class/classDb.js", "index": 560, "index2": 558, "size": 8112, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "./classDb", "loc": "2:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./classDb", "loc": "5:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "8:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "9:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "12:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "15:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "18:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/classDb", "loc": "33:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "77:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "91:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "102:19-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classDb", "loc": "104:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "115:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classDb", "loc": "423:20-27" } ], "usedExports": [ "default", "lookUpDomId", "relationType" ], "providedExports": [ "addClass", "lookUpDomId", "clear", "getClass", "getClasses", "getRelations", "addRelation", "addAnnotation", "addMember", "addMembers", "cleanupLabel", "setCssClass", "setLink", "setClickEvent", "bindFunctions", "lineType", "relationType", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport { logger } from '../../logger';\nimport { getConfig } from '../../config';\nimport common from '../common/common';\nimport utils from '../../utils';\nvar MERMAID_DOM_ID_PREFIX = 'classid-';\nvar config = getConfig();\nvar relations = [];\nvar classes = {};\nvar classCounter = 0;\nvar funs = [];\n\nvar splitClassNameAndType = function splitClassNameAndType(id) {\n var genericType = '';\n var className = id;\n\n if (id.indexOf('~') > 0) {\n var split = id.split('~');\n className = split[0];\n genericType = split[1];\n }\n\n return {\n className: className,\n type: genericType\n };\n};\n/**\n * Function called by parser when a node definition has been found.\n * @param id\n * @public\n */\n\n\nexport var addClass = function addClass(id) {\n var classId = splitClassNameAndType(id); // Only add class if not exists\n\n if (typeof classes[classId.className] !== 'undefined') return;\n classes[classId.className] = {\n id: classId.className,\n type: classId.type,\n cssClasses: [],\n methods: [],\n members: [],\n annotations: [],\n domId: MERMAID_DOM_ID_PREFIX + classId.className + '-' + classCounter\n };\n classCounter++;\n};\n/**\n * Function to lookup domId from id in the graph definition.\n * @param id\n * @public\n */\n\nexport var lookUpDomId = function lookUpDomId(id) {\n var classKeys = Object.keys(classes);\n\n for (var i = 0; i < classKeys.length; i++) {\n if (classes[classKeys[i]].id === id) {\n return classes[classKeys[i]].domId;\n }\n }\n};\nexport var clear = function clear() {\n relations = [];\n classes = {};\n funs = [];\n funs.push(setupToolTips);\n};\nexport var getClass = function getClass(id) {\n return classes[id];\n};\nexport var getClasses = function getClasses() {\n return classes;\n};\nexport var getRelations = function getRelations() {\n return relations;\n};\nexport var addRelation = function addRelation(relation) {\n logger.debug('Adding relation: ' + JSON.stringify(relation));\n addClass(relation.id1);\n addClass(relation.id2);\n relation.id1 = splitClassNameAndType(relation.id1).className;\n relation.id2 = splitClassNameAndType(relation.id2).className;\n relations.push(relation);\n};\n/**\n * Adds an annotation to the specified class\n * Annotations mark special properties of the given type (like 'interface' or 'service')\n * @param className The class name\n * @param annotation The name of the annotation without any brackets\n * @public\n */\n\nexport var addAnnotation = function addAnnotation(className, annotation) {\n var validatedClassName = splitClassNameAndType(className).className;\n classes[validatedClassName].annotations.push(annotation);\n};\n/**\n * Adds a member to the specified class\n * @param className The class name\n * @param member The full name of the member.\n * If the member is enclosed in <> it is treated as an annotation\n * If the member is ending with a closing bracket ) it is treated as a method\n * Otherwise the member will be treated as a normal property\n * @public\n */\n\nexport var addMember = function addMember(className, member) {\n var validatedClassName = splitClassNameAndType(className).className;\n var theClass = classes[validatedClassName];\n\n if (typeof member === 'string') {\n // Member can contain white spaces, we trim them out\n var memberString = member.trim();\n\n if (memberString.startsWith('<<') && memberString.endsWith('>>')) {\n // Remove leading and trailing brackets\n theClass.annotations.push(memberString.substring(2, memberString.length - 2));\n } else if (memberString.indexOf(')') > 0) {\n theClass.methods.push(memberString);\n } else if (memberString) {\n theClass.members.push(memberString);\n }\n }\n};\nexport var addMembers = function addMembers(className, members) {\n if (Array.isArray(members)) {\n members.reverse();\n members.forEach(function (member) {\n return addMember(className, member);\n });\n }\n};\nexport var cleanupLabel = function cleanupLabel(label) {\n if (label.substring(0, 1) === ':') {\n return label.substr(1).trim();\n } else {\n return label.trim();\n }\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setCssClass = function setCssClass(ids, className) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof classes[id] !== 'undefined') {\n classes[id].cssClasses.push(className);\n }\n });\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setLink = function setLink(ids, linkStr, tooltip) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof classes[id] !== 'undefined') {\n classes[id].link = utils.formatUrl(linkStr, config);\n\n if (tooltip) {\n classes[id].tooltip = common.sanitizeText(tooltip, config);\n }\n }\n });\n setCssClass(ids, 'clickable');\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setClickEvent = function setClickEvent(ids, functionName, tooltip) {\n ids.split(',').forEach(function (id) {\n setClickFunc(id, functionName, tooltip);\n });\n setCssClass(ids, 'clickable');\n};\n\nvar setClickFunc = function setClickFunc(domId, functionName, tooltip) {\n var id = domId;\n var elemId = lookUpDomId(id);\n\n if (config.securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n if (typeof classes[id] !== 'undefined') {\n if (tooltip) {\n classes[id].tooltip = common.sanitizeText(tooltip, config);\n }\n\n funs.push(function () {\n var elem = document.querySelector(\"[id=\\\"\".concat(elemId, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n utils.runFunc(functionName, elemId);\n }, false);\n }\n });\n }\n};\n\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport var lineType = {\n LINE: 0,\n DOTTED_LINE: 1\n};\nexport var relationType = {\n AGGREGATION: 0,\n EXTENSION: 1,\n COMPOSITION: 2,\n DEPENDENCY: 3\n};\n\nvar setupToolTips = function setupToolTips(element) {\n var tooltipElem = select('.mermaidTooltip');\n\n if ((tooltipElem._groups || tooltipElem)[0][0] === null) {\n tooltipElem = select('body').append('div').attr('class', 'mermaidTooltip').style('opacity', 0);\n }\n\n var svg = select(element).select('svg');\n var nodes = svg.selectAll('g.node');\n nodes.on('mouseover', function () {\n var el = select(this);\n var title = el.attr('title'); // Dont try to draw a tooltip if no data is provided\n\n if (title === null) {\n return;\n }\n\n var rect = this.getBoundingClientRect();\n tooltipElem.transition().duration(200).style('opacity', '.9');\n tooltipElem.html(el.attr('title')).style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px').style('top', window.scrollY + rect.top - 14 + document.body.scrollTop + 'px');\n el.classed('hover', true);\n }).on('mouseout', function () {\n tooltipElem.transition().duration(500).style('opacity', 0);\n var el = select(this);\n el.classed('hover', false);\n });\n};\n\nfuns.push(setupToolTips);\nexport default {\n addClass: addClass,\n bindFunctions: bindFunctions,\n clear: clear,\n getClass: getClass,\n getClasses: getClasses,\n addAnnotation: addAnnotation,\n getRelations: getRelations,\n addRelation: addRelation,\n addMember: addMember,\n addMembers: addMembers,\n cleanupLabel: cleanupLabel,\n lineType: lineType,\n relationType: relationType,\n setClickEvent: setClickEvent,\n setCssClass: setCssClass,\n setLink: setLink,\n lookUpDomId: lookUpDomId\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "index": 911, "index2": 910, "size": 5731, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/classRenderer", "loc": "31:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "346:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "347:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "532:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport { logger } from '../../logger';\nimport classDb, { lookUpDomId } from './classDb';\nimport { parser } from './parser/classDiagram';\nimport svgDraw from './svgDraw';\nparser.yy = classDb;\nvar idCache = {};\nvar padding = 20;\nvar conf = {\n dividerMargin: 10,\n padding: 5,\n textHeight: 10\n}; // Todo optimize\n\nvar getGraphId = function getGraphId(label) {\n var keys = Object.keys(idCache);\n\n for (var i = 0; i < keys.length; i++) {\n if (idCache[keys[i]].label === label) {\n return keys[i];\n }\n }\n\n return undefined;\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\n\nvar insertMarkers = function insertMarkers(elem) {\n elem.append('defs').append('marker').attr('id', 'extensionStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 1,7 L18,13 V 1 Z');\n elem.append('defs').append('marker').attr('id', 'extensionEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 1,1 V 13 L18,7 Z'); // this is actual shape for arrowhead\n\n elem.append('defs').append('marker').attr('id', 'compositionStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'compositionEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'aggregationStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'aggregationEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'dependencyStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 5,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'dependencyEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L14,7 L9,1 Z');\n};\n\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n idCache = {};\n parser.yy.clear();\n parser.parse(text);\n logger.info('Rendering diagram ' + text); // Fetch the default direction, use TD if none was found\n\n var diagram = select(\"[id='\".concat(id, \"']\"));\n insertMarkers(diagram); // Layout graph, Create a new directed graph\n\n var g = new graphlib.Graph({\n multigraph: true\n }); // Set an object for the graph label\n\n g.setGraph({\n isMultiGraph: true\n }); // Default to assigning a new object as a label for each new edge.\n\n g.setDefaultEdgeLabel(function () {\n return {};\n });\n var classes = classDb.getClasses();\n var keys = Object.keys(classes);\n\n for (var i = 0; i < keys.length; i++) {\n var classDef = classes[keys[i]];\n var node = svgDraw.drawClass(diagram, classDef, conf);\n idCache[node.id] = node; // Add nodes to the graph. The first argument is the node id. The second is\n // metadata about the node. In this case we're going to add labels to each of\n // our nodes.\n\n g.setNode(node.id, node);\n logger.info('Org height: ' + node.height);\n }\n\n var relations = classDb.getRelations();\n relations.forEach(function (relation) {\n logger.info('tjoho' + getGraphId(relation.id1) + getGraphId(relation.id2) + JSON.stringify(relation));\n g.setEdge(getGraphId(relation.id1), getGraphId(relation.id2), {\n relation: relation\n }, relation.title || 'DEFAULT');\n });\n dagre.layout(g);\n g.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof g.node(v) !== 'undefined') {\n logger.debug('Node ' + v + ': ' + JSON.stringify(g.node(v)));\n select('#' + lookUpDomId(v)).attr('transform', 'translate(' + (g.node(v).x - g.node(v).width / 2) + ',' + (g.node(v).y - g.node(v).height / 2) + ' )');\n }\n });\n g.edges().forEach(function (e) {\n if (typeof e !== 'undefined' && typeof g.edge(e) !== 'undefined') {\n logger.debug('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(g.edge(e)));\n svgDraw.drawEdge(diagram, g.edge(e), g.edge(e).relation, conf);\n }\n });\n var svgBounds = diagram.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n diagram.attr('width', '100%');\n diagram.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n diagram.attr('viewBox', vBox);\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "name": "./src/diagrams/state/stateDb.js", "index": 562, "index2": 560, "size": 6456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "5:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "11:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "24:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "26:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "29:9-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateDb", "loc": "37:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "51:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateDb", "loc": "109:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateDb", "loc": "114:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "121:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "122:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "123:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "215:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "218:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "227:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "249:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "250:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "250:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "251:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "252:26-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "298:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "301:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "304:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "307:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "332:66-73" } ], "usedExports": [ "default" ], "providedExports": [ "addState", "clear", "getState", "getStates", "logDocuments", "getRelations", "addRelation", "cleanupLabel", "lineType", "relationType", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { logger } from '../../logger';\nimport { generateId } from '../../utils';\n\nvar clone = function clone(o) {\n return JSON.parse(JSON.stringify(o));\n};\n\nvar rootDoc = [];\n\nvar setRootDoc = function setRootDoc(o) {\n logger.info('Setting root doc', o); // rootDoc = { id: 'root', doc: o };\n\n rootDoc = o;\n};\n\nvar getRootDoc = function getRootDoc() {\n return rootDoc;\n};\n\nvar docTranslator = function docTranslator(parent, node, first) {\n if (node.stmt === 'relation') {\n docTranslator(parent, node.state1, true);\n docTranslator(parent, node.state2, false);\n } else {\n if (node.stmt === 'state') {\n if (node.id === '[*]') {\n node.id = first ? parent.id + '_start' : parent.id + '_end';\n node.start = first;\n }\n }\n\n if (node.doc) {\n var doc = []; // Check for concurrency\n\n var i = 0;\n var currentDoc = [];\n\n for (i = 0; i < node.doc.length; i++) {\n if (node.doc[i].type === 'divider') {\n // debugger;\n var newNode = clone(node.doc[i]);\n newNode.doc = clone(currentDoc);\n doc.push(newNode);\n currentDoc = [];\n } else {\n currentDoc.push(node.doc[i]);\n }\n } // If any divider was encountered\n\n\n if (doc.length > 0 && currentDoc.length > 0) {\n var _newNode = {\n stmt: 'state',\n id: generateId(),\n type: 'divider',\n doc: clone(currentDoc)\n };\n doc.push(clone(_newNode));\n node.doc = doc;\n }\n\n node.doc.forEach(function (docNode) {\n return docTranslator(node, docNode, true);\n });\n }\n }\n};\n\nvar getRootDocV2 = function getRootDocV2() {\n docTranslator({\n id: 'root'\n }, {\n id: 'root',\n doc: rootDoc\n }, true);\n return {\n id: 'root',\n doc: rootDoc\n };\n};\n\nvar extract = function extract(_doc) {\n // const res = { states: [], relations: [] };\n var doc;\n\n if (_doc.doc) {\n doc = _doc.doc;\n } else {\n doc = _doc;\n } // let doc = root.doc;\n // if (!doc) {\n // doc = root;\n // }\n\n\n logger.info(doc);\n clear();\n logger.info('Extract', doc);\n doc.forEach(function (item) {\n if (item.stmt === 'state') {\n addState(item.id, item.type, item.doc, item.description, item.note);\n }\n\n if (item.stmt === 'relation') {\n addRelation(item.state1.id, item.state2.id, item.description);\n }\n });\n};\n\nvar newDoc = function newDoc() {\n return {\n relations: [],\n states: {},\n documents: {}\n };\n};\n\nvar documents = {\n root: newDoc()\n};\nvar currentDocument = documents.root;\nvar startCnt = 0;\nvar endCnt = 0; // eslint-disable-line\n// let stateCnt = 0;\n\n/**\n * Function called by parser when a node definition has been found.\n * @param id\n * @param text\n * @param type\n * @param style\n */\n\nexport var addState = function addState(id, type, doc, descr, note) {\n if (typeof currentDocument.states[id] === 'undefined') {\n currentDocument.states[id] = {\n id: id,\n descriptions: [],\n type: type,\n doc: doc,\n note: note\n };\n } else {\n if (!currentDocument.states[id].doc) {\n currentDocument.states[id].doc = doc;\n }\n\n if (!currentDocument.states[id].type) {\n currentDocument.states[id].type = type;\n }\n }\n\n if (descr) {\n logger.info('Adding state ', id, descr);\n if (typeof descr === 'string') addDescription(id, descr.trim());\n\n if (_typeof(descr) === 'object') {\n descr.forEach(function (des) {\n return addDescription(id, des.trim());\n });\n }\n }\n\n if (note) currentDocument.states[id].note = note;\n};\nexport var clear = function clear() {\n documents = {\n root: newDoc()\n };\n currentDocument = documents.root;\n currentDocument = documents.root;\n startCnt = 0;\n endCnt = 0; // eslint-disable-line\n\n classes = [];\n};\nexport var getState = function getState(id) {\n return currentDocument.states[id];\n};\nexport var getStates = function getStates() {\n return currentDocument.states;\n};\nexport var logDocuments = function logDocuments() {\n logger.info('Documents = ', documents);\n};\nexport var getRelations = function getRelations() {\n return currentDocument.relations;\n};\nexport var addRelation = function addRelation(_id1, _id2, title) {\n var id1 = _id1;\n var id2 = _id2;\n var type1 = 'default';\n var type2 = 'default';\n\n if (_id1 === '[*]') {\n startCnt++;\n id1 = 'start' + startCnt;\n type1 = 'start';\n }\n\n if (_id2 === '[*]') {\n endCnt++;\n id2 = 'end' + startCnt;\n type2 = 'end';\n }\n\n addState(id1, type1);\n addState(id2, type2);\n currentDocument.relations.push({\n id1: id1,\n id2: id2,\n title: title\n });\n};\n\nvar addDescription = function addDescription(id, _descr) {\n var theState = currentDocument.states[id];\n var descr = _descr;\n\n if (descr[0] === ':') {\n descr = descr.substr(1).trim();\n }\n\n theState.descriptions.push(descr);\n};\n\nexport var cleanupLabel = function cleanupLabel(label) {\n if (label.substring(0, 1) === ':') {\n return label.substr(2).trim();\n } else {\n return label.trim();\n }\n};\nexport var lineType = {\n LINE: 0,\n DOTTED_LINE: 1\n};\nvar dividerCnt = 0;\n\nvar getDividerId = function getDividerId() {\n dividerCnt++;\n return 'divider-id-' + dividerCnt;\n};\n\nvar classes = [];\n\nvar getClasses = function getClasses() {\n return classes;\n};\n\nvar getDirection = function getDirection() {\n return 'TB';\n};\n\nexport var relationType = {\n AGGREGATION: 0,\n EXTENSION: 1,\n COMPOSITION: 2,\n DEPENDENCY: 3\n};\n\nvar trimColon = function trimColon(str) {\n return str && str[0] === ':' ? str.substr(1).trim() : str.trim();\n};\n\nexport default {\n addState: addState,\n clear: clear,\n getState: getState,\n getStates: getStates,\n getRelations: getRelations,\n getClasses: getClasses,\n getDirection: getDirection,\n addRelation: addRelation,\n getDividerId: getDividerId,\n // addDescription,\n cleanupLabel: cleanupLabel,\n lineType: lineType,\n relationType: relationType,\n logDocuments: logDocuments,\n getRootDoc: getRootDoc,\n setRootDoc: setRootDoc,\n getRootDocV2: getRootDocV2,\n extract: extract,\n trimColon: trimColon\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "index": 913, "index2": 913, "size": 8188, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateRenderer", "loc": "34:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "352:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "353:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "533:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport { logger } from '../../logger';\nimport stateDb from './stateDb';\nimport common from '../common/common';\nimport { parser } from './parser/stateDiagram'; // import idCache from './id-cache';\n\nimport { drawState, addTitleAndBox, drawEdge } from './shapes';\nimport { getConfig } from '../../config';\nparser.yy = stateDb; // TODO Move conf object to main conf in mermaidAPI\n\nvar conf;\nvar transformationLog = {};\nexport var setConf = function setConf() {}; // Todo optimize\n\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nvar insertMarkers = function insertMarkers(elem) {\n elem.append('defs').append('marker').attr('id', 'dependencyEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 19,7 L9,13 L14,7 L9,1 Z');\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n conf = getConfig().state;\n parser.yy.clear();\n parser.parse(text);\n logger.debug('Rendering diagram ' + text); // Fetch the default direction, use TD if none was found\n\n var diagram = select(\"[id='\".concat(id, \"']\"));\n insertMarkers(diagram); // Layout graph, Create a new directed graph\n\n var graph = new graphlib.Graph({\n multigraph: true,\n compound: true,\n // acyclicer: 'greedy',\n rankdir: 'RL' // ranksep: '20'\n\n }); // Default to assigning a new object as a label for each new edge.\n\n graph.setDefaultEdgeLabel(function () {\n return {};\n });\n var rootDoc = stateDb.getRootDoc();\n renderDoc(rootDoc, diagram, undefined, false);\n var padding = conf.padding;\n var bounds = diagram.node().getBBox();\n var width = bounds.width + padding * 2;\n var height = bounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n diagram.attr('width', '100%');\n diagram.attr('style', \"max-width: \".concat(width * 1.75, \"px;\"));\n } else {\n // Zoom in a bit\n diagram.attr('width', width * 1.75);\n } // diagram.attr('height', bounds.height * 3 + conf.padding * 2);\n\n\n diagram.attr('viewBox', \"\".concat(bounds.x - conf.padding, \" \").concat(bounds.y - conf.padding, \" \") + width + ' ' + height);\n};\n\nvar getLabelWidth = function getLabelWidth(text) {\n return text ? text.length * conf.fontSizeFactor : 1;\n};\n\nvar renderDoc = function renderDoc(doc, diagram, parentId, altBkg) {\n // // Layout graph, Create a new directed graph\n var graph = new graphlib.Graph({\n compound: true,\n multigraph: true\n });\n var i;\n var edgeFreeDoc = true;\n\n for (i = 0; i < doc.length; i++) {\n if (doc[i].stmt === 'relation') {\n edgeFreeDoc = false;\n break;\n }\n } // Set an object for the graph label\n\n\n if (parentId) graph.setGraph({\n rankdir: 'LR',\n multigraph: true,\n compound: true,\n // acyclicer: 'greedy',\n ranker: 'tight-tree',\n ranksep: edgeFreeDoc ? 1 : conf.edgeLengthFactor,\n nodeSep: edgeFreeDoc ? 1 : 50,\n isMultiGraph: true // ranksep: 5,\n // nodesep: 1\n\n });else {\n graph.setGraph({\n rankdir: 'TB',\n multigraph: true,\n compound: true,\n // isCompound: true,\n // acyclicer: 'greedy',\n // ranker: 'longest-path'\n ranksep: edgeFreeDoc ? 1 : conf.edgeLengthFactor,\n nodeSep: edgeFreeDoc ? 1 : 50,\n ranker: 'tight-tree',\n // ranker: 'network-simplex'\n isMultiGraph: true\n });\n } // Default to assigning a new object as a label for each new edge.\n\n graph.setDefaultEdgeLabel(function () {\n return {};\n });\n stateDb.extract(doc);\n var states = stateDb.getStates();\n var relations = stateDb.getRelations();\n var keys = Object.keys(states);\n var first = true;\n\n for (var _i = 0; _i < keys.length; _i++) {\n var stateDef = states[keys[_i]];\n\n if (parentId) {\n stateDef.parentId = parentId;\n }\n\n var node = void 0;\n\n if (stateDef.doc) {\n var sub = diagram.append('g').attr('id', stateDef.id).attr('class', 'stateGroup');\n node = renderDoc(stateDef.doc, sub, stateDef.id, !altBkg);\n\n if (first) {\n // first = false;\n sub = addTitleAndBox(sub, stateDef, altBkg);\n var boxBounds = sub.node().getBBox();\n node.width = boxBounds.width;\n node.height = boxBounds.height + conf.padding / 2;\n transformationLog[stateDef.id] = {\n y: conf.compositTitleSize\n };\n } else {\n // sub = addIdAndBox(sub, stateDef);\n var _boxBounds = sub.node().getBBox();\n\n node.width = _boxBounds.width;\n node.height = _boxBounds.height; // transformationLog[stateDef.id] = { y: conf.compositTitleSize };\n }\n } else {\n node = drawState(diagram, stateDef, graph);\n }\n\n if (stateDef.note) {\n // Draw note note\n var noteDef = {\n descriptions: [],\n id: stateDef.id + '-note',\n note: stateDef.note,\n type: 'note'\n };\n var note = drawState(diagram, noteDef, graph); // graph.setNode(node.id, node);\n\n if (stateDef.note.position === 'left of') {\n graph.setNode(node.id + '-note', note);\n graph.setNode(node.id, node);\n } else {\n graph.setNode(node.id, node);\n graph.setNode(node.id + '-note', note);\n } // graph.setNode(node.id);\n\n\n graph.setParent(node.id, node.id + '-group');\n graph.setParent(node.id + '-note', node.id + '-group');\n } else {\n // Add nodes to the graph. The first argument is the node id. The second is\n // metadata about the node. In this case we're going to add labels to each of\n // our nodes.\n graph.setNode(node.id, node);\n }\n }\n\n logger.debug('Count=', graph.nodeCount(), graph);\n var cnt = 0;\n relations.forEach(function (relation) {\n cnt++;\n logger.debug('Setting edge', relation);\n graph.setEdge(relation.id1, relation.id2, {\n relation: relation,\n width: getLabelWidth(relation.title),\n height: conf.labelHeight * common.getRows(relation.title).length,\n labelpos: 'c'\n }, 'id' + cnt);\n });\n dagre.layout(graph);\n logger.debug('Graph after layout', graph.nodes());\n var svgElem = diagram.node();\n graph.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof graph.node(v) !== 'undefined') {\n logger.warn('Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n select('#' + svgElem.id + ' #' + v).attr('transform', 'translate(' + (graph.node(v).x - graph.node(v).width / 2) + ',' + (graph.node(v).y + (transformationLog[v] ? transformationLog[v].y : 0) - graph.node(v).height / 2) + ' )');\n select('#' + svgElem.id + ' #' + v).attr('data-x-shift', graph.node(v).x - graph.node(v).width / 2);\n var dividers = document.querySelectorAll('#' + svgElem.id + ' #' + v + ' .divider');\n dividers.forEach(function (divider) {\n var parent = divider.parentElement;\n var pWidth = 0;\n var pShift = 0;\n\n if (parent) {\n if (parent.parentElement) pWidth = parent.parentElement.getBBox().width;\n pShift = parseInt(parent.getAttribute('data-x-shift'), 10);\n\n if (Number.isNaN(pShift)) {\n pShift = 0;\n }\n }\n\n divider.setAttribute('x1', 0 - pShift + 8);\n divider.setAttribute('x2', pWidth - pShift - 8);\n });\n } else {\n logger.debug('No Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n }\n });\n var stateBox = svgElem.getBBox();\n graph.edges().forEach(function (e) {\n if (typeof e !== 'undefined' && typeof graph.edge(e) !== 'undefined') {\n logger.debug('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(graph.edge(e)));\n drawEdge(diagram, graph.edge(e), graph.edge(e).relation);\n }\n });\n stateBox = svgElem.getBBox();\n var stateInfo = {\n id: parentId ? parentId : 'root',\n label: parentId ? parentId : 'root',\n width: 0,\n height: 0\n };\n stateInfo.width = stateBox.width + 2 * conf.padding;\n stateInfo.height = stateBox.height + 2 * conf.padding;\n logger.debug('Doc rendered', stateInfo, graph);\n return stateInfo;\n};\n\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "name": "./src/diagrams/state/stateRenderer-v2.js", "index": 916, "index2": 914, "size": 9719, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "35:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "358:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "359:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "534:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select } from 'd3';\nimport stateDb from './stateDb';\nimport state from './parser/stateDiagram';\nimport { getConfig } from '../../config';\nimport { render } from '../../dagre-wrapper/index.js';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\nvar nodeDb = {};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.trace('Extracting classes');\n stateDb.clear();\n var parser = state.parser;\n parser.yy = stateDb; // Parse the graph definition\n\n parser.parse(text);\n return stateDb.getClasses();\n};\n\nvar setupNode = function setupNode(g, parent, node, altFlag) {\n // Add the node\n if (node.id !== 'root') {\n var shape = 'rect';\n\n if (node.start === true) {\n shape = 'start';\n }\n\n if (node.start === false) {\n shape = 'end';\n }\n\n if (node.type !== 'default') {\n shape = node.type;\n }\n\n if (!nodeDb[node.id]) {\n nodeDb[node.id] = {\n id: node.id,\n shape: shape,\n description: node.id,\n classes: 'statediagram-state'\n };\n } // Build of the array of description strings accordinging\n\n\n if (node.description) {\n if (Array.isArray(nodeDb[node.id].description)) {\n // There already is an array of strings,add to it\n nodeDb[node.id].shape = 'rectWithTitle';\n nodeDb[node.id].description.push(node.description);\n } else {\n if (nodeDb[node.id].description.length > 0) {\n // if there is a description already transformit to an array\n nodeDb[node.id].shape = 'rectWithTitle';\n\n if (nodeDb[node.id].description === node.id) {\n // If the previous description was the is, remove it\n nodeDb[node.id].description = [node.description];\n } else {\n nodeDb[node.id].description = [nodeDb[node.id].description, node.description];\n }\n } else {\n nodeDb[node.id].shape = 'rect';\n nodeDb[node.id].description = node.description;\n }\n }\n } // Save data for description and group so that for instance a statement without description overwrites\n // one with description\n // group\n\n\n if (!nodeDb[node.id].type && node.doc) {\n logger.info('Setting cluser for ', node.id);\n nodeDb[node.id].type = 'group';\n nodeDb[node.id].shape = node.type === 'divider' ? 'divider' : 'roundedWithTitle';\n nodeDb[node.id].classes = nodeDb[node.id].classes + ' ' + (altFlag ? 'statediagram-cluster statediagram-cluster-alt' : 'statediagram-cluster');\n }\n\n var nodeData = {\n labelStyle: '',\n shape: nodeDb[node.id].shape,\n labelText: nodeDb[node.id].description,\n classes: nodeDb[node.id].classes,\n //classStr,\n style: '',\n //styles.style,\n id: node.id,\n type: nodeDb[node.id].type,\n padding: 15 //getConfig().flowchart.padding\n\n };\n\n if (node.note) {\n // Todo: set random id\n var noteData = {\n labelStyle: '',\n shape: 'note',\n labelText: node.note.text,\n classes: 'statediagram-note',\n //classStr,\n style: '',\n //styles.style,\n id: node.id + '----note',\n type: nodeDb[node.id].type,\n padding: 15 //getConfig().flowchart.padding\n\n };\n var groupData = {\n labelStyle: '',\n shape: 'noteGroup',\n labelText: node.note.text,\n classes: nodeDb[node.id].classes,\n //classStr,\n style: '',\n //styles.style,\n id: node.id + '----parent',\n type: 'group',\n padding: 0 //getConfig().flowchart.padding\n\n };\n g.setNode(node.id + '----parent', groupData);\n g.setNode(noteData.id, noteData);\n g.setNode(node.id, nodeData);\n g.setParent(node.id, node.id + '----parent');\n g.setParent(noteData.id, node.id + '----parent');\n var from = node.id;\n var to = noteData.id;\n\n if (node.note.position === 'left of') {\n from = noteData.id;\n to = node.id;\n }\n\n g.setEdge(from, to, {\n arrowhead: 'none',\n arrowType: '',\n style: 'fill:none',\n labelStyle: '',\n classes: 'transition note-edge',\n arrowheadStyle: 'fill: #333',\n labelpos: 'c',\n labelType: 'text',\n thickness: 'normal'\n });\n } else {\n g.setNode(node.id, nodeData);\n }\n }\n\n if (parent) {\n if (parent.id !== 'root') {\n logger.info('Setting node ', node.id, ' to be child of its parent ', parent.id);\n g.setParent(node.id, parent.id);\n }\n }\n\n if (node.doc) {\n logger.info('Adding nodes children ');\n setupDoc(g, node, node.doc, !altFlag);\n }\n};\n\nvar cnt = 0;\n\nvar setupDoc = function setupDoc(g, parent, doc, altFlag) {\n logger.trace('items', doc);\n doc.forEach(function (item) {\n if (item.stmt === 'state' || item.stmt === 'default') {\n setupNode(g, parent, item, altFlag);\n } else if (item.stmt === 'relation') {\n setupNode(g, parent, item.state1, altFlag);\n setupNode(g, parent, item.state2, altFlag);\n var edgeData = {\n id: 'edge' + cnt,\n arrowhead: 'normal',\n arrowType: 'arrow_barb',\n style: 'fill:none',\n labelStyle: '',\n label: item.description,\n arrowheadStyle: 'fill: #333',\n labelpos: 'c',\n labelType: 'text',\n thickness: 'normal',\n classes: 'transition'\n };\n var startId = item.state1.id;\n var endId = item.state2.id;\n g.setEdge(startId, endId, edgeData, cnt);\n cnt++;\n }\n });\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing state diagram (v2)', id);\n stateDb.clear();\n nodeDb = {};\n var parser = state.parser;\n parser.yy = stateDb; // Parse the graph definition\n\n try {\n parser.parse(text);\n } catch (err) {\n logger.debug('Parsing failed');\n } // Fetch the default direction, use TD if none was found\n\n\n var dir = stateDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'LR';\n }\n\n var conf = getConfig().state;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: 'TB',\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n logger.info(stateDb.getRootDocV2());\n stateDb.extract(stateDb.getRootDocV2());\n logger.info(stateDb.getRootDocV2());\n setupNode(g, undefined, stateDb.getRootDocV2(), true); // Set up an SVG group so that we can translate the final graph.\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g, ['barb'], 'statediagram', id);\n var padding = 8; // const svgBounds = svg.node().getBBox();\n // const width = svgBounds.width + padding * 2;\n // const height = svgBounds.height + padding * 2;\n // logger.debug(\n // `new ViewBox 0 0 ${width} ${height}`,\n // `translate(${padding + g._label.marginx}, ${padding + g._label.marginy})`\n // );\n // if (conf.useMaxWidth) {\n // svg.attr('width', '100%');\n // svg.attr('style', `max-width: ${width}px;`);\n // } else {\n // svg.attr('height', height);\n // svg.attr('width', width);\n // }\n // svg.attr('viewBox', `0 0 ${width} ${height}`);\n // svg\n // .select('g')\n // .attr('transform', `translate(${padding - g._label.marginx}, ${padding - svgBounds.y})`);\n\n var bounds = svg.node().getBBox();\n var width = bounds.width + padding * 2;\n var height = bounds.height + padding * 2; // diagram.attr('height', '100%');\n // diagram.attr('style', `width: ${bounds.width * 3 + conf.padding * 2};`);\n // diagram.attr('height', height);\n // Zoom in a bit\n\n svg.attr('width', width * 1.75);\n svg.attr('class', 'statediagram'); // diagram.attr('height', bounds.height * 3 + conf.padding * 2);\n // svg.attr(\n // 'viewBox',\n // `${bounds.x - conf.padding} ${bounds.y - conf.padding} ` + width + ' ' + height\n // );\n\n var svgBounds = svg.node().getBBox();\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n svg.attr('viewBox', vBox); // Add label rects for non html labels\n\n if (!conf.htmlLabels) {\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n }\n};\nexport default {\n setConf: setConf,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "name": "./src/diagrams/git/gitGraphAst.js", "index": 551, "index2": 549, "size": 6939, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./gitGraphAst", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/gitGraphAst", "loc": "40:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphAst", "loc": "77:25-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "238:16-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "243:46-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "245:20-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "246:21-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "247:19-21" } ], "usedExports": [ "default" ], "providedExports": [ "setDirection", "setOptions", "getOptions", "commit", "branch", "merge", "checkout", "reset", "prettyPrint", "clear", "getBranchesAsObjArray", "getBranches", "getCommits", "getCommitsArray", "getCurrentBranch", "getDirection", "getHead", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { logger } from '../../logger';\nvar commits = {};\nvar head = null;\nvar branches = {\n master: head\n};\nvar curBranch = 'master';\nvar direction = 'LR';\nvar seq = 0;\n\nfunction makeid(length) {\n var result = '';\n var characters = '0123456789abcdef';\n var charactersLength = characters.length;\n\n for (var i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n\n return result;\n}\n\nfunction getId() {\n return makeid(7);\n}\n\nfunction isfastforwardable(currentCommit, otherCommit) {\n logger.debug('Entering isfastforwardable:', currentCommit.id, otherCommit.id);\n\n while (currentCommit.seq <= otherCommit.seq && currentCommit !== otherCommit) {\n // only if other branch has more commits\n if (otherCommit.parent == null) break;\n\n if (Array.isArray(otherCommit.parent)) {\n logger.debug('In merge commit:', otherCommit.parent);\n return isfastforwardable(currentCommit, commits[otherCommit.parent[0]]) || isfastforwardable(currentCommit, commits[otherCommit.parent[1]]);\n } else {\n otherCommit = commits[otherCommit.parent];\n }\n }\n\n logger.debug(currentCommit.id, otherCommit.id);\n return currentCommit.id === otherCommit.id;\n}\n\nfunction isReachableFrom(currentCommit, otherCommit) {\n var currentSeq = currentCommit.seq;\n var otherSeq = otherCommit.seq;\n if (currentSeq > otherSeq) return isfastforwardable(otherCommit, currentCommit);\n return false;\n}\n\nfunction uniqBy(list, fn) {\n var recordMap = Object.create(null);\n return list.reduce(function (out, item) {\n var key = fn(item);\n\n if (!recordMap[key]) {\n recordMap[key] = true;\n out.push(item);\n }\n\n return out;\n }, []);\n}\n\nexport var setDirection = function setDirection(dir) {\n direction = dir;\n};\nvar options = {};\nexport var setOptions = function setOptions(rawOptString) {\n logger.debug('options str', rawOptString);\n rawOptString = rawOptString && rawOptString.trim();\n rawOptString = rawOptString || '{}';\n\n try {\n options = JSON.parse(rawOptString);\n } catch (e) {\n logger.error('error while parsing gitGraph options', e.message);\n }\n};\nexport var getOptions = function getOptions() {\n return options;\n};\nexport var commit = function commit(msg) {\n var commit = {\n id: getId(),\n message: msg,\n seq: seq++,\n parent: head == null ? null : head.id\n };\n head = commit;\n commits[commit.id] = commit;\n branches[curBranch] = commit.id;\n logger.debug('in pushCommit ' + commit.id);\n};\nexport var branch = function branch(name) {\n branches[name] = head != null ? head.id : null;\n logger.debug('in createBranch');\n};\nexport var merge = function merge(otherBranch) {\n var currentCommit = commits[branches[curBranch]];\n var otherCommit = commits[branches[otherBranch]];\n\n if (isReachableFrom(currentCommit, otherCommit)) {\n logger.debug('Already merged');\n return;\n }\n\n if (isfastforwardable(currentCommit, otherCommit)) {\n branches[curBranch] = branches[otherBranch];\n head = commits[branches[curBranch]];\n } else {\n // create merge commit\n var _commit = {\n id: getId(),\n message: 'merged branch ' + otherBranch + ' into ' + curBranch,\n seq: seq++,\n parent: [head == null ? null : head.id, branches[otherBranch]]\n };\n head = _commit;\n commits[_commit.id] = _commit;\n branches[curBranch] = _commit.id;\n }\n\n logger.debug(branches);\n logger.debug('in mergeBranch');\n};\nexport var checkout = function checkout(branch) {\n logger.debug('in checkout');\n curBranch = branch;\n var id = branches[curBranch];\n head = commits[id];\n};\nexport var reset = function reset(commitRef) {\n logger.debug('in reset', commitRef);\n var ref = commitRef.split(':')[0];\n var parentCount = parseInt(commitRef.split(':')[1]);\n var commit = ref === 'HEAD' ? head : commits[branches[ref]];\n logger.debug(commit, parentCount);\n\n while (parentCount > 0) {\n commit = commits[commit.parent];\n parentCount--;\n\n if (!commit) {\n var err = 'Critical error - unique parent commit not found during reset';\n logger.error(err);\n throw err;\n }\n }\n\n head = commit;\n branches[curBranch] = commit.id;\n};\n\nfunction upsert(arr, key, newval) {\n var index = arr.indexOf(key);\n\n if (index === -1) {\n arr.push(newval);\n } else {\n arr.splice(index, 1, newval);\n }\n}\n\nfunction prettyPrintCommitHistory(commitArr) {\n var commit = commitArr.reduce(function (out, commit) {\n if (out.seq > commit.seq) return out;\n return commit;\n }, commitArr[0]);\n var line = '';\n commitArr.forEach(function (c) {\n if (c === commit) {\n line += '\\t*';\n } else {\n line += '\\t|';\n }\n });\n var label = [line, commit.id, commit.seq];\n\n for (var _branch in branches) {\n if (branches[_branch] === commit.id) label.push(_branch);\n }\n\n logger.debug(label.join(' '));\n\n if (Array.isArray(commit.parent)) {\n var newCommit = commits[commit.parent[0]];\n upsert(commitArr, commit, newCommit);\n commitArr.push(commits[commit.parent[1]]);\n } else if (commit.parent == null) {\n return;\n } else {\n var nextCommit = commits[commit.parent];\n upsert(commitArr, commit, nextCommit);\n }\n\n commitArr = uniqBy(commitArr, function (c) {\n return c.id;\n });\n prettyPrintCommitHistory(commitArr);\n}\n\nexport var prettyPrint = function prettyPrint() {\n logger.debug(commits);\n var node = getCommitsArray()[0];\n prettyPrintCommitHistory([node]);\n};\nexport var clear = function clear() {\n commits = {};\n head = null;\n branches = {\n master: head\n };\n curBranch = 'master';\n seq = 0;\n};\nexport var getBranchesAsObjArray = function getBranchesAsObjArray() {\n var branchArr = [];\n\n for (var _branch2 in branches) {\n branchArr.push({\n name: _branch2,\n commit: commits[branches[_branch2]]\n });\n }\n\n return branchArr;\n};\nexport var getBranches = function getBranches() {\n return branches;\n};\nexport var getCommits = function getCommits() {\n return commits;\n};\nexport var getCommitsArray = function getCommitsArray() {\n var commitArr = Object.keys(commits).map(function (key) {\n return commits[key];\n });\n commitArr.forEach(function (o) {\n logger.debug(o.id);\n });\n commitArr.sort(function (a, b) {\n return b.seq - a.seq;\n });\n return commitArr;\n};\nexport var getCurrentBranch = function getCurrentBranch() {\n return curBranch;\n};\nexport var getDirection = function getDirection() {\n return direction;\n};\nexport var getHead = function getHead() {\n return head;\n};\nexport default {\n setDirection: setDirection,\n setOptions: setOptions,\n getOptions: getOptions,\n commit: commit,\n branch: branch,\n merge: merge,\n checkout: checkout,\n reset: reset,\n prettyPrint: prettyPrint,\n clear: clear,\n getBranchesAsObjArray: getBranchesAsObjArray,\n getBranches: getBranches,\n getCommits: getCommits,\n getCommitsArray: getCommitsArray,\n getCurrentBranch: getCurrentBranch,\n getDirection: getDirection,\n getHead: getHead\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "name": "./src/diagrams/git/gitGraphRenderer.js", "index": 890, "index2": 888, "size": 9304, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "38:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "308:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "309:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "522:2-18" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { curveBasis, line, select } from 'd3';\nimport db from './gitGraphAst';\nimport gitGraphParser from './parser/gitGraph';\nimport { logger } from '../../logger';\nimport { interpolateToCurve } from '../../utils';\nvar allCommitsDict = {};\nvar branchNum;\nvar config = {\n nodeSpacing: 150,\n nodeFillColor: 'yellow',\n nodeStrokeWidth: 2,\n nodeStrokeColor: 'grey',\n lineStrokeWidth: 4,\n branchOffset: 50,\n lineColor: 'grey',\n leftMargin: 50,\n branchColors: ['#442f74', '#983351', '#609732', '#AA9A39'],\n nodeRadius: 10,\n nodeLabel: {\n width: 75,\n height: 100,\n x: -25,\n y: 0\n }\n};\nvar apiConfig = {};\nexport var setConf = function setConf(c) {\n apiConfig = c;\n};\n\nfunction svgCreateDefs(svg) {\n svg.append('defs').append('g').attr('id', 'def-commit').append('circle').attr('r', config.nodeRadius).attr('cx', 0).attr('cy', 0);\n svg.select('#def-commit').append('foreignObject').attr('width', config.nodeLabel.width).attr('height', config.nodeLabel.height).attr('x', config.nodeLabel.x).attr('y', config.nodeLabel.y).attr('class', 'node-label').attr('requiredFeatures', 'http://www.w3.org/TR/SVG11/feature#Extensibility').append('p').html('');\n}\n\nfunction svgDrawLine(svg, points, colorIdx, interpolate) {\n var curve = interpolateToCurve(interpolate, curveBasis);\n var color = config.branchColors[colorIdx % config.branchColors.length];\n var lineGen = line().x(function (d) {\n return Math.round(d.x);\n }).y(function (d) {\n return Math.round(d.y);\n }).curve(curve);\n svg.append('svg:path').attr('d', lineGen(points)).style('stroke', color).style('stroke-width', config.lineStrokeWidth).style('fill', 'none');\n} // Pass in the element and its pre-transform coords\n\n\nfunction getElementCoords(element, coords) {\n coords = coords || element.node().getBBox();\n var ctm = element.node().getCTM();\n var xn = ctm.e + coords.x * ctm.a;\n var yn = ctm.f + coords.y * ctm.d;\n return {\n left: xn,\n top: yn,\n width: coords.width,\n height: coords.height\n };\n}\n\nfunction svgDrawLineForCommits(svg, fromId, toId, direction, color) {\n logger.debug('svgDrawLineForCommits: ', fromId, toId);\n var fromBbox = getElementCoords(svg.select('#node-' + fromId + ' circle'));\n var toBbox = getElementCoords(svg.select('#node-' + toId + ' circle'));\n\n switch (direction) {\n case 'LR':\n // (toBbox)\n // +--------\n // + (fromBbox)\n if (fromBbox.left - toBbox.left > config.nodeSpacing) {\n var lineStart = {\n x: fromBbox.left - config.nodeSpacing,\n y: toBbox.top + toBbox.height / 2\n };\n var lineEnd = {\n x: toBbox.left + toBbox.width,\n y: toBbox.top + toBbox.height / 2\n };\n svgDrawLine(svg, [lineStart, lineEnd], color, 'linear');\n svgDrawLine(svg, [{\n x: fromBbox.left,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: lineStart.y\n }, lineStart], color);\n } else {\n svgDrawLine(svg, [{\n x: fromBbox.left,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: toBbox.top + toBbox.height / 2\n }, {\n x: toBbox.left + toBbox.width,\n y: toBbox.top + toBbox.height / 2\n }], color);\n }\n\n break;\n\n case 'BT':\n // + (fromBbox)\n // |\n // |\n // + (toBbox)\n if (toBbox.top - fromBbox.top > config.nodeSpacing) {\n var _lineStart = {\n x: toBbox.left + toBbox.width / 2,\n y: fromBbox.top + fromBbox.height + config.nodeSpacing\n };\n var _lineEnd = {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top\n };\n svgDrawLine(svg, [_lineStart, _lineEnd], color, 'linear');\n svgDrawLine(svg, [{\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height\n }, {\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height + config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: _lineStart.y - config.nodeSpacing / 2\n }, _lineStart], color);\n } else {\n svgDrawLine(svg, [{\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height\n }, {\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top - config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top\n }], color);\n }\n\n break;\n }\n}\n\nfunction cloneNode(svg, selector) {\n return svg.select(selector).node().cloneNode(true);\n}\n\nfunction renderCommitHistory(svg, commitid, branches, direction) {\n var commit;\n var numCommits = Object.keys(allCommitsDict).length;\n\n if (typeof commitid === 'string') {\n do {\n commit = allCommitsDict[commitid];\n logger.debug('in renderCommitHistory', commit.id, commit.seq);\n\n if (svg.select('#node-' + commitid).size() > 0) {\n return;\n }\n\n svg.append(function () {\n return cloneNode(svg, '#def-commit');\n }).attr('class', 'commit').attr('id', function () {\n return 'node-' + commit.id;\n }).attr('transform', function () {\n switch (direction) {\n case 'LR':\n return 'translate(' + (commit.seq * config.nodeSpacing + config.leftMargin) + ', ' + branchNum * config.branchOffset + ')';\n\n case 'BT':\n return 'translate(' + (branchNum * config.branchOffset + config.leftMargin) + ', ' + (numCommits - commit.seq) * config.nodeSpacing + ')';\n }\n }).attr('fill', config.nodeFillColor).attr('stroke', config.nodeStrokeColor).attr('stroke-width', config.nodeStrokeWidth);\n var branch = void 0;\n\n for (var branchName in branches) {\n if (branches[branchName].commit === commit) {\n branch = branches[branchName];\n break;\n }\n }\n\n if (branch) {\n logger.debug('found branch ', branch.name);\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'branch-label').text(branch.name + ', ');\n }\n\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'commit-id').text(commit.id);\n\n if (commit.message !== '' && direction === 'BT') {\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'commit-msg').text(', ' + commit.message);\n }\n\n commitid = commit.parent;\n } while (commitid && allCommitsDict[commitid]);\n }\n\n if (Array.isArray(commitid)) {\n logger.debug('found merge commmit', commitid);\n renderCommitHistory(svg, commitid[0], branches, direction);\n branchNum++;\n renderCommitHistory(svg, commitid[1], branches, direction);\n branchNum--;\n }\n}\n\nfunction renderLines(svg, commit, direction, branchColor) {\n branchColor = branchColor || 0;\n\n while (commit.seq > 0 && !commit.lineDrawn) {\n if (typeof commit.parent === 'string') {\n svgDrawLineForCommits(svg, commit.id, commit.parent, direction, branchColor);\n commit.lineDrawn = true;\n commit = allCommitsDict[commit.parent];\n } else if (Array.isArray(commit.parent)) {\n svgDrawLineForCommits(svg, commit.id, commit.parent[0], direction, branchColor);\n svgDrawLineForCommits(svg, commit.id, commit.parent[1], direction, branchColor + 1);\n renderLines(svg, allCommitsDict[commit.parent[1]], direction, branchColor + 1);\n commit.lineDrawn = true;\n commit = allCommitsDict[commit.parent[0]];\n }\n }\n}\n\nexport var draw = function draw(txt, id, ver) {\n try {\n var parser = gitGraphParser.parser;\n parser.yy = db;\n parser.yy.clear();\n logger.debug('in gitgraph renderer', txt + '\\n', 'id:', id, ver); // Parse the graph definition\n\n parser.parse(txt + '\\n');\n config = Object.assign(config, apiConfig, db.getOptions());\n logger.debug('effective options', config);\n var direction = db.getDirection();\n allCommitsDict = db.getCommits();\n var branches = db.getBranchesAsObjArray();\n\n if (direction === 'BT') {\n config.nodeLabel.x = branches.length * config.branchOffset;\n config.nodeLabel.width = '100%';\n config.nodeLabel.y = -1 * 2 * config.nodeRadius;\n }\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\"));\n svgCreateDefs(svg);\n branchNum = 1;\n\n for (var branch in branches) {\n var v = branches[branch];\n renderCommitHistory(svg, v.commit.id, branches, direction);\n renderLines(svg, v.commit, direction);\n branchNum++;\n }\n\n svg.attr('height', function () {\n if (direction === 'BT') return Object.keys(allCommitsDict).length * config.nodeSpacing;\n return (branches.length + 1) * config.branchOffset;\n });\n } catch (e) {\n logger.error('Error while rendering gitgraph');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "name": "./src/diagrams/info/infoDb.js", "index": 564, "index2": 562, "size": 645, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./infoDb", "loc": "5:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "./infoDb", "loc": "24:16-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/infoDb", "loc": "44:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoDb", "loc": "120:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "setMessage", "getMessage", "setInfo", "getInfo", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 15-01-14.\n */\nimport { logger } from '../../logger';\nvar message = '';\nvar info = false;\nexport var setMessage = function setMessage(txt) {\n logger.debug('Setting message to: ' + txt);\n message = txt;\n};\nexport var getMessage = function getMessage() {\n return message;\n};\nexport var setInfo = function setInfo(inf) {\n info = inf;\n};\nexport var getInfo = function getInfo() {\n return info;\n}; // export const parseError = (err, hash) => {\n// global.mermaidAPI.parseError(err, hash)\n// }\n\nexport default {\n setMessage: setMessage,\n getMessage: getMessage,\n setInfo: setInfo,\n getInfo: getInfo // parseError\n\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "name": "./src/diagrams/info/infoRenderer.js", "index": 917, "index2": 915, "size": 1276, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/infoRenderer", "loc": "41:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "364:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "365:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "535:2-14" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 14-12-11.\n */\nimport { select } from 'd3';\nimport db from './infoDb';\nimport infoParser from './parser/info';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a an info picture in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(txt, id, ver) {\n try {\n var parser = infoParser.parser;\n parser.yy = db;\n logger.debug('Renering info diagram\\n' + txt); // Parse the graph definition\n\n parser.parse(txt);\n logger.debug('Parsed info diagram'); // Fetch the default direction, use TD if none was found\n\n var svg = select('#' + id);\n var g = svg.append('g');\n g.append('text') // text label for the x axis\n .attr('x', 100).attr('y', 40).attr('class', 'version').attr('font-size', '32px').style('text-anchor', 'middle').text('v ' + ver);\n svg.attr('height', 100);\n svg.attr('width', 400); // svg.attr('viewBox', '0 0 300 150');\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "name": "./src/errorRenderer.js", "index": 924, "index2": 922, "size": 2972, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./errorRenderer", "loc": "42:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./errorRenderer", "loc": "386:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./errorRenderer", "loc": "539:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 14-12-11.\n */\nimport { select } from 'd3';\nimport { logger } from './logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a an info picture in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(id, ver) {\n try {\n logger.debug('Renering svg for syntax error\\n');\n var svg = select('#' + id);\n var g = svg.append('g');\n g.append('path').attr('class', 'error-icon').attr('d', 'm411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z');\n g.append('text') // text label for the x axis\n .attr('class', 'error-text').attr('x', 1240).attr('y', 250).attr('font-size', '150px').style('text-anchor', 'middle').text('Syntax error in graph');\n g.append('text') // text label for the x axis\n .attr('class', 'error-text').attr('x', 1050).attr('y', 400).attr('font-size', '100px').style('text-anchor', 'middle').text('mermaid version ' + ver);\n svg.attr('height', 100);\n svg.attr('width', 400);\n svg.attr('viewBox', '768 0 512 512');\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "name": "./src/diagrams/pie/pieDb.js", "index": 566, "index2": 564, "size": 995, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./pieDb", "loc": "5:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "./pieDb", "loc": "25:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/pieDb", "loc": "47:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "./pieDb", "loc": "55:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieDb", "loc": "126:25-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n *\n */\nimport { logger } from '../../logger';\nvar sections = {};\nvar title = '';\n\nvar addSection = function addSection(id, value) {\n if (typeof sections[id] === 'undefined') {\n sections[id] = value;\n logger.debug('Added new section :', id);\n }\n};\n\nvar getSections = function getSections() {\n return sections;\n};\n\nvar setTitle = function setTitle(txt) {\n title = txt;\n};\n\nvar getTitle = function getTitle() {\n return title;\n};\n\nvar cleanupValue = function cleanupValue(value) {\n if (value.substring(0, 1) === ':') {\n value = value.substring(1).trim();\n return Number(value.trim());\n } else {\n return Number(value.trim());\n }\n};\n\nvar clear = function clear() {\n sections = {};\n title = '';\n}; // export const parseError = (err, hash) => {\n// global.mermaidAPI.parseError(err, hash)\n// }\n\n\nexport default {\n addSection: addSection,\n getSections: getSections,\n cleanupValue: cleanupValue,\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle // parseError\n\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "name": "./src/diagrams/pie/pieRenderer.js", "index": 919, "index2": 917, "size": 3794, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/pieRenderer", "loc": "45:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "370:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "371:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "536:2-13" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by AshishJ on 11-09-2019.\n */\nimport { select, scaleOrdinal, schemeSet2, pie as d3pie, entries, arc } from 'd3';\nimport pieData from './pieDb';\nimport pieParser from './parser/pie';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a Pie Chart with the data given in text.\n * @param text\n * @param id\n */\n\nvar w;\nexport var draw = function draw(txt, id) {\n try {\n var parser = pieParser.parser;\n parser.yy = pieData;\n logger.debug('Rendering info diagram\\n' + txt); // Parse the Pie Chart definition\n\n parser.yy.clear();\n parser.parse(txt);\n logger.debug('Parsed info diagram');\n var elem = document.getElementById(id);\n w = elem.parentElement.offsetWidth;\n\n if (typeof w === 'undefined') {\n w = 1200;\n }\n\n if (typeof conf.useWidth !== 'undefined') {\n w = conf.useWidth;\n }\n\n var h = 450;\n elem.setAttribute('height', '100%'); // Set viewBox\n\n elem.setAttribute('viewBox', '0 0 ' + w + ' ' + h); // Fetch the default direction, use TD if none was found\n\n var width = w; // 450\n\n var height = 450;\n var margin = 40;\n var legendRectSize = 18;\n var legendSpacing = 4;\n var radius = Math.min(width, height) / 2 - margin;\n var svg = select('#' + id).append('svg').attr('width', width).attr('height', height).append('g').attr('transform', 'translate(' + width / 2 + ',' + height / 2 + ')');\n var data = pieData.getSections();\n var sum = 0;\n Object.keys(data).forEach(function (key) {\n sum += data[key];\n });\n logger.info(data); // set the color scale\n\n var color = scaleOrdinal().domain(data).range(schemeSet2); // Compute the position of each group on the pie:\n\n var pie = d3pie().value(function (d) {\n return d.value;\n });\n var dataReady = pie(entries(data)); // shape helper to build arcs:\n\n var arcGenerator = arc().innerRadius(0).outerRadius(radius); // Build the pie chart: Basically, each part of the pie is a path that we build using the arc function.\n\n svg.selectAll('mySlices').data(dataReady).enter().append('path').attr('d', arcGenerator).attr('fill', function (d) {\n return color(d.data.key);\n }).attr('stroke', 'black').style('stroke-width', '2px').style('opacity', 0.7); // Now add the Percentage. Use the centroid method to get the best coordinates\n\n svg.selectAll('mySlices').data(dataReady).enter().append('text').text(function (d) {\n return (d.data.value / sum * 100).toFixed(0) + '%';\n }).attr('transform', function (d) {\n return 'translate(' + arcGenerator.centroid(d) + ')';\n }).style('text-anchor', 'middle').attr('class', 'slice').style('font-size', 17);\n svg.append('text').text(parser.yy.getTitle()).attr('x', 0).attr('y', -(h - 50) / 2).attr('class', 'pieTitleText'); //Add the slegend/annotations for each section\n\n var legend = svg.selectAll('.legend').data(color.domain()).enter().append('g').attr('class', 'legend').attr('transform', function (d, i) {\n var height = legendRectSize + legendSpacing;\n var offset = height * color.domain().length / 2;\n var horz = 12 * legendRectSize;\n var vert = i * height - offset;\n return 'translate(' + horz + ',' + vert + ')';\n });\n legend.append('rect').attr('width', legendRectSize).attr('height', legendRectSize).style('fill', color).style('stroke', color);\n legend.append('text').attr('x', legendRectSize + legendSpacing).attr('y', legendRectSize - legendSpacing).text(function (d) {\n return d;\n });\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "name": "./src/diagrams/er/erDb.js", "index": 568, "index2": 566, "size": 1728, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./erDb", "loc": "3:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/erDb", "loc": "48:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "115:30-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "132:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erDb", "loc": "132:25-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "136:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "140:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "144:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "150:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "154:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "158:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "162:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "189:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "191:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "239:38-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "242:39-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n *\n */\nimport { logger } from '../../logger';\nvar entities = {};\nvar relationships = [];\nvar title = '';\nvar Cardinality = {\n ZERO_OR_ONE: 'ZERO_OR_ONE',\n ZERO_OR_MORE: 'ZERO_OR_MORE',\n ONE_OR_MORE: 'ONE_OR_MORE',\n ONLY_ONE: 'ONLY_ONE'\n};\nvar Identification = {\n NON_IDENTIFYING: 'NON_IDENTIFYING',\n IDENTIFYING: 'IDENTIFYING'\n};\n\nvar addEntity = function addEntity(name) {\n if (typeof entities[name] === 'undefined') {\n entities[name] = name;\n logger.debug('Added new entity :', name);\n }\n};\n\nvar getEntities = function getEntities() {\n return entities;\n};\n/**\n * Add a relationship\n * @param entA The first entity in the relationship\n * @param rolA The role played by the first entity in relation to the second\n * @param entB The second entity in the relationship\n * @param rSpec The details of the relationship between the two entities\n */\n\n\nvar addRelationship = function addRelationship(entA, rolA, entB, rSpec) {\n var rel = {\n entityA: entA,\n roleA: rolA,\n entityB: entB,\n relSpec: rSpec\n };\n relationships.push(rel);\n logger.debug('Added new relationship :', rel);\n};\n\nvar getRelationships = function getRelationships() {\n return relationships;\n}; // Keep this - TODO: revisit...allow the diagram to have a title\n\n\nvar setTitle = function setTitle(txt) {\n title = txt;\n};\n\nvar getTitle = function getTitle() {\n return title;\n};\n\nvar clear = function clear() {\n entities = {};\n relationships = [];\n title = '';\n};\n\nexport default {\n Cardinality: Cardinality,\n Identification: Identification,\n addEntity: addEntity,\n getEntities: getEntities,\n addRelationship: addRelationship,\n getRelationships: getRelationships,\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "name": "./src/diagrams/er/erRenderer.js", "index": 920, "index2": 919, "size": 11270, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/erRenderer", "loc": "50:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "375:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "376:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "537:2-12" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { line, curveBasis, select } from 'd3';\nimport erDb from './erDb';\nimport erParser from './parser/erDiagram';\nimport dagre from 'dagre';\nimport { getConfig } from '../../config';\nimport { logger } from '../../logger';\nimport erMarkers from './erMarkers';\nvar conf = {};\n/**\n * Allows the top-level API module to inject config specific to this renderer,\n * storing it in the local conf object. Note that generic config still needs to be\n * retrieved using getConfig() imported from the config module\n */\n\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Use D3 to construct the svg elements for the entities\n * @param svgNode the svg node that contains the diagram\n * @param entities The entities to be drawn\n * @param graph The graph that contains the vertex and edge definitions post-layout\n * @return The first entity that was inserted\n */\n\nvar drawEntities = function drawEntities(svgNode, entities, graph) {\n var keys = Object.keys(entities);\n var firstOne;\n keys.forEach(function (id) {\n // Create a group for each entity\n var groupNode = svgNode.append('g').attr('id', id);\n firstOne = firstOne === undefined ? id : firstOne; // Label the entity - this is done first so that we can get the bounding box\n // which then determines the size of the rectangle\n\n var textId = 'entity-' + id;\n var textNode = groupNode.append('text').attr('class', 'er entityLabel').attr('id', textId).attr('x', 0).attr('y', 0).attr('dominant-baseline', 'middle').attr('text-anchor', 'middle').attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize + 'px').text(id); // Calculate the width and height of the entity\n\n var textBBox = textNode.node().getBBox();\n var entityWidth = Math.max(conf.minEntityWidth, textBBox.width + conf.entityPadding * 2);\n var entityHeight = Math.max(conf.minEntityHeight, textBBox.height + conf.entityPadding * 2); // Make sure the text gets centred relative to the entity box\n\n textNode.attr('transform', 'translate(' + entityWidth / 2 + ',' + entityHeight / 2 + ')'); // Draw the rectangle - insert it before the text so that the text is not obscured\n\n var rectNode = groupNode.insert('rect', '#' + textId).attr('class', 'er entityBox').attr('fill', conf.fill).attr('fill-opacity', '100%').attr('stroke', conf.stroke).attr('x', 0).attr('y', 0).attr('width', entityWidth).attr('height', entityHeight);\n var rectBBox = rectNode.node().getBBox(); // Add the entity to the graph\n\n graph.setNode(id, {\n width: rectBBox.width,\n height: rectBBox.height,\n shape: 'rect',\n id: id\n });\n });\n return firstOne;\n}; // drawEntities\n\n\nvar adjustEntities = function adjustEntities(svgNode, graph) {\n graph.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof graph.node(v) !== 'undefined') {\n svgNode.select('#' + v).attr('transform', 'translate(' + (graph.node(v).x - graph.node(v).width / 2) + ',' + (graph.node(v).y - graph.node(v).height / 2) + ' )');\n }\n });\n return;\n};\n\nvar getEdgeName = function getEdgeName(rel) {\n return (rel.entityA + rel.roleA + rel.entityB).replace(/\\s/g, '');\n};\n/**\n * Add each relationship to the graph\n * @param relationships the relationships to be added\n * @param g the graph\n * @return {Array} The array of relationships\n */\n\n\nvar addRelationships = function addRelationships(relationships, g) {\n relationships.forEach(function (r) {\n g.setEdge(r.entityA, r.entityB, {\n relationship: r\n }, getEdgeName(r));\n });\n return relationships;\n}; // addRelationships\n\n\nvar relCnt = 0;\n/**\n * Draw a relationship using edge information from the graph\n * @param svg the svg node\n * @param rel the relationship to draw in the svg\n * @param g the graph containing the edge information\n * @param insert the insertion point in the svg DOM (because relationships have markers that need to sit 'behind' opaque entity boxes)\n */\n\nvar drawRelationshipFromLayout = function drawRelationshipFromLayout(svg, rel, g, insert) {\n relCnt++; // Find the edge relating to this relationship\n\n var edge = g.edge(rel.entityA, rel.entityB, getEdgeName(rel)); // Get a function that will generate the line path\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis); // Insert the line at the right place\n\n var svgPath = svg.insert('path', '#' + insert).attr('class', 'er relationshipLine').attr('d', lineFunction(edge.points)).attr('stroke', conf.stroke).attr('fill', 'none'); // ...and with dashes if necessary\n\n if (rel.relSpec.relType === erDb.Identification.NON_IDENTIFYING) {\n svgPath.attr('stroke-dasharray', '8,8');\n } // TODO: Understand this better\n\n\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n } // Decide which start and end markers it needs. It may be possible to be more concise here\n // by reversing a start marker to make an end marker...but this will do for now\n // Note that the 'A' entity's marker is at the end of the relationship and the 'B' entity's marker is at the start\n\n\n switch (rel.relSpec.cardA) {\n case erDb.Cardinality.ZERO_OR_ONE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_ONE_END + ')');\n break;\n\n case erDb.Cardinality.ZERO_OR_MORE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_MORE_END + ')');\n break;\n\n case erDb.Cardinality.ONE_OR_MORE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ONE_OR_MORE_END + ')');\n break;\n\n case erDb.Cardinality.ONLY_ONE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ONLY_ONE_END + ')');\n break;\n }\n\n switch (rel.relSpec.cardB) {\n case erDb.Cardinality.ZERO_OR_ONE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_ONE_START + ')');\n break;\n\n case erDb.Cardinality.ZERO_OR_MORE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_MORE_START + ')');\n break;\n\n case erDb.Cardinality.ONE_OR_MORE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ONE_OR_MORE_START + ')');\n break;\n\n case erDb.Cardinality.ONLY_ONE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ONLY_ONE_START + ')');\n break;\n } // Now label the relationship\n // Find the half-way point\n\n\n var len = svgPath.node().getTotalLength();\n var labelPoint = svgPath.node().getPointAtLength(len * 0.5); // Append a text node containing the label\n\n var labelId = 'rel' + relCnt;\n var labelNode = svg.append('text').attr('class', 'er relationshipLabel').attr('id', labelId).attr('x', labelPoint.x).attr('y', labelPoint.y).attr('text-anchor', 'middle').attr('dominant-baseline', 'middle').attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize + 'px').text(rel.roleA); // Figure out how big the opaque 'container' rectangle needs to be\n\n var labelBBox = labelNode.node().getBBox(); // Insert the opaque rectangle before the text label\n\n svg.insert('rect', '#' + labelId).attr('class', 'er relationshipLabelBox').attr('x', labelPoint.x - labelBBox.width / 2).attr('y', labelPoint.y - labelBBox.height / 2).attr('width', labelBBox.width).attr('height', labelBBox.height).attr('fill', 'white').attr('fill-opacity', '85%');\n return;\n};\n/**\n * Draw en E-R diagram in the tag with id: id based on the text definition of the diagram\n * @param text the text of the diagram\n * @param id the unique id of the DOM node that contains the diagram\n */\n\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing ER diagram');\n erDb.clear();\n var parser = erParser.parser;\n parser.yy = erDb; // Parse the text to populate erDb\n\n try {\n parser.parse(text);\n } catch (err) {\n logger.debug('Parsing failed');\n } // Get a reference to the svg node that contains the text\n\n\n var svg = select(\"[id='\".concat(id, \"']\")); // Add cardinality marker definitions to the svg\n\n erMarkers.insertMarkers(svg, conf); // Now we have to construct the diagram in a specific way:\n // ---\n // 1. Create all the entities in the svg node at 0,0, but with the correct dimensions (allowing for text content)\n // 2. Make sure they are all added to the graph\n // 3. Add all the edges (relationships) to the graph aswell\n // 4. Let dagre do its magic to layout the graph. This assigns:\n // - the centre co-ordinates for each node, bearing in mind the dimensions and edge relationships\n // - the path co-ordinates for each edge\n // But it has no impact on the svg child nodes - the diagram remains with every entity rooted at 0,0\n // 5. Now assign a transform to each entity in the svg node so that it gets drawn in the correct place, as determined by\n // its centre point, which is obtained from the graph, and it's width and height\n // 6. And finally, create all the edges in the svg node using information from the graph\n // ---\n // Create the graph\n\n var g; // TODO: Explore directed vs undirected graphs, and how the layout is affected\n // An E-R diagram could be said to be undirected, but there is merit in setting\n // the direction from parent to child in a one-to-many as this influences graphlib to\n // put the parent above the child (does it?), which is intuitive. Most relationships\n // in ER diagrams are one-to-many.\n\n g = new graphlib.Graph({\n multigraph: true,\n directed: true,\n compound: false\n }).setGraph({\n rankdir: conf.layoutDirection,\n marginx: 20,\n marginy: 20,\n nodesep: 100,\n edgesep: 100,\n ranksep: 100\n }).setDefaultEdgeLabel(function () {\n return {};\n }); // Draw the entities (at 0,0), returning the first svg node that got\n // inserted - this represents the insertion point for relationship paths\n\n var firstEntity = drawEntities(svg, erDb.getEntities(), g); // TODO: externalise the addition of entities to the graph - it's a bit 'buried' in the above\n // Add all the relationships to the graph\n\n var relationships = addRelationships(erDb.getRelationships(), g);\n dagre.layout(g); // Node and edge positions will be updated\n // Adjust the positions of the entities so that they adhere to the layout\n\n adjustEntities(svg, g); // Draw the relationships\n\n relationships.forEach(function (rel) {\n drawRelationshipFromLayout(svg, rel, g, firstEntity);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n }\n\n svg.attr('viewBox', \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height));\n}; // draw\n\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyDb.js", "name": "./src/diagrams/user-journey/journeyDb.js", "index": 570, "index2": 568, "size": 3069, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./journeyDb", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./journeyDb", "loc": "5:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/journeyDb", "loc": "52:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyDb", "loc": "138:25-34" } ], "usedExports": [ "default" ], "providedExports": [ "clear", "setTitle", "getTitle", "addSection", "getSections", "getTasks", "addTask", "addTaskOrg", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nvar title = '';\nvar currentSection = '';\nvar sections = [];\nvar tasks = [];\nvar rawTasks = [];\nexport var clear = function clear() {\n sections.length = 0;\n tasks.length = 0;\n currentSection = '';\n title = '';\n rawTasks.length = 0;\n};\nexport var setTitle = function setTitle(txt) {\n title = txt;\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var addSection = function addSection(txt) {\n currentSection = txt;\n sections.push(txt);\n};\nexport var getSections = function getSections() {\n return sections;\n};\nexport var getTasks = function getTasks() {\n var allItemsProcessed = compileTasks();\n var maxDepth = 100;\n var iterationCount = 0;\n\n while (!allItemsProcessed && iterationCount < maxDepth) {\n allItemsProcessed = compileTasks();\n iterationCount++;\n }\n\n tasks.push.apply(tasks, rawTasks);\n return tasks;\n};\n\nvar updateActors = function updateActors() {\n var tempActors = [];\n tasks.forEach(function (task) {\n if (task.people) {\n tempActors.push.apply(tempActors, _toConsumableArray(task.people));\n }\n });\n var unique = new Set(tempActors);\n return _toConsumableArray(unique).sort();\n};\n\nexport var addTask = function addTask(descr, taskData) {\n var pieces = taskData.substr(1).split(':');\n var score = 0;\n var peeps = [];\n\n if (pieces.length === 1) {\n score = Number(pieces[0]);\n peeps = [];\n } else {\n score = Number(pieces[0]);\n peeps = pieces[1].split(',');\n }\n\n var peopleList = peeps.map(function (s) {\n return s.trim();\n });\n var rawTask = {\n section: currentSection,\n type: currentSection,\n people: peopleList,\n task: descr,\n score: score\n };\n rawTasks.push(rawTask);\n};\nexport var addTaskOrg = function addTaskOrg(descr) {\n var newTask = {\n section: currentSection,\n type: currentSection,\n description: descr,\n task: descr,\n classes: []\n };\n tasks.push(newTask);\n};\n\nvar compileTasks = function compileTasks() {\n var compileTask = function compileTask(pos) {\n return rawTasks[pos].processed;\n };\n\n var allProcessed = true;\n\n for (var i = 0; i < rawTasks.length; i++) {\n compileTask(i);\n allProcessed = allProcessed && rawTasks[i].processed;\n }\n\n return allProcessed;\n};\n\nvar getActors = function getActors() {\n return updateActors();\n};\n\nexport default {\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle,\n addSection: addSection,\n getSections: getSections,\n getTasks: getTasks,\n addTask: addTask,\n addTaskOrg: addTaskOrg,\n getActors: getActors\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "name": "./src/diagrams/user-journey/journeyRenderer.js", "index": 922, "index2": 921, "size": 7798, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "53:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "380:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "381:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "538:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "bounds", "drawTasks", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport { parser } from './parser/journey';\nimport journeyDb from './journeyDb';\nimport svgDraw from './svgDraw';\nparser.yy = journeyDb;\nvar conf = {\n leftMargin: 150,\n diagramMarginX: 50,\n diagramMarginY: 20,\n // Margin between tasks\n taskMargin: 50,\n // Width of task boxes\n width: 150,\n // Height of task boxes\n height: 50,\n taskFontSize: 14,\n taskFontFamily: '\"Open-Sans\", \"sans-serif\"',\n // Margin around loop boxes\n boxMargin: 10,\n boxTextMargin: 5,\n noteMargin: 10,\n // Space between messages\n messageMargin: 35,\n // Multiline message alignment\n messageAlign: 'center',\n // Depending on css styling this might need adjustment\n // Projects the edge of the diagram downwards\n bottomMarginAdj: 1,\n // width of activation box\n activationWidth: 10,\n // text placement as: tspan | fo | old only text as before\n textPlacement: 'fo',\n actorColours: ['#8FBC8F', '#7CFC00', '#00FFFF', '#20B2AA', '#B0E0E6', '#FFFFE0'],\n sectionFills: ['#191970', '#8B008B', '#4B0082', '#2F4F4F', '#800000', '#8B4513', '#00008B'],\n sectionColours: ['#fff']\n};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\nvar actors = {};\n\nfunction drawActorLegend(diagram) {\n // Draw the actors\n var yPos = 60;\n Object.keys(actors).forEach(function (person) {\n var colour = actors[person];\n var circleData = {\n cx: 20,\n cy: yPos,\n r: 7,\n fill: colour,\n stroke: '#000'\n };\n svgDraw.drawCircle(diagram, circleData);\n var labelData = {\n x: 40,\n y: yPos + 7,\n fill: '#666',\n text: person\n };\n svgDraw.drawText(diagram, labelData);\n yPos += 20;\n });\n}\n\nvar LEFT_MARGIN = conf.leftMargin;\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.parse(text + '\\n');\n bounds.init();\n var diagram = select('#' + id);\n diagram.attr('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n svgDraw.initGraphics(diagram);\n var tasks = parser.yy.getTasks();\n var title = parser.yy.getTitle();\n var actorNames = parser.yy.getActors();\n\n for (var member in actors) {\n delete actors[member];\n }\n\n var actorPos = 0;\n actorNames.forEach(function (actorName) {\n actors[actorName] = conf.actorColours[actorPos % conf.actorColours.length];\n actorPos++;\n });\n drawActorLegend(diagram);\n bounds.insert(0, 0, LEFT_MARGIN, Object.keys(actors).length * 50);\n drawTasks(diagram, tasks, 0);\n var box = bounds.getBounds();\n\n if (title) {\n diagram.append('text').text(title).attr('x', LEFT_MARGIN).attr('font-size', '4ex').attr('font-weight', 'bold').attr('y', 25);\n }\n\n var height = box.stopy - box.starty + 2 * conf.diagramMarginY;\n var width = LEFT_MARGIN + box.stopx + 2 * conf.diagramMarginX;\n\n if (conf.useMaxWidth) {\n diagram.attr('height', '100%');\n diagram.attr('width', '100%');\n diagram.attr('style', 'max-width:' + width + 'px;');\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n } // Draw activity line\n\n\n diagram.append('line').attr('x1', LEFT_MARGIN).attr('y1', conf.height * 4) // One section head + one task + margins\n .attr('x2', width - LEFT_MARGIN - 4) // Subtract stroke width so arrow point is retained\n .attr('y2', conf.height * 4).attr('stroke-width', 4).attr('stroke', 'black').attr('marker-end', 'url(#arrowhead)');\n var extraVertForTitle = title ? 70 : 0;\n diagram.attr('viewBox', \"\".concat(box.startx, \" -25 \").concat(width, \" \").concat(height + extraVertForTitle));\n diagram.attr('preserveAspectRatio', 'xMinYMin meet');\n};\nexport var bounds = {\n data: {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n },\n verticalPos: 0,\n sequenceItems: [],\n init: function init() {\n this.sequenceItems = [];\n this.data = {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n };\n this.verticalPos = 0;\n },\n updateVal: function updateVal(obj, key, val, fun) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = val;\n } else {\n obj[key] = fun(val, obj[key]);\n }\n },\n updateBounds: function updateBounds(startx, starty, stopx, stopy) {\n var _self = this;\n\n var cnt = 0;\n\n function updateFn(type) {\n return function updateItemBounds(item) {\n cnt++; // The loop sequenceItems is a stack so the biggest margins in the beginning of the sequenceItems\n\n var n = _self.sequenceItems.length - cnt + 1;\n\n _self.updateVal(item, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopy', stopy + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n if (!(type === 'activation')) {\n _self.updateVal(item, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopy', stopy + n * conf.boxMargin, Math.max);\n }\n };\n }\n\n this.sequenceItems.forEach(updateFn());\n },\n insert: function insert(startx, starty, stopx, stopy) {\n var _startx = Math.min(startx, stopx);\n\n var _stopx = Math.max(startx, stopx);\n\n var _starty = Math.min(starty, stopy);\n\n var _stopy = Math.max(starty, stopy);\n\n this.updateVal(bounds.data, 'startx', _startx, Math.min);\n this.updateVal(bounds.data, 'starty', _starty, Math.min);\n this.updateVal(bounds.data, 'stopx', _stopx, Math.max);\n this.updateVal(bounds.data, 'stopy', _stopy, Math.max);\n this.updateBounds(_startx, _starty, _stopx, _stopy);\n },\n bumpVerticalPos: function bumpVerticalPos(bump) {\n this.verticalPos = this.verticalPos + bump;\n this.data.stopy = this.verticalPos;\n },\n getVerticalPos: function getVerticalPos() {\n return this.verticalPos;\n },\n getBounds: function getBounds() {\n return this.data;\n }\n};\nvar fills = conf.sectionFills;\nvar textColours = conf.sectionColours;\nexport var drawTasks = function drawTasks(diagram, tasks, verticalPos) {\n var lastSection = '';\n var sectionVHeight = conf.height * 2 + conf.diagramMarginY;\n var taskPos = verticalPos + sectionVHeight;\n var sectionNumber = 0;\n var fill = '#CCC';\n var colour = 'black'; // Draw the tasks\n\n for (var i = 0; i < tasks.length; i++) {\n var task = tasks[i];\n\n if (lastSection !== task.section) {\n fill = fills[sectionNumber % fills.length];\n colour = textColours[sectionNumber % textColours.length];\n var section = {\n x: i * conf.taskMargin + i * conf.width + LEFT_MARGIN,\n y: 50,\n text: task.section,\n fill: fill,\n colour: colour\n };\n svgDraw.drawSection(diagram, section, conf);\n lastSection = task.section;\n sectionNumber++;\n } // Collect the actors involved in the task\n\n\n var taskActors = task.people.reduce(function (acc, actorName) {\n if (actors[actorName]) {\n acc[actorName] = actors[actorName];\n }\n\n return acc;\n }, {}); // Add some rendering data to the object\n\n task.x = i * conf.taskMargin + i * conf.width + LEFT_MARGIN;\n task.y = taskPos;\n task.width = conf.diagramMarginX;\n task.height = conf.diagramMarginY;\n task.colour = colour;\n task.fill = fill;\n task.actors = taskActors; // Draw the box with the attached line\n\n svgDraw.drawTask(diagram, task, conf);\n bounds.insert(task.x, task.y, task.x + task.width + conf.taskMargin, 300 + 5 * 30); // stopy is the length of the descenders.\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowChartShapes.js", "name": "./src/diagrams/flowchart/flowChartShapes.js", "index": 889, "index2": 886, "size": 7760, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 2701, "building": 33, "dependencies": 622 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./flowChartShapes", "loc": "11:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowChartShapes", "loc": "352:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "addToRender", "addToRenderV2", "default" ], "optimizationBailout": [], "depth": 3, "source": "import dagreD3 from 'dagre-d3';\n\nfunction question(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var s = (w + h) * 0.9;\n var points = [{\n x: s / 2,\n y: 0\n }, {\n x: s,\n y: -s / 2\n }, {\n x: s / 2,\n y: -s\n }, {\n x: 0,\n y: -s / 2\n }];\n var shapeSvg = insertPolygonShape(parent, s, s, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction hexagon(parent, bbox, node) {\n var f = 4;\n var h = bbox.height;\n var m = h / f;\n var w = bbox.width + 2 * m;\n var points = [{\n x: m,\n y: 0\n }, {\n x: w - m,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w - m,\n y: -h\n }, {\n x: m,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction rect_left_inv_arrow(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -h / 2,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: -h / 2,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction lean_right(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction lean_left(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 2 * h / 6,\n y: 0\n }, {\n x: w + h / 6,\n y: 0\n }, {\n x: w - 2 * h / 6,\n y: -h\n }, {\n x: -h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction trapezoid(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction inv_trapezoid(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: -2 * h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction rect_right_inv_arrow(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w + h / 2,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w + h / 2,\n y: -h\n }, {\n x: 0,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction stadium(parent, bbox, node) {\n var h = bbox.height;\n var w = bbox.width + h / 4;\n var shapeSvg = parent.insert('rect', ':first-child').attr('rx', h / 2).attr('ry', h / 2).attr('x', -w / 2).attr('y', -h / 2).attr('width', w).attr('height', h);\n\n node.intersect = function (point) {\n return dagreD3.intersect.rect(node, point);\n };\n\n return shapeSvg;\n}\n\nfunction subroutine(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: 0,\n y: -h\n }, {\n x: 0,\n y: 0\n }, {\n x: -8,\n y: 0\n }, {\n x: w + 8,\n y: 0\n }, {\n x: w + 8,\n y: -h\n }, {\n x: -8,\n y: -h\n }, {\n x: -8,\n y: 0\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction cylinder(parent, bbox, node) {\n var w = bbox.width;\n var rx = w / 2;\n var ry = rx / (2.5 + w / 50);\n var h = bbox.height + ry;\n var shape = 'M 0,' + ry + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 a ' + rx + ',' + ry + ' 0,0,0 ' + -w + ' 0 l 0,' + h + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 l 0,' + -h;\n var shapeSvg = parent.attr('label-offset-y', ry).insert('path', ':first-child').attr('d', shape).attr('transform', 'translate(' + -w / 2 + ',' + -(h / 2 + ry) + ')');\n\n node.intersect = function (point) {\n var pos = dagreD3.intersect.rect(node, point);\n var x = pos.x - node.x;\n\n if (rx != 0 && (Math.abs(x) < node.width / 2 || Math.abs(x) == node.width / 2 && Math.abs(pos.y - node.y) > node.height / 2 - ry)) {\n // ellipsis equation: x*x / a*a + y*y / b*b = 1\n // solve for y to get adjustion value for pos.y\n var y = ry * ry * (1 - x * x / (rx * rx));\n if (y != 0) y = Math.sqrt(y);\n y = ry - y;\n if (point.y - node.y > 0) y = -y;\n pos.y += y;\n }\n\n return pos;\n };\n\n return shapeSvg;\n}\n\nexport function addToRender(render) {\n render.shapes().question = question;\n render.shapes().hexagon = hexagon;\n render.shapes().stadium = stadium;\n render.shapes().subroutine = subroutine;\n render.shapes().cylinder = cylinder; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().rect_left_inv_arrow = rect_left_inv_arrow; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().lean_right = lean_right; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().lean_left = lean_left; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().trapezoid = trapezoid; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().inv_trapezoid = inv_trapezoid; // Add custom shape for box with inverted arrow on right side\n\n render.shapes().rect_right_inv_arrow = rect_right_inv_arrow;\n}\nexport function addToRenderV2(addShape) {\n addShape({\n question: question\n });\n addShape({\n hexagon: hexagon\n });\n addShape({\n stadium: stadium\n });\n addShape({\n subroutine: subroutine\n });\n addShape({\n cylinder: cylinder\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n rect_left_inv_arrow: rect_left_inv_arrow\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n lean_right: lean_right\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n lean_left: lean_left\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n trapezoid: trapezoid\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n inv_trapezoid: inv_trapezoid\n }); // Add custom shape for box with inverted arrow on right side\n\n addShape({\n rect_right_inv_arrow: rect_right_inv_arrow\n });\n}\n\nfunction insertPolygonShape(parent, w, h, points) {\n return parent.insert('polygon', ':first-child').attr('points', points.map(function (d) {\n return d.x + ',' + d.y;\n }).join(' ')).attr('transform', 'translate(' + -w / 2 + ',' + h / 2 + ')');\n}\n\nexport default {\n addToRender: addToRender,\n addToRenderV2: addToRenderV2\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "index": 892, "index2": 904, "size": 5901, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer-v2.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 2194, "building": 106, "dependencies": 1505 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../dagre-wrapper/index.js", "loc": "6:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../dagre-wrapper/index.js", "loc": "6:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../dagre-wrapper/index.js", "loc": "257:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../dagre-wrapper/index.js", "loc": "380:2-8" } ], "usedExports": [ "render" ], "providedExports": [ "render" ], "optimizationBailout": [], "depth": 3, "source": "import dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport insertMarkers from './markers';\nimport { updateNodeBounds } from './shapes/util';\nimport { clear as clearGraphlib, clusterDb, adjustClustersAndEdges, findNonClusterChild } from './mermaid-graphlib';\nimport { insertNode, positionNode, clear as clearNodes, setNodeElem } from './nodes';\nimport { insertCluster, clear as clearClusters } from './clusters';\nimport { insertEdgeLabel, positionEdgeLabel, insertEdge, clear as clearEdges } from './edges';\nimport { logger as log } from '../logger';\n\nvar recursiveRender = function recursiveRender(_elem, graph, diagramtype, parentCluster) {\n log.info('Graph in recursive render:', graphlib.json.write(graph), parentCluster);\n var dir = graph.graph().rankdir;\n log.warn('Dir in recursive render - dir:', dir);\n\n var elem = _elem.insert('g').attr('class', 'root'); // eslint-disable-line\n\n\n if (!graph.nodes()) {\n log.trace('No nodes found for', graph);\n } else {\n log.trace('Recursive render', graph.nodes());\n }\n\n if (graph.edges().length > 0) {\n log.trace('Recursive edges', graph.edge(graph.edges()[0]));\n }\n\n var clusters = elem.insert('g').attr('class', 'clusters'); // eslint-disable-line\n\n var edgePaths = elem.insert('g').attr('class', 'edgePaths');\n var edgeLabels = elem.insert('g').attr('class', 'edgeLabels');\n var nodes = elem.insert('g').attr('class', 'nodes'); // Insert nodes, this will insert them into the dom and each node will get a size. The size is updated\n // to the abstract node and is later used by dagre for the layout\n\n graph.nodes().forEach(function (v) {\n var node = graph.node(v);\n\n if (typeof parentCluster !== 'undefined') {\n var data = JSON.parse(JSON.stringify(parentCluster.clusterData)); // data.clusterPositioning = true;\n\n log.trace('Setting data for cluster', data);\n graph.setNode(parentCluster.id, data);\n graph.setParent(v, parentCluster.id, data);\n }\n\n log.trace('(Insert) Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n\n if (node && node.clusterNode) {\n // const children = graph.children(v);\n log.trace('Cluster identified', v, node, graph.node(v));\n var newEl = recursiveRender(nodes, node.graph, diagramtype, graph.node(v));\n updateNodeBounds(node, newEl);\n setNodeElem(newEl, node);\n log.warn('Recursive render complete', newEl, node);\n } else {\n if (graph.children(v).length > 0) {\n // This is a cluster but not to be rendered recusively\n // Render as before\n log.trace('Cluster - the non recursive path', v, node.id, node, graph);\n log.trace(findNonClusterChild(node.id, graph));\n clusterDb[node.id] = {\n id: findNonClusterChild(node.id, graph),\n node: node\n }; // insertCluster(clusters, graph.node(v));\n } else {\n log.trace('Node - the non recursive path', v, node.id, node);\n insertNode(nodes, graph.node(v), dir);\n }\n }\n }); // Insert labels, this will insert them into the dom so that the width can be calculated\n // Also figure out which edges point to/from clusters and adjust them accordingly\n // Edges from/to clusters really points to the first child in the cluster.\n // TODO: pick optimal child in the cluster to us as link anchor\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e.v, e.w, e.name);\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ', e, ' ', JSON.stringify(graph.edge(e))); // Check if link is either from or to a cluster\n\n log.trace('Fix', clusterDb, 'ids:', e.v, e.w, 'Translateing: ', clusterDb[e.v], clusterDb[e.w]);\n insertEdgeLabel(edgeLabels, edge);\n });\n graph.edges().forEach(function (e) {\n log.info('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n });\n log.info('#############################################');\n log.info('### Layout ###');\n log.info('#############################################');\n log.info(graph);\n dagre.layout(graph);\n log.trace('Graph after layout:', graphlib.json.write(graph)); // Move the nodes to the correct place\n\n graph.nodes().forEach(function (v) {\n var node = graph.node(v);\n log.trace('Position ' + v + ': ' + JSON.stringify(graph.node(v)));\n log.info('Position ' + v + ': (' + node.x, ',' + node.y, ') width: ', node.width, ' height: ', node.height);\n\n if (node && node.clusterNode) {\n // clusterDb[node.id].node = node;\n positionNode(node);\n } else {\n // Non cluster node\n if (graph.children(v).length > 0) {\n // A cluster in the non-recurive way\n // positionCluster(node);\n insertCluster(clusters, node);\n clusterDb[node.id].node = node;\n } else {\n positionNode(node);\n }\n }\n }); // Move the edge labels to the correct place after layout\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e);\n log.info('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(edge), edge);\n var updatedPath = insertEdge(edgePaths, e, edge, clusterDb, diagramtype, graph);\n positionEdgeLabel(edge, updatedPath);\n });\n return elem;\n};\n\nexport var render = function render(elem, graph, markers, diagramtype, id) {\n insertMarkers(elem, markers, diagramtype, id);\n clearNodes();\n clearEdges();\n clearClusters();\n clearGraphlib();\n log.warn('Graph before:', graphlib.json.write(graph));\n adjustClustersAndEdges(graph);\n log.warn('Graph after:', graphlib.json.write(graph));\n log.warn('Graph ever after:', graph.graph());\n recursiveRender(elem, graph, diagramtype);\n}; // const shapeDefinitions = {};\n// export const addShape = ({ shapeType: fun }) => {\n// shapeDefinitions[shapeType] = fun;\n// };\n// const arrowDefinitions = {};\n// export const addArrow = ({ arrowType: fun }) => {\n// arrowDefinitions[arrowType] = fun;\n// };" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "name": "./src/diagrams/sequence/svgDraw.js", "index": 909, "index2": 906, "size": 15081, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/sequence/sequenceRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "name": "./src/diagrams/sequence/sequenceRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1467, "building": 447, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "152:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "228:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "234:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "235:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "249:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "284:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "299:2-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "385:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "474:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "475:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "476:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "486:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "517:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "530:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "543:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "562:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "581:8-15" } ], "usedExports": [ "default", "drawText" ], "providedExports": [ "drawRect", "drawText", "drawLabel", "drawActor", "anchorElement", "drawActivation", "drawLoop", "drawBackgroundRect", "insertArrowHead", "insertSequenceNumber", "insertArrowCrossHead", "getTextObj", "getNoteRect", "default" ], "optimizationBailout": [], "depth": 3, "source": "import common from '../common/common';\nexport var drawRect = function drawRect(elem, rectData) {\n var rectElem = elem.append('rect');\n rectElem.attr('x', rectData.x);\n rectElem.attr('y', rectData.y);\n rectElem.attr('fill', rectData.fill);\n rectElem.attr('stroke', rectData.stroke);\n rectElem.attr('width', rectData.width);\n rectElem.attr('height', rectData.height);\n rectElem.attr('rx', rectData.rx);\n rectElem.attr('ry', rectData.ry);\n\n if (typeof rectData.class !== 'undefined') {\n rectElem.attr('class', rectData.class);\n }\n\n return rectElem;\n};\nexport var drawText = function drawText(elem, textData) {\n var prevTextHeight = 0,\n textHeight = 0;\n var lines = textData.wrap ? textData.text.split(common.lineBreakRegex) : [textData.text.replace(common.lineBreakRegex, ' ')];\n var textElems = [];\n var dy = 0;\n\n var yfunc = function yfunc() {\n return textData.y;\n };\n\n if (typeof textData.valign !== 'undefined' && typeof textData.textMargin !== 'undefined' && textData.textMargin > 0) {\n switch (textData.valign) {\n case 'top':\n case 'start':\n yfunc = function yfunc() {\n return Math.round(textData.y + textData.textMargin);\n };\n\n break;\n\n case 'middle':\n case 'center':\n yfunc = function yfunc() {\n return Math.round(textData.y + (prevTextHeight + textHeight + textData.textMargin) / 2);\n };\n\n break;\n\n case 'bottom':\n case 'end':\n yfunc = function yfunc() {\n return Math.round(textData.y + (prevTextHeight + textHeight + 2 * textData.textMargin) - textData.textMargin);\n };\n\n break;\n }\n }\n\n if (typeof textData.anchor !== 'undefined' && typeof textData.textMargin !== 'undefined' && typeof textData.width !== 'undefined') {\n switch (textData.anchor) {\n case 'left':\n case 'start':\n textData.x = Math.round(textData.x + textData.textMargin);\n textData.anchor = 'start';\n textData.dominantBaseline = 'text-after-edge';\n textData.alignmentBaseline = 'middle';\n break;\n\n case 'middle':\n case 'center':\n textData.x = Math.round(textData.x + textData.width / 2);\n textData.anchor = 'middle';\n textData.dominantBaseline = 'middle';\n textData.alignmentBaseline = 'middle';\n break;\n\n case 'right':\n case 'end':\n textData.x = Math.round(textData.x + textData.width - textData.textMargin);\n textData.anchor = 'end';\n textData.dominantBaseline = 'text-before-edge';\n textData.alignmentBaseline = 'middle';\n break;\n }\n }\n\n for (var i = 0; i < lines.length; i++) {\n var line = lines[i];\n\n if (typeof textData.textMargin !== 'undefined' && textData.textMargin === 0 && typeof textData.fontSize !== 'undefined') {\n dy = i * textData.fontSize;\n }\n\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', yfunc());\n\n if (typeof textData.anchor !== 'undefined') {\n textElem.attr('text-anchor', textData.anchor).attr('dominant-baseline', textData.dominantBaseline).attr('alignment-baseline', textData.alignmentBaseline);\n }\n\n if (typeof textData.fontFamily !== 'undefined') {\n textElem.style('font-family', textData.fontFamily);\n }\n\n if (typeof textData.fontSize !== 'undefined') {\n textElem.style('font-size', textData.fontSize);\n }\n\n if (typeof textData.fontWeight !== 'undefined') {\n textElem.style('font-weight', textData.fontWeight);\n }\n\n if (typeof textData.fill !== 'undefined') {\n textElem.attr('fill', textData.fill);\n }\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n if (typeof textData.dy !== 'undefined') {\n textElem.attr('dy', textData.dy);\n } else if (dy !== 0) {\n textElem.attr('dy', dy);\n }\n\n if (textData.tspan) {\n var span = textElem.append('tspan');\n span.attr('x', textData.x);\n\n if (typeof textData.fill !== 'undefined') {\n span.attr('fill', textData.fill);\n }\n\n span.text(line);\n } else {\n textElem.text(line);\n }\n\n if (typeof textData.valign !== 'undefined' && typeof textData.textMargin !== 'undefined' && textData.textMargin > 0) {\n textHeight += (textElem._groups || textElem)[0][0].getBBox().height;\n prevTextHeight = textHeight;\n }\n\n textElems.push(textElem);\n }\n\n return textElems;\n};\nexport var drawLabel = function drawLabel(elem, txtObject) {\n function genPoints(x, y, width, height, cut) {\n return x + ',' + y + ' ' + (x + width) + ',' + y + ' ' + (x + width) + ',' + (y + height - cut) + ' ' + (x + width - cut * 1.2) + ',' + (y + height) + ' ' + x + ',' + (y + height);\n }\n\n var polygon = elem.append('polygon');\n polygon.attr('points', genPoints(txtObject.x, txtObject.y, txtObject.width, txtObject.height, 7));\n polygon.attr('class', 'labelBox');\n txtObject.y = txtObject.y + txtObject.height / 2;\n drawText(elem, txtObject);\n return polygon;\n};\nvar actorCnt = -1;\n/**\n * Draws an actor in the diagram with the attached line\n * @param elem - The diagram we'll draw to.\n * @param actor - The actor to draw.\n * @param conf - drawText implementation discriminator object\n */\n\nexport var drawActor = function drawActor(elem, actor, conf) {\n var center = actor.x + actor.width / 2;\n var g = elem.append('g');\n\n if (actor.y === 0) {\n actorCnt++;\n g.append('line').attr('id', 'actor' + actorCnt).attr('x1', center).attr('y1', 5).attr('x2', center).attr('y2', 2000).attr('class', 'actor-line').attr('stroke-width', '0.5px').attr('stroke', '#999');\n }\n\n var rect = getNoteRect();\n rect.x = actor.x;\n rect.y = actor.y;\n rect.fill = '#eaeaea';\n rect.width = actor.width;\n rect.height = actor.height;\n rect.class = 'actor';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n\n _drawTextCandidateFunc(conf)(actor.description, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'actor'\n }, conf);\n};\nexport var anchorElement = function anchorElement(elem) {\n return elem.append('g');\n};\n/**\n * Draws an activation in the diagram\n * @param elem - element to append activation rect.\n * @param bounds - activation box bounds.\n * @param verticalPos - precise y cooridnate of bottom activation box edge.\n * @param conf - sequence diagram config object.\n * @param actorActivations - number of activations on the actor.\n */\n\nexport var drawActivation = function drawActivation(elem, bounds, verticalPos, conf, actorActivations) {\n var rect = getNoteRect();\n var g = bounds.anchored;\n rect.x = bounds.startx;\n rect.y = bounds.starty;\n rect.class = 'activation' + actorActivations % 3; // Will evaluate to 0, 1 or 2\n\n rect.width = bounds.stopx - bounds.startx;\n rect.height = verticalPos - bounds.starty;\n drawRect(g, rect);\n};\n/**\n * Draws a loop in the diagram\n * @param elem - elemenet to append the loop to.\n * @param loopModel - loopModel of the given loop.\n * @param labelText - Text within the loop.\n * @param conf - diagrom configuration\n */\n\nexport var drawLoop = function drawLoop(elem, loopModel, labelText, conf) {\n var boxMargin = conf.boxMargin,\n boxTextMargin = conf.boxTextMargin,\n labelBoxHeight = conf.labelBoxHeight,\n labelBoxWidth = conf.labelBoxWidth,\n fontFamily = conf.messageFontFamily,\n fontSize = conf.messageFontSize,\n fontWeight = conf.messageFontWeight;\n var g = elem.append('g');\n\n var drawLoopLine = function drawLoopLine(startx, starty, stopx, stopy) {\n return g.append('line').attr('x1', startx).attr('y1', starty).attr('x2', stopx).attr('y2', stopy).attr('class', 'loopLine');\n };\n\n drawLoopLine(loopModel.startx, loopModel.starty, loopModel.stopx, loopModel.starty);\n drawLoopLine(loopModel.stopx, loopModel.starty, loopModel.stopx, loopModel.stopy);\n drawLoopLine(loopModel.startx, loopModel.stopy, loopModel.stopx, loopModel.stopy);\n drawLoopLine(loopModel.startx, loopModel.starty, loopModel.startx, loopModel.stopy);\n\n if (typeof loopModel.sections !== 'undefined') {\n loopModel.sections.forEach(function (item) {\n drawLoopLine(loopModel.startx, item.y, loopModel.stopx, item.y).style('stroke-dasharray', '3, 3');\n });\n }\n\n var txt = getTextObj();\n txt.text = labelText;\n txt.x = loopModel.startx;\n txt.y = loopModel.starty;\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.tspan = false;\n txt.width = labelBoxWidth || 50;\n txt.height = labelBoxHeight || 20;\n txt.textMargin = boxTextMargin;\n txt.class = 'labelText';\n drawLabel(g, txt);\n txt = getTextObj();\n txt.text = loopModel.title;\n txt.x = loopModel.startx + labelBoxWidth / 2 + (loopModel.stopx - loopModel.startx) / 2;\n txt.y = loopModel.starty + boxMargin + boxTextMargin;\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.textMargin = boxTextMargin;\n txt.class = 'loopText';\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.wrap = true;\n var textElem = drawText(g, txt);\n\n if (typeof loopModel.sectionTitles !== 'undefined') {\n loopModel.sectionTitles.forEach(function (item, idx) {\n if (item.message) {\n txt.text = item.message;\n txt.x = loopModel.startx + (loopModel.stopx - loopModel.startx) / 2;\n txt.y = loopModel.sections[idx].y + boxMargin + boxTextMargin;\n txt.class = 'loopText';\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.tspan = false;\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.wrap = loopModel.wrap;\n textElem = drawText(g, txt);\n var sectionHeight = Math.round(textElem.map(function (te) {\n return (te._groups || te)[0][0].getBBox().height;\n }).reduce(function (acc, curr) {\n return acc + curr;\n }));\n loopModel.sections[idx].height += sectionHeight - (boxMargin + boxTextMargin);\n }\n });\n }\n\n loopModel.height = Math.round(loopModel.stopy - loopModel.starty);\n return g;\n};\n/**\n * Draws a background rectangle\n * @param elem diagram (reference for bounds)\n * @param bounds shape of the rectangle\n */\n\nexport var drawBackgroundRect = function drawBackgroundRect(elem, bounds) {\n var rectElem = drawRect(elem, {\n x: bounds.startx,\n y: bounds.starty,\n width: bounds.stopx - bounds.startx,\n height: bounds.stopy - bounds.starty,\n fill: bounds.fill,\n class: 'rect'\n });\n rectElem.lower();\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nexport var insertArrowHead = function insertArrowHead(elem) {\n elem.append('defs').append('marker').attr('id', 'arrowhead').attr('refX', 5).attr('refY', 2).attr('markerWidth', 6).attr('markerHeight', 4).attr('orient', 'auto').append('path').attr('d', 'M 0,0 V 4 L6,2 Z'); // this is actual shape for arrowhead\n};\n/**\n * Setup node number. The result is appended to the svg.\n */\n\nexport var insertSequenceNumber = function insertSequenceNumber(elem) {\n elem.append('defs').append('marker').attr('id', 'sequencenumber').attr('refX', 15).attr('refY', 15).attr('markerWidth', 60).attr('markerHeight', 40).attr('orient', 'auto').append('circle').attr('cx', 15).attr('cy', 15).attr('r', 6); // .style(\"fill\", '#f00');\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nexport var insertArrowCrossHead = function insertArrowCrossHead(elem) {\n var defs = elem.append('defs');\n var marker = defs.append('marker').attr('id', 'crosshead').attr('markerWidth', 15).attr('markerHeight', 8).attr('orient', 'auto').attr('refX', 16).attr('refY', 4); // The arrow\n\n marker.append('path').attr('fill', 'black').attr('stroke', '#000000').style('stroke-dasharray', '0, 0').attr('stroke-width', '1px').attr('d', 'M 9,2 V 6 L16,4 Z'); // The cross\n\n marker.append('path').attr('fill', 'none').attr('stroke', '#000000').style('stroke-dasharray', '0, 0').attr('stroke-width', '1px').attr('d', 'M 0,1 L 6,7 M 6,1 L 0,7'); // this is actual shape for arrowhead\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n anchor: undefined,\n style: '#666',\n width: undefined,\n height: undefined,\n textMargin: 0,\n rx: 0,\n ry: 0,\n tspan: true,\n valign: undefined\n };\n};\nexport var getNoteRect = function getNoteRect() {\n return {\n x: 0,\n y: 0,\n fill: '#EDF2AE',\n stroke: '#666',\n width: 100,\n anchor: 'start',\n height: 100,\n rx: 0,\n ry: 0\n };\n};\n\nvar _drawTextCandidateFunc = function () {\n function byText(content, g, x, y, width, height, textAttrs) {\n var text = g.append('text').attr('x', x + width / 2).attr('y', y + height / 2 + 5).style('text-anchor', 'middle').text(content);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function byTspan(content, g, x, y, width, height, textAttrs, conf) {\n var actorFontSize = conf.actorFontSize,\n actorFontFamily = conf.actorFontFamily,\n actorFontWeight = conf.actorFontWeight;\n var lines = content.split(common.lineBreakRegex);\n\n for (var i = 0; i < lines.length; i++) {\n var dy = i * actorFontSize - actorFontSize * (lines.length - 1) / 2;\n var text = g.append('text').attr('x', x + width / 2).attr('y', y).style('text-anchor', 'middle').style('font-size', actorFontSize).style('font-weight', actorFontWeight).style('font-family', actorFontFamily);\n text.append('tspan').attr('x', x + width / 2).attr('dy', dy).text(lines[i]);\n text.attr('y', y + height / 2.0).attr('dominant-baseline', 'central').attr('alignment-baseline', 'central');\n\n _setTextAttrs(text, textAttrs);\n }\n }\n\n function byFo(content, g, x, y, width, height, textAttrs, conf) {\n var s = g.append('switch');\n var f = s.append('foreignObject').attr('x', x).attr('y', y).attr('width', width).attr('height', height);\n var text = f.append('div').style('display', 'table').style('height', '100%').style('width', '100%');\n text.append('div').style('display', 'table-cell').style('text-align', 'center').style('vertical-align', 'middle').text(content);\n byTspan(content, s, x, y, width, height, textAttrs, conf);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function _setTextAttrs(toText, fromTextAttrsDict) {\n for (var key in fromTextAttrsDict) {\n if (fromTextAttrsDict.hasOwnProperty(key)) {\n // eslint-disable-line\n toText.attr(key, fromTextAttrsDict[key]);\n }\n }\n }\n\n return function (conf) {\n return conf.textPlacement === 'fo' ? byFo : conf.textPlacement === 'old' ? byText : byTspan;\n };\n}();\n\nexport default {\n drawRect: drawRect,\n drawText: drawText,\n drawLabel: drawLabel,\n drawActor: drawActor,\n anchorElement: anchorElement,\n drawActivation: drawActivation,\n drawLoop: drawLoop,\n drawBackgroundRect: drawBackgroundRect,\n insertArrowHead: insertArrowHead,\n insertSequenceNumber: insertSequenceNumber,\n insertArrowCrossHead: insertArrowCrossHead,\n getTextObj: getTextObj,\n getNoteRect: getNoteRect\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "name": "./src/diagrams/class/svgDraw.js", "index": 912, "index2": 909, "size": 11509, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/class/classRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1912, "building": 395, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "7:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "82:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "108:6-13" } ], "usedExports": [ "default" ], "providedExports": [ "drawEdge", "drawClass", "parseMember", "default" ], "optimizationBailout": [], "depth": 3, "source": "import { line, curveBasis } from 'd3';\nimport { lookUpDomId, relationType } from './classDb';\nimport utils from '../../utils';\nimport { logger } from '../../logger';\nvar edgeCount = 0;\nexport var drawEdge = function drawEdge(elem, path, relation, conf) {\n var getRelationType = function getRelationType(type) {\n switch (type) {\n case relationType.AGGREGATION:\n return 'aggregation';\n\n case relationType.EXTENSION:\n return 'extension';\n\n case relationType.COMPOSITION:\n return 'composition';\n\n case relationType.DEPENDENCY:\n return 'dependency';\n }\n };\n\n path.points = path.points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // The data for our line\n\n var lineData = path.points; // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis);\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', 'edge' + edgeCount).attr('class', 'relation');\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n if (relation.relation.lineType == 1) {\n svgPath.attr('class', 'relation dashed-line');\n }\n\n if (relation.relation.type1 !== 'none') {\n svgPath.attr('marker-start', 'url(' + url + '#' + getRelationType(relation.relation.type1) + 'Start' + ')');\n }\n\n if (relation.relation.type2 !== 'none') {\n svgPath.attr('marker-end', 'url(' + url + '#' + getRelationType(relation.relation.type2) + 'End' + ')');\n }\n\n var x, y;\n var l = path.points.length; // Calculate Label position\n\n var labelPosition = utils.calcLabelPosition(path.points);\n x = labelPosition.x;\n y = labelPosition.y;\n var p1_card_x, p1_card_y;\n var p2_card_x, p2_card_y;\n\n if (l % 2 !== 0 && l > 1) {\n var cardinality_1_point = utils.calcCardinalityPosition(relation.relation.type1 !== 'none', path.points, path.points[0]);\n var cardinality_2_point = utils.calcCardinalityPosition(relation.relation.type2 !== 'none', path.points, path.points[l - 1]);\n logger.debug('cardinality_1_point ' + JSON.stringify(cardinality_1_point));\n logger.debug('cardinality_2_point ' + JSON.stringify(cardinality_2_point));\n p1_card_x = cardinality_1_point.x;\n p1_card_y = cardinality_1_point.y;\n p2_card_x = cardinality_2_point.x;\n p2_card_y = cardinality_2_point.y;\n }\n\n if (typeof relation.title !== 'undefined') {\n var g = elem.append('g').attr('class', 'classLabel');\n var label = g.append('text').attr('class', 'label').attr('x', x).attr('y', y).attr('fill', 'red').attr('text-anchor', 'middle').text(relation.title);\n window.label = label;\n var bounds = label.node().getBBox();\n g.insert('rect', ':first-child').attr('class', 'box').attr('x', bounds.x - conf.padding / 2).attr('y', bounds.y - conf.padding / 2).attr('width', bounds.width + conf.padding).attr('height', bounds.height + conf.padding);\n }\n\n logger.info('Rendering relation ' + JSON.stringify(relation));\n\n if (typeof relation.relationTitle1 !== 'undefined' && relation.relationTitle1 !== 'none') {\n var _g = elem.append('g').attr('class', 'cardinality');\n\n _g.append('text').attr('class', 'type1').attr('x', p1_card_x).attr('y', p1_card_y).attr('fill', 'black').attr('font-size', '6').text(relation.relationTitle1);\n }\n\n if (typeof relation.relationTitle2 !== 'undefined' && relation.relationTitle2 !== 'none') {\n var _g2 = elem.append('g').attr('class', 'cardinality');\n\n _g2.append('text').attr('class', 'type2').attr('x', p2_card_x).attr('y', p2_card_y).attr('fill', 'black').attr('font-size', '6').text(relation.relationTitle2);\n }\n\n edgeCount++;\n};\nexport var drawClass = function drawClass(elem, classDef, conf) {\n logger.info('Rendering class ' + classDef);\n var cssClassStr = 'classGroup ';\n\n if (classDef.cssClasses.length > 0) {\n cssClassStr = cssClassStr + classDef.cssClasses.join(' ');\n }\n\n var id = classDef.id;\n var classInfo = {\n id: id,\n label: classDef.id,\n width: 0,\n height: 0\n }; // add class group\n\n var g = elem.append('g').attr('id', lookUpDomId(id)).attr('class', cssClassStr); // add title\n\n var title;\n\n if (classDef.link) {\n title = g.append('svg:a').attr('xlink:href', classDef.link).attr('target', '_blank').append('text').attr('y', conf.textHeight + conf.padding).attr('x', 0);\n } else {\n title = g.append('text').attr('y', conf.textHeight + conf.padding).attr('x', 0);\n } // add annotations\n\n\n var isFirst = true;\n classDef.annotations.forEach(function (member) {\n var titleText2 = title.append('tspan').text('«' + member + '»');\n if (!isFirst) titleText2.attr('dy', conf.textHeight);\n isFirst = false;\n });\n var classTitleString = classDef.id;\n\n if (classDef.type !== undefined && classDef.type !== '') {\n classTitleString += '<' + classDef.type + '>';\n }\n\n var classTitle = title.append('tspan').text(classTitleString).attr('class', 'title'); // If class has annotations the title needs to have an offset of the text height\n\n if (!isFirst) classTitle.attr('dy', conf.textHeight);\n var titleHeight = title.node().getBBox().height;\n var membersLine = g.append('line') // text label for the x axis\n .attr('x1', 0).attr('y1', conf.padding + titleHeight + conf.dividerMargin / 2).attr('y2', conf.padding + titleHeight + conf.dividerMargin / 2);\n var members = g.append('text') // text label for the x axis\n .attr('x', conf.padding).attr('y', titleHeight + conf.dividerMargin + conf.textHeight).attr('fill', 'white').attr('class', 'classText');\n isFirst = true;\n classDef.members.forEach(function (member) {\n addTspan(members, member, isFirst, conf);\n isFirst = false;\n });\n var membersBox = members.node().getBBox();\n var methodsLine = g.append('line') // text label for the x axis\n .attr('x1', 0).attr('y1', conf.padding + titleHeight + conf.dividerMargin + membersBox.height).attr('y2', conf.padding + titleHeight + conf.dividerMargin + membersBox.height);\n var methods = g.append('text') // text label for the x axis\n .attr('x', conf.padding).attr('y', titleHeight + 2 * conf.dividerMargin + membersBox.height + conf.textHeight).attr('fill', 'white').attr('class', 'classText');\n isFirst = true;\n classDef.methods.forEach(function (method) {\n addTspan(methods, method, isFirst, conf);\n isFirst = false;\n });\n var classBox = g.node().getBBox();\n var rect = g.insert('rect', ':first-child').attr('x', 0).attr('y', 0).attr('width', classBox.width + 2 * conf.padding).attr('height', classBox.height + conf.padding + 0.5 * conf.dividerMargin);\n var rectWidth = rect.node().getBBox().width; // Center title\n // We subtract the width of each text element from the class box width and divide it by 2\n\n title.node().childNodes.forEach(function (x) {\n x.setAttribute('x', (rectWidth - x.getBBox().width) / 2);\n });\n\n if (classDef.tooltip) {\n title.insert('title').text(classDef.tooltip);\n }\n\n membersLine.attr('x2', rectWidth);\n methodsLine.attr('x2', rectWidth);\n classInfo.width = rectWidth;\n classInfo.height = classBox.height + conf.padding + 0.5 * conf.dividerMargin;\n return classInfo;\n};\nexport var parseMember = function parseMember(text) {\n var fieldRegEx = /(\\+|-|~|#)?(\\w+)(~\\w+~|\\[\\])?\\s+(\\w+)/;\n var methodRegEx = /^([+|\\-|~|#])?(\\w+) *\\( *(.*)\\) *(\\*|\\$)? *(\\w*[~|[\\]]*\\s*\\w*~?)$/;\n var fieldMatch = text.match(fieldRegEx);\n var methodMatch = text.match(methodRegEx);\n\n if (fieldMatch && !methodMatch) {\n return buildFieldDisplay(fieldMatch);\n } else if (methodMatch) {\n return buildMethodDisplay(methodMatch);\n } else {\n return buildLegacyDisplay(text);\n }\n};\n\nvar buildFieldDisplay = function buildFieldDisplay(parsedText) {\n var displayText = '';\n\n try {\n var visibility = parsedText[1] ? parsedText[1].trim() : '';\n var fieldType = parsedText[2] ? parsedText[2].trim() : '';\n var genericType = parsedText[3] ? parseGenericTypes(parsedText[3].trim()) : '';\n var fieldName = parsedText[4] ? parsedText[4].trim() : '';\n displayText = visibility + fieldType + genericType + ' ' + fieldName;\n } catch (err) {\n displayText = parsedText;\n }\n\n return {\n displayText: displayText,\n cssStyle: ''\n };\n};\n\nvar buildMethodDisplay = function buildMethodDisplay(parsedText) {\n var cssStyle = '';\n var displayText = '';\n\n try {\n var visibility = parsedText[1] ? parsedText[1].trim() : '';\n var methodName = parsedText[2] ? parsedText[2].trim() : '';\n var parameters = parsedText[3] ? parseGenericTypes(parsedText[3].trim()) : '';\n var classifier = parsedText[4] ? parsedText[4].trim() : '';\n var returnType = parsedText[5] ? ' : ' + parseGenericTypes(parsedText[5]).trim() : '';\n displayText = visibility + methodName + '(' + parameters + ')' + returnType;\n cssStyle = parseClassifier(classifier);\n } catch (err) {\n displayText = parsedText;\n }\n\n return {\n displayText: displayText,\n cssStyle: cssStyle\n };\n};\n\nvar buildLegacyDisplay = function buildLegacyDisplay(text) {\n // if for some reason we dont have any match, use old format to parse text\n var displayText = '';\n var cssStyle = '';\n var memberText = '';\n var returnType = '';\n var methodStart = text.indexOf('(');\n var methodEnd = text.indexOf(')');\n\n if (methodStart > 1 && methodEnd > methodStart && methodEnd <= text.length) {\n var visibility = '';\n var methodName = '';\n var firstChar = text.substring(0, 1);\n\n if (firstChar.match(/\\w/)) {\n methodName = text.substring(0, methodStart).trim();\n } else {\n if (firstChar.match(/\\+|-|~|#/)) {\n visibility = firstChar;\n }\n\n methodName = text.substring(1, methodStart).trim();\n }\n\n var parameters = text.substring(methodStart + 1, methodEnd);\n var classifier = text.substring(methodEnd + 1, 1);\n cssStyle = parseClassifier(classifier);\n displayText = visibility + methodName + '(' + parseGenericTypes(parameters.trim()) + ')';\n\n if (methodEnd < memberText.length) {\n returnType = text.substring(methodEnd + 2).trim();\n\n if (returnType !== '') {\n returnType = ' : ' + parseGenericTypes(returnType);\n }\n }\n } else {\n // finally - if all else fails, just send the text back as written (other than parsing for generic types)\n displayText = parseGenericTypes(text);\n }\n\n return {\n displayText: displayText,\n cssStyle: cssStyle\n };\n};\n\nvar addTspan = function addTspan(textEl, txt, isFirst, conf) {\n var member = parseMember(txt);\n var tSpan = textEl.append('tspan').attr('x', conf.padding).text(member.displayText);\n\n if (member.cssStyle !== '') {\n tSpan.attr('style', member.cssStyle);\n }\n\n if (!isFirst) {\n tSpan.attr('dy', conf.textHeight);\n }\n};\n\nvar parseGenericTypes = function parseGenericTypes(text) {\n var cleanedText = text;\n\n if (text.indexOf('~') != -1) {\n cleanedText = cleanedText.replace('~', '<');\n cleanedText = cleanedText.replace('~', '>');\n return parseGenericTypes(cleanedText);\n } else {\n return cleanedText;\n }\n};\n\nvar parseClassifier = function parseClassifier(classifier) {\n switch (classifier) {\n case '*':\n return 'font-style:italic;';\n\n case '$':\n return 'text-decoration:underline;';\n\n default:\n return '';\n }\n};\n\nexport default {\n drawClass: drawClass,\n drawEdge: drawEdge,\n parseMember: parseMember\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "name": "./src/diagrams/state/shapes.js", "index": 914, "index2": 912, "size": 15372, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/state/stateRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1874, "building": 443, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./shapes", "loc": "9:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "142:14-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "157:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "168:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "235:6-14" } ], "usedExports": [ "addTitleAndBox", "drawState", "drawEdge" ], "providedExports": [ "drawStartState", "drawDivider", "drawSimpleState", "drawDescrState", "addTitleAndBox", "drawText", "drawNote", "drawState", "drawEdge" ], "optimizationBailout": [], "depth": 3, "source": "import { line, curveBasis } from 'd3';\nimport idCache from './id-cache.js';\nimport stateDb from './stateDb';\nimport utils from '../../utils';\nimport common from '../common/common';\nimport { getConfig } from '../../config';\nimport { logger } from '../../logger'; // let conf;\n\n/**\n * Draws a start state as a black circle\n */\n\nexport var drawStartState = function drawStartState(g) {\n return g.append('circle').style('stroke', 'black').style('fill', 'black').attr('r', getConfig().state.sizeUnit).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit);\n};\n/**\n * Draws a start state as a black circle\n */\n\nexport var drawDivider = function drawDivider(g) {\n return g.append('line').style('stroke', 'grey').style('stroke-dasharray', '3').attr('x1', getConfig().state.textHeight).attr('class', 'divider').attr('x2', getConfig().state.textHeight * 2).attr('y1', 0).attr('y2', 0);\n};\n/**\n * Draws a an end state as a black circle\n */\n\nexport var drawSimpleState = function drawSimpleState(g, stateDef) {\n var state = g.append('text').attr('x', 2 * getConfig().state.padding).attr('y', getConfig().state.textHeight + 2 * getConfig().state.padding).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.id);\n var classBox = state.node().getBBox();\n g.insert('rect', ':first-child').attr('x', getConfig().state.padding).attr('y', getConfig().state.padding).attr('width', classBox.width + 2 * getConfig().state.padding).attr('height', classBox.height + 2 * getConfig().state.padding).attr('rx', getConfig().state.radius);\n return state;\n};\n/**\n * Draws a state with descriptions\n * @param {*} g\n * @param {*} stateDef\n */\n\nexport var drawDescrState = function drawDescrState(g, stateDef) {\n var addTspan = function addTspan(textEl, txt, isFirst) {\n var tSpan = textEl.append('tspan').attr('x', 2 * getConfig().state.padding).text(txt);\n\n if (!isFirst) {\n tSpan.attr('dy', getConfig().state.textHeight);\n }\n };\n\n var title = g.append('text').attr('x', 2 * getConfig().state.padding).attr('y', getConfig().state.textHeight + 1.3 * getConfig().state.padding).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.descriptions[0]);\n var titleBox = title.node().getBBox();\n var titleHeight = titleBox.height;\n var description = g.append('text') // text label for the x axis\n .attr('x', getConfig().state.padding).attr('y', titleHeight + getConfig().state.padding * 0.4 + getConfig().state.dividerMargin + getConfig().state.textHeight).attr('class', 'state-description');\n var isFirst = true;\n var isSecond = true;\n stateDef.descriptions.forEach(function (descr) {\n if (!isFirst) {\n addTspan(description, descr, isSecond);\n isSecond = false;\n }\n\n isFirst = false;\n });\n var descrLine = g.append('line') // text label for the x axis\n .attr('x1', getConfig().state.padding).attr('y1', getConfig().state.padding + titleHeight + getConfig().state.dividerMargin / 2).attr('y2', getConfig().state.padding + titleHeight + getConfig().state.dividerMargin / 2).attr('class', 'descr-divider');\n var descrBox = description.node().getBBox();\n var width = Math.max(descrBox.width, titleBox.width);\n descrLine.attr('x2', width + 3 * getConfig().state.padding); // const classBox = title.node().getBBox();\n\n g.insert('rect', ':first-child').attr('x', getConfig().state.padding).attr('y', getConfig().state.padding).attr('width', width + 2 * getConfig().state.padding).attr('height', descrBox.height + titleHeight + 2 * getConfig().state.padding).attr('rx', getConfig().state.radius);\n return g;\n};\n/**\n * Adds the creates a box around the existing content and adds a\n * panel for the id on top of the content.\n */\n\n/**\n * Function that creates an title row and a frame around a substate for a composit state diagram.\n * The function returns a new d3 svg object with updated width and height properties;\n * @param {*} g The d3 svg object for the substate to framed\n * @param {*} stateDef The info about the\n */\n\nexport var addTitleAndBox = function addTitleAndBox(g, stateDef, altBkg) {\n var pad = getConfig().state.padding;\n var dblPad = 2 * getConfig().state.padding;\n var orgBox = g.node().getBBox();\n var orgWidth = orgBox.width;\n var orgX = orgBox.x;\n var title = g.append('text').attr('x', 0).attr('y', getConfig().state.titleShift).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.id);\n var titleBox = title.node().getBBox();\n var titleWidth = titleBox.width + dblPad;\n var width = Math.max(titleWidth, orgWidth); // + dblPad;\n\n if (width === orgWidth) {\n width = width + dblPad;\n }\n\n var startX; // const lineY = 1 - getConfig().state.textHeight;\n // const descrLine = g\n // .append('line') // text label for the x axis\n // .attr('x1', 0)\n // .attr('y1', lineY)\n // .attr('y2', lineY)\n // .attr('class', 'descr-divider');\n\n var graphBox = g.node().getBBox(); // console.warn(width / 2, titleWidth / 2, getConfig().state.padding, orgBox);\n // descrLine.attr('x2', graphBox.width + getConfig().state.padding);\n\n if (stateDef.doc) {// cnsole.warn(\n // stateDef.id,\n // 'orgX: ',\n // orgX,\n // 'width: ',\n // width,\n // 'titleWidth: ',\n // titleWidth,\n // 'orgWidth: ',\n // orgWidth,\n // 'width',\n // width\n // );\n }\n\n startX = orgX - pad;\n\n if (titleWidth > orgWidth) {\n startX = (orgWidth - width) / 2 + pad;\n }\n\n if (Math.abs(orgX - graphBox.x) < pad) {\n if (titleWidth > orgWidth) {\n startX = orgX - (titleWidth - orgWidth) / 2;\n }\n }\n\n var lineY = 1 - getConfig().state.textHeight; // White color\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', lineY).attr('class', altBkg ? 'alt-composit' : 'composit').attr('width', width).attr('height', graphBox.height + getConfig().state.textHeight + getConfig().state.titleShift + 1).attr('rx', '0');\n title.attr('x', startX + pad);\n if (titleWidth <= orgWidth) title.attr('x', orgX + (width - dblPad) / 2 - titleWidth / 2 + pad); // Title background\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', getConfig().state.titleShift - getConfig().state.textHeight - getConfig().state.padding).attr('width', width) // Just needs to be higher then the descr line, will be clipped by the white color box\n .attr('height', getConfig().state.textHeight * 3).attr('rx', getConfig().state.radius); // Full background\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', getConfig().state.titleShift - getConfig().state.textHeight - getConfig().state.padding).attr('width', width).attr('height', graphBox.height + 3 + 2 * getConfig().state.textHeight).attr('rx', getConfig().state.radius);\n return g;\n};\n\nvar drawEndState = function drawEndState(g) {\n g.append('circle').style('stroke', 'black').style('fill', 'white').attr('r', getConfig().state.sizeUnit + getConfig().state.miniPadding).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit + getConfig().state.miniPadding).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit + getConfig().state.miniPadding);\n return g.append('circle').style('stroke', 'black').style('fill', 'black').attr('r', getConfig().state.sizeUnit).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit + 2).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit + 2);\n};\n\nvar drawForkJoinState = function drawForkJoinState(g, stateDef) {\n var width = getConfig().state.forkWidth;\n var height = getConfig().state.forkHeight;\n\n if (stateDef.parentId) {\n var tmp = width;\n width = height;\n height = tmp;\n }\n\n return g.append('rect').style('stroke', 'black').style('fill', 'black').attr('width', width).attr('height', height).attr('x', getConfig().state.padding).attr('y', getConfig().state.padding);\n};\n\nexport var drawText = function drawText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(common.lineBreakRegex, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.style('text-anchor', textData.anchor);\n textElem.attr('fill', textData.fill);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.attr('fill', textData.fill);\n span.text(nText);\n return textElem;\n};\n\nvar _drawLongText = function _drawLongText(_text, x, y, g) {\n var textHeight = 0;\n var textElem = g.append('text');\n textElem.style('text-anchor', 'start');\n textElem.attr('class', 'noteText');\n\n var text = _text.replace(/\\r\\n/g, '
');\n\n text = text.replace(/\\n/g, '
');\n var lines = text.split(common.lineBreakRegex);\n var tHeight = 1.25 * getConfig().state.noteMargin;\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = lines[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var _line = _step.value;\n\n var txt = _line.trim();\n\n if (txt.length > 0) {\n var span = textElem.append('tspan');\n span.text(txt);\n\n if (tHeight === 0) {\n var textBounds = span.node().getBBox();\n tHeight += textBounds.height;\n } // console.warn('textBounds', textBounds);\n\n\n textHeight += tHeight;\n span.attr('x', x + getConfig().state.noteMargin);\n span.attr('y', y + textHeight + 1.25 * getConfig().state.noteMargin);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return {\n textWidth: textElem.node().getBBox().width,\n textHeight: textHeight\n };\n};\n/**\n * Draws a note to the diagram\n * @param text - The text of the given note.\n * @param g - The element the note is attached to.\n */\n\n\nexport var drawNote = function drawNote(text, g) {\n g.attr('class', 'state-note');\n var note = g.append('rect').attr('x', 0).attr('y', getConfig().state.padding);\n var rectElem = g.append('g');\n\n var _drawLongText2 = _drawLongText(text, 0, 0, rectElem),\n textWidth = _drawLongText2.textWidth,\n textHeight = _drawLongText2.textHeight;\n\n note.attr('height', textHeight + 2 * getConfig().state.noteMargin);\n note.attr('width', textWidth + getConfig().state.noteMargin * 2);\n return note;\n};\n/**\n * Starting point for drawing a state. The function finds out the specifics\n * about the state and renders with approprtiate function.\n * @param {*} elem\n * @param {*} stateDef\n */\n\nexport var drawState = function drawState(elem, stateDef) {\n var id = stateDef.id;\n var stateInfo = {\n id: id,\n label: stateDef.id,\n width: 0,\n height: 0\n };\n var g = elem.append('g').attr('id', id).attr('class', 'stateGroup');\n if (stateDef.type === 'start') drawStartState(g);\n if (stateDef.type === 'end') drawEndState(g);\n if (stateDef.type === 'fork' || stateDef.type === 'join') drawForkJoinState(g, stateDef);\n if (stateDef.type === 'note') drawNote(stateDef.note.text, g);\n if (stateDef.type === 'divider') drawDivider(g);\n if (stateDef.type === 'default' && stateDef.descriptions.length === 0) drawSimpleState(g, stateDef);\n if (stateDef.type === 'default' && stateDef.descriptions.length > 0) drawDescrState(g, stateDef);\n var stateBox = g.node().getBBox();\n stateInfo.width = stateBox.width + 2 * getConfig().state.padding;\n stateInfo.height = stateBox.height + 2 * getConfig().state.padding;\n idCache.set(id, stateInfo); // stateCnt++;\n\n return stateInfo;\n};\nvar edgeCount = 0;\nexport var drawEdge = function drawEdge(elem, path, relation) {\n var getRelationType = function getRelationType(type) {\n switch (type) {\n case stateDb.relationType.AGGREGATION:\n return 'aggregation';\n\n case stateDb.relationType.EXTENSION:\n return 'extension';\n\n case stateDb.relationType.COMPOSITION:\n return 'composition';\n\n case stateDb.relationType.DEPENDENCY:\n return 'dependency';\n }\n };\n\n path.points = path.points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // The data for our line\n\n var lineData = path.points; // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis);\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', 'edge' + edgeCount).attr('class', 'transition');\n var url = '';\n\n if (getConfig().state.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n svgPath.attr('marker-end', 'url(' + url + '#' + getRelationType(stateDb.relationType.DEPENDENCY) + 'End' + ')');\n\n if (typeof relation.title !== 'undefined') {\n var label = elem.append('g').attr('class', 'stateLabel');\n\n var _utils$calcLabelPosit = utils.calcLabelPosition(path.points),\n x = _utils$calcLabelPosit.x,\n y = _utils$calcLabelPosit.y;\n\n var rows = common.getRows(relation.title); // console.warn(rows);\n\n var titleHeight = 0;\n var titleRows = [];\n var maxWidth = 0;\n var minX = 0;\n\n for (var i = 0; i <= rows.length; i++) {\n var title = label.append('text').attr('text-anchor', 'middle').text(rows[i]).attr('x', x).attr('y', y + titleHeight);\n var boundstmp = title.node().getBBox();\n maxWidth = Math.max(maxWidth, boundstmp.width);\n minX = Math.min(minX, boundstmp.x);\n logger.info(boundstmp.x, x, y + titleHeight);\n\n if (titleHeight === 0) {\n var titleBox = title.node().getBBox();\n titleHeight = titleBox.height;\n logger.info('Title height', titleHeight, y);\n }\n\n titleRows.push(title);\n }\n\n var boxHeight = titleHeight * rows.length;\n\n if (rows.length > 1) {\n var heightAdj = (rows.length - 1) * titleHeight * 0.5;\n titleRows.forEach(function (title, i) {\n return title.attr('y', y + i * titleHeight - heightAdj);\n });\n boxHeight = titleHeight * rows.length;\n }\n\n var bounds = label.node().getBBox();\n label.insert('rect', ':first-child').attr('class', 'box').attr('x', x - maxWidth / 2 - getConfig().state.padding / 2).attr('y', y - boxHeight / 2 - getConfig().state.padding / 2 - 3.5).attr('width', maxWidth + getConfig().state.padding).attr('height', boxHeight + getConfig().state.padding);\n logger.info(bounds); //label.attr('transform', '0 -' + (bounds.y / 2));\n // Debug points\n // path.points.forEach(point => {\n // g.append('circle')\n // .style('stroke', 'red')\n // .style('fill', 'red')\n // .attr('r', 1)\n // .attr('cx', point.x)\n // .attr('cy', point.y);\n // });\n // g.append('circle')\n // .style('stroke', 'blue')\n // .style('fill', 'blue')\n // .attr('r', 1)\n // .attr('cx', x)\n // .attr('cy', y);\n }\n\n edgeCount++;\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erMarkers.js", "name": "./src/diagrams/er/erMarkers.js", "index": 921, "index2": 918, "size": 3422, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/er/erRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "name": "./src/diagrams/er/erRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1660, "building": 393 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./erMarkers", "loc": "8:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "133:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "137:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "141:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "145:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "151:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "155:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "159:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "163:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "202:2-11" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 3, "source": "var ERMarkers = {\n ONLY_ONE_START: 'ONLY_ONE_START',\n ONLY_ONE_END: 'ONLY_ONE_END',\n ZERO_OR_ONE_START: 'ZERO_OR_ONE_START',\n ZERO_OR_ONE_END: 'ZERO_OR_ONE_END',\n ONE_OR_MORE_START: 'ONE_OR_MORE_START',\n ONE_OR_MORE_END: 'ONE_OR_MORE_END',\n ZERO_OR_MORE_START: 'ZERO_OR_MORE_START',\n ZERO_OR_MORE_END: 'ZERO_OR_MORE_END'\n};\n/**\n * Put the markers into the svg DOM for later use with edge paths\n */\n\nvar insertMarkers = function insertMarkers(elem, conf) {\n var marker;\n elem.append('defs').append('marker').attr('id', ERMarkers.ONLY_ONE_START).attr('refX', 0).attr('refY', 9).attr('markerWidth', 18).attr('markerHeight', 18).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M9,0 L9,18 M15,0 L15,18');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONLY_ONE_END).attr('refX', 18).attr('refY', 9).attr('markerWidth', 18).attr('markerHeight', 18).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M3,0 L3,18 M9,0 L9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_ONE_START).attr('refX', 0).attr('refY', 9).attr('markerWidth', 30).attr('markerHeight', 18).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 21).attr('cy', 9).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M9,0 L9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_ONE_END).attr('refX', 30).attr('refY', 9).attr('markerWidth', 30).attr('markerHeight', 18).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 9).attr('cy', 9).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M21,0 L21,18');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONE_OR_MORE_START).attr('refX', 18).attr('refY', 18).attr('markerWidth', 45).attr('markerHeight', 36).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONE_OR_MORE_END).attr('refX', 27).attr('refY', 18).attr('markerWidth', 45).attr('markerHeight', 36).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_MORE_START).attr('refX', 18).attr('refY', 18).attr('markerWidth', 57).attr('markerHeight', 36).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 48).attr('cy', 18).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M0,18 Q18,0 36,18 Q18,36 0,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_MORE_END).attr('refX', 39).attr('refY', 18).attr('markerWidth', 57).attr('markerHeight', 36).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 9).attr('cy', 18).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M21,18 Q39,0 57,18 Q39,36 21,18');\n return;\n};\n\nexport default {\n ERMarkers: ERMarkers,\n insertMarkers: insertMarkers\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/svgDraw.js", "name": "./src/diagrams/user-journey/svgDraw.js", "index": 923, "index2": 920, "size": 9389, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/user-journey/journeyRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "name": "./src/diagrams/user-journey/journeyRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1120, "building": 474, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "57:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "64:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "76:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "227:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "249:4-11" } ], "usedExports": [ "default" ], "providedExports": [ "drawRect", "drawFace", "drawCircle", "drawText", "drawLabel", "drawSection", "drawTask", "drawBackgroundRect", "getTextObj", "getNoteRect", "default" ], "optimizationBailout": [], "depth": 3, "source": "import { arc as d3arc } from 'd3';\nexport var drawRect = function drawRect(elem, rectData) {\n var rectElem = elem.append('rect');\n rectElem.attr('x', rectData.x);\n rectElem.attr('y', rectData.y);\n rectElem.attr('fill', rectData.fill);\n rectElem.attr('stroke', rectData.stroke);\n rectElem.attr('width', rectData.width);\n rectElem.attr('height', rectData.height);\n rectElem.attr('rx', rectData.rx);\n rectElem.attr('ry', rectData.ry);\n\n if (typeof rectData.class !== 'undefined') {\n rectElem.attr('class', rectData.class);\n }\n\n return rectElem;\n};\nexport var drawFace = function drawFace(element, faceData) {\n var radius = 15;\n var circleElement = element.append('circle').attr('cx', faceData.cx).attr('cy', faceData.cy).attr('fill', '#FFF8DC').attr('stroke', '#999').attr('r', radius).attr('stroke-width', 2).attr('overflow', 'visible');\n var face = element.append('g'); //left eye\n\n face.append('circle').attr('cx', faceData.cx - radius / 3).attr('cy', faceData.cy - radius / 3).attr('r', 1.5).attr('stroke-width', 2).attr('fill', '#666').attr('stroke', '#666'); //right eye\n\n face.append('circle').attr('cx', faceData.cx + radius / 3).attr('cy', faceData.cy - radius / 3).attr('r', 1.5).attr('stroke-width', 2).attr('fill', '#666').attr('stroke', '#666');\n\n function smile(face) {\n var arc = d3arc().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2); //mouth\n\n face.append('path').attr('d', arc).attr('transform', 'translate(' + faceData.cx + ',' + (faceData.cy + 2) + ')');\n }\n\n function sad(face) {\n var arc = d3arc().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2); //mouth\n\n face.append('path').attr('d', arc).attr('transform', 'translate(' + faceData.cx + ',' + (faceData.cy + 7) + ')');\n }\n\n function ambivalent(face) {\n face.append('line').attr('stroke', 2).attr('x1', faceData.cx - 5).attr('y1', faceData.cy + 7).attr('x2', faceData.cx + 5).attr('y2', faceData.cy + 7).attr('class', 'task-line').attr('stroke-width', '1px').attr('stroke', '#666');\n }\n\n if (faceData.score > 3) {\n smile(face);\n } else if (faceData.score < 3) {\n sad(face);\n } else {\n ambivalent(face);\n }\n\n return circleElement;\n};\nexport var drawCircle = function drawCircle(element, circleData) {\n var circleElement = element.append('circle');\n circleElement.attr('cx', circleData.cx);\n circleElement.attr('cy', circleData.cy);\n circleElement.attr('fill', circleData.fill);\n circleElement.attr('stroke', circleData.stroke);\n circleElement.attr('r', circleData.r);\n\n if (typeof circleElement.class !== 'undefined') {\n circleElement.attr('class', circleElement.class);\n }\n\n if (typeof circleData.title !== 'undefined') {\n circleElement.append('title').text(circleData.title);\n }\n\n return circleElement;\n};\nexport var drawText = function drawText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(//gi, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.attr('fill', textData.fill);\n textElem.style('text-anchor', textData.anchor);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.text(nText);\n return textElem;\n};\nexport var drawLabel = function drawLabel(elem, txtObject) {\n function genPoints(x, y, width, height, cut) {\n return x + ',' + y + ' ' + (x + width) + ',' + y + ' ' + (x + width) + ',' + (y + height - cut) + ' ' + (x + width - cut * 1.2) + ',' + (y + height) + ' ' + x + ',' + (y + height);\n }\n\n var polygon = elem.append('polygon');\n polygon.attr('points', genPoints(txtObject.x, txtObject.y, 50, 20, 7));\n polygon.attr('class', 'labelBox');\n txtObject.y = txtObject.y + txtObject.labelMargin;\n txtObject.x = txtObject.x + 0.5 * txtObject.labelMargin;\n drawText(elem, txtObject);\n};\nexport var drawSection = function drawSection(elem, section, conf) {\n var g = elem.append('g');\n var rect = getNoteRect();\n rect.x = section.x;\n rect.y = section.y;\n rect.fill = section.fill;\n rect.width = conf.width;\n rect.height = conf.height;\n rect.class = 'journey-section';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n\n _drawTextCandidateFunc(conf)(section.text, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'journey-section'\n }, conf, section.colour);\n};\nvar taskCount = -1;\n/**\n * Draws an actor in the diagram with the attaced line\n * @param elem The HTML element\n * @param task The task to render\n * @param conf The global configuration\n */\n\nexport var drawTask = function drawTask(elem, task, conf) {\n var center = task.x + conf.width / 2;\n var g = elem.append('g');\n taskCount++;\n var maxHeight = 300 + 5 * 30;\n g.append('line').attr('id', 'task' + taskCount).attr('x1', center).attr('y1', task.y).attr('x2', center).attr('y2', maxHeight).attr('class', 'task-line').attr('stroke-width', '1px').attr('stroke-dasharray', '4 2').attr('stroke', '#666');\n drawFace(g, {\n cx: center,\n cy: 300 + (5 - task.score) * 30,\n score: task.score\n });\n var rect = getNoteRect();\n rect.x = task.x;\n rect.y = task.y;\n rect.fill = task.fill;\n rect.width = conf.width;\n rect.height = conf.height;\n rect.class = 'task';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n var xPos = task.x + 14;\n task.people.forEach(function (person) {\n var colour = task.actors[person];\n var circle = {\n cx: xPos,\n cy: task.y,\n r: 7,\n fill: colour,\n stroke: '#000',\n title: person\n };\n drawCircle(g, circle);\n xPos += 10;\n });\n\n _drawTextCandidateFunc(conf)(task.task, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'task'\n }, conf, task.colour);\n};\n/**\n * Draws a background rectangle\n * @param elem The html element\n * @param bounds The bounds of the drawing\n */\n\nexport var drawBackgroundRect = function drawBackgroundRect(elem, bounds) {\n var rectElem = drawRect(elem, {\n x: bounds.startx,\n y: bounds.starty,\n width: bounds.stopx - bounds.startx,\n height: bounds.stopy - bounds.starty,\n fill: bounds.fill,\n class: 'rect'\n });\n rectElem.lower();\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n 'text-anchor': 'start',\n width: 100,\n height: 100,\n textMargin: 0,\n rx: 0,\n ry: 0\n };\n};\nexport var getNoteRect = function getNoteRect() {\n return {\n x: 0,\n y: 0,\n width: 100,\n anchor: 'start',\n height: 100,\n rx: 0,\n ry: 0\n };\n};\n\nvar _drawTextCandidateFunc = function () {\n function byText(content, g, x, y, width, height, textAttrs, colour) {\n var text = g.append('text').attr('x', x + width / 2).attr('y', y + height / 2 + 5).style('font-color', colour).style('text-anchor', 'middle').text(content);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function byTspan(content, g, x, y, width, height, textAttrs, conf, colour) {\n var taskFontSize = conf.taskFontSize,\n taskFontFamily = conf.taskFontFamily;\n var lines = content.split(//gi);\n\n for (var i = 0; i < lines.length; i++) {\n var dy = i * taskFontSize - taskFontSize * (lines.length - 1) / 2;\n var text = g.append('text').attr('x', x + width / 2).attr('y', y).attr('fill', colour).style('text-anchor', 'middle').style('font-size', taskFontSize).style('font-family', taskFontFamily);\n text.append('tspan').attr('x', x + width / 2).attr('dy', dy).text(lines[i]);\n text.attr('y', y + height / 2.0).attr('dominant-baseline', 'central').attr('alignment-baseline', 'central');\n\n _setTextAttrs(text, textAttrs);\n }\n }\n\n function byFo(content, g, x, y, width, height, textAttrs, conf, colour) {\n var body = g.append('switch');\n var f = body.append('foreignObject').attr('x', x).attr('y', y).attr('width', width).attr('height', height).attr('position', 'fixed');\n var text = f.append('div').style('display', 'table').style('height', '100%').style('width', '100%');\n text.append('div').style('display', 'table-cell').style('text-align', 'center').style('vertical-align', 'middle').style('color', colour).text(content);\n byTspan(content, body, x, y, width, height, textAttrs, conf);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function _setTextAttrs(toText, fromTextAttrsDict) {\n for (var key in fromTextAttrsDict) {\n if (key in fromTextAttrsDict) {\n // eslint-disable-line\n // noinspection JSUnfilteredForInLoop\n toText.attr(key, fromTextAttrsDict[key]);\n }\n }\n }\n\n return function (conf) {\n return conf.textPlacement === 'fo' ? byFo : conf.textPlacement === 'old' ? byText : byTspan;\n };\n}();\n\nvar initGraphics = function initGraphics(graphics) {\n graphics.append('defs').append('marker').attr('id', 'arrowhead').attr('refX', 5).attr('refY', 2).attr('markerWidth', 6).attr('markerHeight', 4).attr('orient', 'auto').append('path').attr('d', 'M 0,0 V 4 L6,2 Z'); // this is actual shape for arrowhead\n};\n\nexport default {\n drawRect: drawRect,\n drawCircle: drawCircle,\n drawSection: drawSection,\n drawText: drawText,\n drawLabel: drawLabel,\n drawTask: drawTask,\n drawBackgroundRect: drawBackgroundRect,\n getTextObj: getTextObj,\n getNoteRect: getNoteRect,\n initGraphics: initGraphics\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "name": "./src/dagre-wrapper/markers.js", "index": 907, "index2": 903, "size": 6123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./markers", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./markers", "loc": "125:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\nimport { logger } from '../logger'; // Only add the number of markers that the diagram needs\n\nvar insertMarkers = function insertMarkers(elem, markerArray, type, id) {\n markerArray.forEach(function (markerName) {\n markers[markerName](elem, type, id);\n });\n};\n\nvar extension = function extension(elem, type, id) {\n logger.trace('Making markers for ', id);\n elem.append('defs').append('marker').attr('id', type + '-extensionStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 1,7 L18,13 V 1 Z');\n elem.append('defs').append('marker').attr('id', type + '-extensionEnd ' + type).attr('class', 'marker extension ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 1,1 V 13 L18,7 Z'); // this is actual shape for arrowhead\n};\n\nvar composition = function composition(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-compositionStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-compositionEnd').attr('class', 'marker extension ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n};\n\nvar aggregation = function aggregation(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-aggregationStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-aggregationEnd').attr('class', 'marker ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n};\n\nvar dependency = function dependency(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-dependencyStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 5,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-dependencyEnd').attr('class', 'marker ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L14,7 L9,1 Z');\n};\n\nvar point = function point(elem, type) {\n elem.append('marker').attr('id', type + '-pointEnd').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 12).attr('markerHeight', 12).attr('orient', 'auto').append('path').attr('d', 'M 0 0 L 10 5 L 0 10 z').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-pointStart').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 0).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 12).attr('markerHeight', 12).attr('orient', 'auto').append('path').attr('d', 'M 0 5 L 10 10 L 10 0 z').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n};\n\nvar circle = function circle(elem, type) {\n elem.append('marker').attr('id', type + '-circleEnd').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 11).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('circle').attr('cx', '5').attr('cy', '5').attr('r', '5').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-circleStart').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', -1).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('circle').attr('cx', '5').attr('cy', '5').attr('r', '5').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n};\n\nvar cross = function cross(elem, type) {\n elem.append('marker').attr('id', type + '-crossEnd').attr('class', 'marker cross ' + type).attr('viewBox', '0 0 11 11').attr('refX', 12).attr('refY', 5.2).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('path') // .attr('stroke', 'black')\n .attr('d', 'M 1,1 l 9,9 M 10,1 l -9,9').attr('class', 'arrowMarkerPath').style('stroke-width', 2).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-crossStart').attr('class', 'marker cross ' + type).attr('viewBox', '0 0 11 11').attr('refX', -1).attr('refY', 5.2).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('path') // .attr('stroke', 'black')\n .attr('d', 'M 1,1 l 9,9 M 10,1 l -9,9').attr('class', 'arrowMarkerPath').style('stroke-width', 2).style('stroke-dasharray', '1,0');\n};\n\nvar barb = function barb(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-barbEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 14).attr('markerUnits', 0).attr('orient', 'auto').append('path').attr('d', 'M 19,7 L9,13 L14,7 L9,1 Z');\n}; // TODO rename the class diagram markers to something shape descriptive and semanitc free\n\n\nvar markers = {\n extension: extension,\n composition: composition,\n aggregation: aggregation,\n dependency: dependency,\n point: point,\n circle: circle,\n cross: cross,\n barb: barb\n};\nexport default insertMarkers;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "name": "./src/dagre-wrapper/shapes/util.js", "index": 893, "index2": 890, "size": 1604, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "./util", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/util", "loc": "4:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/util", "loc": "5:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "./util", "loc": "7:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "11:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "./util", "loc": "16:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "32:21-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "33:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "44:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "53:6-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "71:12-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "72:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "82:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "104:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "105:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "115:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "134:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "135:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "145:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "164:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "165:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "175:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "194:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "195:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "205:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "224:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "225:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "235:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "257:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "258:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "268:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "278:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "301:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "310:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "380:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "390:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "398:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "408:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "417:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "428:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "465:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "466:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "480:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "500:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "517:2-18" } ], "usedExports": [ "updateNodeBounds", "labelHelper", "insertPolygonShape" ], "providedExports": [ "labelHelper", "updateNodeBounds", "insertPolygonShape" ], "optimizationBailout": [], "depth": 4, "source": "import createLabel from '../createLabel';\nimport { getConfig } from '../../config';\nimport { select } from 'd3';\nexport var labelHelper = function labelHelper(parent, node, _classes, isNode) {\n var classes;\n\n if (!_classes) {\n classes = 'node default';\n } else {\n classes = _classes;\n } // Add outer g element\n\n\n var shapeSvg = parent.insert('g').attr('class', classes).attr('id', node.id); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'label');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, false, isNode)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n var halfPadding = node.padding / 2; // Center the label\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + -bbox.height / 2 + ')');\n return {\n shapeSvg: shapeSvg,\n bbox: bbox,\n halfPadding: halfPadding,\n label: label\n };\n};\nexport var updateNodeBounds = function updateNodeBounds(node, element) {\n var bbox = element.node().getBBox();\n node.width = bbox.width;\n node.height = bbox.height;\n};\nexport function insertPolygonShape(parent, w, h, points) {\n return parent.insert('polygon', ':first-child').attr('points', points.map(function (d) {\n return d.x + ',' + d.y;\n }).join(' ')).attr('class', 'label-container').attr('transform', 'translate(' + -w / 2 + ',' + h / 2 + ')');\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "name": "./src/dagre-wrapper/mermaid-graphlib.js", "index": 904, "index2": 900, "size": 11877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./mermaid-graphlib", "loc": "5:0-116" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "61:18-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "62:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "63:14-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:21-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:68-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:84-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "108:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "118:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "129:2-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "131:2-24" } ], "usedExports": [ "findNonClusterChild", "clusterDb", "clear", "adjustClustersAndEdges" ], "providedExports": [ "clusterDb", "clear", "extractDecendants", "validate", "findNonClusterChild", "adjustClustersAndEdges", "extractor" ], "optimizationBailout": [], "depth": 4, "source": "/**\n * Decorates with functions required by mermaids dagre-wrapper.\n */\nimport { logger as log } from '../logger';\nimport graphlib from 'graphlib';\nexport var clusterDb = {};\nvar decendants = {};\nvar parents = {};\nexport var clear = function clear() {\n decendants = {};\n parents = {};\n clusterDb = {};\n};\n\nvar isDecendant = function isDecendant(id, ancenstorId) {\n // if (id === ancenstorId) return true;\n log.debug('In isDecendant', ancenstorId, ' ', id, ' = ', decendants[ancenstorId].indexOf(id) >= 0);\n if (decendants[ancenstorId].indexOf(id) >= 0) return true;\n return false;\n};\n\nvar edgeInCluster = function edgeInCluster(edge, clusterId) {\n log.info('Decendants of ', clusterId, ' is ', decendants[clusterId]);\n log.info('Edge is ', edge); // Edges to/from the cluster is not in the cluster, they are in the parent\n\n if (edge.v === clusterId) return false;\n if (edge.w === clusterId) return false;\n\n if (!decendants[clusterId]) {\n log.debug('Tilt, ', clusterId, ',not in decendants');\n return false;\n }\n\n log.info('Here ');\n if (decendants[clusterId].indexOf(edge.v) >= 0) return true;\n if (isDecendant(edge.v, clusterId)) return true;\n if (isDecendant(edge.w, clusterId)) return true;\n if (decendants[clusterId].indexOf(edge.w) >= 0) return true;\n return false;\n};\n\nvar copy = function copy(clusterId, graph, newGraph, rootId) {\n log.info('Copying children of ', clusterId, 'root', rootId, 'data', graph.node(clusterId), rootId);\n var nodes = graph.children(clusterId) || []; // Include cluster node if it is not the root\n\n if (clusterId !== rootId) {\n nodes.push(clusterId);\n }\n\n log.debug('Copying (nodes) clusterId', clusterId, 'nodes', nodes);\n nodes.forEach(function (node) {\n if (graph.children(node).length > 0) {\n copy(node, graph, newGraph, rootId);\n } else {\n var data = graph.node(node);\n log.info('cp ', node, ' to ', rootId, ' with parent ', clusterId); //,node, data, ' parent is ', clusterId);\n\n newGraph.setNode(node, data);\n log.debug('Setting parent', node, graph.parent(node));\n\n if (rootId !== graph.parent(node)) {\n newGraph.setParent(node, graph.parent(node));\n }\n\n if (clusterId !== rootId && node !== clusterId) {\n log.debug('Setting parent', node, clusterId);\n newGraph.setParent(node, clusterId);\n } else {\n log.info('In copy ', clusterId, 'root', rootId, 'data', graph.node(clusterId), rootId);\n log.debug('Not Setting parent for node=', node, 'cluster!==rootId', clusterId !== rootId, 'node!==clusterId', node !== clusterId);\n }\n\n var edges = graph.edges(node);\n log.debug('Copying Edges', edges);\n edges.forEach(function (edge) {\n log.info('Edge', edge);\n var data = graph.edge(edge.v, edge.w, edge.name);\n log.info('Edge data', data, rootId);\n\n try {\n // Do not copy edges in and out of the root cluster, they belong to the parent graph\n if (edgeInCluster(edge, rootId)) {\n log.info('Copying as ', edge.v, edge.w, data, edge.name);\n newGraph.setEdge(edge.v, edge.w, data, edge.name);\n log.info('newGraph edges ', newGraph.edges(), newGraph.edge(newGraph.edges()[0]));\n } else {\n log.info('Skipping copy of edge ', edge.v, '-->', edge.w, ' rootId: ', rootId, ' clusterId:', clusterId);\n }\n } catch (e) {\n log.error(e);\n }\n });\n }\n\n log.debug('Removing node', node);\n graph.removeNode(node);\n });\n};\n\nexport var extractDecendants = function extractDecendants(id, graph) {\n // log.debug('Extracting ', id);\n var children = graph.children(id);\n var res = [].concat(children);\n\n for (var i = 0; i < children.length; i++) {\n parents[children[i]] = id;\n res = res.concat(extractDecendants(children[i], graph));\n }\n\n return res;\n};\n/**\n * Validates the graph, checking that all parent child relation points to existing nodes and that\n * edges between nodes also ia correct. When not correct the function logs the discrepancies.\n * @param {graphlib graph} g\n */\n\nexport var validate = function validate(graph) {\n var edges = graph.edges();\n log.trace('Edges: ', edges);\n\n for (var i = 0; i < edges.length; i++) {\n if (graph.children(edges[i].v).length > 0) {\n log.trace('The node ', edges[i].v, ' is part of and edge even though it has children');\n return false;\n }\n\n if (graph.children(edges[i].w).length > 0) {\n log.trace('The node ', edges[i].w, ' is part of and edge even though it has children');\n return false;\n }\n }\n\n return true;\n};\n/**\n * Finds a child that is not a cluster. When faking a edge between a node and a cluster.\n * @param {Finds a } id\n * @param {*} graph\n */\n\nexport var findNonClusterChild = function findNonClusterChild(id, graph) {\n // const node = graph.node(id);\n log.trace('Searching', id); // const children = graph.children(id).reverse();\n\n var children = graph.children(id); //.reverse();\n\n log.trace('Searching children of id ', id, children);\n\n if (children.length < 1) {\n log.trace('This is a valid node', id);\n return id;\n }\n\n for (var i = 0; i < children.length; i++) {\n var _id = findNonClusterChild(children[i], graph);\n\n if (_id) {\n log.trace('Found replacement for', id, ' => ', _id);\n return _id;\n }\n }\n};\n\nvar getAnchorId = function getAnchorId(id) {\n if (!clusterDb[id]) {\n return id;\n } // If the cluster has no external connections\n\n\n if (!clusterDb[id].externalConnections) {\n return id;\n } // Return the replacement node\n\n\n if (clusterDb[id]) {\n return clusterDb[id].id;\n }\n\n return id;\n};\n\nexport var adjustClustersAndEdges = function adjustClustersAndEdges(graph, depth) {\n if (!graph || depth > 10) {\n log.debug('Opting out, no graph ');\n return;\n } else {\n log.debug('Opting in, graph ');\n } // Go through the nodes and for each cluster found, save a replacment node, this can be used when\n // faking a link to a cluster\n\n\n graph.nodes().forEach(function (id) {\n var children = graph.children(id);\n\n if (children.length > 0) {\n log.warn('Cluster identified', id, ' Replacement id in edges: ', findNonClusterChild(id, graph));\n decendants[id] = extractDecendants(id, graph);\n clusterDb[id] = {\n id: findNonClusterChild(id, graph),\n clusterData: graph.node(id)\n };\n }\n }); // Check incoming and outgoing edges for each cluster\n\n graph.nodes().forEach(function (id) {\n var children = graph.children(id);\n var edges = graph.edges();\n\n if (children.length > 0) {\n log.debug('Cluster identified', id, decendants);\n edges.forEach(function (edge) {\n // log.debug('Edge, decendants: ', edge, decendants[id]);\n // Check if any edge leaves the cluster (not the actual cluster, thats a link from the box)\n if (edge.v !== id && edge.w !== id) {\n // Any edge where either the one of the nodes is decending to the cluster but not the other\n // if (decendants[id].indexOf(edge.v) < 0 && decendants[id].indexOf(edge.w) < 0) {\n var d1 = isDecendant(edge.v, id);\n var d2 = isDecendant(edge.w, id); // d1 xor d2 - if either d1 is true and d2 is false or the other way around\n\n if (d1 ^ d2) {\n log.debug('Edge: ', edge, ' leaves cluster ', id);\n log.debug('Decendants of ', id, ': ', decendants[id]);\n clusterDb[id].externalConnections = true;\n }\n }\n });\n }\n });\n extractor(graph, 0); // For clusters with incoming and/or outgoing edges translate those edges to a real node\n // in the cluster inorder to fake the edge\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e);\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(graph.edge(e)));\n var v = e.v;\n var w = e.w; // Check if link is either from or to a cluster\n\n log.trace('Fix', clusterDb, 'ids:', e.v, e.w, 'Translateing: ', clusterDb[e.v], clusterDb[e.w]);\n\n if (clusterDb[e.v] || clusterDb[e.w]) {\n log.warn('Fixing and trixing - removing', e.v, e.w, e.name);\n v = getAnchorId(e.v);\n w = getAnchorId(e.w);\n graph.removeEdge(e.v, e.w, e.name);\n if (v !== e.v) edge.fromCluster = e.v;\n if (w !== e.w) edge.toCluster = e.w;\n log.warn('Replacing with', v, w, e.name);\n graph.setEdge(v, w, edge, e.name);\n }\n });\n log.warn('Adjusted Graph', graphlib.json.write(graph));\n log.trace(clusterDb); // Remove references to extracted cluster\n // graph.edges().forEach(edge => {\n // if (isDecendant(edge.v, clusterId) || isDecendant(edge.w, clusterId)) {\n // graph.removeEdge(edge);\n // }\n // });\n};\nexport var extractor = function extractor(graph, depth) {\n log.debug('extractor - ', depth, graphlib.json.write(graph), graph.children('D'));\n\n if (depth > 10) {\n log.error('Bailing out');\n return;\n } // For clusters without incoming and/or outgoing edges, create a new cluster-node\n // containing the nodes and edges in the custer in a new graph\n // for (let i = 0;)\n\n\n var nodes = graph.nodes();\n var hasChildren = false;\n\n for (var i = 0; i < nodes.length; i++) {\n var node = nodes[i];\n var children = graph.children(node);\n hasChildren = hasChildren || children.length > 0;\n }\n\n if (!hasChildren) {\n log.debug('Done, no node has children', graph.nodes());\n return;\n } // const clusters = Object.keys(clusterDb);\n // clusters.forEach(clusterId => {\n\n\n log.debug('Nodes = ', nodes, depth);\n\n for (var _i = 0; _i < nodes.length; _i++) {\n var _node = nodes[_i];\n log.debug('Extracting node', _node, clusterDb, clusterDb[_node] && !clusterDb[_node].externalConnections, !graph.parent(_node), graph.node(_node), graph.children('D'), ' Depth ', depth); // Note that the node might have been removed after the Object.keys call so better check\n // that it still is in the game\n\n if (!clusterDb[_node]) {\n // Skip if the node is not a cluster\n log.debug('Not a cluster', _node, depth); // break;\n } else if (!clusterDb[_node].externalConnections && !graph.parent(_node) && graph.children(_node) && graph.children(_node).length > 0) {\n log.debug('Cluster without external connections, without a parent and with children', _node, depth);\n var graphSettings = graph.graph();\n var clusterGraph = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: graphSettings.rankdir === 'TB' ? 'LR' : 'TB',\n // Todo: set proper spacing\n nodesep: 50,\n ranksep: 50,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n log.debug('Old graph before copy', graphlib.json.write(graph));\n copy(_node, graph, clusterGraph, _node);\n graph.setNode(_node, {\n clusterNode: true,\n id: _node,\n clusterData: clusterDb[_node].clusterData,\n labelText: clusterDb[_node].labelText,\n graph: clusterGraph\n });\n log.debug('New graph after copy', graphlib.json.write(clusterGraph));\n log.debug('Old graph after copy', graphlib.json.write(graph));\n } else {\n log.debug('Cluster ** ', _node, ' **not meeting the criteria !externalConnections:', !clusterDb[_node].externalConnections, ' no parent: ', !graph.parent(_node), ' children ', graph.children(_node) && graph.children(_node).length > 0, graph.children('D'), depth);\n log.debug(clusterDb);\n }\n }\n\n nodes = graph.nodes();\n log.debug('New list of nodes', nodes);\n\n for (var _i2 = 0; _i2 < nodes.length; _i2++) {\n var _node2 = nodes[_i2];\n var data = graph.node(_node2);\n log.debug(' Now next leveö', _node2, data);\n\n if (data.clusterNode) {\n extractor(data.graph, depth + 1);\n }\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "index": 895, "index2": 899, "size": 15504, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./nodes", "loc": "6:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "54:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "68:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "101:6-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "110:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "126:2-12" } ], "usedExports": [ "setNodeElem", "insertNode", "positionNode", "clear" ], "providedExports": [ "insertNode", "setNodeElem", "clear", "positionNode" ], "optimizationBailout": [], "depth": 4, "source": "import intersect from './intersect/index.js';\nimport { select } from 'd3';\nimport { logger } from '../logger'; // eslint-disable-line\n\nimport { labelHelper, updateNodeBounds, insertPolygonShape } from './shapes/util';\nimport { getConfig } from '../config';\nimport createLabel from './createLabel';\nimport note from './shapes/note';\n\nvar question = function question(parent, node) {\n var _labelHelper = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper.shapeSvg,\n bbox = _labelHelper.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var s = w + h;\n var points = [{\n x: s / 2,\n y: 0\n }, {\n x: s,\n y: -s / 2\n }, {\n x: s / 2,\n y: -s\n }, {\n x: 0,\n y: -s / 2\n }];\n logger.info('Question main (Circle)');\n var questionElem = insertPolygonShape(shapeSvg, s, s, points);\n updateNodeBounds(node, questionElem);\n\n node.intersect = function (point) {\n logger.warn('Intersect called');\n return intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n};\n\nvar hexagon = function hexagon(parent, node) {\n var _labelHelper2 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper2.shapeSvg,\n bbox = _labelHelper2.bbox;\n\n var f = 4;\n var h = bbox.height + node.padding;\n var m = h / f;\n var w = bbox.width + 2 * m + node.padding;\n var points = [{\n x: m,\n y: 0\n }, {\n x: w - m,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w - m,\n y: -h\n }, {\n x: m,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var hex = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, hex);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rect_left_inv_arrow = function rect_left_inv_arrow(parent, node) {\n var _labelHelper3 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper3.shapeSvg,\n bbox = _labelHelper3.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -h / 2,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: -h / 2,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar lean_right = function lean_right(parent, node) {\n var _labelHelper4 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper4.shapeSvg,\n bbox = _labelHelper4.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar lean_left = function lean_left(parent, node) {\n var _labelHelper5 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper5.shapeSvg,\n bbox = _labelHelper5.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 2 * h / 6,\n y: 0\n }, {\n x: w + h / 6,\n y: 0\n }, {\n x: w - 2 * h / 6,\n y: -h\n }, {\n x: -h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar trapezoid = function trapezoid(parent, node) {\n var _labelHelper6 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper6.shapeSvg,\n bbox = _labelHelper6.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar inv_trapezoid = function inv_trapezoid(parent, node) {\n var _labelHelper7 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper7.shapeSvg,\n bbox = _labelHelper7.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: -2 * h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rect_right_inv_arrow = function rect_right_inv_arrow(parent, node) {\n var _labelHelper8 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper8.shapeSvg,\n bbox = _labelHelper8.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w + h / 2,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w + h / 2,\n y: -h\n }, {\n x: 0,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar cylinder = function cylinder(parent, node) {\n var _labelHelper9 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper9.shapeSvg,\n bbox = _labelHelper9.bbox;\n\n var w = bbox.width + node.padding;\n var rx = w / 2;\n var ry = rx / (2.5 + w / 50);\n var h = bbox.height + ry + node.padding;\n var shape = 'M 0,' + ry + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 a ' + rx + ',' + ry + ' 0,0,0 ' + -w + ' 0 l 0,' + h + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 l 0,' + -h;\n var el = shapeSvg.attr('label-offset-y', ry).insert('path', ':first-child').attr('d', shape).attr('transform', 'translate(' + -w / 2 + ',' + -(h / 2 + ry) + ')');\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n var pos = intersect.rect(node, point);\n var x = pos.x - node.x;\n\n if (rx != 0 && (Math.abs(x) < node.width / 2 || Math.abs(x) == node.width / 2 && Math.abs(pos.y - node.y) > node.height / 2 - ry)) {\n // ellipsis equation: x*x / a*a + y*y / b*b = 1\n // solve for y to get adjustion value for pos.y\n var y = ry * ry * (1 - x * x / (rx * rx));\n if (y != 0) y = Math.sqrt(y);\n y = ry - y;\n if (point.y - node.y > 0) y = -y;\n pos.y += y;\n }\n\n return pos;\n };\n\n return shapeSvg;\n};\n\nvar rect = function rect(parent, node) {\n var _labelHelper10 = labelHelper(parent, node, 'node ' + node.classes, true),\n shapeSvg = _labelHelper10.shapeSvg,\n bbox = _labelHelper10.bbox,\n halfPadding = _labelHelper10.halfPadding;\n\n logger.trace('Classes = ', node.classes); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n rect.attr('class', 'basic label-container').attr('rx', node.rx).attr('ry', node.ry).attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rectWithTitle = function rectWithTitle(parent, node) {\n // const { shapeSvg, bbox, halfPadding } = labelHelper(parent, node, 'node ' + node.classes);\n var classes;\n\n if (!node.classes) {\n classes = 'node default';\n } else {\n classes = 'node ' + node.classes;\n } // Add outer g element\n\n\n var shapeSvg = parent.insert('g').attr('class', classes).attr('id', node.id); // Create the title label and insert it after the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // const innerRect = shapeSvg.insert('rect');\n\n var innerLine = shapeSvg.insert('line');\n var label = shapeSvg.insert('g').attr('class', 'label');\n var text2 = node.labelText.flat();\n logger.info('Label text', text2[0]);\n var text = label.node().appendChild(createLabel(text2[0], node.labelStyle, true, true));\n var bbox;\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n logger.info('Text 2', text2);\n var textRows = text2.slice(1, text2.length);\n var titleBox = text.getBBox();\n var descr = label.node().appendChild(createLabel(textRows.join('
'), node.labelStyle, true, true));\n\n if (getConfig().flowchart.htmlLabels) {\n var _div = descr.children[0];\n\n var _dv = select(descr);\n\n bbox = _div.getBoundingClientRect();\n\n _dv.attr('width', bbox.width);\n\n _dv.attr('height', bbox.height);\n } // bbox = label.getBBox();\n // logger.info(descr);\n\n\n var halfPadding = node.padding / 2;\n select(descr).attr('transform', 'translate( ' + ( // (titleBox.width - bbox.width) / 2 +\n bbox.width > titleBox.width ? 0 : (titleBox.width - bbox.width) / 2) + ', ' + (titleBox.height + halfPadding + 5) + ')');\n select(text).attr('transform', 'translate( ' + ( // (titleBox.width - bbox.width) / 2 +\n bbox.width < titleBox.width ? 0 : -(titleBox.width - bbox.width) / 2) + ', ' + 0 + ')'); // Get the size of the label\n // Bounding box for title and text\n\n bbox = label.node().getBBox(); // Center the label\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + (-bbox.height / 2 - halfPadding + 3) + ')');\n rect.attr('class', 'outer title-state').attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n innerLine.attr('class', 'divider').attr('x1', -bbox.width / 2 - halfPadding).attr('x2', bbox.width / 2 + halfPadding).attr('y1', -bbox.height / 2 - halfPadding + titleBox.height + halfPadding).attr('y2', -bbox.height / 2 - halfPadding + titleBox.height + halfPadding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar stadium = function stadium(parent, node) {\n var _labelHelper11 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper11.shapeSvg,\n bbox = _labelHelper11.bbox;\n\n var h = bbox.height + node.padding;\n var w = bbox.width + h / 4 + node.padding; // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child').attr('rx', h / 2).attr('ry', h / 2).attr('x', -w / 2).attr('y', -h / 2).attr('width', w).attr('height', h);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar circle = function circle(parent, node) {\n var _labelHelper12 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper12.shapeSvg,\n bbox = _labelHelper12.bbox,\n halfPadding = _labelHelper12.halfPadding;\n\n var circle = shapeSvg.insert('circle', ':first-child'); // center the circle around its coordinate\n\n circle.attr('rx', node.rx).attr('ry', node.ry).attr('r', bbox.width / 2 + halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n logger.info('Circle main');\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n logger.info('Circle intersect', node, bbox.width / 2 + halfPadding, point);\n return intersect.circle(node, bbox.width / 2 + halfPadding, point);\n };\n\n return shapeSvg;\n};\n\nvar subroutine = function subroutine(parent, node) {\n var _labelHelper13 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper13.shapeSvg,\n bbox = _labelHelper13.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: 0,\n y: -h\n }, {\n x: 0,\n y: 0\n }, {\n x: -8,\n y: 0\n }, {\n x: w + 8,\n y: 0\n }, {\n x: w + 8,\n y: -h\n }, {\n x: -8,\n y: -h\n }, {\n x: -8,\n y: 0\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar start = function start(parent, node) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var circle = shapeSvg.insert('circle', ':first-child'); // center the circle around its coordinate\n\n circle.attr('class', 'state-start').attr('r', 7).attr('width', 14).attr('height', 14);\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n return intersect.circle(node, 7, point);\n };\n\n return shapeSvg;\n};\n\nvar forkJoin = function forkJoin(parent, node, dir) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var width = 70;\n var height = 10;\n\n if (dir === 'LR') {\n width = 10;\n height = 70;\n }\n\n var shape = shapeSvg.append('rect').style('stroke', 'black').style('fill', 'black').attr('x', -1 * width / 2).attr('y', -1 * height / 2).attr('width', width).attr('height', height).attr('class', 'fork-join');\n updateNodeBounds(node, shape);\n node.height = node.height + node.padding / 2;\n node.width = node.width + node.padding / 2;\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar end = function end(parent, node) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var innerCircle = shapeSvg.insert('circle', ':first-child');\n var circle = shapeSvg.insert('circle', ':first-child');\n circle.attr('class', 'state-start').attr('r', 7).attr('width', 14).attr('height', 14);\n innerCircle.attr('class', 'state-end').attr('r', 5).attr('width', 10).attr('height', 10);\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n return intersect.circle(node, 7, point);\n };\n\n return shapeSvg;\n};\n\nvar shapes = {\n question: question,\n rect: rect,\n rectWithTitle: rectWithTitle,\n circle: circle,\n stadium: stadium,\n hexagon: hexagon,\n rect_left_inv_arrow: rect_left_inv_arrow,\n lean_right: lean_right,\n lean_left: lean_left,\n trapezoid: trapezoid,\n inv_trapezoid: inv_trapezoid,\n rect_right_inv_arrow: rect_right_inv_arrow,\n cylinder: cylinder,\n start: start,\n end: end,\n note: note,\n subroutine: subroutine,\n fork: forkJoin,\n join: forkJoin\n};\nvar nodeElems = {};\nexport var insertNode = function insertNode(elem, node, dir) {\n nodeElems[node.id] = shapes[node.shape](elem, node, dir);\n};\nexport var setNodeElem = function setNodeElem(elem, node) {\n nodeElems[node.id] = elem;\n};\nexport var clear = function clear() {\n nodeElems = {};\n};\nexport var positionNode = function positionNode(node) {\n var el = nodeElems[node.id];\n logger.trace('Transforming node', node, 'translate(' + (node.x - node.width / 2 - 5) + ', ' + (node.y - node.height / 2 - 5) + ')');\n var padding = 8;\n\n if (node.clusterNode) {\n el.attr('transform', 'translate(' + (node.x - node.width / 2 - padding) + ', ' + (node.y - node.height / 2 - padding) + ')');\n } else {\n el.attr('transform', 'translate(' + node.x + ', ' + node.y + ')');\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "name": "./src/dagre-wrapper/clusters.js", "index": 906, "index2": 902, "size": 5981, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./clusters", "loc": "7:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./clusters", "loc": "107:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./clusters", "loc": "128:2-15" } ], "usedExports": [ "insertCluster", "clear" ], "providedExports": [ "insertCluster", "getClusterTitleWidth", "clear", "positionCluster" ], "optimizationBailout": [], "depth": 4, "source": "import intersectRect from './intersect/intersect-rect';\nimport { logger as log } from '../logger'; // eslint-disable-line\n\nimport createLabel from './createLabel';\nimport { select } from 'd3';\nimport { getConfig } from '../config';\n\nvar rect = function rect(parent, node) {\n log.trace('Creating subgraph rect for ', node.id, node); // Add outer g element\n\n var shapeSvg = parent.insert('g').attr('class', 'cluster').attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'cluster-label');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, undefined, true)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n var padding = 0 * node.padding;\n var halfPadding = padding / 2;\n log.trace('Data ', node, JSON.stringify(node)); // center the rect around its coordinate\n\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding); // Center the label\n\n label.attr('transform', 'translate(' + (node.x - bbox.width / 2) + ', ' + (node.y - node.height / 2 - node.padding / 3 + 3) + ')');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n/**\n * Non visiable cluster where the note is group with its\n */\n\n\nvar noteGroup = function noteGroup(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', 'note-cluster').attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding).attr('fill', 'none');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar roundedWithTitle = function roundedWithTitle(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', node.classes).attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'cluster-label');\n var innerRect = shapeSvg.append('rect');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, undefined, true)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n bbox = text.getBBox();\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('class', 'outer').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding);\n innerRect.attr('class', 'inner').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding + bbox.height - 1).attr('width', node.width + padding).attr('height', node.height + padding - bbox.height - 3); // Center the label\n\n label.attr('transform', 'translate(' + (node.x - bbox.width / 2) + ', ' + (node.y - node.height / 2 - node.padding / 3 + (getConfig().flowchart.htmlLabels ? 5 : 3)) + ')');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar divider = function divider(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', node.classes).attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('class', 'divider').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2).attr('width', node.width + padding).attr('height', node.height + padding);\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar shapes = {\n rect: rect,\n roundedWithTitle: roundedWithTitle,\n noteGroup: noteGroup,\n divider: divider\n};\nvar clusterElems = {};\nexport var insertCluster = function insertCluster(elem, node) {\n log.trace('Inserting cluster');\n var shape = node.shape || 'rect';\n clusterElems[node.id] = shapes[shape](elem, node);\n};\nexport var getClusterTitleWidth = function getClusterTitleWidth(elem, node) {\n var label = createLabel(node.labelText, node.labelStyle, undefined, true);\n elem.node().appendChild(label);\n var width = label.getBBox().width;\n elem.node().removeChild(label);\n return width;\n};\nexport var clear = function clear() {\n clusterElems = {};\n};\nexport var positionCluster = function positionCluster(node) {\n log.info('Position cluster');\n var el = clusterElems[node.id];\n el.attr('transform', 'translate(' + node.x + ', ' + node.y + ')');\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "name": "./src/dagre-wrapper/edges.js", "index": 905, "index2": 901, "size": 10214, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./edges", "loc": "8:0-94" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "82:4-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "118:22-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "119:4-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "127:2-12" } ], "usedExports": [ "insertEdgeLabel", "insertEdge", "positionEdgeLabel", "clear" ], "providedExports": [ "clear", "insertEdgeLabel", "positionEdgeLabel", "intersection", "insertEdge" ], "optimizationBailout": [], "depth": 4, "source": "import { logger } from '../logger'; // eslint-disable-line\n\nimport createLabel from './createLabel';\nimport { line, curveBasis, select } from 'd3';\nimport { getConfig } from '../config';\nimport utils from '../utils'; // import { calcLabelPosition } from '../utils';\n\nvar edgeLabels = {};\nexport var clear = function clear() {\n edgeLabels = {};\n};\nexport var insertEdgeLabel = function insertEdgeLabel(elem, edge) {\n // Create the actual text element\n var labelElement = createLabel(edge.label, edge.labelStyle); // Create outer g, edgeLabel, this will be positioned after graph layout\n\n var edgeLabel = elem.insert('g').attr('class', 'edgeLabel'); // Create inner g, label, this will be positioned now for centering the text\n\n var label = edgeLabel.insert('g').attr('class', 'label');\n label.node().appendChild(labelElement); // Center the label\n\n var bbox = labelElement.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = labelElement.children[0];\n var dv = select(labelElement);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + -bbox.height / 2 + ')'); // Make element accessible by id for positioning\n\n edgeLabels[edge.id] = edgeLabel; // Update the abstract data of the edge with the new information about its width and height\n\n edge.width = bbox.width;\n edge.height = bbox.height;\n};\nexport var positionEdgeLabel = function positionEdgeLabel(edge, points) {\n logger.info('Moving label', edge.id, edge.label, edgeLabels[edge.id]);\n\n if (edge.label) {\n var el = edgeLabels[edge.id];\n var x = edge.x;\n var y = edge.y;\n\n if (points) {\n // debugger;\n var pos = utils.calcLabelPosition(points);\n x = pos.x;\n y = pos.y;\n }\n\n el.attr('transform', 'translate(' + x + ', ' + y + ')');\n }\n}; // const getRelationType = function(type) {\n// switch (type) {\n// case stateDb.relationType.AGGREGATION:\n// return 'aggregation';\n// case stateDb.relationType.EXTENSION:\n// return 'extension';\n// case stateDb.relationType.COMPOSITION:\n// return 'composition';\n// case stateDb.relationType.DEPENDENCY:\n// return 'dependency';\n// }\n// };\n\nvar outsideNode = function outsideNode(node, point) {\n // logger.warn('Checking bounds ', node, point);\n var x = node.x;\n var y = node.y;\n var dx = Math.abs(point.x - x);\n var dy = Math.abs(point.y - y);\n var w = node.width / 2;\n var h = node.height / 2;\n\n if (dx >= w || dy >= h) {\n return true;\n }\n\n return false;\n};\n\nexport var intersection = function intersection(node, outsidePoint, insidePoint) {\n logger.warn('intersection calc o:', outsidePoint, ' i:', insidePoint, node);\n var x = node.x;\n var y = node.y;\n var dx = Math.abs(x - insidePoint.x);\n var w = node.width / 2;\n var r = insidePoint.x < outsidePoint.x ? w - dx : w + dx;\n var h = node.height / 2;\n var edges = {\n x1: x - w,\n x2: x + w,\n y1: y - h,\n y2: y + h\n };\n\n if (outsidePoint.x === edges.x1 || outsidePoint.x === edges.x2 || outsidePoint.y === edges.y1 || outsidePoint.y === edges.y2) {\n // logger.warn('calc equals on edge');\n return outsidePoint;\n }\n\n var Q = Math.abs(outsidePoint.y - insidePoint.y);\n var R = Math.abs(outsidePoint.x - insidePoint.x); // log.warn();\n\n if (Math.abs(y - outsidePoint.y) * w > Math.abs(x - outsidePoint.x) * h) {\n // eslint-disable-line\n // Intersection is top or bottom of rect.\n // let q = insidePoint.y < outsidePoint.y ? outsidePoint.y - h - y : y - h - outsidePoint.y;\n var q = insidePoint.y < outsidePoint.y ? outsidePoint.y - h - y : y - h - outsidePoint.y;\n r = R * q / Q;\n var res = {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x - r,\n y: outsidePoint.y + q\n };\n logger.warn(\"topp/bott calc, Q \".concat(Q, \", q \").concat(q, \", R \").concat(R, \", r \").concat(r), res);\n return res;\n } else {\n // Intersection onn sides of rect\n // q = (Q * r) / R;\n // q = 2;\n // r = (R * q) / Q;\n if (insidePoint.x < outsidePoint.x) {\n r = outsidePoint.x - w - x;\n } else {\n // r = outsidePoint.x - w - x;\n r = x - w - outsidePoint.x;\n }\n\n var _q = _q = Q * r / R;\n\n logger.warn(\"sides calc, Q \".concat(Q, \", q \").concat(_q, \", R \").concat(R, \", r \").concat(r), {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x + dx - w,\n y: insidePoint.y < outsidePoint.y ? insidePoint.y + _q : insidePoint.y - _q\n });\n return {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x + dx - w,\n y: insidePoint.y < outsidePoint.y ? insidePoint.y + _q : insidePoint.y - _q\n };\n }\n}; //(edgePaths, e, edge, clusterDb, diagramtype, graph)\n\nexport var insertEdge = function insertEdge(elem, e, edge, clusterDb, diagramType, graph) {\n var points = edge.points;\n var pointsHasChanged = false;\n var tail = graph.node(e.v);\n var head = graph.node(e.w);\n\n if (head.intersect && tail.intersect) {\n points = points.slice(1, edge.points.length - 1);\n points.unshift(tail.intersect(points[0]));\n logger.info('Last point', points[points.length - 1], head, head.intersect(points[points.length - 1]));\n points.push(head.intersect(points[points.length - 1]));\n }\n\n if (edge.toCluster) {\n logger.trace('edge', edge);\n logger.trace('to cluster', clusterDb[edge.toCluster]);\n points = [];\n var lastPointOutside;\n var isInside = false;\n edge.points.forEach(function (point) {\n var node = clusterDb[edge.toCluster].node;\n\n if (!outsideNode(node, point) && !isInside) {\n logger.trace('inside', edge.toCluster, point, lastPointOutside); // First point inside the rect\n\n var insterection = intersection(node, lastPointOutside, point);\n logger.trace('intersect', insterection);\n points.push(insterection);\n isInside = true;\n } else {\n if (!isInside) points.push(point);\n }\n\n lastPointOutside = point;\n });\n pointsHasChanged = true;\n }\n\n if (edge.fromCluster) {\n logger.trace('edge', edge);\n logger.warn('from cluster', clusterDb[edge.fromCluster]);\n var updatedPoints = [];\n\n var _lastPointOutside;\n\n var _isInside = false;\n\n for (var i = points.length - 1; i >= 0; i--) {\n var point = points[i];\n var node = clusterDb[edge.fromCluster].node;\n\n if (!outsideNode(node, point) && !_isInside) {\n logger.warn('inside', edge.fromCluster, point, node); // First point inside the rect\n\n var insterection = intersection(node, _lastPointOutside, point); // logger.trace('intersect', intersection(node, lastPointOutside, point));\n\n updatedPoints.unshift(insterection); // points.push(insterection);\n\n _isInside = true;\n } else {\n // at the outside\n logger.trace('Outside point', point);\n if (!_isInside) updatedPoints.unshift(point);\n }\n\n _lastPointOutside = point;\n }\n\n points = updatedPoints;\n pointsHasChanged = true;\n } // The data for our line\n\n\n var lineData = points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis); // Contruct stroke classes based on properties\n\n var strokeClasses;\n\n switch (edge.thickness) {\n case 'normal':\n strokeClasses = 'edge-thickness-normal';\n break;\n\n case 'thick':\n strokeClasses = 'edge-thickness-thick';\n break;\n\n default:\n strokeClasses = '';\n }\n\n switch (edge.pattern) {\n case 'solid':\n strokeClasses += ' edge-pattern-solid';\n break;\n\n case 'dotted':\n strokeClasses += ' edge-pattern-dotted';\n break;\n\n case 'dashed':\n strokeClasses += ' edge-pattern-dashed';\n break;\n }\n\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', edge.id).attr('class', ' ' + strokeClasses + (edge.classes ? ' ' + edge.classes : '')); // DEBUG code, adds a red circle at each edge coordinate\n // edge.points.forEach(point => {\n // elem\n // .append('circle')\n // .style('stroke', 'red')\n // .style('fill', 'red')\n // .attr('r', 1)\n // .attr('cx', point.x)\n // .attr('cy', point.y);\n // });\n\n var url = '';\n\n if (getConfig().state.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n logger.info('arrowType', edge.arrowType);\n\n switch (edge.arrowType) {\n case 'arrow_cross':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-crossEnd' + ')');\n break;\n\n case 'double_arrow_cross':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-crossEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-crossStart' + ')');\n break;\n\n case 'arrow_point':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-pointEnd' + ')');\n break;\n\n case 'double_arrow_point':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-pointEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-pointStart' + ')');\n break;\n\n case 'arrow_barb':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-barbEnd' + ')');\n break;\n\n case 'double_arrow_barb':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-barnEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-barbStart' + ')');\n break;\n\n case 'arrow_circle':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-circleEnd' + ')');\n break;\n\n case 'double_arrow_circle':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-circleEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-circleStart' + ')');\n break;\n\n default:\n }\n\n if (pointsHasChanged) {\n return points;\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/id-cache.js", "name": "./src/diagrams/state/id-cache.js", "index": 915, "index2": 911, "size": 347, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "issuerId": null, "issuerName": "./src/diagrams/state/shapes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "name": "./src/diagrams/state/shapes.js", "profile": { "factory": 1874, "building": 443, "dependencies": 1 } } ], "profile": { "factory": 58, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "./id-cache.js", "loc": "2:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./id-cache.js", "loc": "290:2-9" } ], "usedExports": [ "default" ], "providedExports": [ "set", "get", "keys", "size", "default" ], "optimizationBailout": [], "depth": 4, "source": "var idCache = {};\nexport var set = function set(key, val) {\n idCache[key] = val;\n};\nexport var get = function get(k) {\n return idCache[k];\n};\nexport var keys = function keys() {\n return Object.keys(idCache);\n};\nexport var size = function size() {\n return keys().length;\n};\nexport default {\n get: get,\n set: set,\n keys: keys,\n size: size\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "name": "./src/dagre-wrapper/createLabel.js", "index": 894, "index2": 889, "size": 4142, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } } ], "profile": { "factory": 142, "building": 70, "dependencies": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony side effect evaluation", "userRequest": "../createLabel", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "4:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "7:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "14:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "16:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony import specifier", "userRequest": "../createLabel", "loc": "17:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "78:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "142:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "338:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "352:39-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import { select } from 'd3';\nimport { logger } from '../logger'; // eslint-disable-line\n// let vertexNode;\n// if (getConfig().flowchart.htmlLabels) {\n// // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n// const node = {\n// label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, s => ``)\n// };\n// vertexNode = addHtmlLabel(svg, node).node();\n// vertexNode.parentNode.removeChild(vertexNode);\n// } else {\n// const svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n// svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n// const rows = vertexText.split(common.lineBreakRegex);\n// for (let j = 0; j < rows.length; j++) {\n// const tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n// tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n// tspan.setAttribute('dy', '1em');\n// tspan.setAttribute('x', '1');\n// tspan.textContent = rows[j];\n// svgLabel.appendChild(tspan);\n// }\n// vertexNode = svgLabel;\n// }\n\nimport { getConfig } from '../config';\n\nfunction applyStyle(dom, styleFn) {\n if (styleFn) {\n dom.attr('style', styleFn);\n }\n}\n\nfunction addHtmlLabel(node) {\n // var fo = root.append('foreignObject').attr('width', '100000');\n // var div = fo.append('xhtml:div');\n // div.attr('xmlns', 'http://www.w3.org/1999/xhtml');\n // var label = node.label;\n // switch (typeof label) {\n // case 'function':\n // div.insert(label);\n // break;\n // case 'object':\n // // Currently we assume this is a DOM object.\n // div.insert(function() {\n // return label;\n // });\n // break;\n // default:\n // div.html(label);\n // }\n // applyStyle(div, node.labelStyle);\n // div.style('display', 'inline-block');\n // // Fix for firefox\n // div.style('white-space', 'nowrap');\n // var client = div.node().getBoundingClientRect();\n // fo.attr('width', client.width).attr('height', client.height);\n var fo = select(document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject'));\n var div = fo.append('xhtml:div');\n var label = node.label;\n var labelClass = node.isNode ? 'nodeLabel' : 'edgeLabel';\n div.html('' + label + '');\n applyStyle(div, node.labelStyle);\n div.style('display', 'inline-block'); // Fix for firefox\n\n div.style('white-space', 'nowrap');\n div.attr('xmlns', 'http://www.w3.org/1999/xhtml');\n return fo.node();\n}\n\nvar createLabel = function createLabel(_vertexText, style, isTitle, isNode) {\n var vertexText = _vertexText || '';\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n vertexText = vertexText.replace(/\\\\n|\\n/g, '
');\n logger.info('vertexText' + vertexText);\n var node = {\n isNode: isNode,\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n var vertexNode = addHtmlLabel(node); // vertexNode.parentNode.removeChild(vertexNode);\n\n return vertexNode;\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', style.replace('color:', 'fill:'));\n var rows = [];\n\n if (typeof vertexText === 'string') {\n rows = vertexText.split(/\\\\n|\\n|/gi);\n } else if (Array.isArray(vertexText)) {\n rows = vertexText;\n } else {\n rows = [];\n }\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '0');\n\n if (isTitle) {\n tspan.setAttribute('class', 'title-row');\n } else {\n tspan.setAttribute('class', 'row');\n }\n\n tspan.textContent = rows[j].trim();\n svgLabel.appendChild(tspan);\n }\n\n return svgLabel;\n }\n};\n\nexport default createLabel;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-rect.js", "name": "./src/dagre-wrapper/intersect/intersect-rect.js", "index": 902, "index2": 896, "size": 740, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/clusters.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "name": "./src/dagre-wrapper/clusters.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } } ], "profile": { "factory": 121, "building": 86 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "./intersect/intersect-rect", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-rect.js", "loc": "8:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-rect.js", "loc": "14:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "40:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "64:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "103:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "123:11-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "var intersectRect = function intersectRect(node, point) {\n var x = node.x;\n var y = node.y; // Rectangle intersection algorithm from:\n // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n\n var dx = point.x - x;\n var dy = point.y - y;\n var w = node.width / 2;\n var h = node.height / 2;\n var sx, sy;\n\n if (Math.abs(dy) * w > Math.abs(dx) * h) {\n // Intersection is top or bottom of rect.\n if (dy < 0) {\n h = -h;\n }\n\n sx = dy === 0 ? 0 : h * dx / dy;\n sy = h;\n } else {\n // Intersection is left or right of rect.\n if (dx < 0) {\n w = -w;\n }\n\n sx = w;\n sy = dx === 0 ? 0 : w * dy / dx;\n }\n\n return {\n x: x + sx,\n y: y + sy\n };\n};\n\nexport default intersectRect;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "index": 896, "index2": 897, "size": 395, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } } ], "profile": { "factory": 142, "building": 70, "dependencies": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./intersect/index.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "../intersect/index.js", "loc": "4:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "../intersect/index.js", "loc": "19:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "37:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "75:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "108:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "138:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "168:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "198:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "228:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "261:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "281:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "313:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "383:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "401:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "421:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "469:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "483:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "505:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "520:11-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "/*\n * Borrowed with love from from dagrge-d3. Many thanks to cpettitt!\n */\nimport node from './intersect-node.js';\nimport circle from './intersect-circle.js';\nimport ellipse from './intersect-ellipse.js';\nimport polygon from './intersect-polygon.js';\nimport rect from './intersect-rect.js';\nexport default {\n node: node,\n circle: circle,\n ellipse: ellipse,\n polygon: polygon,\n rect: rect\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "name": "./src/dagre-wrapper/shapes/note.js", "index": 903, "index2": 898, "size": 894, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } } ], "profile": { "factory": 142, "building": 70, "dependencies": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/note", "loc": "8:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/note", "loc": "542:8-12" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import { updateNodeBounds, labelHelper } from './util';\nimport { logger } from '../../logger'; // eslint-disable-line\n\nimport intersect from '../intersect/index.js';\n\nvar note = function note(parent, node) {\n var _labelHelper = labelHelper(parent, node, 'node ' + node.classes, true),\n shapeSvg = _labelHelper.shapeSvg,\n bbox = _labelHelper.bbox,\n halfPadding = _labelHelper.halfPadding;\n\n logger.info('Classes = ', node.classes); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nexport default note;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-ellipse.js", "name": "./src/dagre-wrapper/intersect/intersect-ellipse.js", "index": 899, "index2": 892, "size": 526, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 142, "building": 70, "dependencies": 5 } } ], "profile": { "factory": 9, "building": 116, "dependencies": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "module": "./src/dagre-wrapper/intersect/intersect-circle.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-circle.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-ellipse", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "module": "./src/dagre-wrapper/intersect/intersect-circle.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-circle.js", "type": "harmony import specifier", "userRequest": "./intersect-ellipse", "loc": "4:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-ellipse.js", "loc": "6:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-ellipse.js", "loc": "12:11-18" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "function intersectEllipse(node, rx, ry, point) {\n // Formulae from: http://mathworld.wolfram.com/Ellipse-LineIntersection.html\n var cx = node.x;\n var cy = node.y;\n var px = cx - point.x;\n var py = cy - point.y;\n var det = Math.sqrt(rx * rx * py * py + ry * ry * px * px);\n var dx = Math.abs(rx * ry * px / det);\n\n if (point.x < cx) {\n dx = -dx;\n }\n\n var dy = Math.abs(rx * ry * py / det);\n\n if (point.y < cy) {\n dy = -dy;\n }\n\n return {\n x: cx + dx,\n y: cy + dy\n };\n}\n\nexport default intersectEllipse;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "name": "./src/dagre-wrapper/intersect/intersect-circle.js", "index": 898, "index2": 893, "size": 179, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 142, "building": 70, "dependencies": 5 } } ], "profile": { "factory": 9, "building": 116, "dependencies": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-circle.js", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-circle.js", "loc": "11:10-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "import intersectEllipse from './intersect-ellipse';\n\nfunction intersectCircle(node, rx, point) {\n return intersectEllipse(node, rx, rx, point);\n}\n\nexport default intersectCircle;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "name": "./src/dagre-wrapper/intersect/intersect-polygon.js", "index": 900, "index2": 895, "size": 1612, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 142, "building": 70, "dependencies": 5 } } ], "profile": { "factory": 9, "building": 116, "dependencies": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-polygon.js", "loc": "7:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-polygon.js", "loc": "13:11-18" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "/* eslint \"no-console\": off */\nimport intersectLine from './intersect-line';\nexport default intersectPolygon;\n/*\n * Returns the point ({x, y}) at which the point argument intersects with the\n * node argument assuming that it has the shape specified by polygon.\n */\n\nfunction intersectPolygon(node, polyPoints, point) {\n var x1 = node.x;\n var y1 = node.y;\n var intersections = [];\n var minX = Number.POSITIVE_INFINITY;\n var minY = Number.POSITIVE_INFINITY;\n polyPoints.forEach(function (entry) {\n minX = Math.min(minX, entry.x);\n minY = Math.min(minY, entry.y);\n });\n var left = x1 - node.width / 2 - minX;\n var top = y1 - node.height / 2 - minY;\n\n for (var i = 0; i < polyPoints.length; i++) {\n var p1 = polyPoints[i];\n var p2 = polyPoints[i < polyPoints.length - 1 ? i + 1 : 0];\n var intersect = intersectLine(node, point, {\n x: left + p1.x,\n y: top + p1.y\n }, {\n x: left + p2.x,\n y: top + p2.y\n });\n\n if (intersect) {\n intersections.push(intersect);\n }\n }\n\n if (!intersections.length) {\n console.log('NO INTERSECTION FOUND, RETURN NODE CENTER', node);\n return node;\n }\n\n if (intersections.length > 1) {\n // More intersections, find the one nearest to edge end point\n intersections.sort(function (p, q) {\n var pdx = p.x - point.x;\n var pdy = p.y - point.y;\n var distp = Math.sqrt(pdx * pdx + pdy * pdy);\n var qdx = q.x - point.x;\n var qdy = q.y - point.y;\n var distq = Math.sqrt(qdx * qdx + qdy * qdy);\n return distp < distq ? -1 : distp === distq ? 0 : 1;\n });\n }\n\n return intersections[0];\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-line.js", "name": "./src/dagre-wrapper/intersect/intersect-line.js", "index": 901, "index2": 894, "size": 1886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 142, "building": 70, "dependencies": 5 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "name": "./src/dagre-wrapper/intersect/intersect-polygon.js", "profile": { "factory": 9, "building": 116, "dependencies": 98 } } ], "profile": { "factory": 93, "building": 82 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "module": "./src/dagre-wrapper/intersect/intersect-polygon.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-line", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "module": "./src/dagre-wrapper/intersect/intersect-polygon.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "type": "harmony import specifier", "userRequest": "./intersect-line", "loc": "25:20-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 7, "source": "/*\n * Returns the point at which two lines, p and q, intersect or returns\n * undefined if they do not intersect.\n */\nfunction intersectLine(p1, p2, q1, q2) {\n // Algorithm from J. Avro, (ed.) Graphics Gems, No 2, Morgan Kaufmann, 1994,\n // p7 and p473.\n var a1, a2, b1, b2, c1, c2;\n var r1, r2, r3, r4;\n var denom, offset, num;\n var x, y; // Compute a1, b1, c1, where line joining points 1 and 2 is F(x,y) = a1 x +\n // b1 y + c1 = 0.\n\n a1 = p2.y - p1.y;\n b1 = p1.x - p2.x;\n c1 = p2.x * p1.y - p1.x * p2.y; // Compute r3 and r4.\n\n r3 = a1 * q1.x + b1 * q1.y + c1;\n r4 = a1 * q2.x + b1 * q2.y + c1; // Check signs of r3 and r4. If both point 3 and point 4 lie on\n // same side of line 1, the line segments do not intersect.\n\n if (r3 !== 0 && r4 !== 0 && sameSign(r3, r4)) {\n return;\n } // Compute a2, b2, c2 where line joining points 3 and 4 is G(x,y) = a2 x + b2 y + c2 = 0\n\n\n a2 = q2.y - q1.y;\n b2 = q1.x - q2.x;\n c2 = q2.x * q1.y - q1.x * q2.y; // Compute r1 and r2\n\n r1 = a2 * p1.x + b2 * p1.y + c2;\n r2 = a2 * p2.x + b2 * p2.y + c2; // Check signs of r1 and r2. If both point 1 and point 2 lie\n // on same side of second line segment, the line segments do\n // not intersect.\n\n if (r1 !== 0 && r2 !== 0 && sameSign(r1, r2)) {\n return;\n } // Line segments intersect: compute intersection point.\n\n\n denom = a1 * b2 - a2 * b1;\n\n if (denom === 0) {\n return;\n }\n\n offset = Math.abs(denom / 2); // The denom/2 is to get rounding instead of truncating. It\n // is added or subtracted to the numerator, depending upon the\n // sign of the numerator.\n\n num = b1 * c2 - b2 * c1;\n x = num < 0 ? (num - offset) / denom : (num + offset) / denom;\n num = a2 * c1 - a1 * c2;\n y = num < 0 ? (num - offset) / denom : (num + offset) / denom;\n return {\n x: x,\n y: y\n };\n}\n\nfunction sameSign(r1, r2) {\n return r1 * r2 > 0;\n}\n\nexport default intersectLine;" } ], "filteredModules": 0 } ], "filteredModules": 0, "origins": [ { "module": "", "moduleIdentifier": "", "moduleName": "", "loc": "mermaid", "request": "./src/mermaid.js", "reasons": [] } ] } ], "modules": [ { "id": 0, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js daa161b1f30eb913167fb63d2cd63e08", "name": "./node_modules/d3/index.js + 520 modules", "index": 3, "index2": 521, "size": 554982, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/d3.js", "module": "./node_modules/dagre-d3/lib/d3.js", "moduleName": "./node_modules/dagre-d3/lib/d3.js", "type": "cjs require", "userRequest": "d3", "loc": "7:11-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-39" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-102" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-82" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "5:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "13:0-196" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "15:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "20:14-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "21:20-36" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:15-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "24:21-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:16-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "28:13-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:19-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "33:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "35:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:46-56" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "39:16-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "44:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:18-27" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:38-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "48:6-9" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "54:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "58:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:16-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:50-60" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "63:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "64:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "67:24-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "69:23-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "74:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "84:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:21-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:108-122" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "102:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "107:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "111:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "200:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "207:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "208:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "221:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "225:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "229:60-71" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "231:68-79" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "232:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "233:54-65" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "241:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "244:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "246:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "247:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:60-71" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "251:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "252:68-79" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:54-65" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "255:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "256:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "263:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:16-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:102-112" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "318:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "322:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:4-13" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "342:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "343:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "345:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "348:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "357:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "361:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "365:4-13" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "367:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "371:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "377:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "379:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "390:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "402:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "403:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "433:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "436:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "439:17-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "445:17-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "463:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "617:19-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "710:13-19" } ], "usedExports": true, "providedExports": [ "version", "bisect", "bisectRight", "bisectLeft", "ascending", "bisector", "cross", "descending", "deviation", "extent", "histogram", "thresholdFreedmanDiaconis", "thresholdScott", "thresholdSturges", "max", "mean", "median", "merge", "min", "pairs", "permute", "quantile", "range", "scan", "shuffle", "sum", "ticks", "tickIncrement", "tickStep", "transpose", "variance", "zip", "axisTop", "axisRight", "axisBottom", "axisLeft", "brush", "brushX", "brushY", "brushSelection", "chord", "ribbon", "nest", "set", "map", "keys", "values", "entries", "color", "rgb", "hsl", "lab", "hcl", "lch", "gray", "cubehelix", "contours", "contourDensity", "dispatch", "drag", "dragDisable", "dragEnable", "dsvFormat", "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue", "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue", "autoType", "easeLinear", "easeQuad", "easeQuadIn", "easeQuadOut", "easeQuadInOut", "easeCubic", "easeCubicIn", "easeCubicOut", "easeCubicInOut", "easePoly", "easePolyIn", "easePolyOut", "easePolyInOut", "easeSin", "easeSinIn", "easeSinOut", "easeSinInOut", "easeExp", "easeExpIn", "easeExpOut", "easeExpInOut", "easeCircle", "easeCircleIn", "easeCircleOut", "easeCircleInOut", "easeBounce", "easeBounceIn", "easeBounceOut", "easeBounceInOut", "easeBack", "easeBackIn", "easeBackOut", "easeBackInOut", "easeElastic", "easeElasticIn", "easeElasticOut", "easeElasticInOut", "blob", "buffer", "dsv", "csv", "tsv", "image", "json", "text", "xml", "html", "svg", "forceCenter", "forceCollide", "forceLink", "forceManyBody", "forceRadial", "forceSimulation", "forceX", "forceY", "formatDefaultLocale", "format", "formatPrefix", "formatLocale", "formatSpecifier", "FormatSpecifier", "precisionFixed", "precisionPrefix", "precisionRound", "geoArea", "geoBounds", "geoCentroid", "geoCircle", "geoClipAntimeridian", "geoClipCircle", "geoClipExtent", "geoClipRectangle", "geoContains", "geoDistance", "geoGraticule", "geoGraticule10", "geoInterpolate", "geoLength", "geoPath", "geoAlbers", "geoAlbersUsa", "geoAzimuthalEqualArea", "geoAzimuthalEqualAreaRaw", "geoAzimuthalEquidistant", "geoAzimuthalEquidistantRaw", "geoConicConformal", "geoConicConformalRaw", "geoConicEqualArea", "geoConicEqualAreaRaw", "geoConicEquidistant", "geoConicEquidistantRaw", "geoEqualEarth", "geoEqualEarthRaw", "geoEquirectangular", "geoEquirectangularRaw", "geoGnomonic", "geoGnomonicRaw", "geoIdentity", "geoProjection", "geoProjectionMutator", "geoMercator", "geoMercatorRaw", "geoNaturalEarth1", "geoNaturalEarth1Raw", "geoOrthographic", "geoOrthographicRaw", "geoStereographic", "geoStereographicRaw", "geoTransverseMercator", "geoTransverseMercatorRaw", "geoRotation", "geoStream", "geoTransform", "cluster", "hierarchy", "pack", "packSiblings", "packEnclose", "partition", "stratify", "tree", "treemap", "treemapBinary", "treemapDice", "treemapSlice", "treemapSliceDice", "treemapSquarify", "treemapResquarify", "interpolate", "interpolateArray", "interpolateBasis", "interpolateBasisClosed", "interpolateDate", "interpolateDiscrete", "interpolateHue", "interpolateNumber", "interpolateNumberArray", "interpolateObject", "interpolateRound", "interpolateString", "interpolateTransformCss", "interpolateTransformSvg", "interpolateZoom", "interpolateRgb", "interpolateRgbBasis", "interpolateRgbBasisClosed", "interpolateHsl", "interpolateHslLong", "interpolateLab", "interpolateHcl", "interpolateHclLong", "interpolateCubehelix", "interpolateCubehelixLong", "piecewise", "quantize", "path", "polygonArea", "polygonCentroid", "polygonHull", "polygonContains", "polygonLength", "quadtree", "randomUniform", "randomNormal", "randomLogNormal", "randomBates", "randomIrwinHall", "randomExponential", "scaleBand", "scalePoint", "scaleIdentity", "scaleLinear", "scaleLog", "scaleSymlog", "scaleOrdinal", "scaleImplicit", "scalePow", "scaleSqrt", "scaleQuantile", "scaleQuantize", "scaleThreshold", "scaleTime", "scaleUtc", "scaleSequential", "scaleSequentialLog", "scaleSequentialPow", "scaleSequentialSqrt", "scaleSequentialSymlog", "scaleSequentialQuantile", "scaleDiverging", "scaleDivergingLog", "scaleDivergingPow", "scaleDivergingSqrt", "scaleDivergingSymlog", "tickFormat", "schemeCategory10", "schemeAccent", "schemeDark2", "schemePaired", "schemePastel1", "schemePastel2", "schemeSet1", "schemeSet2", "schemeSet3", "schemeTableau10", "interpolateBrBG", "schemeBrBG", "interpolatePRGn", "schemePRGn", "interpolatePiYG", "schemePiYG", "interpolatePuOr", "schemePuOr", "interpolateRdBu", "schemeRdBu", "interpolateRdGy", "schemeRdGy", "interpolateRdYlBu", "schemeRdYlBu", "interpolateRdYlGn", "schemeRdYlGn", "interpolateSpectral", "schemeSpectral", "interpolateBuGn", "schemeBuGn", "interpolateBuPu", "schemeBuPu", "interpolateGnBu", "schemeGnBu", "interpolateOrRd", "schemeOrRd", "interpolatePuBuGn", "schemePuBuGn", "interpolatePuBu", "schemePuBu", "interpolatePuRd", "schemePuRd", "interpolateRdPu", "schemeRdPu", "interpolateYlGnBu", "schemeYlGnBu", "interpolateYlGn", "schemeYlGn", "interpolateYlOrBr", "schemeYlOrBr", "interpolateYlOrRd", "schemeYlOrRd", "interpolateBlues", "schemeBlues", "interpolateGreens", "schemeGreens", "interpolateGreys", "schemeGreys", "interpolatePurples", "schemePurples", "interpolateReds", "schemeReds", "interpolateOranges", "schemeOranges", "interpolateCividis", "interpolateCubehelixDefault", "interpolateRainbow", "interpolateWarm", "interpolateCool", "interpolateSinebow", "interpolateTurbo", "interpolateViridis", "interpolateMagma", "interpolateInferno", "interpolatePlasma", "create", "creator", "local", "matcher", "mouse", "namespace", "namespaces", "clientPoint", "select", "selectAll", "selection", "selector", "selectorAll", "style", "touch", "touches", "window", "event", "customEvent", "arc", "area", "line", "pie", "areaRadial", "radialArea", "lineRadial", "radialLine", "pointRadial", "linkHorizontal", "linkVertical", "linkRadial", "symbol", "symbols", "symbolCircle", "symbolCross", "symbolDiamond", "symbolSquare", "symbolStar", "symbolTriangle", "symbolWye", "curveBasisClosed", "curveBasisOpen", "curveBasis", "curveBundle", "curveCardinalClosed", "curveCardinalOpen", "curveCardinal", "curveCatmullRomClosed", "curveCatmullRomOpen", "curveCatmullRom", "curveLinearClosed", "curveLinear", "curveMonotoneX", "curveMonotoneY", "curveNatural", "curveStep", "curveStepAfter", "curveStepBefore", "stack", "stackOffsetExpand", "stackOffsetDiverging", "stackOffsetNone", "stackOffsetSilhouette", "stackOffsetWiggle", "stackOrderAppearance", "stackOrderAscending", "stackOrderDescending", "stackOrderInsideOut", "stackOrderNone", "stackOrderReverse", "timeInterval", "timeMillisecond", "timeMilliseconds", "utcMillisecond", "utcMilliseconds", "timeSecond", "timeSeconds", "utcSecond", "utcSeconds", "timeMinute", "timeMinutes", "timeHour", "timeHours", "timeDay", "timeDays", "timeWeek", "timeWeeks", "timeSunday", "timeSundays", "timeMonday", "timeMondays", "timeTuesday", "timeTuesdays", "timeWednesday", "timeWednesdays", "timeThursday", "timeThursdays", "timeFriday", "timeFridays", "timeSaturday", "timeSaturdays", "timeMonth", "timeMonths", "timeYear", "timeYears", "utcMinute", "utcMinutes", "utcHour", "utcHours", "utcDay", "utcDays", "utcWeek", "utcWeeks", "utcSunday", "utcSundays", "utcMonday", "utcMondays", "utcTuesday", "utcTuesdays", "utcWednesday", "utcWednesdays", "utcThursday", "utcThursdays", "utcFriday", "utcFridays", "utcSaturday", "utcSaturdays", "utcMonth", "utcMonths", "utcYear", "utcYears", "timeFormatDefaultLocale", "timeFormat", "timeParse", "utcFormat", "utcParse", "timeFormatLocale", "isoFormat", "isoParse", "now", "timer", "timerFlush", "timeout", "interval", "transition", "active", "interrupt", "voronoi", "zoom", "zoomTransform", "zoomIdentity" ], "optimizationBailout": [], "depth": 2, "modules": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "index": 3, "index2": 521, "size": 893, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/d3.js", "module": "./node_modules/dagre-d3/lib/d3.js", "moduleName": "./node_modules/dagre-d3/lib/d3.js", "type": "cjs require", "userRequest": "d3", "loc": "7:11-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-39" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-102" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-82" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "5:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "13:0-196" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "15:0-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "20:14-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "21:20-36" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:15-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "24:21-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:16-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "28:13-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:18-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:19-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "33:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "35:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:46-56" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "39:16-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "44:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:18-27" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:38-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "48:6-9" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "54:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "58:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:16-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:50-60" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "63:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "64:14-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "67:24-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "69:23-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "74:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "84:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:21-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:108-122" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "102:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "107:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "111:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "200:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "207:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "208:6-12" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "221:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "225:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "229:60-71" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "231:68-79" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "232:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "233:54-65" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "241:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "244:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "246:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "247:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:60-71" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "251:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "252:68-79" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:54-65" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "255:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "256:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "263:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:16-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:102-112" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "318:21-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "322:11-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:4-13" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "342:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "343:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "345:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "348:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "357:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "361:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "365:4-13" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "367:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "371:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "377:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "379:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "390:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "402:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "403:20-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "433:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "436:4-10" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "439:17-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "445:17-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "463:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "617:19-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "710:13-19" } ], "usedExports": true, "providedExports": [ "version", "bisect", "bisectRight", "bisectLeft", "ascending", "bisector", "cross", "descending", "deviation", "extent", "histogram", "thresholdFreedmanDiaconis", "thresholdScott", "thresholdSturges", "max", "mean", "median", "merge", "min", "pairs", "permute", "quantile", "range", "scan", "shuffle", "sum", "ticks", "tickIncrement", "tickStep", "transpose", "variance", "zip", "axisTop", "axisRight", "axisBottom", "axisLeft", "brush", "brushX", "brushY", "brushSelection", "chord", "ribbon", "nest", "set", "map", "keys", "values", "entries", "color", "rgb", "hsl", "lab", "hcl", "lch", "gray", "cubehelix", "contours", "contourDensity", "dispatch", "drag", "dragDisable", "dragEnable", "dsvFormat", "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue", "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue", "autoType", "easeLinear", "easeQuad", "easeQuadIn", "easeQuadOut", "easeQuadInOut", "easeCubic", "easeCubicIn", "easeCubicOut", "easeCubicInOut", "easePoly", "easePolyIn", "easePolyOut", "easePolyInOut", "easeSin", "easeSinIn", "easeSinOut", "easeSinInOut", "easeExp", "easeExpIn", "easeExpOut", "easeExpInOut", "easeCircle", "easeCircleIn", "easeCircleOut", "easeCircleInOut", "easeBounce", "easeBounceIn", "easeBounceOut", "easeBounceInOut", "easeBack", "easeBackIn", "easeBackOut", "easeBackInOut", "easeElastic", "easeElasticIn", "easeElasticOut", "easeElasticInOut", "blob", "buffer", "dsv", "csv", "tsv", "image", "json", "text", "xml", "html", "svg", "forceCenter", "forceCollide", "forceLink", "forceManyBody", "forceRadial", "forceSimulation", "forceX", "forceY", "formatDefaultLocale", "format", "formatPrefix", "formatLocale", "formatSpecifier", "FormatSpecifier", "precisionFixed", "precisionPrefix", "precisionRound", "geoArea", "geoBounds", "geoCentroid", "geoCircle", "geoClipAntimeridian", "geoClipCircle", "geoClipExtent", "geoClipRectangle", "geoContains", "geoDistance", "geoGraticule", "geoGraticule10", "geoInterpolate", "geoLength", "geoPath", "geoAlbers", "geoAlbersUsa", "geoAzimuthalEqualArea", "geoAzimuthalEqualAreaRaw", "geoAzimuthalEquidistant", "geoAzimuthalEquidistantRaw", "geoConicConformal", "geoConicConformalRaw", "geoConicEqualArea", "geoConicEqualAreaRaw", "geoConicEquidistant", "geoConicEquidistantRaw", "geoEqualEarth", "geoEqualEarthRaw", "geoEquirectangular", "geoEquirectangularRaw", "geoGnomonic", "geoGnomonicRaw", "geoIdentity", "geoProjection", "geoProjectionMutator", "geoMercator", "geoMercatorRaw", "geoNaturalEarth1", "geoNaturalEarth1Raw", "geoOrthographic", "geoOrthographicRaw", "geoStereographic", "geoStereographicRaw", "geoTransverseMercator", "geoTransverseMercatorRaw", "geoRotation", "geoStream", "geoTransform", "cluster", "hierarchy", "pack", "packSiblings", "packEnclose", "partition", "stratify", "tree", "treemap", "treemapBinary", "treemapDice", "treemapSlice", "treemapSliceDice", "treemapSquarify", "treemapResquarify", "interpolate", "interpolateArray", "interpolateBasis", "interpolateBasisClosed", "interpolateDate", "interpolateDiscrete", "interpolateHue", "interpolateNumber", "interpolateNumberArray", "interpolateObject", "interpolateRound", "interpolateString", "interpolateTransformCss", "interpolateTransformSvg", "interpolateZoom", "interpolateRgb", "interpolateRgbBasis", "interpolateRgbBasisClosed", "interpolateHsl", "interpolateHslLong", "interpolateLab", "interpolateHcl", "interpolateHclLong", "interpolateCubehelix", "interpolateCubehelixLong", "piecewise", "quantize", "path", "polygonArea", "polygonCentroid", "polygonHull", "polygonContains", "polygonLength", "quadtree", "randomUniform", "randomNormal", "randomLogNormal", "randomBates", "randomIrwinHall", "randomExponential", "scaleBand", "scalePoint", "scaleIdentity", "scaleLinear", "scaleLog", "scaleSymlog", "scaleOrdinal", "scaleImplicit", "scalePow", "scaleSqrt", "scaleQuantile", "scaleQuantize", "scaleThreshold", "scaleTime", "scaleUtc", "scaleSequential", "scaleSequentialLog", "scaleSequentialPow", "scaleSequentialSqrt", "scaleSequentialSymlog", "scaleSequentialQuantile", "scaleDiverging", "scaleDivergingLog", "scaleDivergingPow", "scaleDivergingSqrt", "scaleDivergingSymlog", "tickFormat", "schemeCategory10", "schemeAccent", "schemeDark2", "schemePaired", "schemePastel1", "schemePastel2", "schemeSet1", "schemeSet2", "schemeSet3", "schemeTableau10", "interpolateBrBG", "schemeBrBG", "interpolatePRGn", "schemePRGn", "interpolatePiYG", "schemePiYG", "interpolatePuOr", "schemePuOr", "interpolateRdBu", "schemeRdBu", "interpolateRdGy", "schemeRdGy", "interpolateRdYlBu", "schemeRdYlBu", "interpolateRdYlGn", "schemeRdYlGn", "interpolateSpectral", "schemeSpectral", "interpolateBuGn", "schemeBuGn", "interpolateBuPu", "schemeBuPu", "interpolateGnBu", "schemeGnBu", "interpolateOrRd", "schemeOrRd", "interpolatePuBuGn", "schemePuBuGn", "interpolatePuBu", "schemePuBu", "interpolatePuRd", "schemePuRd", "interpolateRdPu", "schemeRdPu", "interpolateYlGnBu", "schemeYlGnBu", "interpolateYlGn", "schemeYlGn", "interpolateYlOrBr", "schemeYlOrBr", "interpolateYlOrRd", "schemeYlOrRd", "interpolateBlues", "schemeBlues", "interpolateGreens", "schemeGreens", "interpolateGreys", "schemeGreys", "interpolatePurples", "schemePurples", "interpolateReds", "schemeReds", "interpolateOranges", "schemeOranges", "interpolateCividis", "interpolateCubehelixDefault", "interpolateRainbow", "interpolateWarm", "interpolateCool", "interpolateSinebow", "interpolateTurbo", "interpolateViridis", "interpolateMagma", "interpolateInferno", "interpolatePlasma", "create", "creator", "local", "matcher", "mouse", "namespace", "namespaces", "clientPoint", "select", "selectAll", "selection", "selector", "selectorAll", "style", "touch", "touches", "window", "event", "customEvent", "arc", "area", "line", "pie", "areaRadial", "radialArea", "lineRadial", "radialLine", "pointRadial", "linkHorizontal", "linkVertical", "linkRadial", "symbol", "symbols", "symbolCircle", "symbolCross", "symbolDiamond", "symbolSquare", "symbolStar", "symbolTriangle", "symbolWye", "curveBasisClosed", "curveBasisOpen", "curveBasis", "curveBundle", "curveCardinalClosed", "curveCardinalOpen", "curveCardinal", "curveCatmullRomClosed", "curveCatmullRomOpen", "curveCatmullRom", "curveLinearClosed", "curveLinear", "curveMonotoneX", "curveMonotoneY", "curveNatural", "curveStep", "curveStepAfter", "curveStepBefore", "stack", "stackOffsetExpand", "stackOffsetDiverging", "stackOffsetNone", "stackOffsetSilhouette", "stackOffsetWiggle", "stackOrderAppearance", "stackOrderAscending", "stackOrderDescending", "stackOrderInsideOut", "stackOrderNone", "stackOrderReverse", "timeInterval", "timeMillisecond", "timeMilliseconds", "utcMillisecond", "utcMilliseconds", "timeSecond", "timeSeconds", "utcSecond", "utcSeconds", "timeMinute", "timeMinutes", "timeHour", "timeHours", "timeDay", "timeDays", "timeWeek", "timeWeeks", "timeSunday", "timeSundays", "timeMonday", "timeMondays", "timeTuesday", "timeTuesdays", "timeWednesday", "timeWednesdays", "timeThursday", "timeThursdays", "timeFriday", "timeFridays", "timeSaturday", "timeSaturdays", "timeMonth", "timeMonths", "timeYear", "timeYears", "utcMinute", "utcMinutes", "utcHour", "utcHours", "utcDay", "utcDays", "utcWeek", "utcWeeks", "utcSunday", "utcSundays", "utcMonday", "utcMondays", "utcTuesday", "utcTuesdays", "utcWednesday", "utcWednesdays", "utcThursday", "utcThursdays", "utcFriday", "utcFridays", "utcSaturday", "utcSaturdays", "utcMonth", "utcMonths", "utcYear", "utcYears", "timeFormatDefaultLocale", "timeFormat", "timeParse", "utcFormat", "utcParse", "timeFormatLocale", "isoFormat", "isoParse", "now", "timer", "timerFlush", "timeout", "interval", "transition", "active", "interrupt", "voronoi", "zoom", "zoomTransform", "zoomIdentity" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: ./node_modules/dagre-d3/lib/d3.js (referenced with cjs require)" ], "depth": 2, "source": "export {version} from \"./dist/package.js\";\nexport * from \"d3-array\";\nexport * from \"d3-axis\";\nexport * from \"d3-brush\";\nexport * from \"d3-chord\";\nexport * from \"d3-collection\";\nexport * from \"d3-color\";\nexport * from \"d3-contour\";\nexport * from \"d3-dispatch\";\nexport * from \"d3-drag\";\nexport * from \"d3-dsv\";\nexport * from \"d3-ease\";\nexport * from \"d3-fetch\";\nexport * from \"d3-force\";\nexport * from \"d3-format\";\nexport * from \"d3-geo\";\nexport * from \"d3-hierarchy\";\nexport * from \"d3-interpolate\";\nexport * from \"d3-path\";\nexport * from \"d3-polygon\";\nexport * from \"d3-quadtree\";\nexport * from \"d3-random\";\nexport * from \"d3-scale\";\nexport * from \"d3-scale-chromatic\";\nexport * from \"d3-selection\";\nexport * from \"d3-shape\";\nexport * from \"d3-time\";\nexport * from \"d3-time-format\";\nexport * from \"d3-timer\";\nexport * from \"d3-transition\";\nexport * from \"d3-voronoi\";\nexport * from \"d3-zoom\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/dist/package.js", "name": "./node_modules/d3/dist/package.js", "index": 4, "index2": 1, "size": 2149, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "./dist/package.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "./dist/package.js", "loc": "1:0-42" } ], "usedExports": [ "version" ], "providedExports": [ "name", "version", "description", "keywords", "homepage", "license", "author", "main", "unpkg", "jsdelivr", "module", "repository", "files", "scripts", "devDependencies", "dependencies" ], "optimizationBailout": [], "depth": 3, "source": "export var name = \"d3\";\nexport var version = \"5.15.0\";\nexport var description = \"Data-Driven Documents\";\nexport var keywords = [\"dom\",\"visualization\",\"svg\",\"animation\",\"canvas\"];\nexport var homepage = \"https://d3js.org\";\nexport var license = \"BSD-3-Clause\";\nexport var author = {\"name\":\"Mike Bostock\",\"url\":\"https://bost.ocks.org/mike\"};\nexport var main = \"dist/d3.node.js\";\nexport var unpkg = \"dist/d3.min.js\";\nexport var jsdelivr = \"dist/d3.min.js\";\nexport var module = \"index.js\";\nexport var repository = {\"type\":\"git\",\"url\":\"https://github.com/d3/d3.git\"};\nexport var files = [\"dist/**/*.js\",\"index.js\"];\nexport var scripts = {\"pretest\":\"rimraf dist && mkdir dist && json2module package.json > dist/package.js && rollup -c\",\"test\":\"tape 'test/**/*-test.js'\",\"prepublishOnly\":\"yarn test\",\"postpublish\":\"git push && git push --tags && cd ../d3.github.com && git pull && cp ../d3/dist/d3.js d3.v5.js && cp ../d3/dist/d3.min.js d3.v5.min.js && git add d3.v5.js d3.v5.min.js && git commit -m \\\"d3 ${npm_package_version}\\\" && git push && cd - && cd ../d3-bower && git pull && cp ../d3/LICENSE ../d3/README.md ../d3/dist/d3.js ../d3/dist/d3.min.js . && git add -- LICENSE README.md d3.js d3.min.js && git commit -m \\\"${npm_package_version}\\\" && git tag -am \\\"${npm_package_version}\\\" v${npm_package_version} && git push && git push --tags && cd - && zip -j dist/d3.zip -- LICENSE README.md API.md CHANGES.md dist/d3.js dist/d3.min.js\"};\nexport var devDependencies = {\"json2module\":\"0.0\",\"rimraf\":\"2\",\"rollup\":\"1\",\"rollup-plugin-ascii\":\"0.0\",\"rollup-plugin-node-resolve\":\"3\",\"rollup-plugin-terser\":\"5\",\"tape\":\"4\"};\nexport var dependencies = {\"d3-array\":\"1\",\"d3-axis\":\"1\",\"d3-brush\":\"1\",\"d3-chord\":\"1\",\"d3-collection\":\"1\",\"d3-color\":\"1\",\"d3-contour\":\"1\",\"d3-dispatch\":\"1\",\"d3-drag\":\"1\",\"d3-dsv\":\"1\",\"d3-ease\":\"1\",\"d3-fetch\":\"1\",\"d3-force\":\"1\",\"d3-format\":\"1\",\"d3-geo\":\"1\",\"d3-hierarchy\":\"1\",\"d3-interpolate\":\"1\",\"d3-path\":\"1\",\"d3-polygon\":\"1\",\"d3-quadtree\":\"1\",\"d3-random\":\"1\",\"d3-scale\":\"2\",\"d3-scale-chromatic\":\"1\",\"d3-selection\":\"1\",\"d3-shape\":\"1\",\"d3-time\":\"1\",\"d3-time-format\":\"2\",\"d3-timer\":\"1\",\"d3-transition\":\"1\",\"d3-voronoi\":\"1\",\"d3-zoom\":\"1\"};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "index": 5, "index2": 33, "size": 1321, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "2:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-array", "loc": "2:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "5:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-array", "loc": "5:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "5:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "5:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "10:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "10:45-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "11:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "12:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "14:40-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "15:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "17:16-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "19:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "22:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "26:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "27:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "28:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "29:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "29:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "31:18-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "32:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "34:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "34:16-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "39:13-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "39:19-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "40:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "40:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "41:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "43:13-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "52:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "57:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "58:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "59:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "78:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "80:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "87:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "96:32-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "userRequest": "d3-array", "loc": "106:10-15" } ], "usedExports": [ "tickStep", "bisect", "ticks", "tickIncrement", "ascending", "bisector", "quantile", "range", "max", "thresholdSturges", "extent", "min", "bisectRight", "bisectLeft", "cross", "descending", "deviation", "histogram", "thresholdFreedmanDiaconis", "thresholdScott", "mean", "median", "merge", "pairs", "permute", "scan", "shuffle", "sum", "transpose", "variance", "zip" ], "providedExports": [ "bisect", "bisectRight", "bisectLeft", "ascending", "bisector", "cross", "descending", "deviation", "extent", "histogram", "thresholdFreedmanDiaconis", "thresholdScott", "thresholdSturges", "max", "mean", "median", "merge", "min", "pairs", "permute", "quantile", "range", "scan", "shuffle", "sum", "ticks", "tickIncrement", "tickStep", "transpose", "variance", "zip" ], "optimizationBailout": [], "depth": 3, "source": "export {default as bisect, bisectRight, bisectLeft} from \"./bisect\";\nexport {default as ascending} from \"./ascending\";\nexport {default as bisector} from \"./bisector\";\nexport {default as cross} from \"./cross\";\nexport {default as descending} from \"./descending\";\nexport {default as deviation} from \"./deviation\";\nexport {default as extent} from \"./extent\";\nexport {default as histogram} from \"./histogram\";\nexport {default as thresholdFreedmanDiaconis} from \"./threshold/freedmanDiaconis\";\nexport {default as thresholdScott} from \"./threshold/scott\";\nexport {default as thresholdSturges} from \"./threshold/sturges\";\nexport {default as max} from \"./max\";\nexport {default as mean} from \"./mean\";\nexport {default as median} from \"./median\";\nexport {default as merge} from \"./merge\";\nexport {default as min} from \"./min\";\nexport {default as pairs} from \"./pairs\";\nexport {default as permute} from \"./permute\";\nexport {default as quantile} from \"./quantile\";\nexport {default as range} from \"./range\";\nexport {default as scan} from \"./scan\";\nexport {default as shuffle} from \"./shuffle\";\nexport {default as sum} from \"./sum\";\nexport {default as ticks, tickIncrement, tickStep} from \"./ticks\";\nexport {default as transpose} from \"./transpose\";\nexport {default as variance} from \"./variance\";\nexport {default as zip} from \"./zip\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "name": "./node_modules/d3-axis/src/index.js", "index": 37, "index2": 37, "size": 75, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-axis", "loc": "3:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-axis", "loc": "3:0-24" } ], "usedExports": [ "axisBottom", "axisTop", "axisRight", "axisLeft" ], "providedExports": [ "axisTop", "axisRight", "axisBottom", "axisLeft" ], "optimizationBailout": [], "depth": 3, "source": "export {\n axisTop,\n axisRight,\n axisBottom,\n axisLeft\n} from \"./axis\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "index": 43, "index2": 122, "size": 192, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "d3-transition", "loc": "5:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "d3-transition", "loc": "5:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-transition", "loc": "30:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-transition", "loc": "30:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "d3-transition", "loc": "236:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "d3-transition", "loc": "248:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "d3-transition", "loc": "261:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "d3-transition", "loc": "313:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "d3-transition", "loc": "390:4-13" } ], "usedExports": [ "interrupt", "transition", "active" ], "providedExports": [ "transition", "active", "interrupt" ], "optimizationBailout": [], "depth": 3, "source": "import \"./selection/index.js\";\nexport {default as transition} from \"./transition/index.js\";\nexport {default as active} from \"./active.js\";\nexport {default as interrupt} from \"./interrupt.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "name": "./node_modules/d3-brush/src/index.js", "index": 41, "index2": 139, "size": 87, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-brush", "loc": "4:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-brush", "loc": "4:0-25" } ], "usedExports": [ "brush", "brushX", "brushY", "brushSelection" ], "providedExports": [ "brush", "brushX", "brushY", "brushSelection" ], "optimizationBailout": [], "depth": 3, "source": "export {\n default as brush,\n brushX,\n brushY,\n brushSelection\n} from \"./brush.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "index": 143, "index2": 146, "size": 86, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-chord", "loc": "5:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-chord", "loc": "5:0-25" } ], "usedExports": [ "chord", "ribbon" ], "providedExports": [ "chord", "ribbon" ], "optimizationBailout": [], "depth": 3, "source": "export {default as chord} from \"./chord\";\nexport {default as ribbon} from \"./ribbon\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "index": 150, "index2": 153, "size": 246, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony side effect evaluation", "userRequest": "d3-collection", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony side effect evaluation", "userRequest": "d3-collection", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony side effect evaluation", "userRequest": "d3-collection", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-collection", "loc": "6:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-collection", "loc": "6:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony import specifier", "userRequest": "d3-collection", "loc": "8:14-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony import specifier", "userRequest": "d3-collection", "loc": "23:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony import specifier", "userRequest": "d3-collection", "loc": "24:25-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "d3-collection", "loc": "55:19-22" } ], "usedExports": [ "map", "entries", "nest", "set", "keys", "values" ], "providedExports": [ "nest", "set", "map", "keys", "values", "entries" ], "optimizationBailout": [], "depth": 3, "source": "export {default as nest} from \"./nest\";\nexport {default as set} from \"./set\";\nexport {default as map} from \"./map\";\nexport {default as keys} from \"./keys\";\nexport {default as values} from \"./values\";\nexport {default as entries} from \"./entries\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "index": 157, "index2": 157, "size": 165, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-color", "loc": "7:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-color", "loc": "7:0-25" } ], "usedExports": [ "color", "rgb", "hsl", "lab", "hcl", "lch", "gray", "cubehelix" ], "providedExports": [ "color", "rgb", "hsl", "lab", "hcl", "lch", "gray", "cubehelix" ], "optimizationBailout": [], "depth": 3, "source": "export {default as color, rgb, hsl} from \"./color.js\";\nexport {default as lab, hcl, lch, gray} from \"./lab.js\";\nexport {default as cubehelix} from \"./cubehelix.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "index": 161, "index2": 167, "size": 101, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-contour", "loc": "8:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-contour", "loc": "8:0-27" } ], "usedExports": [ "contours", "contourDensity" ], "providedExports": [ "contours", "contourDensity" ], "optimizationBailout": [], "depth": 3, "source": "export {default as contours} from \"./contours\";\nexport {default as contourDensity} from \"./density\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/index.js", "name": "./node_modules/d3-dispatch/src/index.js", "index": 171, "index2": 168, "size": 51, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-dispatch", "loc": "9:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-dispatch", "loc": "9:0-28" } ], "usedExports": [ "dispatch" ], "providedExports": [ "dispatch" ], "optimizationBailout": [], "depth": 3, "source": "export {default as dispatch} from \"./dispatch.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "index": 172, "index2": 172, "size": 118, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "d3-drag", "loc": "2:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "d3-drag", "loc": "2:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-drag", "loc": "10:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-drag", "loc": "10:0-24" } ], "usedExports": [ "drag", "dragDisable", "dragEnable" ], "providedExports": [ "drag", "dragDisable", "dragEnable" ], "optimizationBailout": [], "depth": 3, "source": "export {default as drag} from \"./drag.js\";\nexport {default as dragDisable, yesdrag as dragEnable} from \"./nodrag.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "name": "./node_modules/d3-dsv/src/index.js", "index": 176, "index2": 177, "size": 338, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony side effect evaluation", "userRequest": "d3-dsv", "loc": "1:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-dsv", "loc": "11:0-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-dsv", "loc": "11:0-23" } ], "usedExports": [ "dsvFormat", "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue", "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue", "autoType" ], "providedExports": [ "dsvFormat", "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue", "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue", "autoType" ], "optimizationBailout": [], "depth": 3, "source": "export {default as dsvFormat} from \"./dsv.js\";\nexport {csvParse, csvParseRows, csvFormat, csvFormatBody, csvFormatRows, csvFormatRow, csvFormatValue} from \"./csv.js\";\nexport {tsvParse, tsvParseRows, tsvFormat, tsvFormatBody, tsvFormatRows, tsvFormatRow, tsvFormatValue} from \"./tsv.js\";\nexport {default as autoType} from \"./autoType.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "index": 181, "index2": 187, "size": 1310, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony side effect evaluation", "userRequest": "d3-ease", "loc": "3:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-ease", "loc": "12:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-ease", "loc": "12:0-24" } ], "usedExports": [ "easeLinear", "easeQuad", "easeQuadIn", "easeQuadOut", "easeQuadInOut", "easeCubic", "easeCubicIn", "easeCubicOut", "easeCubicInOut", "easePoly", "easePolyIn", "easePolyOut", "easePolyInOut", "easeSin", "easeSinIn", "easeSinOut", "easeSinInOut", "easeExp", "easeExpIn", "easeExpOut", "easeExpInOut", "easeCircle", "easeCircleIn", "easeCircleOut", "easeCircleInOut", "easeBounce", "easeBounceIn", "easeBounceOut", "easeBounceInOut", "easeBack", "easeBackIn", "easeBackOut", "easeBackInOut", "easeElastic", "easeElasticIn", "easeElasticOut", "easeElasticInOut" ], "providedExports": [ "easeLinear", "easeQuad", "easeQuadIn", "easeQuadOut", "easeQuadInOut", "easeCubic", "easeCubicIn", "easeCubicOut", "easeCubicInOut", "easePoly", "easePolyIn", "easePolyOut", "easePolyInOut", "easeSin", "easeSinIn", "easeSinOut", "easeSinInOut", "easeExp", "easeExpIn", "easeExpOut", "easeExpInOut", "easeCircle", "easeCircleIn", "easeCircleOut", "easeCircleInOut", "easeBounce", "easeBounceIn", "easeBounceOut", "easeBounceInOut", "easeBack", "easeBackIn", "easeBackOut", "easeBackInOut", "easeElastic", "easeElasticIn", "easeElasticOut", "easeElasticInOut" ], "optimizationBailout": [], "depth": 3, "source": "export {\n linear as easeLinear\n} from \"./linear.js\";\n\nexport {\n quadInOut as easeQuad,\n quadIn as easeQuadIn,\n quadOut as easeQuadOut,\n quadInOut as easeQuadInOut\n} from \"./quad.js\";\n\nexport {\n cubicInOut as easeCubic,\n cubicIn as easeCubicIn,\n cubicOut as easeCubicOut,\n cubicInOut as easeCubicInOut\n} from \"./cubic.js\";\n\nexport {\n polyInOut as easePoly,\n polyIn as easePolyIn,\n polyOut as easePolyOut,\n polyInOut as easePolyInOut\n} from \"./poly.js\";\n\nexport {\n sinInOut as easeSin,\n sinIn as easeSinIn,\n sinOut as easeSinOut,\n sinInOut as easeSinInOut\n} from \"./sin.js\";\n\nexport {\n expInOut as easeExp,\n expIn as easeExpIn,\n expOut as easeExpOut,\n expInOut as easeExpInOut\n} from \"./exp.js\";\n\nexport {\n circleInOut as easeCircle,\n circleIn as easeCircleIn,\n circleOut as easeCircleOut,\n circleInOut as easeCircleInOut\n} from \"./circle.js\";\n\nexport {\n bounceOut as easeBounce,\n bounceIn as easeBounceIn,\n bounceOut as easeBounceOut,\n bounceInOut as easeBounceInOut\n} from \"./bounce.js\";\n\nexport {\n backInOut as easeBack,\n backIn as easeBackIn,\n backOut as easeBackOut,\n backInOut as easeBackInOut\n} from \"./back.js\";\n\nexport {\n elasticOut as easeElastic,\n elasticIn as easeElasticIn,\n elasticOut as easeElasticOut,\n elasticInOut as easeElasticInOut\n} from \"./elastic.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "index": 191, "index2": 195, "size": 303, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-fetch", "loc": "13:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-fetch", "loc": "13:0-25" } ], "usedExports": [ "blob", "buffer", "dsv", "csv", "tsv", "image", "json", "text", "xml", "html", "svg" ], "providedExports": [ "blob", "buffer", "dsv", "csv", "tsv", "image", "json", "text", "xml", "html", "svg" ], "optimizationBailout": [], "depth": 3, "source": "export {default as blob} from \"./blob\";\nexport {default as buffer} from \"./buffer\";\nexport {default as dsv, csv, tsv} from \"./dsv\";\nexport {default as image} from \"./image\";\nexport {default as json} from \"./json\";\nexport {default as text} from \"./text\";\nexport {default as xml, html, svg} from \"./xml\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "index": 199, "index2": 220, "size": 382, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-force", "loc": "14:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-force", "loc": "14:0-25" } ], "usedExports": [ "forceCenter", "forceCollide", "forceLink", "forceManyBody", "forceRadial", "forceSimulation", "forceX", "forceY" ], "providedExports": [ "forceCenter", "forceCollide", "forceLink", "forceManyBody", "forceRadial", "forceSimulation", "forceX", "forceY" ], "optimizationBailout": [], "depth": 3, "source": "export {default as forceCenter} from \"./center\";\nexport {default as forceCollide} from \"./collide\";\nexport {default as forceLink} from \"./link\";\nexport {default as forceManyBody} from \"./manyBody\";\nexport {default as forceRadial} from \"./radial\";\nexport {default as forceSimulation} from \"./simulation\";\nexport {default as forceX} from \"./x\";\nexport {default as forceY} from \"./y\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "index": 224, "index2": 236, "size": 415, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony side effect evaluation", "userRequest": "d3-format", "loc": "2:0-113" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony side effect evaluation", "userRequest": "d3-format", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-format", "loc": "15:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-format", "loc": "15:0-26" } ], "usedExports": [ "formatDefaultLocale", "format", "formatPrefix", "formatLocale", "formatSpecifier", "FormatSpecifier", "precisionFixed", "precisionPrefix", "precisionRound" ], "providedExports": [ "formatDefaultLocale", "format", "formatPrefix", "formatLocale", "formatSpecifier", "FormatSpecifier", "precisionFixed", "precisionPrefix", "precisionRound" ], "optimizationBailout": [], "depth": 3, "source": "export {default as formatDefaultLocale, format, formatPrefix} from \"./defaultLocale.js\";\nexport {default as formatLocale} from \"./locale.js\";\nexport {default as formatSpecifier, FormatSpecifier} from \"./formatSpecifier.js\";\nexport {default as precisionFixed} from \"./precisionFixed.js\";\nexport {default as precisionPrefix} from \"./precisionPrefix.js\";\nexport {default as precisionRound} from \"./precisionRound.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "index": 240, "index2": 295, "size": 2872, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-geo", "loc": "16:0-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-geo", "loc": "16:0-23" } ], "usedExports": [ "geoArea", "geoBounds", "geoCentroid", "geoCircle", "geoClipAntimeridian", "geoClipCircle", "geoClipExtent", "geoClipRectangle", "geoContains", "geoDistance", "geoGraticule", "geoGraticule10", "geoInterpolate", "geoLength", "geoPath", "geoAlbers", "geoAlbersUsa", "geoAzimuthalEqualArea", "geoAzimuthalEqualAreaRaw", "geoAzimuthalEquidistant", "geoAzimuthalEquidistantRaw", "geoConicConformal", "geoConicConformalRaw", "geoConicEqualArea", "geoConicEqualAreaRaw", "geoConicEquidistant", "geoConicEquidistantRaw", "geoEqualEarth", "geoEqualEarthRaw", "geoEquirectangular", "geoEquirectangularRaw", "geoGnomonic", "geoGnomonicRaw", "geoIdentity", "geoProjection", "geoProjectionMutator", "geoMercator", "geoMercatorRaw", "geoNaturalEarth1", "geoNaturalEarth1Raw", "geoOrthographic", "geoOrthographicRaw", "geoStereographic", "geoStereographicRaw", "geoTransverseMercator", "geoTransverseMercatorRaw", "geoRotation", "geoStream", "geoTransform" ], "providedExports": [ "geoArea", "geoBounds", "geoCentroid", "geoCircle", "geoClipAntimeridian", "geoClipCircle", "geoClipExtent", "geoClipRectangle", "geoContains", "geoDistance", "geoGraticule", "geoGraticule10", "geoInterpolate", "geoLength", "geoPath", "geoAlbers", "geoAlbersUsa", "geoAzimuthalEqualArea", "geoAzimuthalEqualAreaRaw", "geoAzimuthalEquidistant", "geoAzimuthalEquidistantRaw", "geoConicConformal", "geoConicConformalRaw", "geoConicEqualArea", "geoConicEqualAreaRaw", "geoConicEquidistant", "geoConicEquidistantRaw", "geoEqualEarth", "geoEqualEarthRaw", "geoEquirectangular", "geoEquirectangularRaw", "geoGnomonic", "geoGnomonicRaw", "geoIdentity", "geoProjection", "geoProjectionMutator", "geoMercator", "geoMercatorRaw", "geoNaturalEarth1", "geoNaturalEarth1Raw", "geoOrthographic", "geoOrthographicRaw", "geoStereographic", "geoStereographicRaw", "geoTransverseMercator", "geoTransverseMercatorRaw", "geoRotation", "geoStream", "geoTransform" ], "optimizationBailout": [], "depth": 3, "source": "export {default as geoArea} from \"./area.js\";\nexport {default as geoBounds} from \"./bounds.js\";\nexport {default as geoCentroid} from \"./centroid.js\";\nexport {default as geoCircle} from \"./circle.js\";\nexport {default as geoClipAntimeridian} from \"./clip/antimeridian.js\";\nexport {default as geoClipCircle} from \"./clip/circle.js\";\nexport {default as geoClipExtent} from \"./clip/extent.js\"; // DEPRECATED! Use d3.geoIdentity().clipExtent(…).\nexport {default as geoClipRectangle} from \"./clip/rectangle.js\";\nexport {default as geoContains} from \"./contains.js\";\nexport {default as geoDistance} from \"./distance.js\";\nexport {default as geoGraticule, graticule10 as geoGraticule10} from \"./graticule.js\";\nexport {default as geoInterpolate} from \"./interpolate.js\";\nexport {default as geoLength} from \"./length.js\";\nexport {default as geoPath} from \"./path/index.js\";\nexport {default as geoAlbers} from \"./projection/albers.js\";\nexport {default as geoAlbersUsa} from \"./projection/albersUsa.js\";\nexport {default as geoAzimuthalEqualArea, azimuthalEqualAreaRaw as geoAzimuthalEqualAreaRaw} from \"./projection/azimuthalEqualArea.js\";\nexport {default as geoAzimuthalEquidistant, azimuthalEquidistantRaw as geoAzimuthalEquidistantRaw} from \"./projection/azimuthalEquidistant.js\";\nexport {default as geoConicConformal, conicConformalRaw as geoConicConformalRaw} from \"./projection/conicConformal.js\";\nexport {default as geoConicEqualArea, conicEqualAreaRaw as geoConicEqualAreaRaw} from \"./projection/conicEqualArea.js\";\nexport {default as geoConicEquidistant, conicEquidistantRaw as geoConicEquidistantRaw} from \"./projection/conicEquidistant.js\";\nexport {default as geoEqualEarth, equalEarthRaw as geoEqualEarthRaw} from \"./projection/equalEarth.js\";\nexport {default as geoEquirectangular, equirectangularRaw as geoEquirectangularRaw} from \"./projection/equirectangular.js\";\nexport {default as geoGnomonic, gnomonicRaw as geoGnomonicRaw} from \"./projection/gnomonic.js\";\nexport {default as geoIdentity} from \"./projection/identity.js\";\nexport {default as geoProjection, projectionMutator as geoProjectionMutator} from \"./projection/index.js\";\nexport {default as geoMercator, mercatorRaw as geoMercatorRaw} from \"./projection/mercator.js\";\nexport {default as geoNaturalEarth1, naturalEarth1Raw as geoNaturalEarth1Raw} from \"./projection/naturalEarth1.js\";\nexport {default as geoOrthographic, orthographicRaw as geoOrthographicRaw} from \"./projection/orthographic.js\";\nexport {default as geoStereographic, stereographicRaw as geoStereographicRaw} from \"./projection/stereographic.js\";\nexport {default as geoTransverseMercator, transverseMercatorRaw as geoTransverseMercatorRaw} from \"./projection/transverseMercator.js\";\nexport {default as geoRotation} from \"./rotation.js\";\nexport {default as geoStream} from \"./stream.js\";\nexport {default as geoTransform} from \"./transform.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "index": 299, "index2": 326, "size": 861, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-hierarchy", "loc": "17:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-hierarchy", "loc": "17:0-29" } ], "usedExports": [ "cluster", "hierarchy", "pack", "packSiblings", "packEnclose", "partition", "stratify", "tree", "treemap", "treemapBinary", "treemapDice", "treemapSlice", "treemapSliceDice", "treemapSquarify", "treemapResquarify" ], "providedExports": [ "cluster", "hierarchy", "pack", "packSiblings", "packEnclose", "partition", "stratify", "tree", "treemap", "treemapBinary", "treemapDice", "treemapSlice", "treemapSliceDice", "treemapSquarify", "treemapResquarify" ], "optimizationBailout": [], "depth": 3, "source": "export {default as cluster} from \"./cluster.js\";\nexport {default as hierarchy} from \"./hierarchy/index.js\";\nexport {default as pack} from \"./pack/index.js\";\nexport {default as packSiblings} from \"./pack/siblings.js\";\nexport {default as packEnclose} from \"./pack/enclose.js\";\nexport {default as partition} from \"./partition.js\";\nexport {default as stratify} from \"./stratify.js\";\nexport {default as tree} from \"./tree.js\";\nexport {default as treemap} from \"./treemap/index.js\";\nexport {default as treemapBinary} from \"./treemap/binary.js\";\nexport {default as treemapDice} from \"./treemap/dice.js\";\nexport {default as treemapSlice} from \"./treemap/slice.js\";\nexport {default as treemapSliceDice} from \"./treemap/sliceDice.js\";\nexport {default as treemapSquarify} from \"./treemap/squarify.js\";\nexport {default as treemapResquarify} from \"./treemap/resquarify.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "index": 330, "index2": 337, "size": 1397, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "1:0-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "1:0-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/ramp.js", "module": "./node_modules/d3-scale-chromatic/src/ramp.js", "moduleName": "./node_modules/d3-scale-chromatic/src/ramp.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "2:0-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "2:0-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-interpolate", "loc": "18:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-interpolate", "loc": "18:0-31" } ], "usedExports": [ "interpolateHcl", "interpolate", "interpolateArray", "interpolateBasis", "interpolateBasisClosed", "interpolateDate", "interpolateDiscrete", "interpolateHue", "interpolateNumber", "interpolateNumberArray", "interpolateObject", "interpolateRound", "interpolateString", "interpolateTransformCss", "interpolateTransformSvg", "interpolateZoom", "interpolateRgb", "interpolateRgbBasis", "interpolateRgbBasisClosed", "interpolateHsl", "interpolateHslLong", "interpolateLab", "interpolateHclLong", "interpolateCubehelix", "interpolateCubehelixLong", "piecewise", "quantize" ], "providedExports": [ "interpolate", "interpolateArray", "interpolateBasis", "interpolateBasisClosed", "interpolateDate", "interpolateDiscrete", "interpolateHue", "interpolateNumber", "interpolateNumberArray", "interpolateObject", "interpolateRound", "interpolateString", "interpolateTransformCss", "interpolateTransformSvg", "interpolateZoom", "interpolateRgb", "interpolateRgbBasis", "interpolateRgbBasisClosed", "interpolateHsl", "interpolateHslLong", "interpolateLab", "interpolateHcl", "interpolateHclLong", "interpolateCubehelix", "interpolateCubehelixLong", "piecewise", "quantize" ], "optimizationBailout": [], "depth": 3, "source": "export {default as interpolate} from \"./value.js\";\nexport {default as interpolateArray} from \"./array.js\";\nexport {default as interpolateBasis} from \"./basis.js\";\nexport {default as interpolateBasisClosed} from \"./basisClosed.js\";\nexport {default as interpolateDate} from \"./date.js\";\nexport {default as interpolateDiscrete} from \"./discrete.js\";\nexport {default as interpolateHue} from \"./hue.js\";\nexport {default as interpolateNumber} from \"./number.js\";\nexport {default as interpolateNumberArray} from \"./numberArray.js\";\nexport {default as interpolateObject} from \"./object.js\";\nexport {default as interpolateRound} from \"./round.js\";\nexport {default as interpolateString} from \"./string.js\";\nexport {interpolateTransformCss, interpolateTransformSvg} from \"./transform/index.js\";\nexport {default as interpolateZoom} from \"./zoom.js\";\nexport {default as interpolateRgb, rgbBasis as interpolateRgbBasis, rgbBasisClosed as interpolateRgbBasisClosed} from \"./rgb.js\";\nexport {default as interpolateHsl, hslLong as interpolateHslLong} from \"./hsl.js\";\nexport {default as interpolateLab} from \"./lab.js\";\nexport {default as interpolateHcl, hclLong as interpolateHclLong} from \"./hcl.js\";\nexport {default as interpolateCubehelix, cubehelixLong as interpolateCubehelixLong} from \"./cubehelix.js\";\nexport {default as piecewise} from \"./piecewise.js\";\nexport {default as quantize} from \"./quantize.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/index.js", "name": "./node_modules/d3-path/src/index.js", "index": 341, "index2": 338, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "4:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-path", "loc": "19:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-path", "loc": "19:0-24" } ], "usedExports": [ "path" ], "providedExports": [ "path" ], "optimizationBailout": [], "depth": 3, "source": "export {default as path} from \"./path.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "index": 342, "index2": 345, "size": 270, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-polygon", "loc": "20:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-polygon", "loc": "20:0-27" } ], "usedExports": [ "polygonArea", "polygonCentroid", "polygonHull", "polygonContains", "polygonLength" ], "providedExports": [ "polygonArea", "polygonCentroid", "polygonHull", "polygonContains", "polygonLength" ], "optimizationBailout": [], "depth": 3, "source": "export {default as polygonArea} from \"./area.js\";\nexport {default as polygonCentroid} from \"./centroid.js\";\nexport {default as polygonHull} from \"./hull.js\";\nexport {default as polygonContains} from \"./contains.js\";\nexport {default as polygonLength} from \"./length.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "index": 349, "index2": 346, "size": 51, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony side effect evaluation", "userRequest": "d3-quadtree", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony side effect evaluation", "userRequest": "d3-quadtree", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-quadtree", "loc": "21:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-quadtree", "loc": "21:0-28" } ], "usedExports": [ "quadtree" ], "providedExports": [ "quadtree" ], "optimizationBailout": [], "depth": 3, "source": "export {default as quadtree} from \"./quadtree.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "index": 350, "index2": 354, "size": 322, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-random", "loc": "22:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-random", "loc": "22:0-26" } ], "usedExports": [ "randomUniform", "randomNormal", "randomLogNormal", "randomBates", "randomIrwinHall", "randomExponential" ], "providedExports": [ "randomUniform", "randomNormal", "randomLogNormal", "randomBates", "randomIrwinHall", "randomExponential" ], "optimizationBailout": [], "depth": 3, "source": "export {default as randomUniform} from \"./uniform\";\nexport {default as randomNormal} from \"./normal\";\nexport {default as randomLogNormal} from \"./logNormal\";\nexport {default as randomBates} from \"./bates\";\nexport {default as randomIrwinHall} from \"./irwinHall\";\nexport {default as randomExponential} from \"./exponential\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "index": 358, "index2": 395, "size": 1295, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-scale", "loc": "23:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-scale", "loc": "23:0-25" } ], "usedExports": [ "scaleOrdinal", "scaleTime", "scaleLinear", "scaleBand", "scalePoint", "scaleIdentity", "scaleLog", "scaleSymlog", "scaleImplicit", "scalePow", "scaleSqrt", "scaleQuantile", "scaleQuantize", "scaleThreshold", "scaleUtc", "scaleSequential", "scaleSequentialLog", "scaleSequentialPow", "scaleSequentialSqrt", "scaleSequentialSymlog", "scaleSequentialQuantile", "scaleDiverging", "scaleDivergingLog", "scaleDivergingPow", "scaleDivergingSqrt", "scaleDivergingSymlog", "tickFormat" ], "providedExports": [ "scaleBand", "scalePoint", "scaleIdentity", "scaleLinear", "scaleLog", "scaleSymlog", "scaleOrdinal", "scaleImplicit", "scalePow", "scaleSqrt", "scaleQuantile", "scaleQuantize", "scaleThreshold", "scaleTime", "scaleUtc", "scaleSequential", "scaleSequentialLog", "scaleSequentialPow", "scaleSequentialSqrt", "scaleSequentialSymlog", "scaleSequentialQuantile", "scaleDiverging", "scaleDivergingLog", "scaleDivergingPow", "scaleDivergingSqrt", "scaleDivergingSymlog", "tickFormat" ], "optimizationBailout": [], "depth": 3, "source": "export {\n default as scaleBand,\n point as scalePoint\n} from \"./band\";\n\nexport {\n default as scaleIdentity\n} from \"./identity\";\n\nexport {\n default as scaleLinear\n} from \"./linear\";\n\nexport {\n default as scaleLog\n} from \"./log\";\n\nexport {\n default as scaleSymlog\n} from \"./symlog\";\n\nexport {\n default as scaleOrdinal,\n implicit as scaleImplicit\n} from \"./ordinal\";\n\nexport {\n default as scalePow,\n sqrt as scaleSqrt\n} from \"./pow\";\n\nexport {\n default as scaleQuantile\n} from \"./quantile\";\n\nexport {\n default as scaleQuantize\n} from \"./quantize\";\n\nexport {\n default as scaleThreshold\n} from \"./threshold\";\n\nexport {\n default as scaleTime\n} from \"./time\";\n\nexport {\n default as scaleUtc\n} from \"./utcTime\";\n\nexport {\n default as scaleSequential,\n sequentialLog as scaleSequentialLog,\n sequentialPow as scaleSequentialPow,\n sequentialSqrt as scaleSequentialSqrt,\n sequentialSymlog as scaleSequentialSymlog\n} from \"./sequential\";\n\nexport {\n default as scaleSequentialQuantile\n} from \"./sequentialQuantile\";\n\nexport {\n default as scaleDiverging,\n divergingLog as scaleDivergingLog,\n divergingPow as scaleDivergingPow,\n divergingSqrt as scaleDivergingSqrt,\n divergingSymlog as scaleDivergingSymlog\n} from \"./diverging\";\n\nexport {\n default as tickFormat\n} from \"./tickFormat\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "index": 399, "index2": 441, "size": 3792, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-scale-chromatic", "loc": "24:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-scale-chromatic", "loc": "24:0-35" } ], "usedExports": [ "schemeSet2", "schemeCategory10", "schemeAccent", "schemeDark2", "schemePaired", "schemePastel1", "schemePastel2", "schemeSet1", "schemeSet3", "schemeTableau10", "interpolateBrBG", "schemeBrBG", "interpolatePRGn", "schemePRGn", "interpolatePiYG", "schemePiYG", "interpolatePuOr", "schemePuOr", "interpolateRdBu", "schemeRdBu", "interpolateRdGy", "schemeRdGy", "interpolateRdYlBu", "schemeRdYlBu", "interpolateRdYlGn", "schemeRdYlGn", "interpolateSpectral", "schemeSpectral", "interpolateBuGn", "schemeBuGn", "interpolateBuPu", "schemeBuPu", "interpolateGnBu", "schemeGnBu", "interpolateOrRd", "schemeOrRd", "interpolatePuBuGn", "schemePuBuGn", "interpolatePuBu", "schemePuBu", "interpolatePuRd", "schemePuRd", "interpolateRdPu", "schemeRdPu", "interpolateYlGnBu", "schemeYlGnBu", "interpolateYlGn", "schemeYlGn", "interpolateYlOrBr", "schemeYlOrBr", "interpolateYlOrRd", "schemeYlOrRd", "interpolateBlues", "schemeBlues", "interpolateGreens", "schemeGreens", "interpolateGreys", "schemeGreys", "interpolatePurples", "schemePurples", "interpolateReds", "schemeReds", "interpolateOranges", "schemeOranges", "interpolateCividis", "interpolateCubehelixDefault", "interpolateRainbow", "interpolateWarm", "interpolateCool", "interpolateSinebow", "interpolateTurbo", "interpolateViridis", "interpolateMagma", "interpolateInferno", "interpolatePlasma" ], "providedExports": [ "schemeCategory10", "schemeAccent", "schemeDark2", "schemePaired", "schemePastel1", "schemePastel2", "schemeSet1", "schemeSet2", "schemeSet3", "schemeTableau10", "interpolateBrBG", "schemeBrBG", "interpolatePRGn", "schemePRGn", "interpolatePiYG", "schemePiYG", "interpolatePuOr", "schemePuOr", "interpolateRdBu", "schemeRdBu", "interpolateRdGy", "schemeRdGy", "interpolateRdYlBu", "schemeRdYlBu", "interpolateRdYlGn", "schemeRdYlGn", "interpolateSpectral", "schemeSpectral", "interpolateBuGn", "schemeBuGn", "interpolateBuPu", "schemeBuPu", "interpolateGnBu", "schemeGnBu", "interpolateOrRd", "schemeOrRd", "interpolatePuBuGn", "schemePuBuGn", "interpolatePuBu", "schemePuBu", "interpolatePuRd", "schemePuRd", "interpolateRdPu", "schemeRdPu", "interpolateYlGnBu", "schemeYlGnBu", "interpolateYlGn", "schemeYlGn", "interpolateYlOrBr", "schemeYlOrBr", "interpolateYlOrRd", "schemeYlOrRd", "interpolateBlues", "schemeBlues", "interpolateGreens", "schemeGreens", "interpolateGreys", "schemeGreys", "interpolatePurples", "schemePurples", "interpolateReds", "schemeReds", "interpolateOranges", "schemeOranges", "interpolateCividis", "interpolateCubehelixDefault", "interpolateRainbow", "interpolateWarm", "interpolateCool", "interpolateSinebow", "interpolateTurbo", "interpolateViridis", "interpolateMagma", "interpolateInferno", "interpolatePlasma" ], "optimizationBailout": [], "depth": 3, "source": "export {default as schemeCategory10} from \"./categorical/category10.js\";\nexport {default as schemeAccent} from \"./categorical/Accent.js\";\nexport {default as schemeDark2} from \"./categorical/Dark2.js\";\nexport {default as schemePaired} from \"./categorical/Paired.js\";\nexport {default as schemePastel1} from \"./categorical/Pastel1.js\";\nexport {default as schemePastel2} from \"./categorical/Pastel2.js\";\nexport {default as schemeSet1} from \"./categorical/Set1.js\";\nexport {default as schemeSet2} from \"./categorical/Set2.js\";\nexport {default as schemeSet3} from \"./categorical/Set3.js\";\nexport {default as schemeTableau10} from \"./categorical/Tableau10.js\";\nexport {default as interpolateBrBG, scheme as schemeBrBG} from \"./diverging/BrBG.js\";\nexport {default as interpolatePRGn, scheme as schemePRGn} from \"./diverging/PRGn.js\";\nexport {default as interpolatePiYG, scheme as schemePiYG} from \"./diverging/PiYG.js\";\nexport {default as interpolatePuOr, scheme as schemePuOr} from \"./diverging/PuOr.js\";\nexport {default as interpolateRdBu, scheme as schemeRdBu} from \"./diverging/RdBu.js\";\nexport {default as interpolateRdGy, scheme as schemeRdGy} from \"./diverging/RdGy.js\";\nexport {default as interpolateRdYlBu, scheme as schemeRdYlBu} from \"./diverging/RdYlBu.js\";\nexport {default as interpolateRdYlGn, scheme as schemeRdYlGn} from \"./diverging/RdYlGn.js\";\nexport {default as interpolateSpectral, scheme as schemeSpectral} from \"./diverging/Spectral.js\";\nexport {default as interpolateBuGn, scheme as schemeBuGn} from \"./sequential-multi/BuGn.js\";\nexport {default as interpolateBuPu, scheme as schemeBuPu} from \"./sequential-multi/BuPu.js\";\nexport {default as interpolateGnBu, scheme as schemeGnBu} from \"./sequential-multi/GnBu.js\";\nexport {default as interpolateOrRd, scheme as schemeOrRd} from \"./sequential-multi/OrRd.js\";\nexport {default as interpolatePuBuGn, scheme as schemePuBuGn} from \"./sequential-multi/PuBuGn.js\";\nexport {default as interpolatePuBu, scheme as schemePuBu} from \"./sequential-multi/PuBu.js\";\nexport {default as interpolatePuRd, scheme as schemePuRd} from \"./sequential-multi/PuRd.js\";\nexport {default as interpolateRdPu, scheme as schemeRdPu} from \"./sequential-multi/RdPu.js\";\nexport {default as interpolateYlGnBu, scheme as schemeYlGnBu} from \"./sequential-multi/YlGnBu.js\";\nexport {default as interpolateYlGn, scheme as schemeYlGn} from \"./sequential-multi/YlGn.js\";\nexport {default as interpolateYlOrBr, scheme as schemeYlOrBr} from \"./sequential-multi/YlOrBr.js\";\nexport {default as interpolateYlOrRd, scheme as schemeYlOrRd} from \"./sequential-multi/YlOrRd.js\";\nexport {default as interpolateBlues, scheme as schemeBlues} from \"./sequential-single/Blues.js\";\nexport {default as interpolateGreens, scheme as schemeGreens} from \"./sequential-single/Greens.js\";\nexport {default as interpolateGreys, scheme as schemeGreys} from \"./sequential-single/Greys.js\";\nexport {default as interpolatePurples, scheme as schemePurples} from \"./sequential-single/Purples.js\";\nexport {default as interpolateReds, scheme as schemeReds} from \"./sequential-single/Reds.js\";\nexport {default as interpolateOranges, scheme as schemeOranges} from \"./sequential-single/Oranges.js\";\nexport {default as interpolateCividis} from \"./sequential-multi/cividis.js\";\nexport {default as interpolateCubehelixDefault} from \"./sequential-multi/cubehelix.js\";\nexport {default as interpolateRainbow, warm as interpolateWarm, cool as interpolateCool} from \"./sequential-multi/rainbow.js\";\nexport {default as interpolateSinebow} from \"./sequential-multi/sinebow.js\";\nexport {default as interpolateTurbo} from \"./sequential-multi/turbo.js\";\nexport {default as interpolateViridis, magma as interpolateMagma, inferno as interpolateInferno, plasma as interpolatePlasma} from \"./sequential-multi/viridis.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "index": 445, "index2": 446, "size": 860, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/noevent.js", "module": "./node_modules/d3-drag/src/noevent.js", "moduleName": "./node_modules/d3-drag/src/noevent.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/noevent.js", "module": "./node_modules/d3-zoom/src/noevent.js", "moduleName": "./node_modules/d3-zoom/src/noevent.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/noevent.js", "module": "./node_modules/d3-brush/src/noevent.js", "moduleName": "./node_modules/d3-brush/src/noevent.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selection.js", "module": "./node_modules/d3-transition/src/transition/selection.js", "moduleName": "./node_modules/d3-transition/src/transition/selection.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/filter.js", "module": "./node_modules/d3-transition/src/transition/filter.js", "moduleName": "./node_modules/d3-transition/src/transition/filter.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attrTween.js", "module": "./node_modules/d3-transition/src/transition/attrTween.js", "moduleName": "./node_modules/d3-transition/src/transition/attrTween.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "2:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "4:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "4:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-selection", "loc": "25:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-selection", "loc": "25:0-29" } ], "usedExports": [ "select", "selectAll", "create", "creator", "local", "matcher", "mouse", "namespace", "namespaces", "clientPoint", "selection", "selector", "selectorAll", "style", "touch", "touches", "window", "event", "customEvent" ], "providedExports": [ "create", "creator", "local", "matcher", "mouse", "namespace", "namespaces", "clientPoint", "select", "selectAll", "selection", "selector", "selectorAll", "style", "touch", "touches", "window", "event", "customEvent" ], "optimizationBailout": [], "depth": 3, "source": "export {default as create} from \"./create\";\nexport {default as creator} from \"./creator\";\nexport {default as local} from \"./local\";\nexport {default as matcher} from \"./matcher\";\nexport {default as mouse} from \"./mouse\";\nexport {default as namespace} from \"./namespace\";\nexport {default as namespaces} from \"./namespaces\";\nexport {default as clientPoint} from \"./point\";\nexport {default as select} from \"./select\";\nexport {default as selectAll} from \"./selectAll\";\nexport {default as selection} from \"./selection/index\";\nexport {default as selector} from \"./selector\";\nexport {default as selectorAll} from \"./selectorAll\";\nexport {styleValue as style} from \"./selection/style\";\nexport {default as touch} from \"./touch\";\nexport {default as touches} from \"./touches\";\nexport {default as window} from \"./window\";\nexport {event, customEvent} from \"./selection/on\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "index": 450, "index2": 498, "size": 2848, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-shape", "loc": "26:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-shape", "loc": "26:0-25" } ], "usedExports": [ "curveBasis", "curveBasisClosed", "curveBasisOpen", "curveLinear", "curveLinearClosed", "curveMonotoneX", "curveMonotoneY", "curveNatural", "curveStep", "curveStepAfter", "curveStepBefore", "arc", "line", "pie", "area", "areaRadial", "radialArea", "lineRadial", "radialLine", "pointRadial", "linkHorizontal", "linkVertical", "linkRadial", "symbol", "symbols", "symbolCircle", "symbolCross", "symbolDiamond", "symbolSquare", "symbolStar", "symbolTriangle", "symbolWye", "curveBundle", "curveCardinalClosed", "curveCardinalOpen", "curveCardinal", "curveCatmullRomClosed", "curveCatmullRomOpen", "curveCatmullRom", "stack", "stackOffsetExpand", "stackOffsetDiverging", "stackOffsetNone", "stackOffsetSilhouette", "stackOffsetWiggle", "stackOrderAppearance", "stackOrderAscending", "stackOrderDescending", "stackOrderInsideOut", "stackOrderNone", "stackOrderReverse" ], "providedExports": [ "arc", "area", "line", "pie", "areaRadial", "radialArea", "lineRadial", "radialLine", "pointRadial", "linkHorizontal", "linkVertical", "linkRadial", "symbol", "symbols", "symbolCircle", "symbolCross", "symbolDiamond", "symbolSquare", "symbolStar", "symbolTriangle", "symbolWye", "curveBasisClosed", "curveBasisOpen", "curveBasis", "curveBundle", "curveCardinalClosed", "curveCardinalOpen", "curveCardinal", "curveCatmullRomClosed", "curveCatmullRomOpen", "curveCatmullRom", "curveLinearClosed", "curveLinear", "curveMonotoneX", "curveMonotoneY", "curveNatural", "curveStep", "curveStepAfter", "curveStepBefore", "stack", "stackOffsetExpand", "stackOffsetDiverging", "stackOffsetNone", "stackOffsetSilhouette", "stackOffsetWiggle", "stackOrderAppearance", "stackOrderAscending", "stackOrderDescending", "stackOrderInsideOut", "stackOrderNone", "stackOrderReverse" ], "optimizationBailout": [], "depth": 3, "source": "export {default as arc} from \"./arc.js\";\nexport {default as area} from \"./area.js\";\nexport {default as line} from \"./line.js\";\nexport {default as pie} from \"./pie.js\";\nexport {default as areaRadial, default as radialArea} from \"./areaRadial.js\"; // Note: radialArea is deprecated!\nexport {default as lineRadial, default as radialLine} from \"./lineRadial.js\"; // Note: radialLine is deprecated!\nexport {default as pointRadial} from \"./pointRadial.js\";\nexport {linkHorizontal, linkVertical, linkRadial} from \"./link/index.js\";\n\nexport {default as symbol, symbols} from \"./symbol.js\";\nexport {default as symbolCircle} from \"./symbol/circle.js\";\nexport {default as symbolCross} from \"./symbol/cross.js\";\nexport {default as symbolDiamond} from \"./symbol/diamond.js\";\nexport {default as symbolSquare} from \"./symbol/square.js\";\nexport {default as symbolStar} from \"./symbol/star.js\";\nexport {default as symbolTriangle} from \"./symbol/triangle.js\";\nexport {default as symbolWye} from \"./symbol/wye.js\";\n\nexport {default as curveBasisClosed} from \"./curve/basisClosed.js\";\nexport {default as curveBasisOpen} from \"./curve/basisOpen.js\";\nexport {default as curveBasis} from \"./curve/basis.js\";\nexport {default as curveBundle} from \"./curve/bundle.js\";\nexport {default as curveCardinalClosed} from \"./curve/cardinalClosed.js\";\nexport {default as curveCardinalOpen} from \"./curve/cardinalOpen.js\";\nexport {default as curveCardinal} from \"./curve/cardinal.js\";\nexport {default as curveCatmullRomClosed} from \"./curve/catmullRomClosed.js\";\nexport {default as curveCatmullRomOpen} from \"./curve/catmullRomOpen.js\";\nexport {default as curveCatmullRom} from \"./curve/catmullRom.js\";\nexport {default as curveLinearClosed} from \"./curve/linearClosed.js\";\nexport {default as curveLinear} from \"./curve/linear.js\";\nexport {monotoneX as curveMonotoneX, monotoneY as curveMonotoneY} from \"./curve/monotone.js\";\nexport {default as curveNatural} from \"./curve/natural.js\";\nexport {default as curveStep, stepAfter as curveStepAfter, stepBefore as curveStepBefore} from \"./curve/step.js\";\n\nexport {default as stack} from \"./stack.js\";\nexport {default as stackOffsetExpand} from \"./offset/expand.js\";\nexport {default as stackOffsetDiverging} from \"./offset/diverging.js\";\nexport {default as stackOffsetNone} from \"./offset/none.js\";\nexport {default as stackOffsetSilhouette} from \"./offset/silhouette.js\";\nexport {default as stackOffsetWiggle} from \"./offset/wiggle.js\";\nexport {default as stackOrderAppearance} from \"./order/appearance.js\";\nexport {default as stackOrderAscending} from \"./order/ascending.js\";\nexport {default as stackOrderDescending} from \"./order/descending.js\";\nexport {default as stackOrderInsideOut} from \"./order/insideOut.js\";\nexport {default as stackOrderNone} from \"./order/none.js\";\nexport {default as stackOrderReverse} from \"./order/reverse.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "index": 502, "index2": 499, "size": 2081, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "d3-time", "loc": "1:0-12:17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "d3-time", "loc": "2:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony side effect evaluation", "userRequest": "d3-time", "loc": "3:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-time", "loc": "27:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-time", "loc": "27:0-24" } ], "usedExports": [ "timeInterval", "timeMillisecond", "timeMilliseconds", "utcMillisecond", "utcMilliseconds", "timeSecond", "timeSeconds", "utcSecond", "utcSeconds", "timeMinute", "timeMinutes", "timeHour", "timeHours", "timeDay", "timeDays", "timeWeek", "timeWeeks", "timeSunday", "timeSundays", "timeMonday", "timeMondays", "timeTuesday", "timeTuesdays", "timeWednesday", "timeWednesdays", "timeThursday", "timeThursdays", "timeFriday", "timeFridays", "timeSaturday", "timeSaturdays", "timeMonth", "timeMonths", "timeYear", "timeYears", "utcMinute", "utcMinutes", "utcHour", "utcHours", "utcDay", "utcDays", "utcWeek", "utcWeeks", "utcSunday", "utcSundays", "utcMonday", "utcMondays", "utcTuesday", "utcTuesdays", "utcWednesday", "utcWednesdays", "utcThursday", "utcThursdays", "utcFriday", "utcFridays", "utcSaturday", "utcSaturdays", "utcMonth", "utcMonths", "utcYear", "utcYears" ], "providedExports": [ "timeInterval", "timeMillisecond", "timeMilliseconds", "utcMillisecond", "utcMilliseconds", "timeSecond", "timeSeconds", "utcSecond", "utcSeconds", "timeMinute", "timeMinutes", "timeHour", "timeHours", "timeDay", "timeDays", "timeWeek", "timeWeeks", "timeSunday", "timeSundays", "timeMonday", "timeMondays", "timeTuesday", "timeTuesdays", "timeWednesday", "timeWednesdays", "timeThursday", "timeThursdays", "timeFriday", "timeFridays", "timeSaturday", "timeSaturdays", "timeMonth", "timeMonths", "timeYear", "timeYears", "utcMinute", "utcMinutes", "utcHour", "utcHours", "utcDay", "utcDays", "utcWeek", "utcWeeks", "utcSunday", "utcSundays", "utcMonday", "utcMondays", "utcTuesday", "utcTuesdays", "utcWednesday", "utcWednesdays", "utcThursday", "utcThursdays", "utcFriday", "utcFridays", "utcSaturday", "utcSaturdays", "utcMonth", "utcMonths", "utcYear", "utcYears" ], "optimizationBailout": [], "depth": 3, "source": "export {\n default as timeInterval\n} from \"./interval.js\";\n\nexport {\n default as timeMillisecond,\n milliseconds as timeMilliseconds,\n default as utcMillisecond,\n milliseconds as utcMilliseconds\n} from \"./millisecond.js\";\n\nexport {\n default as timeSecond,\n seconds as timeSeconds,\n default as utcSecond,\n seconds as utcSeconds\n} from \"./second.js\";\n\nexport {\n default as timeMinute,\n minutes as timeMinutes\n} from \"./minute.js\";\n\nexport {\n default as timeHour,\n hours as timeHours\n} from \"./hour.js\";\n\nexport {\n default as timeDay,\n days as timeDays\n} from \"./day.js\";\n\nexport {\n sunday as timeWeek,\n sundays as timeWeeks,\n sunday as timeSunday,\n sundays as timeSundays,\n monday as timeMonday,\n mondays as timeMondays,\n tuesday as timeTuesday,\n tuesdays as timeTuesdays,\n wednesday as timeWednesday,\n wednesdays as timeWednesdays,\n thursday as timeThursday,\n thursdays as timeThursdays,\n friday as timeFriday,\n fridays as timeFridays,\n saturday as timeSaturday,\n saturdays as timeSaturdays\n} from \"./week.js\";\n\nexport {\n default as timeMonth,\n months as timeMonths\n} from \"./month.js\";\n\nexport {\n default as timeYear,\n years as timeYears\n} from \"./year.js\";\n\nexport {\n default as utcMinute,\n utcMinutes as utcMinutes\n} from \"./utcMinute.js\";\n\nexport {\n default as utcHour,\n utcHours as utcHours\n} from \"./utcHour.js\";\n\nexport {\n default as utcDay,\n utcDays as utcDays\n} from \"./utcDay.js\";\n\nexport {\n utcSunday as utcWeek,\n utcSundays as utcWeeks,\n utcSunday as utcSunday,\n utcSundays as utcSundays,\n utcMonday as utcMonday,\n utcMondays as utcMondays,\n utcTuesday as utcTuesday,\n utcTuesdays as utcTuesdays,\n utcWednesday as utcWednesday,\n utcWednesdays as utcWednesdays,\n utcThursday as utcThursday,\n utcThursdays as utcThursdays,\n utcFriday as utcFriday,\n utcFridays as utcFridays,\n utcSaturday as utcSaturday,\n utcSaturdays as utcSaturdays\n} from \"./utcWeek.js\";\n\nexport {\n default as utcMonth,\n utcMonths as utcMonths\n} from \"./utcMonth.js\";\n\nexport {\n default as utcYear,\n utcYears as utcYears\n} from \"./utcYear.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "name": "./node_modules/d3-time-format/src/index.js", "index": 503, "index2": 502, "size": 276, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony side effect evaluation", "userRequest": "d3-time-format", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "d3-time-format", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-time-format", "loc": "28:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-time-format", "loc": "28:0-31" } ], "usedExports": [ "timeFormat", "timeFormatDefaultLocale", "timeParse", "utcFormat", "utcParse", "timeFormatLocale", "isoFormat", "isoParse" ], "providedExports": [ "timeFormatDefaultLocale", "timeFormat", "timeParse", "utcFormat", "utcParse", "timeFormatLocale", "isoFormat", "isoParse" ], "optimizationBailout": [], "depth": 3, "source": "export {default as timeFormatDefaultLocale, timeFormat, timeParse, utcFormat, utcParse} from \"./defaultLocale.js\";\nexport {default as timeFormatLocale} from \"./locale.js\";\nexport {default as isoFormat} from \"./isoFormat.js\";\nexport {default as isoParse} from \"./isoParse.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "name": "./node_modules/d3-timer/src/index.js", "index": 506, "index2": 504, "size": 169, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony side effect evaluation", "userRequest": "d3-timer", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony side effect evaluation", "userRequest": "d3-timer", "loc": "3:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony side effect evaluation", "userRequest": "d3-timer", "loc": "4:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-timer", "loc": "29:0-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-timer", "loc": "29:0-25" } ], "usedExports": [ "now", "timer", "timerFlush", "timeout", "interval" ], "providedExports": [ "now", "timer", "timerFlush", "timeout", "interval" ], "optimizationBailout": [], "depth": 3, "source": "export {\n now,\n timer,\n timerFlush\n} from \"./timer.js\";\n\nexport {\n default as timeout\n} from \"./timeout.js\";\n\nexport {\n default as interval\n} from \"./interval.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "index": 508, "index2": 514, "size": 46, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-voronoi", "loc": "31:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-voronoi", "loc": "31:0-27" } ], "usedExports": [ "voronoi" ], "providedExports": [ "voronoi" ], "optimizationBailout": [], "depth": 3, "source": "export {default as voronoi} from \"./voronoi\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "index": 518, "index2": 520, "size": 126, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "issuerId": null, "issuerName": "./node_modules/d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1934, "building": 39, "dependencies": 790 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony side effect evaluation", "userRequest": "d3-zoom", "loc": "32:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "module": "./node_modules/d3/index.js", "moduleName": "./node_modules/d3/index.js", "type": "harmony export imported specifier", "userRequest": "d3-zoom", "loc": "32:0-24" } ], "usedExports": [ "zoom", "zoomTransform", "zoomIdentity" ], "providedExports": [ "zoom", "zoomTransform", "zoomIdentity" ], "optimizationBailout": [], "depth": 3, "source": "export {default as zoom} from \"./zoom.js\";\nexport {default as zoomTransform, identity as zoomIdentity} from \"./transform.js\";\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/ascending.js", "name": "./node_modules/d3-array/src/ascending.js", "index": 7, "index2": 2, "size": 86, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisect.js", "module": "./node_modules/d3-array/src/bisect.js", "moduleName": "./node_modules/d3-array/src/bisect.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisector.js", "module": "./node_modules/d3-array/src/bisector.js", "moduleName": "./node_modules/d3-array/src/bisector.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/scan.js", "module": "./node_modules/d3-array/src/scan.js", "moduleName": "./node_modules/d3-array/src/scan.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ascending", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony side effect evaluation", "userRequest": "../ascending", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisect.js", "module": "./node_modules/d3-array/src/bisect.js", "moduleName": "./node_modules/d3-array/src/bisect.js", "type": "harmony import specifier", "userRequest": "./ascending", "loc": "4:31-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony import specifier", "userRequest": "../ascending", "loc": "7:41-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/scan.js", "module": "./node_modules/d3-array/src/scan.js", "moduleName": "./node_modules/d3-array/src/scan.js", "type": "harmony import specifier", "userRequest": "./ascending", "loc": "11:33-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony import specifier", "userRequest": "./ascending", "loc": "27:31-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisector.js", "module": "./node_modules/d3-array/src/bisector.js", "moduleName": "./node_modules/d3-array/src/bisector.js", "type": "harmony import specifier", "userRequest": "./ascending", "loc": "31:11-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisector.js", "name": "./node_modules/d3-array/src/bisector.js", "index": 8, "index2": 3, "size": 786, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisect.js", "module": "./node_modules/d3-array/src/bisect.js", "moduleName": "./node_modules/d3-array/src/bisect.js", "type": "harmony side effect evaluation", "userRequest": "./bisector", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bisector", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bisector", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisect.js", "module": "./node_modules/d3-array/src/bisect.js", "moduleName": "./node_modules/d3-array/src/bisect.js", "type": "harmony import specifier", "userRequest": "./bisector", "loc": "4:22-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import ascending from \"./ascending\";\n\nexport default function(compare) {\n if (compare.length === 1) compare = ascendingComparator(compare);\n return {\n left: function(a, x, lo, hi) {\n if (lo == null) lo = 0;\n if (hi == null) hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) < 0) lo = mid + 1;\n else hi = mid;\n }\n return lo;\n },\n right: function(a, x, lo, hi) {\n if (lo == null) lo = 0;\n if (hi == null) hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) > 0) hi = mid;\n else lo = mid + 1;\n }\n return lo;\n }\n };\n}\n\nfunction ascendingComparator(f) {\n return function(d, x) {\n return ascending(f(d), x);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/bisect.js", "name": "./node_modules/d3-array/src/bisect.js", "index": 6, "index2": 4, "size": 238, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bisect", "loc": "1:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bisect", "loc": "1:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bisect", "loc": "1:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bisect", "loc": "1:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./bisect", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./bisect", "loc": "55:13-19" } ], "usedExports": [ "default", "bisectRight", "bisectLeft" ], "providedExports": [ "bisectRight", "bisectLeft", "default" ], "optimizationBailout": [], "depth": 4, "source": "import ascending from \"./ascending\";\nimport bisector from \"./bisector\";\n\nvar ascendingBisect = bisector(ascending);\nexport var bisectRight = ascendingBisect.right;\nexport var bisectLeft = ascendingBisect.left;\nexport default bisectRight;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/pairs.js", "name": "./node_modules/d3-array/src/pairs.js", "index": 10, "index2": 5, "size": 262, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/cross.js", "module": "./node_modules/d3-array/src/cross.js", "moduleName": "./node_modules/d3-array/src/cross.js", "type": "harmony side effect evaluation", "userRequest": "./pairs", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/cross.js", "module": "./node_modules/d3-array/src/cross.js", "moduleName": "./node_modules/d3-array/src/cross.js", "type": "harmony import specifier", "userRequest": "./pairs", "loc": "12:31-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pairs", "loc": "17:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pairs", "loc": "17:0-41" } ], "usedExports": [ "pair", "default" ], "providedExports": [ "default", "pair" ], "optimizationBailout": [], "depth": 4, "source": "export default function(array, f) {\n if (f == null) f = pair;\n var i = 0, n = array.length - 1, p = array[0], pairs = new Array(n < 0 ? 0 : n);\n while (i < n) pairs[i] = f(p, p = array[++i]);\n return pairs;\n}\n\nexport function pair(a, b) {\n return [a, b];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/cross.js", "name": "./node_modules/d3-array/src/cross.js", "index": 9, "index2": 6, "size": 428, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cross", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cross", "loc": "4:0-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {pair} from \"./pairs\";\n\nexport default function(values0, values1, reduce) {\n var n0 = values0.length,\n n1 = values1.length,\n values = new Array(n0 * n1),\n i0,\n i1,\n i,\n value0;\n\n if (reduce == null) reduce = pair;\n\n for (i0 = i = 0; i0 < n0; ++i0) {\n for (value0 = values0[i0], i1 = 0; i1 < n1; ++i1, ++i) {\n values[i] = reduce(value0, values1[i1]);\n }\n }\n\n return values;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/descending.js", "name": "./node_modules/d3-array/src/descending.js", "index": 11, "index2": 7, "size": 86, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./descending", "loc": "5:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./descending", "loc": "5:0-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/variance.js", "name": "./node_modules/d3-array/src/variance.js", "index": 13, "index2": 9, "size": 648, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/deviation.js", "module": "./node_modules/d3-array/src/deviation.js", "moduleName": "./node_modules/d3-array/src/deviation.js", "type": "harmony side effect evaluation", "userRequest": "./variance", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/deviation.js", "module": "./node_modules/d3-array/src/deviation.js", "moduleName": "./node_modules/d3-array/src/deviation.js", "type": "harmony import specifier", "userRequest": "./variance", "loc": "4:10-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./variance", "loc": "26:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./variance", "loc": "26:0-47" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import number from \"./number\";\n\nexport default function(values, valueof) {\n var n = values.length,\n m = 0,\n i = -1,\n mean = 0,\n value,\n delta,\n sum = 0;\n\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i]))) {\n delta = value - mean;\n mean += delta / ++m;\n sum += delta * (value - mean);\n }\n }\n }\n\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values)))) {\n delta = value - mean;\n mean += delta / ++m;\n sum += delta * (value - mean);\n }\n }\n }\n\n if (m > 1) return sum / (m - 1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/deviation.js", "name": "./node_modules/d3-array/src/deviation.js", "index": 12, "index2": 10, "size": 135, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/scott.js", "module": "./node_modules/d3-array/src/threshold/scott.js", "moduleName": "./node_modules/d3-array/src/threshold/scott.js", "type": "harmony side effect evaluation", "userRequest": "../deviation", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/scott.js", "module": "./node_modules/d3-array/src/threshold/scott.js", "moduleName": "./node_modules/d3-array/src/threshold/scott.js", "type": "harmony import specifier", "userRequest": "../deviation", "loc": "4:40-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./deviation", "loc": "6:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./deviation", "loc": "6:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import variance from \"./variance\";\n\nexport default function(array, f) {\n var v = variance(array, f);\n return v ? Math.sqrt(v) : v;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/extent.js", "name": "./node_modules/d3-array/src/extent.js", "index": 15, "index2": 11, "size": 961, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./extent", "loc": "4:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./extent", "loc": "7:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./extent", "loc": "7:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./extent", "loc": "12:15-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(values, valueof) {\n var n = values.length,\n i = -1,\n value,\n min,\n max;\n\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n min = max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null) {\n if (min > value) min = value;\n if (max < value) max = value;\n }\n }\n }\n }\n }\n\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n min = max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null) {\n if (min > value) min = value;\n if (max < value) max = value;\n }\n }\n }\n }\n }\n\n return [min, max];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/range.js", "name": "./node_modules/d3-array/src/range.js", "index": 20, "index2": 15, "size": 344, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./range", "loc": "6:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./range", "loc": "20:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./range", "loc": "20:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./range", "loc": "33:11-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(start, stop, step) {\n start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;\n\n var i = -1,\n n = Math.max(0, Math.ceil((stop - start) / step)) | 0,\n range = new Array(n);\n\n while (++i < n) {\n range[i] = start + i * step;\n }\n\n return range;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/ticks.js", "name": "./node_modules/d3-array/src/ticks.js", "index": 21, "index2": 16, "size": 1635, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./ticks", "loc": "7:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./ticks", "loc": "24:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ticks", "loc": "24:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ticks", "loc": "24:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ticks", "loc": "24:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./ticks", "loc": "32:11-19" } ], "usedExports": [ "tickStep", "default", "tickIncrement" ], "providedExports": [ "default", "tickIncrement", "tickStep" ], "optimizationBailout": [], "depth": 4, "source": "var e10 = Math.sqrt(50),\n e5 = Math.sqrt(10),\n e2 = Math.sqrt(2);\n\nexport default function(start, stop, count) {\n var reverse,\n i = -1,\n n,\n ticks,\n step;\n\n stop = +stop, start = +start, count = +count;\n if (start === stop && count > 0) return [start];\n if (reverse = stop < start) n = start, start = stop, stop = n;\n if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];\n\n if (step > 0) {\n start = Math.ceil(start / step);\n stop = Math.floor(stop / step);\n ticks = new Array(n = Math.ceil(stop - start + 1));\n while (++i < n) ticks[i] = (start + i) * step;\n } else {\n start = Math.floor(start * step);\n stop = Math.ceil(stop * step);\n ticks = new Array(n = Math.ceil(start - stop + 1));\n while (++i < n) ticks[i] = (start - i) / step;\n }\n\n if (reverse) ticks.reverse();\n\n return ticks;\n}\n\nexport function tickIncrement(start, stop, count) {\n var step = (stop - start) / Math.max(0, count),\n power = Math.floor(Math.log(step) / Math.LN10),\n error = step / Math.pow(10, power);\n return power >= 0\n ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)\n : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);\n}\n\nexport function tickStep(start, stop, count) {\n var step0 = Math.abs(stop - start) / Math.max(0, count),\n step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),\n error = step0 / step1;\n if (error >= e10) step1 *= 10;\n else if (error >= e5) step1 *= 5;\n else if (error >= e2) step1 *= 2;\n return stop < start ? -step1 : step1;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/sturges.js", "name": "./node_modules/d3-array/src/threshold/sturges.js", "index": 22, "index2": 17, "size": 96, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./threshold/sturges", "loc": "8:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./threshold/sturges", "loc": "11:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./threshold/sturges", "loc": "11:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./threshold/sturges", "loc": "13:18-25" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(values) {\n return Math.ceil(Math.log(values.length) / Math.LN2) + 1;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "name": "./node_modules/d3-array/src/histogram.js", "index": 16, "index2": 18, "size": 1990, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./histogram", "loc": "8:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./histogram", "loc": "8:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {slice} from \"./array\";\nimport bisect from \"./bisect\";\nimport constant from \"./constant\";\nimport extent from \"./extent\";\nimport identity from \"./identity\";\nimport range from \"./range\";\nimport {tickStep} from \"./ticks\";\nimport sturges from \"./threshold/sturges\";\n\nexport default function() {\n var value = identity,\n domain = extent,\n threshold = sturges;\n\n function histogram(data) {\n var i,\n n = data.length,\n x,\n values = new Array(n);\n\n for (i = 0; i < n; ++i) {\n values[i] = value(data[i], i, data);\n }\n\n var xz = domain(values),\n x0 = xz[0],\n x1 = xz[1],\n tz = threshold(values, x0, x1);\n\n // Convert number of thresholds into uniform thresholds.\n if (!Array.isArray(tz)) {\n tz = tickStep(x0, x1, tz);\n tz = range(Math.ceil(x0 / tz) * tz, x1, tz); // exclusive\n }\n\n // Remove any thresholds outside the domain.\n var m = tz.length;\n while (tz[0] <= x0) tz.shift(), --m;\n while (tz[m - 1] > x1) tz.pop(), --m;\n\n var bins = new Array(m + 1),\n bin;\n\n // Initialize bins.\n for (i = 0; i <= m; ++i) {\n bin = bins[i] = [];\n bin.x0 = i > 0 ? tz[i - 1] : x0;\n bin.x1 = i < m ? tz[i] : x1;\n }\n\n // Assign data to bins by value, ignoring any outside the domain.\n for (i = 0; i < n; ++i) {\n x = values[i];\n if (x0 <= x && x <= x1) {\n bins[bisect(tz, x, 0, m)].push(data[i]);\n }\n }\n\n return bins;\n }\n\n histogram.value = function(_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(_), histogram) : value;\n };\n\n histogram.domain = function(_) {\n return arguments.length ? (domain = typeof _ === \"function\" ? _ : constant([_[0], _[1]]), histogram) : domain;\n };\n\n histogram.thresholds = function(_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), histogram) : threshold;\n };\n\n return histogram;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/quantile.js", "name": "./node_modules/d3-array/src/quantile.js", "index": 24, "index2": 19, "size": 499, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony side effect evaluation", "userRequest": "./quantile", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony side effect evaluation", "userRequest": "../quantile", "loc": "4:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony import specifier", "userRequest": "../quantile", "loc": "8:39-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony import specifier", "userRequest": "../quantile", "loc": "8:64-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quantile", "loc": "19:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quantile", "loc": "19:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony import specifier", "userRequest": "./quantile", "loc": "27:9-17" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import number from \"./number\";\n\nexport default function(values, p, valueof) {\n if (valueof == null) valueof = number;\n if (!(n = values.length)) return;\n if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values);\n if (p >= 1) return +valueof(values[n - 1], n - 1, values);\n var n,\n i = (n - 1) * p,\n i0 = Math.floor(i),\n value0 = +valueof(values[i0], i0, values),\n value1 = +valueof(values[i0 + 1], i0 + 1, values);\n return value0 + (value1 - value0) * (i - i0);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "name": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "index": 23, "index2": 20, "size": 361, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./threshold/freedmanDiaconis", "loc": "9:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./threshold/freedmanDiaconis", "loc": "9:0-82" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {map} from \"../array\";\nimport ascending from \"../ascending\";\nimport number from \"../number\";\nimport quantile from \"../quantile\";\n\nexport default function(values, min, max) {\n values = map.call(values, number).sort(ascending);\n return Math.ceil((max - min) / (2 * (quantile(values, 0.75) - quantile(values, 0.25)) * Math.pow(values.length, -1 / 3)));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/scott.js", "name": "./node_modules/d3-array/src/threshold/scott.js", "index": 25, "index2": 21, "size": 180, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./threshold/scott", "loc": "10:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./threshold/scott", "loc": "10:0-60" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import deviation from \"../deviation\";\n\nexport default function(values, min, max) {\n return Math.ceil((max - min) / (3.5 * deviation(values) * Math.pow(values.length, -1 / 3)));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/max.js", "name": "./node_modules/d3-array/src/max.js", "index": 26, "index2": 22, "size": 843, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./max", "loc": "12:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./max", "loc": "12:0-37" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(values, valueof) {\n var n = values.length,\n i = -1,\n value,\n max;\n\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null && value > max) {\n max = value;\n }\n }\n }\n }\n }\n\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null && value > max) {\n max = value;\n }\n }\n }\n }\n }\n\n return max;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "name": "./node_modules/d3-array/src/mean.js", "index": 27, "index2": 23, "size": 453, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./mean", "loc": "13:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./mean", "loc": "13:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import number from \"./number\";\n\nexport default function(values, valueof) {\n var n = values.length,\n m = n,\n i = -1,\n value,\n sum = 0;\n\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i]))) sum += value;\n else --m;\n }\n }\n\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values)))) sum += value;\n else --m;\n }\n }\n\n if (m) return sum / m;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "name": "./node_modules/d3-array/src/median.js", "index": 28, "index2": 24, "size": 559, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./median", "loc": "14:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./median", "loc": "14:0-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import ascending from \"./ascending\";\nimport number from \"./number\";\nimport quantile from \"./quantile\";\n\nexport default function(values, valueof) {\n var n = values.length,\n i = -1,\n value,\n numbers = [];\n\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i]))) {\n numbers.push(value);\n }\n }\n }\n\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values)))) {\n numbers.push(value);\n }\n }\n }\n\n return quantile(numbers.sort(ascending), 0.5);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/merge.js", "name": "./node_modules/d3-array/src/merge.js", "index": 29, "index2": 25, "size": 339, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./merge", "loc": "15:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./merge", "loc": "15:0-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(arrays) {\n var n = arrays.length,\n m,\n i = -1,\n j = 0,\n merged,\n array;\n\n while (++i < n) j += arrays[i].length;\n merged = new Array(j);\n\n while (--n >= 0) {\n array = arrays[n];\n m = array.length;\n while (--m >= 0) {\n merged[--j] = array[m];\n }\n }\n\n return merged;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/min.js", "name": "./node_modules/d3-array/src/min.js", "index": 30, "index2": 26, "size": 843, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/transpose.js", "module": "./node_modules/d3-array/src/transpose.js", "moduleName": "./node_modules/d3-array/src/transpose.js", "type": "harmony side effect evaluation", "userRequest": "./min", "loc": "1:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/transpose.js", "module": "./node_modules/d3-array/src/transpose.js", "moduleName": "./node_modules/d3-array/src/transpose.js", "type": "harmony import specifier", "userRequest": "./min", "loc": "5:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./min", "loc": "16:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./min", "loc": "16:0-37" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(values, valueof) {\n var n = values.length,\n i = -1,\n value,\n min;\n\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n min = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null && min > value) {\n min = value;\n }\n }\n }\n }\n }\n\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n min = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null && min > value) {\n min = value;\n }\n }\n }\n }\n }\n\n return min;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/permute.js", "name": "./node_modules/d3-array/src/permute.js", "index": 31, "index2": 27, "size": 161, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./permute", "loc": "18:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./permute", "loc": "18:0-45" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(array, indexes) {\n var i = indexes.length, permutes = new Array(i);\n while (i--) permutes[i] = array[indexes[i]];\n return permutes;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/scan.js", "name": "./node_modules/d3-array/src/scan.js", "index": 32, "index2": 28, "size": 392, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./scan", "loc": "21:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./scan", "loc": "21:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import ascending from \"./ascending\";\n\nexport default function(values, compare) {\n if (!(n = values.length)) return;\n var n,\n i = 0,\n j = 0,\n xi,\n xj = values[j];\n\n if (compare == null) compare = ascending;\n\n while (++i < n) {\n if (compare(xi = values[i], xj) < 0 || compare(xj, xj) !== 0) {\n xj = xi, j = i;\n }\n }\n\n if (compare(xj, xj) === 0) return j;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/shuffle.js", "name": "./node_modules/d3-array/src/shuffle.js", "index": 33, "index2": 29, "size": 285, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./shuffle", "loc": "22:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./shuffle", "loc": "22:0-45" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(array, i0, i1) {\n var m = (i1 == null ? array.length : i1) - (i0 = i0 == null ? 0 : +i0),\n t,\n i;\n\n while (m) {\n i = Math.random() * m-- | 0;\n t = array[m + i0];\n array[m + i0] = array[i + i0];\n array[i + i0] = t;\n }\n\n return array;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/sum.js", "name": "./node_modules/d3-array/src/sum.js", "index": 34, "index2": 30, "size": 374, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sum", "loc": "23:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sum", "loc": "23:0-37" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(values, valueof) {\n var n = values.length,\n i = -1,\n value,\n sum = 0;\n\n if (valueof == null) {\n while (++i < n) {\n if (value = +values[i]) sum += value; // Note: zero and null are equivalent.\n }\n }\n\n else {\n while (++i < n) {\n if (value = +valueof(values[i], i, values)) sum += value;\n }\n }\n\n return sum;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/transpose.js", "name": "./node_modules/d3-array/src/transpose.js", "index": 35, "index2": 31, "size": 356, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/zip.js", "module": "./node_modules/d3-array/src/zip.js", "moduleName": "./node_modules/d3-array/src/zip.js", "type": "harmony side effect evaluation", "userRequest": "./transpose", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/zip.js", "module": "./node_modules/d3-array/src/zip.js", "moduleName": "./node_modules/d3-array/src/zip.js", "type": "harmony import specifier", "userRequest": "./transpose", "loc": "4:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transpose", "loc": "25:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transpose", "loc": "25:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import min from \"./min\";\n\nexport default function(matrix) {\n if (!(n = matrix.length)) return [];\n for (var i = -1, m = min(matrix, length), transpose = new Array(m); ++i < m;) {\n for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {\n row[j] = matrix[j][i];\n }\n }\n return transpose;\n}\n\nfunction length(d) {\n return d.length;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/zip.js", "name": "./node_modules/d3-array/src/zip.js", "index": 36, "index2": 32, "size": 99, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 198, "building": 41, "dependencies": 117 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./zip", "loc": "27:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "module": "./node_modules/d3-array/src/index.js", "moduleName": "./node_modules/d3-array/src/index.js", "type": "harmony export imported specifier", "userRequest": "./zip", "loc": "27:0-37" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import transpose from \"./transpose\";\n\nexport default function() {\n return transpose(arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "name": "./node_modules/d3-axis/src/axis.js", "index": 38, "index2": 36, "size": 5299, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-axis/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "name": "./node_modules/d3-axis/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 187, "building": 33 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "module": "./node_modules/d3-axis/src/index.js", "moduleName": "./node_modules/d3-axis/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./axis", "loc": "1:0-6:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "module": "./node_modules/d3-axis/src/index.js", "moduleName": "./node_modules/d3-axis/src/index.js", "type": "harmony export imported specifier", "userRequest": "./axis", "loc": "1:0-6:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "module": "./node_modules/d3-axis/src/index.js", "moduleName": "./node_modules/d3-axis/src/index.js", "type": "harmony export imported specifier", "userRequest": "./axis", "loc": "1:0-6:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "module": "./node_modules/d3-axis/src/index.js", "moduleName": "./node_modules/d3-axis/src/index.js", "type": "harmony export imported specifier", "userRequest": "./axis", "loc": "1:0-6:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "module": "./node_modules/d3-axis/src/index.js", "moduleName": "./node_modules/d3-axis/src/index.js", "type": "harmony export imported specifier", "userRequest": "./axis", "loc": "1:0-6:16" } ], "usedExports": [ "axisBottom", "axisTop", "axisRight", "axisLeft" ], "providedExports": [ "axisTop", "axisRight", "axisBottom", "axisLeft" ], "optimizationBailout": [], "depth": 4, "source": "import {slice} from \"./array\";\nimport identity from \"./identity\";\n\nvar top = 1,\n right = 2,\n bottom = 3,\n left = 4,\n epsilon = 1e-6;\n\nfunction translateX(x) {\n return \"translate(\" + (x + 0.5) + \",0)\";\n}\n\nfunction translateY(y) {\n return \"translate(0,\" + (y + 0.5) + \")\";\n}\n\nfunction number(scale) {\n return function(d) {\n return +scale(d);\n };\n}\n\nfunction center(scale) {\n var offset = Math.max(0, scale.bandwidth() - 1) / 2; // Adjust for 0.5px offset.\n if (scale.round()) offset = Math.round(offset);\n return function(d) {\n return +scale(d) + offset;\n };\n}\n\nfunction entering() {\n return !this.__axis;\n}\n\nfunction axis(orient, scale) {\n var tickArguments = [],\n tickValues = null,\n tickFormat = null,\n tickSizeInner = 6,\n tickSizeOuter = 6,\n tickPadding = 3,\n k = orient === top || orient === left ? -1 : 1,\n x = orient === left || orient === right ? \"x\" : \"y\",\n transform = orient === top || orient === bottom ? translateX : translateY;\n\n function axis(context) {\n var values = tickValues == null ? (scale.ticks ? scale.ticks.apply(scale, tickArguments) : scale.domain()) : tickValues,\n format = tickFormat == null ? (scale.tickFormat ? scale.tickFormat.apply(scale, tickArguments) : identity) : tickFormat,\n spacing = Math.max(tickSizeInner, 0) + tickPadding,\n range = scale.range(),\n range0 = +range[0] + 0.5,\n range1 = +range[range.length - 1] + 0.5,\n position = (scale.bandwidth ? center : number)(scale.copy()),\n selection = context.selection ? context.selection() : context,\n path = selection.selectAll(\".domain\").data([null]),\n tick = selection.selectAll(\".tick\").data(values, scale).order(),\n tickExit = tick.exit(),\n tickEnter = tick.enter().append(\"g\").attr(\"class\", \"tick\"),\n line = tick.select(\"line\"),\n text = tick.select(\"text\");\n\n path = path.merge(path.enter().insert(\"path\", \".tick\")\n .attr(\"class\", \"domain\")\n .attr(\"stroke\", \"currentColor\"));\n\n tick = tick.merge(tickEnter);\n\n line = line.merge(tickEnter.append(\"line\")\n .attr(\"stroke\", \"currentColor\")\n .attr(x + \"2\", k * tickSizeInner));\n\n text = text.merge(tickEnter.append(\"text\")\n .attr(\"fill\", \"currentColor\")\n .attr(x, k * spacing)\n .attr(\"dy\", orient === top ? \"0em\" : orient === bottom ? \"0.71em\" : \"0.32em\"));\n\n if (context !== selection) {\n path = path.transition(context);\n tick = tick.transition(context);\n line = line.transition(context);\n text = text.transition(context);\n\n tickExit = tickExit.transition(context)\n .attr(\"opacity\", epsilon)\n .attr(\"transform\", function(d) { return isFinite(d = position(d)) ? transform(d) : this.getAttribute(\"transform\"); });\n\n tickEnter\n .attr(\"opacity\", epsilon)\n .attr(\"transform\", function(d) { var p = this.parentNode.__axis; return transform(p && isFinite(p = p(d)) ? p : position(d)); });\n }\n\n tickExit.remove();\n\n path\n .attr(\"d\", orient === left || orient == right\n ? (tickSizeOuter ? \"M\" + k * tickSizeOuter + \",\" + range0 + \"H0.5V\" + range1 + \"H\" + k * tickSizeOuter : \"M0.5,\" + range0 + \"V\" + range1)\n : (tickSizeOuter ? \"M\" + range0 + \",\" + k * tickSizeOuter + \"V0.5H\" + range1 + \"V\" + k * tickSizeOuter : \"M\" + range0 + \",0.5H\" + range1));\n\n tick\n .attr(\"opacity\", 1)\n .attr(\"transform\", function(d) { return transform(position(d)); });\n\n line\n .attr(x + \"2\", k * tickSizeInner);\n\n text\n .attr(x, k * spacing)\n .text(format);\n\n selection.filter(entering)\n .attr(\"fill\", \"none\")\n .attr(\"font-size\", 10)\n .attr(\"font-family\", \"sans-serif\")\n .attr(\"text-anchor\", orient === right ? \"start\" : orient === left ? \"end\" : \"middle\");\n\n selection\n .each(function() { this.__axis = position; });\n }\n\n axis.scale = function(_) {\n return arguments.length ? (scale = _, axis) : scale;\n };\n\n axis.ticks = function() {\n return tickArguments = slice.call(arguments), axis;\n };\n\n axis.tickArguments = function(_) {\n return arguments.length ? (tickArguments = _ == null ? [] : slice.call(_), axis) : tickArguments.slice();\n };\n\n axis.tickValues = function(_) {\n return arguments.length ? (tickValues = _ == null ? null : slice.call(_), axis) : tickValues && tickValues.slice();\n };\n\n axis.tickFormat = function(_) {\n return arguments.length ? (tickFormat = _, axis) : tickFormat;\n };\n\n axis.tickSize = function(_) {\n return arguments.length ? (tickSizeInner = tickSizeOuter = +_, axis) : tickSizeInner;\n };\n\n axis.tickSizeInner = function(_) {\n return arguments.length ? (tickSizeInner = +_, axis) : tickSizeInner;\n };\n\n axis.tickSizeOuter = function(_) {\n return arguments.length ? (tickSizeOuter = +_, axis) : tickSizeOuter;\n };\n\n axis.tickPadding = function(_) {\n return arguments.length ? (tickPadding = +_, axis) : tickPadding;\n };\n\n return axis;\n}\n\nexport function axisTop(scale) {\n return axis(top, scale);\n}\n\nexport function axisRight(scale) {\n return axis(right, scale);\n}\n\nexport function axisBottom(scale) {\n return axis(bottom, scale);\n}\n\nexport function axisLeft(scale) {\n return axis(left, scale);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/dispatch.js", "name": "./node_modules/d3-dispatch/src/dispatch.js", "index": 48, "index2": 38, "size": 2748, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-dispatch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/index.js", "name": "./node_modules/d3-dispatch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 78, "building": 57 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/index.js", "module": "./node_modules/d3-dispatch/src/index.js", "moduleName": "./node_modules/d3-dispatch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./dispatch.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dispatch/src/index.js", "module": "./node_modules/d3-dispatch/src/index.js", "moduleName": "./node_modules/d3-dispatch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./dispatch.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dispatch", "loc": "4:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dispatch", "loc": "25:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dispatch", "loc": "31:18-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dispatch", "loc": "62:18-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dispatch", "loc": "162:18-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var noop = {value: function() {}};\n\nfunction dispatch() {\n for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) {\n if (!(t = arguments[i] + \"\") || (t in _) || /[\\s.]/.test(t)) throw new Error(\"illegal type: \" + t);\n _[t] = [];\n }\n return new Dispatch(_);\n}\n\nfunction Dispatch(_) {\n this._ = _;\n}\n\nfunction parseTypenames(typenames, types) {\n return typenames.trim().split(/^|\\s+/).map(function(t) {\n var name = \"\", i = t.indexOf(\".\");\n if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n if (t && !types.hasOwnProperty(t)) throw new Error(\"unknown type: \" + t);\n return {type: t, name: name};\n });\n}\n\nDispatch.prototype = dispatch.prototype = {\n constructor: Dispatch,\n on: function(typename, callback) {\n var _ = this._,\n T = parseTypenames(typename + \"\", _),\n t,\n i = -1,\n n = T.length;\n\n // If no callback was specified, return the callback of the given type and name.\n if (arguments.length < 2) {\n while (++i < n) if ((t = (typename = T[i]).type) && (t = get(_[t], typename.name))) return t;\n return;\n }\n\n // If a type was specified, set the callback for the given type and name.\n // Otherwise, if a null callback was specified, remove callbacks of the given name.\n if (callback != null && typeof callback !== \"function\") throw new Error(\"invalid callback: \" + callback);\n while (++i < n) {\n if (t = (typename = T[i]).type) _[t] = set(_[t], typename.name, callback);\n else if (callback == null) for (t in _) _[t] = set(_[t], typename.name, null);\n }\n\n return this;\n },\n copy: function() {\n var copy = {}, _ = this._;\n for (var t in _) copy[t] = _[t].slice();\n return new Dispatch(copy);\n },\n call: function(type, that) {\n if ((n = arguments.length - 2) > 0) for (var args = new Array(n), i = 0, n, t; i < n; ++i) args[i] = arguments[i + 2];\n if (!this._.hasOwnProperty(type)) throw new Error(\"unknown type: \" + type);\n for (t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);\n },\n apply: function(type, that, args) {\n if (!this._.hasOwnProperty(type)) throw new Error(\"unknown type: \" + type);\n for (var t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);\n }\n};\n\nfunction get(type, name) {\n for (var i = 0, n = type.length, c; i < n; ++i) {\n if ((c = type[i]).name === name) {\n return c.value;\n }\n }\n}\n\nfunction set(type, name, callback) {\n for (var i = 0, n = type.length; i < n; ++i) {\n if (type[i].name === name) {\n type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1));\n break;\n }\n }\n if (callback != null) type.push({name: name, value: callback});\n return type;\n}\n\nexport default dispatch;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selector.js", "name": "./node_modules/d3-selection/src/selector.js", "index": 80, "index2": 70, "size": 152, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/select.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "name": "./node_modules/d3-selection/src/selection/select.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 58, "building": 30 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "module": "./node_modules/d3-selection/src/selection/select.js", "moduleName": "./node_modules/d3-selection/src/selection/select.js", "type": "harmony side effect evaluation", "userRequest": "../selector", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/insert.js", "module": "./node_modules/d3-selection/src/selection/insert.js", "moduleName": "./node_modules/d3-selection/src/selection/insert.js", "type": "harmony side effect evaluation", "userRequest": "../selector", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "module": "./node_modules/d3-selection/src/selection/select.js", "moduleName": "./node_modules/d3-selection/src/selection/select.js", "type": "harmony import specifier", "userRequest": "../selector", "loc": "5:45-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "9:45-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/insert.js", "module": "./node_modules/d3-selection/src/selection/insert.js", "moduleName": "./node_modules/d3-selection/src/selection/insert.js", "type": "harmony import specifier", "userRequest": "../selector", "loc": "10:87-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selector", "loc": "12:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selector", "loc": "12:0-47" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function none() {}\n\nexport default function(selector) {\n return selector == null ? none : function() {\n return this.querySelector(selector);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectorAll.js", "name": "./node_modules/d3-selection/src/selectorAll.js", "index": 82, "index2": 72, "size": 171, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/selectAll.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "name": "./node_modules/d3-selection/src/selection/selectAll.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 82, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "module": "./node_modules/d3-selection/src/selection/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selection/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "../selectorAll", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "module": "./node_modules/d3-selection/src/selection/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selection/selectAll.js", "type": "harmony import specifier", "userRequest": "../selectorAll", "loc": "5:45-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "9:45-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selectorAll", "loc": "13:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selectorAll", "loc": "13:0-53" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function empty() {\n return [];\n}\n\nexport default function(selector) {\n return selector == null ? empty : function() {\n return this.querySelectorAll(selector);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/matcher.js", "name": "./node_modules/d3-selection/src/matcher.js", "index": 75, "index2": 65, "size": 100, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/filter.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "name": "./node_modules/d3-selection/src/selection/filter.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 80, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "module": "./node_modules/d3-selection/src/selection/filter.js", "moduleName": "./node_modules/d3-selection/src/selection/filter.js", "type": "harmony side effect evaluation", "userRequest": "../matcher", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./matcher", "loc": "4:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./matcher", "loc": "4:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "module": "./node_modules/d3-selection/src/selection/filter.js", "moduleName": "./node_modules/d3-selection/src/selection/filter.js", "type": "harmony import specifier", "userRequest": "../matcher", "loc": "5:43-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/filter.js", "module": "./node_modules/d3-transition/src/transition/filter.js", "moduleName": "./node_modules/d3-transition/src/transition/filter.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "5:43-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(selector) {\n return function() {\n return this.matches(selector);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/namespaces.js", "name": "./node_modules/d3-selection/src/namespaces.js", "index": 66, "index2": 55, "size": 254, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/creator.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "name": "./node_modules/d3-selection/src/creator.js", "profile": { "factory": 102, "building": 30 } } ], "profile": { "factory": 78, "building": 18, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/namespace.js", "module": "./node_modules/d3-selection/src/namespace.js", "moduleName": "./node_modules/d3-selection/src/namespace.js", "type": "harmony side effect evaluation", "userRequest": "./namespaces", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "module": "./node_modules/d3-selection/src/creator.js", "moduleName": "./node_modules/d3-selection/src/creator.js", "type": "harmony side effect evaluation", "userRequest": "./namespaces", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/namespace.js", "module": "./node_modules/d3-selection/src/namespace.js", "moduleName": "./node_modules/d3-selection/src/namespace.js", "type": "harmony import specifier", "userRequest": "./namespaces", "loc": "6:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/namespace.js", "module": "./node_modules/d3-selection/src/namespace.js", "moduleName": "./node_modules/d3-selection/src/namespace.js", "type": "harmony import specifier", "userRequest": "./namespaces", "loc": "6:53-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./namespaces", "loc": "7:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./namespaces", "loc": "7:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "module": "./node_modules/d3-selection/src/creator.js", "moduleName": "./node_modules/d3-selection/src/creator.js", "type": "harmony import specifier", "userRequest": "./namespaces", "loc": "8:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "module": "./node_modules/d3-selection/src/creator.js", "moduleName": "./node_modules/d3-selection/src/creator.js", "type": "harmony import specifier", "userRequest": "./namespaces", "loc": "8:70-75" } ], "usedExports": [ "xhtml", "default" ], "providedExports": [ "xhtml", "default" ], "optimizationBailout": [], "depth": 4, "source": "export var xhtml = \"http://www.w3.org/1999/xhtml\";\n\nexport default {\n svg: \"http://www.w3.org/2000/svg\",\n xhtml: xhtml,\n xlink: \"http://www.w3.org/1999/xlink\",\n xml: \"http://www.w3.org/XML/1998/namespace\",\n xmlns: \"http://www.w3.org/2000/xmlns/\"\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/namespace.js", "name": "./node_modules/d3-selection/src/namespace.js", "index": 65, "index2": 56, "size": 303, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/creator.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "name": "./node_modules/d3-selection/src/creator.js", "profile": { "factory": 102, "building": 30 } } ], "profile": { "factory": 78, "building": 18, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "module": "./node_modules/d3-selection/src/creator.js", "moduleName": "./node_modules/d3-selection/src/creator.js", "type": "harmony side effect evaluation", "userRequest": "./namespace", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/attr.js", "module": "./node_modules/d3-selection/src/selection/attr.js", "moduleName": "./node_modules/d3-selection/src/selection/attr.js", "type": "harmony side effect evaluation", "userRequest": "../namespace", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./namespace", "loc": "6:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./namespace", "loc": "6:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "module": "./node_modules/d3-selection/src/creator.js", "moduleName": "./node_modules/d3-selection/src/creator.js", "type": "harmony import specifier", "userRequest": "./namespace", "loc": "21:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attrTween.js", "module": "./node_modules/d3-transition/src/transition/attrTween.js", "moduleName": "./node_modules/d3-transition/src/transition/attrTween.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "42:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/attr.js", "module": "./node_modules/d3-selection/src/selection/attr.js", "moduleName": "./node_modules/d3-selection/src/selection/attr.js", "type": "harmony import specifier", "userRequest": "../namespace", "loc": "44:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "73:17-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import namespaces from \"./namespaces\";\n\nexport default function(name) {\n var prefix = name += \"\", i = prefix.indexOf(\":\");\n if (i >= 0 && (prefix = name.slice(0, i)) !== \"xmlns\") name = name.slice(i + 1);\n return namespaces.hasOwnProperty(prefix) ? {space: namespaces[prefix], local: name} : name;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/window.js", "name": "./node_modules/d3-selection/src/window.js", "index": 105, "index2": 93, "size": 218, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/dispatch.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/dispatch.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/dispatch.js", "name": "./node_modules/d3-selection/src/selection/dispatch.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 60, "building": 33 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/dispatch.js", "module": "./node_modules/d3-selection/src/selection/dispatch.js", "moduleName": "./node_modules/d3-selection/src/selection/dispatch.js", "type": "harmony side effect evaluation", "userRequest": "../window", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/style.js", "module": "./node_modules/d3-selection/src/selection/style.js", "moduleName": "./node_modules/d3-selection/src/selection/style.js", "type": "harmony side effect evaluation", "userRequest": "../window", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/dispatch.js", "module": "./node_modules/d3-selection/src/selection/dispatch.js", "moduleName": "./node_modules/d3-selection/src/selection/dispatch.js", "type": "harmony import specifier", "userRequest": "../window", "loc": "4:15-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./window", "loc": "17:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./window", "loc": "17:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/style.js", "module": "./node_modules/d3-selection/src/selection/style.js", "moduleName": "./node_modules/d3-selection/src/selection/style.js", "type": "harmony import specifier", "userRequest": "../window", "loc": "34:9-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(node) {\n return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node\n || (node.document && node) // node is a Window\n || node.defaultView; // node is a Document\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/style.js", "name": "./node_modules/d3-selection/src/selection/style.js", "index": 104, "index2": 94, "size": 968, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "12:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "13:52-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selection/style", "loc": "14:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selection/style", "loc": "14:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./style", "loc": "18:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "31:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "43:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "46:77-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./style", "loc": "63:9-24" } ], "usedExports": [ "default", "styleValue" ], "providedExports": [ "default", "styleValue" ], "optimizationBailout": [], "depth": 4, "source": "import defaultView from \"../window\";\n\nfunction styleRemove(name) {\n return function() {\n this.style.removeProperty(name);\n };\n}\n\nfunction styleConstant(name, value, priority) {\n return function() {\n this.style.setProperty(name, value, priority);\n };\n}\n\nfunction styleFunction(name, value, priority) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.style.removeProperty(name);\n else this.style.setProperty(name, v, priority);\n };\n}\n\nexport default function(name, value, priority) {\n return arguments.length > 1\n ? this.each((value == null\n ? styleRemove : typeof value === \"function\"\n ? styleFunction\n : styleConstant)(name, value, priority == null ? \"\" : priority))\n : styleValue(this.node(), name);\n}\n\nexport function styleValue(node, name) {\n return node.style.getPropertyValue(name)\n || defaultView(node).getComputedStyle(node, null).getPropertyValue(name);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/creator.js", "name": "./node_modules/d3-selection/src/creator.js", "index": 113, "index2": 101, "size": 662, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/create.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } } ], "profile": { "factory": 102, "building": 30 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "module": "./node_modules/d3-selection/src/create.js", "moduleName": "./node_modules/d3-selection/src/create.js", "type": "harmony side effect evaluation", "userRequest": "./creator", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/insert.js", "module": "./node_modules/d3-selection/src/selection/insert.js", "moduleName": "./node_modules/d3-selection/src/selection/insert.js", "type": "harmony side effect evaluation", "userRequest": "../creator", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/append.js", "module": "./node_modules/d3-selection/src/selection/append.js", "moduleName": "./node_modules/d3-selection/src/selection/append.js", "type": "harmony side effect evaluation", "userRequest": "../creator", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./creator", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./creator", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/append.js", "module": "./node_modules/d3-selection/src/selection/append.js", "moduleName": "./node_modules/d3-selection/src/selection/append.js", "type": "harmony import specifier", "userRequest": "../creator", "loc": "4:51-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "module": "./node_modules/d3-selection/src/create.js", "moduleName": "./node_modules/d3-selection/src/create.js", "type": "harmony import specifier", "userRequest": "./creator", "loc": "5:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/insert.js", "module": "./node_modules/d3-selection/src/selection/insert.js", "moduleName": "./node_modules/d3-selection/src/selection/insert.js", "type": "harmony import specifier", "userRequest": "../creator", "loc": "9:51-58" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import namespace from \"./namespace\";\nimport {xhtml} from \"./namespaces\";\n\nfunction creatorInherit(name) {\n return function() {\n var document = this.ownerDocument,\n uri = this.namespaceURI;\n return uri === xhtml && document.documentElement.namespaceURI === xhtml\n ? document.createElement(name)\n : document.createElementNS(uri, name);\n };\n}\n\nfunction creatorFixed(fullname) {\n return function() {\n return this.ownerDocument.createElementNS(fullname.space, fullname.local);\n };\n}\n\nexport default function(name) {\n var fullname = namespace(name);\n return (fullname.local\n ? creatorFixed\n : creatorInherit)(fullname);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/on.js", "name": "./node_modules/d3-selection/src/selection/on.js", "index": 118, "index2": 107, "size": 3119, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/sourceEvent.js", "module": "./node_modules/d3-selection/src/sourceEvent.js", "moduleName": "./node_modules/d3-selection/src/sourceEvent.js", "type": "harmony side effect evaluation", "userRequest": "./selection/on", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/noevent.js", "module": "./node_modules/d3-drag/src/noevent.js", "moduleName": "./node_modules/d3-drag/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "4:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/noevent.js", "module": "./node_modules/d3-zoom/src/noevent.js", "moduleName": "./node_modules/d3-zoom/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "4:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/noevent.js", "module": "./node_modules/d3-brush/src/noevent.js", "moduleName": "./node_modules/d3-brush/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "4:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/sourceEvent.js", "module": "./node_modules/d3-selection/src/sourceEvent.js", "moduleName": "./node_modules/d3-selection/src/sourceEvent.js", "type": "harmony import specifier", "userRequest": "./selection/on", "loc": "4:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/noevent.js", "module": "./node_modules/d3-drag/src/noevent.js", "moduleName": "./node_modules/d3-drag/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "8:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/noevent.js", "module": "./node_modules/d3-zoom/src/noevent.js", "moduleName": "./node_modules/d3-zoom/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "8:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/noevent.js", "module": "./node_modules/d3-brush/src/noevent.js", "moduleName": "./node_modules/d3-brush/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "8:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/noevent.js", "module": "./node_modules/d3-drag/src/noevent.js", "moduleName": "./node_modules/d3-drag/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "9:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/noevent.js", "module": "./node_modules/d3-zoom/src/noevent.js", "moduleName": "./node_modules/d3-zoom/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "9:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/noevent.js", "module": "./node_modules/d3-brush/src/noevent.js", "moduleName": "./node_modules/d3-brush/src/noevent.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "9:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "10:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "10:28-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "13:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "13:28-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selection/on", "loc": "18:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selection/on", "loc": "18:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selection/on", "loc": "18:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "18:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "18:37-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "25:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./on", "loc": "30:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "34:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "34:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "34:57-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "54:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "55:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "58:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "59:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "66:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "66:48-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "73:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "74:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./on", "loc": "75:6-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "81:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "94:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "106:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "113:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "113:28-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "123:9-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "124:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "137:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "210:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "253:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "255:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "256:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "258:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "267:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "267:42-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "275:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "286:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "296:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "298:37-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "320:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "321:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "325:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "329:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "330:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "330:104-109" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "343:45-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "346:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "346:42-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "350:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "375:8-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "379:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "386:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "463:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "464:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "468:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "479:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "509:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "528:16-21" } ], "usedExports": [ "event", "customEvent", "default" ], "providedExports": [ "event", "default", "customEvent" ], "optimizationBailout": [], "depth": 4, "source": "var filterEvents = {};\n\nexport var event = null;\n\nif (typeof document !== \"undefined\") {\n var element = document.documentElement;\n if (!(\"onmouseenter\" in element)) {\n filterEvents = {mouseenter: \"mouseover\", mouseleave: \"mouseout\"};\n }\n}\n\nfunction filterContextListener(listener, index, group) {\n listener = contextListener(listener, index, group);\n return function(event) {\n var related = event.relatedTarget;\n if (!related || (related !== this && !(related.compareDocumentPosition(this) & 8))) {\n listener.call(this, event);\n }\n };\n}\n\nfunction contextListener(listener, index, group) {\n return function(event1) {\n var event0 = event; // Events can be reentrant (e.g., focus).\n event = event1;\n try {\n listener.call(this, this.__data__, index, group);\n } finally {\n event = event0;\n }\n };\n}\n\nfunction parseTypenames(typenames) {\n return typenames.trim().split(/^|\\s+/).map(function(t) {\n var name = \"\", i = t.indexOf(\".\");\n if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n return {type: t, name: name};\n });\n}\n\nfunction onRemove(typename) {\n return function() {\n var on = this.__on;\n if (!on) return;\n for (var j = 0, i = -1, m = on.length, o; j < m; ++j) {\n if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) {\n this.removeEventListener(o.type, o.listener, o.capture);\n } else {\n on[++i] = o;\n }\n }\n if (++i) on.length = i;\n else delete this.__on;\n };\n}\n\nfunction onAdd(typename, value, capture) {\n var wrap = filterEvents.hasOwnProperty(typename.type) ? filterContextListener : contextListener;\n return function(d, i, group) {\n var on = this.__on, o, listener = wrap(value, i, group);\n if (on) for (var j = 0, m = on.length; j < m; ++j) {\n if ((o = on[j]).type === typename.type && o.name === typename.name) {\n this.removeEventListener(o.type, o.listener, o.capture);\n this.addEventListener(o.type, o.listener = listener, o.capture = capture);\n o.value = value;\n return;\n }\n }\n this.addEventListener(typename.type, listener, capture);\n o = {type: typename.type, name: typename.name, value: value, listener: listener, capture: capture};\n if (!on) this.__on = [o];\n else on.push(o);\n };\n}\n\nexport default function(typename, value, capture) {\n var typenames = parseTypenames(typename + \"\"), i, n = typenames.length, t;\n\n if (arguments.length < 2) {\n var on = this.node().__on;\n if (on) for (var j = 0, m = on.length, o; j < m; ++j) {\n for (i = 0, o = on[j]; i < n; ++i) {\n if ((t = typenames[i]).type === o.type && t.name === o.name) {\n return o.value;\n }\n }\n }\n return;\n }\n\n on = value ? onAdd : onRemove;\n if (capture == null) capture = false;\n for (i = 0; i < n; ++i) this.each(on(typenames[i], value, capture));\n return this;\n}\n\nexport function customEvent(event1, listener, that, args) {\n var event0 = event;\n event1.sourceEvent = event;\n event = event1;\n try {\n return listener.apply(that, args);\n } finally {\n event = event0;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "index": 84, "index2": 109, "size": 2342, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/select.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } } ], "profile": { "factory": 81, "building": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "module": "./node_modules/d3-selection/src/select.js", "moduleName": "./node_modules/d3-selection/src/select.js", "type": "harmony side effect evaluation", "userRequest": "./selection/index", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "module": "./node_modules/d3-selection/src/selection/select.js", "moduleName": "./node_modules/d3-selection/src/selection/select.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/sort.js", "module": "./node_modules/d3-selection/src/selection/sort.js", "moduleName": "./node_modules/d3-selection/src/selection/sort.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/merge.js", "module": "./node_modules/d3-selection/src/selection/merge.js", "moduleName": "./node_modules/d3-selection/src/selection/merge.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "module": "./node_modules/d3-selection/src/selection/filter.js", "moduleName": "./node_modules/d3-selection/src/selection/filter.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "module": "./node_modules/d3-selection/src/selection/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selection/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectAll.js", "module": "./node_modules/d3-selection/src/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "./selection/index", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "module": "./node_modules/d3-selection/src/selection/exit.js", "moduleName": "./node_modules/d3-selection/src/selection/exit.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/enter.js", "module": "./node_modules/d3-selection/src/selection/enter.js", "moduleName": "./node_modules/d3-selection/src/selection/enter.js", "type": "harmony side effect evaluation", "userRequest": "./index", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selection.js", "module": "./node_modules/d3-transition/src/transition/selection.js", "moduleName": "./node_modules/d3-transition/src/transition/selection.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "3:16-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "5:0-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "module": "./node_modules/d3-selection/src/select.js", "moduleName": "./node_modules/d3-selection/src/select.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "5:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectAll.js", "module": "./node_modules/d3-selection/src/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selectAll.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "5:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "module": "./node_modules/d3-selection/src/selection/exit.js", "moduleName": "./node_modules/d3-selection/src/selection/exit.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "5:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/enter.js", "module": "./node_modules/d3-selection/src/selection/enter.js", "moduleName": "./node_modules/d3-selection/src/selection/enter.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "5:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "6:0-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "module": "./node_modules/d3-selection/src/select.js", "moduleName": "./node_modules/d3-selection/src/select.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "6:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectAll.js", "module": "./node_modules/d3-selection/src/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selectAll.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "6:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "module": "./node_modules/d3-selection/src/select.js", "moduleName": "./node_modules/d3-selection/src/select.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "6:36-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectAll.js", "module": "./node_modules/d3-selection/src/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selectAll.js", "type": "harmony import specifier", "userRequest": "./selection/index", "loc": "6:58-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selection/index", "loc": "11:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selection/index", "loc": "11:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "module": "./node_modules/d3-selection/src/selection/filter.js", "moduleName": "./node_modules/d3-selection/src/selection/filter.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "15:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "module": "./node_modules/d3-selection/src/selection/select.js", "moduleName": "./node_modules/d3-selection/src/selection/select.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "16:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "module": "./node_modules/d3-selection/src/selection/selectAll.js", "moduleName": "./node_modules/d3-selection/src/selection/selectAll.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "16:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/merge.js", "module": "./node_modules/d3-selection/src/selection/merge.js", "moduleName": "./node_modules/d3-selection/src/selection/merge.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "17:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/sort.js", "module": "./node_modules/d3-selection/src/selection/sort.js", "moduleName": "./node_modules/d3-selection/src/selection/sort.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "19:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "32:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "39:26-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony import specifier", "userRequest": "./index", "loc": "114:15-24" } ], "usedExports": [ "Selection", "root", "default" ], "providedExports": [ "root", "Selection", "default" ], "optimizationBailout": [], "depth": 4, "source": "import selection_select from \"./select\";\nimport selection_selectAll from \"./selectAll\";\nimport selection_filter from \"./filter\";\nimport selection_data from \"./data\";\nimport selection_enter from \"./enter\";\nimport selection_exit from \"./exit\";\nimport selection_join from \"./join\";\nimport selection_merge from \"./merge\";\nimport selection_order from \"./order\";\nimport selection_sort from \"./sort\";\nimport selection_call from \"./call\";\nimport selection_nodes from \"./nodes\";\nimport selection_node from \"./node\";\nimport selection_size from \"./size\";\nimport selection_empty from \"./empty\";\nimport selection_each from \"./each\";\nimport selection_attr from \"./attr\";\nimport selection_style from \"./style\";\nimport selection_property from \"./property\";\nimport selection_classed from \"./classed\";\nimport selection_text from \"./text\";\nimport selection_html from \"./html\";\nimport selection_raise from \"./raise\";\nimport selection_lower from \"./lower\";\nimport selection_append from \"./append\";\nimport selection_insert from \"./insert\";\nimport selection_remove from \"./remove\";\nimport selection_clone from \"./clone\";\nimport selection_datum from \"./datum\";\nimport selection_on from \"./on\";\nimport selection_dispatch from \"./dispatch\";\n\nexport var root = [null];\n\nexport function Selection(groups, parents) {\n this._groups = groups;\n this._parents = parents;\n}\n\nfunction selection() {\n return new Selection([[document.documentElement]], root);\n}\n\nSelection.prototype = selection.prototype = {\n constructor: Selection,\n select: selection_select,\n selectAll: selection_selectAll,\n filter: selection_filter,\n data: selection_data,\n enter: selection_enter,\n exit: selection_exit,\n join: selection_join,\n merge: selection_merge,\n order: selection_order,\n sort: selection_sort,\n call: selection_call,\n nodes: selection_nodes,\n node: selection_node,\n size: selection_size,\n empty: selection_empty,\n each: selection_each,\n attr: selection_attr,\n style: selection_style,\n property: selection_property,\n classed: selection_classed,\n text: selection_text,\n html: selection_html,\n raise: selection_raise,\n lower: selection_lower,\n append: selection_append,\n insert: selection_insert,\n remove: selection_remove,\n clone: selection_clone,\n datum: selection_datum,\n on: selection_on,\n dispatch: selection_dispatch\n};\n\nexport default selection;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "index": 134, "index2": 129, "size": 259, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/create.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } } ], "profile": { "factory": 102, "building": 30 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "module": "./node_modules/d3-selection/src/create.js", "moduleName": "./node_modules/d3-selection/src/create.js", "type": "harmony side effect evaluation", "userRequest": "./select", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "module": "./node_modules/d3-selection/src/create.js", "moduleName": "./node_modules/d3-selection/src/create.js", "type": "harmony import specifier", "userRequest": "./select", "loc": "5:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "6:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./select", "loc": "9:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./select", "loc": "9:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "17:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "54:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "73:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "179:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "253:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "261:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "290:22-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "291:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "367:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "369:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "379:17-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Selection, root} from \"./selection/index\";\n\nexport default function(selector) {\n return typeof selector === \"string\"\n ? new Selection([[document.querySelector(selector)]], [document.documentElement])\n : new Selection([[selector]], root);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "name": "./node_modules/d3-drag/src/nodrag.js", "index": 141, "index2": 137, "size": 860, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-drag/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 60, "dependencies": 58 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "module": "./node_modules/d3-drag/src/index.js", "moduleName": "./node_modules/d3-drag/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./nodrag.js", "loc": "2:0-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "module": "./node_modules/d3-drag/src/index.js", "moduleName": "./node_modules/d3-drag/src/index.js", "type": "harmony export imported specifier", "userRequest": "./nodrag.js", "loc": "2:0-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "module": "./node_modules/d3-drag/src/index.js", "moduleName": "./node_modules/d3-drag/src/index.js", "type": "harmony export imported specifier", "userRequest": "./nodrag.js", "loc": "2:0-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "./nodrag.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./nodrag.js", "loc": "55:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./nodrag.js", "loc": "74:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-drag", "loc": "258:4-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-drag", "loc": "275:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-drag", "loc": "386:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-drag", "loc": "468:8-18" } ], "usedExports": [ "default", "yesdrag" ], "providedExports": [ "default", "yesdrag" ], "optimizationBailout": [], "depth": 4, "source": "import {select} from \"d3-selection\";\nimport noevent from \"./noevent.js\";\n\nexport default function(view) {\n var root = view.document.documentElement,\n selection = select(view).on(\"dragstart.drag\", noevent, true);\n if (\"onselectstart\" in root) {\n selection.on(\"selectstart.drag\", noevent, true);\n } else {\n root.__noselect = root.style.MozUserSelect;\n root.style.MozUserSelect = \"none\";\n }\n}\n\nexport function yesdrag(view, noclick) {\n var root = view.document.documentElement,\n selection = select(view).on(\"dragstart.drag\", null);\n if (noclick) {\n selection.on(\"click.drag\", noevent, true);\n setTimeout(function() { selection.on(\"click.drag\", null); }, 0);\n }\n if (\"onselectstart\" in root) {\n selection.on(\"selectstart.drag\", null);\n } else {\n root.style.MozUserSelect = root.__noselect;\n delete root.__noselect;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "name": "./node_modules/d3-color/src/color.js", "index": 57, "index2": 47, "size": 10673, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-color/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 78, "building": 55, "dependencies": 61 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "1:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./color.js", "loc": "1:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "3:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:52-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "7:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "8:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "10:27-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "10:54-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "15:31-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "16:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "16:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "16:31-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "18:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "18:31-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "36:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "39:36-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "41:20-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "41:40-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "45:20-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "45:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "45:38-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "54:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "59:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "113:24-29" } ], "usedExports": [ "default", "rgb", "Rgb", "rgbConvert", "Color", "brighter", "darker", "hsl" ], "providedExports": [ "Color", "darker", "brighter", "default", "rgbConvert", "rgb", "Rgb", "hslConvert", "hsl" ], "optimizationBailout": [], "depth": 4, "source": "import define, {extend} from \"./define.js\";\n\nexport function Color() {}\n\nexport var darker = 0.7;\nexport var brighter = 1 / darker;\n\nvar reI = \"\\\\s*([+-]?\\\\d+)\\\\s*\",\n reN = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",\n reP = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",\n reHex = /^#([0-9a-f]{3,8})$/,\n reRgbInteger = new RegExp(\"^rgb\\\\(\" + [reI, reI, reI] + \"\\\\)$\"),\n reRgbPercent = new RegExp(\"^rgb\\\\(\" + [reP, reP, reP] + \"\\\\)$\"),\n reRgbaInteger = new RegExp(\"^rgba\\\\(\" + [reI, reI, reI, reN] + \"\\\\)$\"),\n reRgbaPercent = new RegExp(\"^rgba\\\\(\" + [reP, reP, reP, reN] + \"\\\\)$\"),\n reHslPercent = new RegExp(\"^hsl\\\\(\" + [reN, reP, reP] + \"\\\\)$\"),\n reHslaPercent = new RegExp(\"^hsla\\\\(\" + [reN, reP, reP, reN] + \"\\\\)$\");\n\nvar named = {\n aliceblue: 0xf0f8ff,\n antiquewhite: 0xfaebd7,\n aqua: 0x00ffff,\n aquamarine: 0x7fffd4,\n azure: 0xf0ffff,\n beige: 0xf5f5dc,\n bisque: 0xffe4c4,\n black: 0x000000,\n blanchedalmond: 0xffebcd,\n blue: 0x0000ff,\n blueviolet: 0x8a2be2,\n brown: 0xa52a2a,\n burlywood: 0xdeb887,\n cadetblue: 0x5f9ea0,\n chartreuse: 0x7fff00,\n chocolate: 0xd2691e,\n coral: 0xff7f50,\n cornflowerblue: 0x6495ed,\n cornsilk: 0xfff8dc,\n crimson: 0xdc143c,\n cyan: 0x00ffff,\n darkblue: 0x00008b,\n darkcyan: 0x008b8b,\n darkgoldenrod: 0xb8860b,\n darkgray: 0xa9a9a9,\n darkgreen: 0x006400,\n darkgrey: 0xa9a9a9,\n darkkhaki: 0xbdb76b,\n darkmagenta: 0x8b008b,\n darkolivegreen: 0x556b2f,\n darkorange: 0xff8c00,\n darkorchid: 0x9932cc,\n darkred: 0x8b0000,\n darksalmon: 0xe9967a,\n darkseagreen: 0x8fbc8f,\n darkslateblue: 0x483d8b,\n darkslategray: 0x2f4f4f,\n darkslategrey: 0x2f4f4f,\n darkturquoise: 0x00ced1,\n darkviolet: 0x9400d3,\n deeppink: 0xff1493,\n deepskyblue: 0x00bfff,\n dimgray: 0x696969,\n dimgrey: 0x696969,\n dodgerblue: 0x1e90ff,\n firebrick: 0xb22222,\n floralwhite: 0xfffaf0,\n forestgreen: 0x228b22,\n fuchsia: 0xff00ff,\n gainsboro: 0xdcdcdc,\n ghostwhite: 0xf8f8ff,\n gold: 0xffd700,\n goldenrod: 0xdaa520,\n gray: 0x808080,\n green: 0x008000,\n greenyellow: 0xadff2f,\n grey: 0x808080,\n honeydew: 0xf0fff0,\n hotpink: 0xff69b4,\n indianred: 0xcd5c5c,\n indigo: 0x4b0082,\n ivory: 0xfffff0,\n khaki: 0xf0e68c,\n lavender: 0xe6e6fa,\n lavenderblush: 0xfff0f5,\n lawngreen: 0x7cfc00,\n lemonchiffon: 0xfffacd,\n lightblue: 0xadd8e6,\n lightcoral: 0xf08080,\n lightcyan: 0xe0ffff,\n lightgoldenrodyellow: 0xfafad2,\n lightgray: 0xd3d3d3,\n lightgreen: 0x90ee90,\n lightgrey: 0xd3d3d3,\n lightpink: 0xffb6c1,\n lightsalmon: 0xffa07a,\n lightseagreen: 0x20b2aa,\n lightskyblue: 0x87cefa,\n lightslategray: 0x778899,\n lightslategrey: 0x778899,\n lightsteelblue: 0xb0c4de,\n lightyellow: 0xffffe0,\n lime: 0x00ff00,\n limegreen: 0x32cd32,\n linen: 0xfaf0e6,\n magenta: 0xff00ff,\n maroon: 0x800000,\n mediumaquamarine: 0x66cdaa,\n mediumblue: 0x0000cd,\n mediumorchid: 0xba55d3,\n mediumpurple: 0x9370db,\n mediumseagreen: 0x3cb371,\n mediumslateblue: 0x7b68ee,\n mediumspringgreen: 0x00fa9a,\n mediumturquoise: 0x48d1cc,\n mediumvioletred: 0xc71585,\n midnightblue: 0x191970,\n mintcream: 0xf5fffa,\n mistyrose: 0xffe4e1,\n moccasin: 0xffe4b5,\n navajowhite: 0xffdead,\n navy: 0x000080,\n oldlace: 0xfdf5e6,\n olive: 0x808000,\n olivedrab: 0x6b8e23,\n orange: 0xffa500,\n orangered: 0xff4500,\n orchid: 0xda70d6,\n palegoldenrod: 0xeee8aa,\n palegreen: 0x98fb98,\n paleturquoise: 0xafeeee,\n palevioletred: 0xdb7093,\n papayawhip: 0xffefd5,\n peachpuff: 0xffdab9,\n peru: 0xcd853f,\n pink: 0xffc0cb,\n plum: 0xdda0dd,\n powderblue: 0xb0e0e6,\n purple: 0x800080,\n rebeccapurple: 0x663399,\n red: 0xff0000,\n rosybrown: 0xbc8f8f,\n royalblue: 0x4169e1,\n saddlebrown: 0x8b4513,\n salmon: 0xfa8072,\n sandybrown: 0xf4a460,\n seagreen: 0x2e8b57,\n seashell: 0xfff5ee,\n sienna: 0xa0522d,\n silver: 0xc0c0c0,\n skyblue: 0x87ceeb,\n slateblue: 0x6a5acd,\n slategray: 0x708090,\n slategrey: 0x708090,\n snow: 0xfffafa,\n springgreen: 0x00ff7f,\n steelblue: 0x4682b4,\n tan: 0xd2b48c,\n teal: 0x008080,\n thistle: 0xd8bfd8,\n tomato: 0xff6347,\n turquoise: 0x40e0d0,\n violet: 0xee82ee,\n wheat: 0xf5deb3,\n white: 0xffffff,\n whitesmoke: 0xf5f5f5,\n yellow: 0xffff00,\n yellowgreen: 0x9acd32\n};\n\ndefine(Color, color, {\n copy: function(channels) {\n return Object.assign(new this.constructor, this, channels);\n },\n displayable: function() {\n return this.rgb().displayable();\n },\n hex: color_formatHex, // Deprecated! Use color.formatHex.\n formatHex: color_formatHex,\n formatHsl: color_formatHsl,\n formatRgb: color_formatRgb,\n toString: color_formatRgb\n});\n\nfunction color_formatHex() {\n return this.rgb().formatHex();\n}\n\nfunction color_formatHsl() {\n return hslConvert(this).formatHsl();\n}\n\nfunction color_formatRgb() {\n return this.rgb().formatRgb();\n}\n\nexport default function color(format) {\n var m, l;\n format = (format + \"\").trim().toLowerCase();\n return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000\n : l === 3 ? new Rgb((m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1) // #f00\n : l === 8 ? new Rgb(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000\n : l === 4 ? new Rgb((m >> 12 & 0xf) | (m >> 8 & 0xf0), (m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), (((m & 0xf) << 4) | (m & 0xf)) / 0xff) // #f000\n : null) // invalid hex\n : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)\n : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)\n : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)\n : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)\n : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)\n : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)\n : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins\n : format === \"transparent\" ? new Rgb(NaN, NaN, NaN, 0)\n : null;\n}\n\nfunction rgbn(n) {\n return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);\n}\n\nfunction rgba(r, g, b, a) {\n if (a <= 0) r = g = b = NaN;\n return new Rgb(r, g, b, a);\n}\n\nexport function rgbConvert(o) {\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Rgb;\n o = o.rgb();\n return new Rgb(o.r, o.g, o.b, o.opacity);\n}\n\nexport function rgb(r, g, b, opacity) {\n return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);\n}\n\nexport function Rgb(r, g, b, opacity) {\n this.r = +r;\n this.g = +g;\n this.b = +b;\n this.opacity = +opacity;\n}\n\ndefine(Rgb, rgb, extend(Color, {\n brighter: function(k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n darker: function(k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n rgb: function() {\n return this;\n },\n displayable: function() {\n return (-0.5 <= this.r && this.r < 255.5)\n && (-0.5 <= this.g && this.g < 255.5)\n && (-0.5 <= this.b && this.b < 255.5)\n && (0 <= this.opacity && this.opacity <= 1);\n },\n hex: rgb_formatHex, // Deprecated! Use color.formatHex.\n formatHex: rgb_formatHex,\n formatRgb: rgb_formatRgb,\n toString: rgb_formatRgb\n}));\n\nfunction rgb_formatHex() {\n return \"#\" + hex(this.r) + hex(this.g) + hex(this.b);\n}\n\nfunction rgb_formatRgb() {\n var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"rgb(\" : \"rgba(\")\n + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + \", \"\n + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + \", \"\n + Math.max(0, Math.min(255, Math.round(this.b) || 0))\n + (a === 1 ? \")\" : \", \" + a + \")\");\n}\n\nfunction hex(value) {\n value = Math.max(0, Math.min(255, Math.round(value) || 0));\n return (value < 16 ? \"0\" : \"\") + value.toString(16);\n}\n\nfunction hsla(h, s, l, a) {\n if (a <= 0) h = s = l = NaN;\n else if (l <= 0 || l >= 1) h = s = NaN;\n else if (s <= 0) h = NaN;\n return new Hsl(h, s, l, a);\n}\n\nexport function hslConvert(o) {\n if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Hsl;\n if (o instanceof Hsl) return o;\n o = o.rgb();\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n min = Math.min(r, g, b),\n max = Math.max(r, g, b),\n h = NaN,\n s = max - min,\n l = (max + min) / 2;\n if (s) {\n if (r === max) h = (g - b) / s + (g < b) * 6;\n else if (g === max) h = (b - r) / s + 2;\n else h = (r - g) / s + 4;\n s /= l < 0.5 ? max + min : 2 - max - min;\n h *= 60;\n } else {\n s = l > 0 && l < 1 ? 0 : h;\n }\n return new Hsl(h, s, l, o.opacity);\n}\n\nexport function hsl(h, s, l, opacity) {\n return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);\n}\n\nfunction Hsl(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\n\ndefine(Hsl, hsl, extend(Color, {\n brighter: function(k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function(k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function() {\n var h = this.h % 360 + (this.h < 0) * 360,\n s = isNaN(h) || isNaN(this.s) ? 0 : this.s,\n l = this.l,\n m2 = l + (l < 0.5 ? l : 1 - l) * s,\n m1 = 2 * l - m2;\n return new Rgb(\n hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),\n hsl2rgb(h, m1, m2),\n hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),\n this.opacity\n );\n },\n displayable: function() {\n return (0 <= this.s && this.s <= 1 || isNaN(this.s))\n && (0 <= this.l && this.l <= 1)\n && (0 <= this.opacity && this.opacity <= 1);\n },\n formatHsl: function() {\n var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"hsl(\" : \"hsla(\")\n + (this.h || 0) + \", \"\n + (this.s || 0) * 100 + \"%, \"\n + (this.l || 0) * 100 + \"%\"\n + (a === 1 ? \")\" : \", \" + a + \")\");\n }\n}));\n\n/* From FvD 13.37, CSS Color Module Level 3 */\nfunction hsl2rgb(h, m1, m2) {\n return (h < 60 ? m1 + (m2 - m1) * h / 60\n : h < 180 ? m2\n : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60\n : m1) * 255;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/basis.js", "name": "./node_modules/d3-interpolate/src/basis.js", "index": 62, "index2": 50, "size": 600, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/rgb.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "name": "./node_modules/d3-interpolate/src/rgb.js", "profile": { "factory": 113, "building": 47, "dependencies": 0 } } ], "profile": { "factory": 28, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/basisClosed.js", "module": "./node_modules/d3-interpolate/src/basisClosed.js", "moduleName": "./node_modules/d3-interpolate/src/basisClosed.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "3:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./basis.js", "loc": "3:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/basisClosed.js", "module": "./node_modules/d3-interpolate/src/basisClosed.js", "moduleName": "./node_modules/d3-interpolate/src/basisClosed.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "11:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "54:32-37" } ], "usedExports": [ "default", "basis" ], "providedExports": [ "basis", "default" ], "optimizationBailout": [], "depth": 4, "source": "export function basis(t1, v0, v1, v2, v3) {\n var t2 = t1 * t1, t3 = t2 * t1;\n return ((1 - 3 * t1 + 3 * t2 - t3) * v0\n + (4 - 6 * t2 + 3 * t3) * v1\n + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2\n + t3 * v3) / 6;\n}\n\nexport default function(values) {\n var n = values.length - 1;\n return function(t) {\n var i = t <= 0 ? (t = 0) : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),\n v1 = values[i],\n v2 = values[i + 1],\n v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,\n v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/basisClosed.js", "name": "./node_modules/d3-interpolate/src/basisClosed.js", "index": 63, "index2": 51, "size": 363, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/rgb.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "name": "./node_modules/d3-interpolate/src/rgb.js", "profile": { "factory": 113, "building": 47, "dependencies": 0 } } ], "profile": { "factory": 28, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./basisClosed.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./basisClosed.js", "loc": "4:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./basisClosed.js", "loc": "4:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./basisClosed.js", "loc": "55:38-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {basis} from \"./basis.js\";\n\nexport default function(values) {\n var n = values.length;\n return function(t) {\n var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),\n v0 = values[(i + n - 1) % n],\n v1 = values[i % n],\n v2 = values[(i + 1) % n],\n v3 = values[(i + 2) % n];\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "name": "./node_modules/d3-interpolate/src/rgb.js", "index": 59, "index2": 52, "size": 1297, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./rgb.js", "loc": "2:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/ramp.js", "module": "./node_modules/d3-scale-chromatic/src/ramp.js", "moduleName": "./node_modules/d3-scale-chromatic/src/ramp.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "4:9-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "7:29-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "8:33-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./rgb.js", "loc": "15:0-129" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-129" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-129" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rgb.js", "loc": "15:0-129" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./rgb.js", "loc": "15:51-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./rgb.js", "loc": "16:29-32" } ], "usedExports": [ "default", "rgbBasis", "rgbBasisClosed" ], "providedExports": [ "default", "rgbBasis", "rgbBasisClosed" ], "optimizationBailout": [], "depth": 4, "source": "import {rgb as colorRgb} from \"d3-color\";\nimport basis from \"./basis.js\";\nimport basisClosed from \"./basisClosed.js\";\nimport nogamma, {gamma} from \"./color.js\";\n\nexport default (function rgbGamma(y) {\n var color = gamma(y);\n\n function rgb(start, end) {\n var r = color((start = colorRgb(start)).r, (end = colorRgb(end)).r),\n g = color(start.g, end.g),\n b = color(start.b, end.b),\n opacity = nogamma(start.opacity, end.opacity);\n return function(t) {\n start.r = r(t);\n start.g = g(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n rgb.gamma = rgbGamma;\n\n return rgb;\n})(1);\n\nfunction rgbSpline(spline) {\n return function(colors) {\n var n = colors.length,\n r = new Array(n),\n g = new Array(n),\n b = new Array(n),\n i, color;\n for (i = 0; i < n; ++i) {\n color = colorRgb(colors[i]);\n r[i] = color.r || 0;\n g[i] = color.g || 0;\n b[i] = color.b || 0;\n }\n r = spline(r);\n g = spline(g);\n b = spline(b);\n color.opacity = 1;\n return function(t) {\n color.r = r(t);\n color.g = g(t);\n color.b = b(t);\n return color + \"\";\n };\n };\n}\n\nexport var rgbBasis = rgbSpline(basis);\nexport var rgbBasisClosed = rgbSpline(basisClosed);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/numberArray.js", "name": "./node_modules/d3-interpolate/src/numberArray.js", "index": 137, "index2": 131, "size": 332, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "module": "./node_modules/d3-interpolate/src/array.js", "moduleName": "./node_modules/d3-interpolate/src/array.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "2:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "module": "./node_modules/d3-interpolate/src/array.js", "moduleName": "./node_modules/d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "5:10-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "module": "./node_modules/d3-interpolate/src/array.js", "moduleName": "./node_modules/d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "5:29-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./numberArray.js", "loc": "9:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "9:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./numberArray.js", "loc": "9:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "18:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./numberArray.js", "loc": "18:27-38" } ], "usedExports": [ "isNumberArray", "default" ], "providedExports": [ "default", "isNumberArray" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n if (!b) b = [];\n var n = a ? Math.min(b.length, a.length) : 0,\n c = b.slice(),\n i;\n return function(t) {\n for (i = 0; i < n; ++i) c[i] = a[i] * (1 - t) + b[i] * t;\n return c;\n };\n}\n\nexport function isNumberArray(x) {\n return ArrayBuffer.isView(x) && !(x instanceof DataView);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "name": "./node_modules/d3-interpolate/src/array.js", "index": 138, "index2": 132, "size": 540, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./array.js", "loc": "2:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./array.js", "loc": "2:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./array.js", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./array.js", "loc": "19:27-39" } ], "usedExports": [ "genericArray", "default" ], "providedExports": [ "default", "genericArray" ], "optimizationBailout": [], "depth": 4, "source": "import value from \"./value.js\";\nimport numberArray, {isNumberArray} from \"./numberArray.js\";\n\nexport default function(a, b) {\n return (isNumberArray(b) ? numberArray : genericArray)(a, b);\n}\n\nexport function genericArray(a, b) {\n var nb = b ? b.length : 0,\n na = a ? Math.min(nb, a.length) : 0,\n x = new Array(na),\n c = new Array(nb),\n i;\n\n for (i = 0; i < na; ++i) x[i] = value(a[i], b[i]);\n for (; i < nb; ++i) c[i] = b[i];\n\n return function(t) {\n for (i = 0; i < na; ++i) c[i] = x[i](t);\n return c;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/date.js", "name": "./node_modules/d3-interpolate/src/date.js", "index": 136, "index2": 130, "size": 144, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./date.js", "loc": "4:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./date.js", "loc": "5:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./date.js", "loc": "5:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./date.js", "loc": "17:28-32" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n var d = new Date;\n return a = +a, b = +b, function(t) {\n return d.setTime(a * (1 - t) + b * t), d;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/number.js", "name": "./node_modules/d3-interpolate/src/number.js", "index": 56, "index2": 45, "size": 110, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/string.js", "module": "./node_modules/d3-interpolate/src/string.js", "moduleName": "./node_modules/d3-interpolate/src/string.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony side effect evaluation", "userRequest": "../number.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "5:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "6:34-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./number.js", "loc": "8:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./number.js", "loc": "8:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "13:27-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "13:58-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "14:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "21:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "22:68-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "30:67-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "39:27-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "../number.js", "loc": "39:58-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/string.js", "module": "./node_modules/d3-interpolate/src/string.js", "moduleName": "./node_modules/d3-interpolate/src/string.js", "type": "harmony import specifier", "userRequest": "./number.js", "loc": "43:23-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "89:88-105" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n return a = +a, b = +b, function(t) {\n return a * (1 - t) + b * t;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/object.js", "name": "./node_modules/d3-interpolate/src/object.js", "index": 139, "index2": 133, "size": 393, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./object.js", "loc": "6:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./object.js", "loc": "10:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./object.js", "loc": "10:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./object.js", "loc": "20:90-96" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import value from \"./value.js\";\n\nexport default function(a, b) {\n var i = {},\n c = {},\n k;\n\n if (a === null || typeof a !== \"object\") a = {};\n if (b === null || typeof b !== \"object\") b = {};\n\n for (k in b) {\n if (k in a) {\n i[k] = value(a[k], b[k]);\n } else {\n c[k] = b[k];\n }\n }\n\n return function(t) {\n for (k in i) c[k] = i[k](t);\n return c;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/string.js", "name": "./node_modules/d3-interpolate/src/string.js", "index": 64, "index2": 53, "size": 1761, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./string.js", "loc": "7:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "module": "./node_modules/d3-transition/src/transition/interpolate.js", "moduleName": "./node_modules/d3-transition/src/transition/interpolate.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "9:8-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./string.js", "loc": "12:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./string.js", "loc": "12:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./string.js", "loc": "15:58-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import number from \"./number.js\";\n\nvar reA = /[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,\n reB = new RegExp(reA.source, \"g\");\n\nfunction zero(b) {\n return function() {\n return b;\n };\n}\n\nfunction one(b) {\n return function(t) {\n return b(t) + \"\";\n };\n}\n\nexport default function(a, b) {\n var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b\n am, // current match in a\n bm, // current match in b\n bs, // string preceding current number in b, if any\n i = -1, // index in s\n s = [], // string constants and placeholders\n q = []; // number interpolators\n\n // Coerce inputs to strings.\n a = a + \"\", b = b + \"\";\n\n // Interpolate pairs of numbers in a & b.\n while ((am = reA.exec(a))\n && (bm = reB.exec(b))) {\n if ((bs = bm.index) > bi) { // a string precedes the next number in b\n bs = b.slice(bi, bs);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n }\n if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match\n if (s[i]) s[i] += bm; // coalesce with previous string\n else s[++i] = bm;\n } else { // interpolate non-matching numbers\n s[++i] = null;\n q.push({i: i, x: number(am, bm)});\n }\n bi = reB.lastIndex;\n }\n\n // Add remains of b.\n if (bi < b.length) {\n bs = b.slice(bi);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n }\n\n // Special optimization for only a single match.\n // Otherwise, interpolate each of the numbers and rejoin the string.\n return s.length < 2 ? (q[0]\n ? one(q[0].x)\n : zero(b))\n : (b = q.length, function(t) {\n for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);\n return s.join(\"\");\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "index": 135, "index2": 134, "size": 806, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./value.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/object.js", "module": "./node_modules/d3-interpolate/src/object.js", "moduleName": "./node_modules/d3-interpolate/src/object.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "module": "./node_modules/d3-interpolate/src/array.js", "moduleName": "./node_modules/d3-interpolate/src/array.js", "type": "harmony side effect evaluation", "userRequest": "./value.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/object.js", "module": "./node_modules/d3-interpolate/src/object.js", "moduleName": "./node_modules/d3-interpolate/src/object.js", "type": "harmony import specifier", "userRequest": "./value.js", "loc": "13:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/array.js", "module": "./node_modules/d3-interpolate/src/array.js", "moduleName": "./node_modules/d3-interpolate/src/array.js", "type": "harmony import specifier", "userRequest": "./value.js", "loc": "15:34-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "69:20-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "229:20-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {color} from \"d3-color\";\nimport rgb from \"./rgb.js\";\nimport {genericArray} from \"./array.js\";\nimport date from \"./date.js\";\nimport number from \"./number.js\";\nimport object from \"./object.js\";\nimport string from \"./string.js\";\nimport constant from \"./constant.js\";\nimport numberArray, {isNumberArray} from \"./numberArray.js\";\n\nexport default function(a, b) {\n var t = typeof b, c;\n return b == null || t === \"boolean\" ? constant(b)\n : (t === \"number\" ? number\n : t === \"string\" ? ((c = color(b)) ? (b = c, rgb) : string)\n : b instanceof color ? rgb\n : b instanceof Date ? date\n : isNumberArray(b) ? numberArray\n : Array.isArray(b) ? genericArray\n : typeof b.valueOf !== \"function\" && typeof b.toString !== \"function\" || isNaN(b) ? object\n : number)(a, b);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/point.js", "name": "./node_modules/d3-selection/src/point.js", "index": 133, "index2": 127, "size": 448, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touch.js", "module": "./node_modules/d3-selection/src/touch.js", "moduleName": "./node_modules/d3-selection/src/touch.js", "type": "harmony side effect evaluation", "userRequest": "./point", "loc": "2:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "module": "./node_modules/d3-selection/src/touches.js", "moduleName": "./node_modules/d3-selection/src/touches.js", "type": "harmony side effect evaluation", "userRequest": "./point", "loc": "2:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/mouse.js", "module": "./node_modules/d3-selection/src/mouse.js", "moduleName": "./node_modules/d3-selection/src/mouse.js", "type": "harmony side effect evaluation", "userRequest": "./point", "loc": "2:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/mouse.js", "module": "./node_modules/d3-selection/src/mouse.js", "moduleName": "./node_modules/d3-selection/src/mouse.js", "type": "harmony import specifier", "userRequest": "./point", "loc": "7:9-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./point", "loc": "8:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./point", "loc": "8:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "module": "./node_modules/d3-selection/src/touches.js", "moduleName": "./node_modules/d3-selection/src/touches.js", "type": "harmony import specifier", "userRequest": "./point", "loc": "8:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touch.js", "module": "./node_modules/d3-selection/src/touch.js", "moduleName": "./node_modules/d3-selection/src/touch.js", "type": "harmony import specifier", "userRequest": "./point", "loc": "9:13-18" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(node, event) {\n var svg = node.ownerSVGElement || node;\n\n if (svg.createSVGPoint) {\n var point = svg.createSVGPoint();\n point.x = event.clientX, point.y = event.clientY;\n point = point.matrixTransform(node.getScreenCTM().inverse());\n return [point.x, point.y];\n }\n\n var rect = node.getBoundingClientRect();\n return [event.clientX - rect.left - node.clientLeft, event.clientY - rect.top - node.clientTop];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touch.js", "name": "./node_modules/d3-selection/src/touch.js", "index": 131, "index2": 128, "size": 407, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./touch", "loc": "15:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./touch", "loc": "15:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "25:11-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "86:58-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "303:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "328:26-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import sourceEvent from \"./sourceEvent\";\nimport point from \"./point\";\n\nexport default function(node, touches, identifier) {\n if (arguments.length < 3) identifier = touches, touches = sourceEvent().changedTouches;\n\n for (var i = 0, n = touches ? touches.length : 0, touch; i < n; ++i) {\n if ((touch = touches[i]).identifier === identifier) {\n return point(node, touch);\n }\n }\n\n return null;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/mouse.js", "name": "./node_modules/d3-selection/src/mouse.js", "index": 140, "index2": 135, "size": 224, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./mouse", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./mouse", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "52:73-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "219:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "254:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "270:70-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "284:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-selection", "loc": "346:80-85" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import sourceEvent from \"./sourceEvent\";\nimport point from \"./point\";\n\nexport default function(node) {\n var event = sourceEvent();\n if (event.changedTouches) event = event.changedTouches[0];\n return point(node, event);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/timer.js", "name": "./node_modules/d3-timer/src/timer.js", "index": 49, "index2": 39, "size": 2905, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-timer/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "name": "./node_modules/d3-timer/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 98, "building": 72, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-5:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-5:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-5:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timer.js", "loc": "1:0-5:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/interval.js", "module": "./node_modules/d3-timer/src/interval.js", "moduleName": "./node_modules/d3-timer/src/interval.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/timeout.js", "module": "./node_modules/d3-timer/src/timeout.js", "moduleName": "./node_modules/d3-timer/src/timeout.js", "type": "harmony side effect evaluation", "userRequest": "./timer.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/interval.js", "module": "./node_modules/d3-timer/src/interval.js", "moduleName": "./node_modules/d3-timer/src/interval.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "4:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/timeout.js", "module": "./node_modules/d3-timer/src/timeout.js", "moduleName": "./node_modules/d3-timer/src/timeout.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "4:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/interval.js", "module": "./node_modules/d3-timer/src/interval.js", "moduleName": "./node_modules/d3-timer/src/interval.js", "type": "harmony import specifier", "userRequest": "./timer.js", "loc": "6:40-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "17:34-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "module": "./node_modules/d3-force/src/simulation.js", "moduleName": "./node_modules/d3-force/src/simulation.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "24:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "30:50-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "59:15-20" } ], "usedExports": [ "timer", "Timer", "now", "timerFlush" ], "providedExports": [ "now", "Timer", "timer", "timerFlush" ], "optimizationBailout": [], "depth": 4, "source": "var frame = 0, // is an animation frame pending?\n timeout = 0, // is a timeout pending?\n interval = 0, // are any timers active?\n pokeDelay = 1000, // how frequently we check for clock skew\n taskHead,\n taskTail,\n clockLast = 0,\n clockNow = 0,\n clockSkew = 0,\n clock = typeof performance === \"object\" && performance.now ? performance : Date,\n setFrame = typeof window === \"object\" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(f) { setTimeout(f, 17); };\n\nexport function now() {\n return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);\n}\n\nfunction clearNow() {\n clockNow = 0;\n}\n\nexport function Timer() {\n this._call =\n this._time =\n this._next = null;\n}\n\nTimer.prototype = timer.prototype = {\n constructor: Timer,\n restart: function(callback, delay, time) {\n if (typeof callback !== \"function\") throw new TypeError(\"callback is not a function\");\n time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);\n if (!this._next && taskTail !== this) {\n if (taskTail) taskTail._next = this;\n else taskHead = this;\n taskTail = this;\n }\n this._call = callback;\n this._time = time;\n sleep();\n },\n stop: function() {\n if (this._call) {\n this._call = null;\n this._time = Infinity;\n sleep();\n }\n }\n};\n\nexport function timer(callback, delay, time) {\n var t = new Timer;\n t.restart(callback, delay, time);\n return t;\n}\n\nexport function timerFlush() {\n now(); // Get the current time, if not already set.\n ++frame; // Pretend we’ve set an alarm, if we haven’t already.\n var t = taskHead, e;\n while (t) {\n if ((e = clockNow - t._time) >= 0) t._call.call(null, e);\n t = t._next;\n }\n --frame;\n}\n\nfunction wake() {\n clockNow = (clockLast = clock.now()) + clockSkew;\n frame = timeout = 0;\n try {\n timerFlush();\n } finally {\n frame = 0;\n nap();\n clockNow = 0;\n }\n}\n\nfunction poke() {\n var now = clock.now(), delay = now - clockLast;\n if (delay > pokeDelay) clockSkew -= delay, clockLast = now;\n}\n\nfunction nap() {\n var t0, t1 = taskHead, t2, time = Infinity;\n while (t1) {\n if (t1._call) {\n if (time > t1._time) time = t1._time;\n t0 = t1, t1 = t1._next;\n } else {\n t2 = t1._next, t1._next = null;\n t1 = t0 ? t0._next = t2 : taskHead = t2;\n }\n }\n taskTail = t0;\n sleep(time);\n}\n\nfunction sleep(time) {\n if (frame) return; // Soonest alarm already set, or will be.\n if (timeout) timeout = clearTimeout(timeout);\n var delay = time - clockNow; // Strictly less than if we recomputed clockNow.\n if (delay > 24) {\n if (time < Infinity) timeout = setTimeout(wake, time - clock.now() - clockSkew);\n if (interval) interval = clearInterval(interval);\n } else {\n if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);\n frame = 1, setFrame(wake);\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/timeout.js", "name": "./node_modules/d3-timer/src/timeout.js", "index": 50, "index2": 40, "size": 253, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-timer/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "name": "./node_modules/d3-timer/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 98, "building": 72, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./timeout.js", "loc": "7:0-9:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./timeout.js", "loc": "7:0-9:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "82:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "module": "./node_modules/d3-transition/src/transition/schedule.js", "moduleName": "./node_modules/d3-transition/src/transition/schedule.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-timer", "loc": "105:4-11" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Timer} from \"./timer.js\";\n\nexport default function(callback, delay, time) {\n var t = new Timer;\n delay = delay == null ? 0 : +delay;\n t.restart(function(elapsed) {\n t.stop();\n callback(elapsed + delay);\n }, delay, time);\n return t;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "name": "./node_modules/d3-transition/src/interrupt.js", "index": 46, "index2": 42, "size": 676, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 285, "building": 41, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/interrupt.js", "module": "./node_modules/d3-transition/src/selection/interrupt.js", "moduleName": "./node_modules/d3-transition/src/selection/interrupt.js", "type": "harmony side effect evaluation", "userRequest": "../interrupt.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./interrupt.js", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony export imported specifier", "userRequest": "./interrupt.js", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/interrupt.js", "module": "./node_modules/d3-transition/src/selection/interrupt.js", "moduleName": "./node_modules/d3-transition/src/selection/interrupt.js", "type": "harmony import specifier", "userRequest": "../interrupt.js", "loc": "5:4-13" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {STARTING, ENDING, ENDED} from \"./transition/schedule.js\";\n\nexport default function(node, name) {\n var schedules = node.__transition,\n schedule,\n active,\n empty = true,\n i;\n\n if (!schedules) return;\n\n name = name == null ? null : name + \"\";\n\n for (i in schedules) {\n if ((schedule = schedules[i]).name !== name) { empty = false; continue; }\n active = schedule.state > STARTING && schedule.state < ENDING;\n schedule.state = ENDED;\n schedule.timer.stop();\n schedule.on.call(active ? \"interrupt\" : \"cancel\", node, node.__data__, schedule.index, schedule.group);\n delete schedules[i];\n }\n\n if (empty) delete node.__transition;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "name": "./node_modules/d3-interpolate/src/transform/index.js", "index": 67, "index2": 59, "size": 2070, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transform/index.js", "loc": "13:0-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform/index.js", "loc": "13:0-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform/index.js", "loc": "13:0-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "70:41-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "73:65-85" } ], "usedExports": [ "interpolateTransformCss", "interpolateTransformSvg" ], "providedExports": [ "interpolateTransformCss", "interpolateTransformSvg" ], "optimizationBailout": [], "depth": 4, "source": "import number from \"../number.js\";\nimport {parseCss, parseSvg} from \"./parse.js\";\n\nfunction interpolateTransform(parse, pxComma, pxParen, degParen) {\n\n function pop(s) {\n return s.length ? s.pop() + \" \" : \"\";\n }\n\n function translate(xa, ya, xb, yb, s, q) {\n if (xa !== xb || ya !== yb) {\n var i = s.push(\"translate(\", null, pxComma, null, pxParen);\n q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});\n } else if (xb || yb) {\n s.push(\"translate(\" + xb + pxComma + yb + pxParen);\n }\n }\n\n function rotate(a, b, s, q) {\n if (a !== b) {\n if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path\n q.push({i: s.push(pop(s) + \"rotate(\", null, degParen) - 2, x: number(a, b)});\n } else if (b) {\n s.push(pop(s) + \"rotate(\" + b + degParen);\n }\n }\n\n function skewX(a, b, s, q) {\n if (a !== b) {\n q.push({i: s.push(pop(s) + \"skewX(\", null, degParen) - 2, x: number(a, b)});\n } else if (b) {\n s.push(pop(s) + \"skewX(\" + b + degParen);\n }\n }\n\n function scale(xa, ya, xb, yb, s, q) {\n if (xa !== xb || ya !== yb) {\n var i = s.push(pop(s) + \"scale(\", null, \",\", null, \")\");\n q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});\n } else if (xb !== 1 || yb !== 1) {\n s.push(pop(s) + \"scale(\" + xb + \",\" + yb + \")\");\n }\n }\n\n return function(a, b) {\n var s = [], // string constants and placeholders\n q = []; // number interpolators\n a = parse(a), b = parse(b);\n translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);\n rotate(a.rotate, b.rotate, s, q);\n skewX(a.skewX, b.skewX, s, q);\n scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);\n a = b = null; // gc\n return function(t) {\n var i = -1, n = q.length, o;\n while (++i < n) s[(o = q[i]).i] = o.x(t);\n return s.join(\"\");\n };\n };\n}\n\nexport var interpolateTransformCss = interpolateTransform(parseCss, \"px, \", \"px)\", \"deg)\");\nexport var interpolateTransformSvg = interpolateTransform(parseSvg, \", \", \")\", \")\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "index": 52, "index2": 117, "size": 2091, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/selection/transition.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } } ], "profile": { "factory": 38, "building": 36, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony side effect evaluation", "userRequest": "../transition/index.js", "loc": "1:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/active.js", "module": "./node_modules/d3-transition/src/active.js", "moduleName": "./node_modules/d3-transition/src/active.js", "type": "harmony side effect evaluation", "userRequest": "./transition/index.js", "loc": "1:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/merge.js", "module": "./node_modules/d3-transition/src/transition/merge.js", "moduleName": "./node_modules/d3-transition/src/transition/merge.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transition/index.js", "loc": "2:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transition/index.js", "loc": "2:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/filter.js", "module": "./node_modules/d3-transition/src/transition/filter.js", "moduleName": "./node_modules/d3-transition/src/transition/filter.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "7:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/filter.js", "module": "./node_modules/d3-transition/src/transition/filter.js", "moduleName": "./node_modules/d3-transition/src/transition/filter.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "15:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/active.js", "module": "./node_modules/d3-transition/src/active.js", "moduleName": "./node_modules/d3-transition/src/active.js", "type": "harmony import specifier", "userRequest": "./transition/index.js", "loc": "15:19-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/merge.js", "module": "./node_modules/d3-transition/src/transition/merge.js", "moduleName": "./node_modules/d3-transition/src/transition/merge.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "18:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "21:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "23:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "25:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "userRequest": "../transition/index.js", "loc": "27:22-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "userRequest": "../transition/index.js", "loc": "30:9-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "userRequest": "../transition/index.js", "loc": "41:13-23" } ], "usedExports": [ "Transition", "newId", "default" ], "providedExports": [ "Transition", "default", "newId" ], "optimizationBailout": [], "depth": 4, "source": "import {selection} from \"d3-selection\";\nimport transition_attr from \"./attr.js\";\nimport transition_attrTween from \"./attrTween.js\";\nimport transition_delay from \"./delay.js\";\nimport transition_duration from \"./duration.js\";\nimport transition_ease from \"./ease.js\";\nimport transition_filter from \"./filter.js\";\nimport transition_merge from \"./merge.js\";\nimport transition_on from \"./on.js\";\nimport transition_remove from \"./remove.js\";\nimport transition_select from \"./select.js\";\nimport transition_selectAll from \"./selectAll.js\";\nimport transition_selection from \"./selection.js\";\nimport transition_style from \"./style.js\";\nimport transition_styleTween from \"./styleTween.js\";\nimport transition_text from \"./text.js\";\nimport transition_textTween from \"./textTween.js\";\nimport transition_transition from \"./transition.js\";\nimport transition_tween from \"./tween.js\";\nimport transition_end from \"./end.js\";\n\nvar id = 0;\n\nexport function Transition(groups, parents, name, id) {\n this._groups = groups;\n this._parents = parents;\n this._name = name;\n this._id = id;\n}\n\nexport default function transition(name) {\n return selection().transition(name);\n}\n\nexport function newId() {\n return ++id;\n}\n\nvar selection_prototype = selection.prototype;\n\nTransition.prototype = transition.prototype = {\n constructor: Transition,\n select: transition_select,\n selectAll: transition_selectAll,\n filter: transition_filter,\n merge: transition_merge,\n selection: transition_selection,\n transition: transition_transition,\n call: selection_prototype.call,\n nodes: selection_prototype.nodes,\n node: selection_prototype.node,\n size: selection_prototype.size,\n empty: selection_prototype.empty,\n each: selection_prototype.each,\n on: transition_on,\n attr: transition_attr,\n attrTween: transition_attrTween,\n style: transition_style,\n styleTween: transition_styleTween,\n text: transition_text,\n textTween: transition_textTween,\n remove: transition_remove,\n tween: transition_tween,\n delay: transition_delay,\n duration: transition_duration,\n ease: transition_ease,\n end: transition_end\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/cubic.js", "name": "./node_modules/d3-ease/src/cubic.js", "index": 126, "index2": 118, "size": 210, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-ease", "loc": "10:8-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cubic.js", "loc": "12:0-17:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "12:0-17:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "12:0-17:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "12:0-17:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubic.js", "loc": "12:0-17:20" } ], "usedExports": [ "cubicInOut", "cubicIn", "cubicOut" ], "providedExports": [ "cubicIn", "cubicOut", "cubicInOut" ], "optimizationBailout": [], "depth": 4, "source": "export function cubicIn(t) {\n return t * t * t;\n}\n\nexport function cubicOut(t) {\n return --t * t * t + 1;\n}\n\nexport function cubicInOut(t) {\n return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "index": 44, "index2": 120, "size": 251, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 285, "building": 41, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selection/index.js", "loc": "1:0-30" } ], "usedExports": false, "providedExports": [], "optimizationBailout": [], "depth": 4, "source": "import {selection} from \"d3-selection\";\nimport selection_interrupt from \"./interrupt.js\";\nimport selection_transition from \"./transition.js\";\n\nselection.prototype.interrupt = selection_interrupt;\nselection.prototype.transition = selection_transition;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/active.js", "name": "./node_modules/d3-transition/src/active.js", "index": 127, "index2": 121, "size": 490, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 285, "building": 41, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./active.js", "loc": "3:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "module": "./node_modules/d3-transition/src/index.js", "moduleName": "./node_modules/d3-transition/src/index.js", "type": "harmony export imported specifier", "userRequest": "./active.js", "loc": "3:0-46" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Transition} from \"./transition/index.js\";\nimport {SCHEDULED} from \"./transition/schedule.js\";\n\nvar root = [null];\n\nexport default function(node, name) {\n var schedules = node.__transition,\n schedule,\n i;\n\n if (schedules) {\n name = name == null ? null : name + \"\";\n for (i in schedules) {\n if ((schedule = schedules[i]).state > SCHEDULED && schedule.name === name) {\n return new Transition([[node]], root, name, +i);\n }\n }\n }\n\n return null;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "name": "./node_modules/d3-brush/src/brush.js", "index": 42, "index2": 138, "size": 17019, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-brush/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "name": "./node_modules/d3-brush/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 73, "building": 72, "dependencies": 57 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "module": "./node_modules/d3-brush/src/index.js", "moduleName": "./node_modules/d3-brush/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./brush.js", "loc": "1:0-6:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "module": "./node_modules/d3-brush/src/index.js", "moduleName": "./node_modules/d3-brush/src/index.js", "type": "harmony export imported specifier", "userRequest": "./brush.js", "loc": "1:0-6:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "module": "./node_modules/d3-brush/src/index.js", "moduleName": "./node_modules/d3-brush/src/index.js", "type": "harmony export imported specifier", "userRequest": "./brush.js", "loc": "1:0-6:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "module": "./node_modules/d3-brush/src/index.js", "moduleName": "./node_modules/d3-brush/src/index.js", "type": "harmony export imported specifier", "userRequest": "./brush.js", "loc": "1:0-6:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "module": "./node_modules/d3-brush/src/index.js", "moduleName": "./node_modules/d3-brush/src/index.js", "type": "harmony export imported specifier", "userRequest": "./brush.js", "loc": "1:0-6:20" } ], "usedExports": [ "default", "brushX", "brushY", "brushSelection" ], "providedExports": [ "brushSelection", "brushX", "brushY", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {dispatch} from \"d3-dispatch\";\nimport {dragDisable, dragEnable} from \"d3-drag\";\nimport {interpolate} from \"d3-interpolate\";\nimport {customEvent, event, touch, mouse, select} from \"d3-selection\";\nimport {interrupt} from \"d3-transition\";\nimport constant from \"./constant.js\";\nimport BrushEvent from \"./event.js\";\nimport noevent, {nopropagation} from \"./noevent.js\";\n\nvar MODE_DRAG = {name: \"drag\"},\n MODE_SPACE = {name: \"space\"},\n MODE_HANDLE = {name: \"handle\"},\n MODE_CENTER = {name: \"center\"};\n\nfunction number1(e) {\n return [+e[0], +e[1]];\n}\n\nfunction number2(e) {\n return [number1(e[0]), number1(e[1])];\n}\n\nfunction toucher(identifier) {\n return function(target) {\n return touch(target, event.touches, identifier);\n };\n}\n\nvar X = {\n name: \"x\",\n handles: [\"w\", \"e\"].map(type),\n input: function(x, e) { return x == null ? null : [[+x[0], e[0][1]], [+x[1], e[1][1]]]; },\n output: function(xy) { return xy && [xy[0][0], xy[1][0]]; }\n};\n\nvar Y = {\n name: \"y\",\n handles: [\"n\", \"s\"].map(type),\n input: function(y, e) { return y == null ? null : [[e[0][0], +y[0]], [e[1][0], +y[1]]]; },\n output: function(xy) { return xy && [xy[0][1], xy[1][1]]; }\n};\n\nvar XY = {\n name: \"xy\",\n handles: [\"n\", \"w\", \"e\", \"s\", \"nw\", \"ne\", \"sw\", \"se\"].map(type),\n input: function(xy) { return xy == null ? null : number2(xy); },\n output: function(xy) { return xy; }\n};\n\nvar cursors = {\n overlay: \"crosshair\",\n selection: \"move\",\n n: \"ns-resize\",\n e: \"ew-resize\",\n s: \"ns-resize\",\n w: \"ew-resize\",\n nw: \"nwse-resize\",\n ne: \"nesw-resize\",\n se: \"nwse-resize\",\n sw: \"nesw-resize\"\n};\n\nvar flipX = {\n e: \"w\",\n w: \"e\",\n nw: \"ne\",\n ne: \"nw\",\n se: \"sw\",\n sw: \"se\"\n};\n\nvar flipY = {\n n: \"s\",\n s: \"n\",\n nw: \"sw\",\n ne: \"se\",\n se: \"ne\",\n sw: \"nw\"\n};\n\nvar signsX = {\n overlay: +1,\n selection: +1,\n n: null,\n e: +1,\n s: null,\n w: -1,\n nw: -1,\n ne: +1,\n se: +1,\n sw: -1\n};\n\nvar signsY = {\n overlay: +1,\n selection: +1,\n n: -1,\n e: null,\n s: +1,\n w: null,\n nw: -1,\n ne: -1,\n se: +1,\n sw: +1\n};\n\nfunction type(t) {\n return {type: t};\n}\n\n// Ignore right-click, since that should open the context menu.\nfunction defaultFilter() {\n return !event.ctrlKey && !event.button;\n}\n\nfunction defaultExtent() {\n var svg = this.ownerSVGElement || this;\n if (svg.hasAttribute(\"viewBox\")) {\n svg = svg.viewBox.baseVal;\n return [[svg.x, svg.y], [svg.x + svg.width, svg.y + svg.height]];\n }\n return [[0, 0], [svg.width.baseVal.value, svg.height.baseVal.value]];\n}\n\nfunction defaultTouchable() {\n return navigator.maxTouchPoints || (\"ontouchstart\" in this);\n}\n\n// Like d3.local, but with the name “__brush” rather than auto-generated.\nfunction local(node) {\n while (!node.__brush) if (!(node = node.parentNode)) return;\n return node.__brush;\n}\n\nfunction empty(extent) {\n return extent[0][0] === extent[1][0]\n || extent[0][1] === extent[1][1];\n}\n\nexport function brushSelection(node) {\n var state = node.__brush;\n return state ? state.dim.output(state.selection) : null;\n}\n\nexport function brushX() {\n return brush(X);\n}\n\nexport function brushY() {\n return brush(Y);\n}\n\nexport default function() {\n return brush(XY);\n}\n\nfunction brush(dim) {\n var extent = defaultExtent,\n filter = defaultFilter,\n touchable = defaultTouchable,\n keys = true,\n listeners = dispatch(\"start\", \"brush\", \"end\"),\n handleSize = 6,\n touchending;\n\n function brush(group) {\n var overlay = group\n .property(\"__brush\", initialize)\n .selectAll(\".overlay\")\n .data([type(\"overlay\")]);\n\n overlay.enter().append(\"rect\")\n .attr(\"class\", \"overlay\")\n .attr(\"pointer-events\", \"all\")\n .attr(\"cursor\", cursors.overlay)\n .merge(overlay)\n .each(function() {\n var extent = local(this).extent;\n select(this)\n .attr(\"x\", extent[0][0])\n .attr(\"y\", extent[0][1])\n .attr(\"width\", extent[1][0] - extent[0][0])\n .attr(\"height\", extent[1][1] - extent[0][1]);\n });\n\n group.selectAll(\".selection\")\n .data([type(\"selection\")])\n .enter().append(\"rect\")\n .attr(\"class\", \"selection\")\n .attr(\"cursor\", cursors.selection)\n .attr(\"fill\", \"#777\")\n .attr(\"fill-opacity\", 0.3)\n .attr(\"stroke\", \"#fff\")\n .attr(\"shape-rendering\", \"crispEdges\");\n\n var handle = group.selectAll(\".handle\")\n .data(dim.handles, function(d) { return d.type; });\n\n handle.exit().remove();\n\n handle.enter().append(\"rect\")\n .attr(\"class\", function(d) { return \"handle handle--\" + d.type; })\n .attr(\"cursor\", function(d) { return cursors[d.type]; });\n\n group\n .each(redraw)\n .attr(\"fill\", \"none\")\n .attr(\"pointer-events\", \"all\")\n .on(\"mousedown.brush\", started)\n .filter(touchable)\n .on(\"touchstart.brush\", started)\n .on(\"touchmove.brush\", touchmoved)\n .on(\"touchend.brush touchcancel.brush\", touchended)\n .style(\"touch-action\", \"none\")\n .style(\"-webkit-tap-highlight-color\", \"rgba(0,0,0,0)\");\n }\n\n brush.move = function(group, selection) {\n if (group.selection) {\n group\n .on(\"start.brush\", function() { emitter(this, arguments).beforestart().start(); })\n .on(\"interrupt.brush end.brush\", function() { emitter(this, arguments).end(); })\n .tween(\"brush\", function() {\n var that = this,\n state = that.__brush,\n emit = emitter(that, arguments),\n selection0 = state.selection,\n selection1 = dim.input(typeof selection === \"function\" ? selection.apply(this, arguments) : selection, state.extent),\n i = interpolate(selection0, selection1);\n\n function tween(t) {\n state.selection = t === 1 && selection1 === null ? null : i(t);\n redraw.call(that);\n emit.brush();\n }\n\n return selection0 !== null && selection1 !== null ? tween : tween(1);\n });\n } else {\n group\n .each(function() {\n var that = this,\n args = arguments,\n state = that.__brush,\n selection1 = dim.input(typeof selection === \"function\" ? selection.apply(that, args) : selection, state.extent),\n emit = emitter(that, args).beforestart();\n\n interrupt(that);\n state.selection = selection1 === null ? null : selection1;\n redraw.call(that);\n emit.start().brush().end();\n });\n }\n };\n\n brush.clear = function(group) {\n brush.move(group, null);\n };\n\n function redraw() {\n var group = select(this),\n selection = local(this).selection;\n\n if (selection) {\n group.selectAll(\".selection\")\n .style(\"display\", null)\n .attr(\"x\", selection[0][0])\n .attr(\"y\", selection[0][1])\n .attr(\"width\", selection[1][0] - selection[0][0])\n .attr(\"height\", selection[1][1] - selection[0][1]);\n\n group.selectAll(\".handle\")\n .style(\"display\", null)\n .attr(\"x\", function(d) { return d.type[d.type.length - 1] === \"e\" ? selection[1][0] - handleSize / 2 : selection[0][0] - handleSize / 2; })\n .attr(\"y\", function(d) { return d.type[0] === \"s\" ? selection[1][1] - handleSize / 2 : selection[0][1] - handleSize / 2; })\n .attr(\"width\", function(d) { return d.type === \"n\" || d.type === \"s\" ? selection[1][0] - selection[0][0] + handleSize : handleSize; })\n .attr(\"height\", function(d) { return d.type === \"e\" || d.type === \"w\" ? selection[1][1] - selection[0][1] + handleSize : handleSize; });\n }\n\n else {\n group.selectAll(\".selection,.handle\")\n .style(\"display\", \"none\")\n .attr(\"x\", null)\n .attr(\"y\", null)\n .attr(\"width\", null)\n .attr(\"height\", null);\n }\n }\n\n function emitter(that, args, clean) {\n return (!clean && that.__brush.emitter) || new Emitter(that, args);\n }\n\n function Emitter(that, args) {\n this.that = that;\n this.args = args;\n this.state = that.__brush;\n this.active = 0;\n }\n\n Emitter.prototype = {\n beforestart: function() {\n if (++this.active === 1) this.state.emitter = this, this.starting = true;\n return this;\n },\n start: function() {\n if (this.starting) this.starting = false, this.emit(\"start\");\n else this.emit(\"brush\");\n return this;\n },\n brush: function() {\n this.emit(\"brush\");\n return this;\n },\n end: function() {\n if (--this.active === 0) delete this.state.emitter, this.emit(\"end\");\n return this;\n },\n emit: function(type) {\n customEvent(new BrushEvent(brush, type, dim.output(this.state.selection)), listeners.apply, listeners, [type, this.that, this.args]);\n }\n };\n\n function started() {\n if (touchending && !event.touches) return;\n if (!filter.apply(this, arguments)) return;\n\n var that = this,\n type = event.target.__data__.type,\n mode = (keys && event.metaKey ? type = \"overlay\" : type) === \"selection\" ? MODE_DRAG : (keys && event.altKey ? MODE_CENTER : MODE_HANDLE),\n signX = dim === Y ? null : signsX[type],\n signY = dim === X ? null : signsY[type],\n state = local(that),\n extent = state.extent,\n selection = state.selection,\n W = extent[0][0], w0, w1,\n N = extent[0][1], n0, n1,\n E = extent[1][0], e0, e1,\n S = extent[1][1], s0, s1,\n dx = 0,\n dy = 0,\n moving,\n shifting = signX && signY && keys && event.shiftKey,\n lockX,\n lockY,\n pointer = event.touches ? toucher(event.changedTouches[0].identifier) : mouse,\n point0 = pointer(that),\n point = point0,\n emit = emitter(that, arguments, true).beforestart();\n\n if (type === \"overlay\") {\n if (selection) moving = true;\n state.selection = selection = [\n [w0 = dim === Y ? W : point0[0], n0 = dim === X ? N : point0[1]],\n [e0 = dim === Y ? E : w0, s0 = dim === X ? S : n0]\n ];\n } else {\n w0 = selection[0][0];\n n0 = selection[0][1];\n e0 = selection[1][0];\n s0 = selection[1][1];\n }\n\n w1 = w0;\n n1 = n0;\n e1 = e0;\n s1 = s0;\n\n var group = select(that)\n .attr(\"pointer-events\", \"none\");\n\n var overlay = group.selectAll(\".overlay\")\n .attr(\"cursor\", cursors[type]);\n\n if (event.touches) {\n emit.moved = moved;\n emit.ended = ended;\n } else {\n var view = select(event.view)\n .on(\"mousemove.brush\", moved, true)\n .on(\"mouseup.brush\", ended, true);\n if (keys) view\n .on(\"keydown.brush\", keydowned, true)\n .on(\"keyup.brush\", keyupped, true)\n\n dragDisable(event.view);\n }\n\n nopropagation();\n interrupt(that);\n redraw.call(that);\n emit.start();\n\n function moved() {\n var point1 = pointer(that);\n if (shifting && !lockX && !lockY) {\n if (Math.abs(point1[0] - point[0]) > Math.abs(point1[1] - point[1])) lockY = true;\n else lockX = true;\n }\n point = point1;\n moving = true;\n noevent();\n move();\n }\n\n function move() {\n var t;\n\n dx = point[0] - point0[0];\n dy = point[1] - point0[1];\n\n switch (mode) {\n case MODE_SPACE:\n case MODE_DRAG: {\n if (signX) dx = Math.max(W - w0, Math.min(E - e0, dx)), w1 = w0 + dx, e1 = e0 + dx;\n if (signY) dy = Math.max(N - n0, Math.min(S - s0, dy)), n1 = n0 + dy, s1 = s0 + dy;\n break;\n }\n case MODE_HANDLE: {\n if (signX < 0) dx = Math.max(W - w0, Math.min(E - w0, dx)), w1 = w0 + dx, e1 = e0;\n else if (signX > 0) dx = Math.max(W - e0, Math.min(E - e0, dx)), w1 = w0, e1 = e0 + dx;\n if (signY < 0) dy = Math.max(N - n0, Math.min(S - n0, dy)), n1 = n0 + dy, s1 = s0;\n else if (signY > 0) dy = Math.max(N - s0, Math.min(S - s0, dy)), n1 = n0, s1 = s0 + dy;\n break;\n }\n case MODE_CENTER: {\n if (signX) w1 = Math.max(W, Math.min(E, w0 - dx * signX)), e1 = Math.max(W, Math.min(E, e0 + dx * signX));\n if (signY) n1 = Math.max(N, Math.min(S, n0 - dy * signY)), s1 = Math.max(N, Math.min(S, s0 + dy * signY));\n break;\n }\n }\n\n if (e1 < w1) {\n signX *= -1;\n t = w0, w0 = e0, e0 = t;\n t = w1, w1 = e1, e1 = t;\n if (type in flipX) overlay.attr(\"cursor\", cursors[type = flipX[type]]);\n }\n\n if (s1 < n1) {\n signY *= -1;\n t = n0, n0 = s0, s0 = t;\n t = n1, n1 = s1, s1 = t;\n if (type in flipY) overlay.attr(\"cursor\", cursors[type = flipY[type]]);\n }\n\n if (state.selection) selection = state.selection; // May be set by brush.move!\n if (lockX) w1 = selection[0][0], e1 = selection[1][0];\n if (lockY) n1 = selection[0][1], s1 = selection[1][1];\n\n if (selection[0][0] !== w1\n || selection[0][1] !== n1\n || selection[1][0] !== e1\n || selection[1][1] !== s1) {\n state.selection = [[w1, n1], [e1, s1]];\n redraw.call(that);\n emit.brush();\n }\n }\n\n function ended() {\n nopropagation();\n if (event.touches) {\n if (event.touches.length) return;\n if (touchending) clearTimeout(touchending);\n touchending = setTimeout(function() { touchending = null; }, 500); // Ghost clicks are delayed!\n } else {\n dragEnable(event.view, moving);\n view.on(\"keydown.brush keyup.brush mousemove.brush mouseup.brush\", null);\n }\n group.attr(\"pointer-events\", \"all\");\n overlay.attr(\"cursor\", cursors.overlay);\n if (state.selection) selection = state.selection; // May be set by brush.move (on start)!\n if (empty(selection)) state.selection = null, redraw.call(that);\n emit.end();\n }\n\n function keydowned() {\n switch (event.keyCode) {\n case 16: { // SHIFT\n shifting = signX && signY;\n break;\n }\n case 18: { // ALT\n if (mode === MODE_HANDLE) {\n if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX;\n if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY;\n mode = MODE_CENTER;\n move();\n }\n break;\n }\n case 32: { // SPACE; takes priority over ALT\n if (mode === MODE_HANDLE || mode === MODE_CENTER) {\n if (signX < 0) e0 = e1 - dx; else if (signX > 0) w0 = w1 - dx;\n if (signY < 0) s0 = s1 - dy; else if (signY > 0) n0 = n1 - dy;\n mode = MODE_SPACE;\n overlay.attr(\"cursor\", cursors.selection);\n move();\n }\n break;\n }\n default: return;\n }\n noevent();\n }\n\n function keyupped() {\n switch (event.keyCode) {\n case 16: { // SHIFT\n if (shifting) {\n lockX = lockY = shifting = false;\n move();\n }\n break;\n }\n case 18: { // ALT\n if (mode === MODE_CENTER) {\n if (signX < 0) e0 = e1; else if (signX > 0) w0 = w1;\n if (signY < 0) s0 = s1; else if (signY > 0) n0 = n1;\n mode = MODE_HANDLE;\n move();\n }\n break;\n }\n case 32: { // SPACE\n if (mode === MODE_SPACE) {\n if (event.altKey) {\n if (signX) e0 = e1 - dx * signX, w0 = w1 + dx * signX;\n if (signY) s0 = s1 - dy * signY, n0 = n1 + dy * signY;\n mode = MODE_CENTER;\n } else {\n if (signX < 0) e0 = e1; else if (signX > 0) w0 = w1;\n if (signY < 0) s0 = s1; else if (signY > 0) n0 = n1;\n mode = MODE_HANDLE;\n }\n overlay.attr(\"cursor\", cursors[type]);\n move();\n }\n break;\n }\n default: return;\n }\n noevent();\n }\n }\n\n function touchmoved() {\n emitter(this, arguments).moved();\n }\n\n function touchended() {\n emitter(this, arguments).ended();\n }\n\n function initialize() {\n var state = this.__brush || {selection: null};\n state.extent = number2(extent.apply(this, arguments));\n state.dim = dim;\n return state;\n }\n\n brush.extent = function(_) {\n return arguments.length ? (extent = typeof _ === \"function\" ? _ : constant(number2(_)), brush) : extent;\n };\n\n brush.filter = function(_) {\n return arguments.length ? (filter = typeof _ === \"function\" ? _ : constant(!!_), brush) : filter;\n };\n\n brush.touchable = function(_) {\n return arguments.length ? (touchable = typeof _ === \"function\" ? _ : constant(!!_), brush) : touchable;\n };\n\n brush.handleSize = function(_) {\n return arguments.length ? (handleSize = +_, brush) : handleSize;\n };\n\n brush.keyModifiers = function(_) {\n return arguments.length ? (keys = !!_, brush) : keys;\n };\n\n brush.on = function() {\n var value = listeners.on.apply(listeners, arguments);\n return value === listeners ? brush : value;\n };\n\n return brush;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "name": "./node_modules/d3-chord/src/chord.js", "index": 144, "index2": 141, "size": 3178, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-chord/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 35, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "module": "./node_modules/d3-chord/src/index.js", "moduleName": "./node_modules/d3-chord/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./chord", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "module": "./node_modules/d3-chord/src/index.js", "moduleName": "./node_modules/d3-chord/src/index.js", "type": "harmony export imported specifier", "userRequest": "./chord", "loc": "1:0-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {range} from \"d3-array\";\nimport {max, tau} from \"./math\";\n\nfunction compareValue(compare) {\n return function(a, b) {\n return compare(\n a.source.value + a.target.value,\n b.source.value + b.target.value\n );\n };\n}\n\nexport default function() {\n var padAngle = 0,\n sortGroups = null,\n sortSubgroups = null,\n sortChords = null;\n\n function chord(matrix) {\n var n = matrix.length,\n groupSums = [],\n groupIndex = range(n),\n subgroupIndex = [],\n chords = [],\n groups = chords.groups = new Array(n),\n subgroups = new Array(n * n),\n k,\n x,\n x0,\n dx,\n i,\n j;\n\n // Compute the sum.\n k = 0, i = -1; while (++i < n) {\n x = 0, j = -1; while (++j < n) {\n x += matrix[i][j];\n }\n groupSums.push(x);\n subgroupIndex.push(range(n));\n k += x;\n }\n\n // Sort groups…\n if (sortGroups) groupIndex.sort(function(a, b) {\n return sortGroups(groupSums[a], groupSums[b]);\n });\n\n // Sort subgroups…\n if (sortSubgroups) subgroupIndex.forEach(function(d, i) {\n d.sort(function(a, b) {\n return sortSubgroups(matrix[i][a], matrix[i][b]);\n });\n });\n\n // Convert the sum to scaling factor for [0, 2pi].\n // TODO Allow start and end angle to be specified?\n // TODO Allow padding to be specified as percentage?\n k = max(0, tau - padAngle * n) / k;\n dx = k ? padAngle : tau / n;\n\n // Compute the start and end angle for each group and subgroup.\n // Note: Opera has a bug reordering object literal properties!\n x = 0, i = -1; while (++i < n) {\n x0 = x, j = -1; while (++j < n) {\n var di = groupIndex[i],\n dj = subgroupIndex[di][j],\n v = matrix[di][dj],\n a0 = x,\n a1 = x += v * k;\n subgroups[dj * n + di] = {\n index: di,\n subindex: dj,\n startAngle: a0,\n endAngle: a1,\n value: v\n };\n }\n groups[di] = {\n index: di,\n startAngle: x0,\n endAngle: x,\n value: groupSums[di]\n };\n x += dx;\n }\n\n // Generate chords for each (non-empty) subgroup-subgroup link.\n i = -1; while (++i < n) {\n j = i - 1; while (++j < n) {\n var source = subgroups[j * n + i],\n target = subgroups[i * n + j];\n if (source.value || target.value) {\n chords.push(source.value < target.value\n ? {source: target, target: source}\n : {source: source, target: target});\n }\n }\n }\n\n return sortChords ? chords.sort(sortChords) : chords;\n }\n\n chord.padAngle = function(_) {\n return arguments.length ? (padAngle = max(0, _), chord) : padAngle;\n };\n\n chord.sortGroups = function(_) {\n return arguments.length ? (sortGroups = _, chord) : sortGroups;\n };\n\n chord.sortSubgroups = function(_) {\n return arguments.length ? (sortSubgroups = _, chord) : sortSubgroups;\n };\n\n chord.sortChords = function(_) {\n return arguments.length ? (_ == null ? sortChords = null : (sortChords = compareValue(_))._ = _, chord) : sortChords && sortChords._;\n };\n\n return chord;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/path.js", "name": "./node_modules/d3-path/src/path.js", "index": 149, "index2": 144, "size": 4189, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-path/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/index.js", "name": "./node_modules/d3-path/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 70, "building": 76 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/index.js", "module": "./node_modules/d3-path/src/index.js", "moduleName": "./node_modules/d3-path/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./path.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-path/src/index.js", "module": "./node_modules/d3-path/src/index.js", "moduleName": "./node_modules/d3-path/src/index.js", "type": "harmony export imported specifier", "userRequest": "./path.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "21:49-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "24:37-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "28:37-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "28:49-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "48:37-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-path", "loc": "97:37-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var pi = Math.PI,\n tau = 2 * pi,\n epsilon = 1e-6,\n tauEpsilon = tau - epsilon;\n\nfunction Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n}\n\nfunction path() {\n return new Path;\n}\n\nPath.prototype = path.prototype = {\n constructor: Path,\n moveTo: function(x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function() {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function(x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function(x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function(x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1,\n y0 = this._y1,\n x21 = x2 - x1,\n y21 = y2 - y1,\n x01 = x0 - x1,\n y01 = y0 - y1,\n l01_2 = x01 * x01 + y01 * y01;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon));\n\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0,\n y20 = y2 - y0,\n l21_2 = x21 * x21 + y21 * y21,\n l20_2 = x20 * x20 + y20 * y20,\n l21 = Math.sqrt(l21_2),\n l01 = Math.sqrt(l01_2),\n l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),\n t01 = l / l01,\n t21 = l / l21;\n\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function(x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0),\n dy = r * Math.sin(a0),\n x0 = x + dx,\n y0 = y + dy,\n cw = 1 ^ ccw,\n da = ccw ? a0 - a1 : a1 - a0;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n\n // Is this arc empty? We’re done.\n if (!r) return;\n\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0) da = da % tau + tau;\n\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function(x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function() {\n return this._;\n }\n};\n\nexport default path;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "name": "./node_modules/d3-chord/src/ribbon.js", "index": 146, "index2": 145, "size": 2340, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-chord/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 35, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "module": "./node_modules/d3-chord/src/index.js", "moduleName": "./node_modules/d3-chord/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./ribbon", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "module": "./node_modules/d3-chord/src/index.js", "moduleName": "./node_modules/d3-chord/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ribbon", "loc": "2:0-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {slice} from \"./array\";\nimport constant from \"./constant\";\nimport {cos, halfPi, sin} from \"./math\";\nimport {path} from \"d3-path\";\n\nfunction defaultSource(d) {\n return d.source;\n}\n\nfunction defaultTarget(d) {\n return d.target;\n}\n\nfunction defaultRadius(d) {\n return d.radius;\n}\n\nfunction defaultStartAngle(d) {\n return d.startAngle;\n}\n\nfunction defaultEndAngle(d) {\n return d.endAngle;\n}\n\nexport default function() {\n var source = defaultSource,\n target = defaultTarget,\n radius = defaultRadius,\n startAngle = defaultStartAngle,\n endAngle = defaultEndAngle,\n context = null;\n\n function ribbon() {\n var buffer,\n argv = slice.call(arguments),\n s = source.apply(this, argv),\n t = target.apply(this, argv),\n sr = +radius.apply(this, (argv[0] = s, argv)),\n sa0 = startAngle.apply(this, argv) - halfPi,\n sa1 = endAngle.apply(this, argv) - halfPi,\n sx0 = sr * cos(sa0),\n sy0 = sr * sin(sa0),\n tr = +radius.apply(this, (argv[0] = t, argv)),\n ta0 = startAngle.apply(this, argv) - halfPi,\n ta1 = endAngle.apply(this, argv) - halfPi;\n\n if (!context) context = buffer = path();\n\n context.moveTo(sx0, sy0);\n context.arc(0, 0, sr, sa0, sa1);\n if (sa0 !== ta0 || sa1 !== ta1) { // TODO sr !== tr?\n context.quadraticCurveTo(0, 0, tr * cos(ta0), tr * sin(ta0));\n context.arc(0, 0, tr, ta0, ta1);\n }\n context.quadraticCurveTo(0, 0, sx0, sy0);\n context.closePath();\n\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n ribbon.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), ribbon) : radius;\n };\n\n ribbon.startAngle = function(_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), ribbon) : startAngle;\n };\n\n ribbon.endAngle = function(_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), ribbon) : endAngle;\n };\n\n ribbon.source = function(_) {\n return arguments.length ? (source = _, ribbon) : source;\n };\n\n ribbon.target = function(_) {\n return arguments.length ? (target = _, ribbon) : target;\n };\n\n ribbon.context = function(_) {\n return arguments.length ? ((context = _ == null ? null : _), ribbon) : context;\n };\n\n return ribbon;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/map.js", "name": "./node_modules/d3-collection/src/map.js", "index": 152, "index2": 147, "size": 1988, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/nest.js", "module": "./node_modules/d3-collection/src/nest.js", "moduleName": "./node_modules/d3-collection/src/nest.js", "type": "harmony side effect evaluation", "userRequest": "./map", "loc": "1:0-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/set.js", "module": "./node_modules/d3-collection/src/set.js", "moduleName": "./node_modules/d3-collection/src/set.js", "type": "harmony side effect evaluation", "userRequest": "./map", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./map", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./map", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/set.js", "module": "./node_modules/d3-collection/src/set.js", "moduleName": "./node_modules/d3-collection/src/set.js", "type": "harmony import specifier", "userRequest": "./map", "loc": "5:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/set.js", "module": "./node_modules/d3-collection/src/set.js", "moduleName": "./node_modules/d3-collection/src/set.js", "type": "harmony import specifier", "userRequest": "./map", "loc": "12:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/nest.js", "module": "./node_modules/d3-collection/src/nest.js", "moduleName": "./node_modules/d3-collection/src/nest.js", "type": "harmony import specifier", "userRequest": "./map", "loc": "21:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/nest.js", "module": "./node_modules/d3-collection/src/nest.js", "moduleName": "./node_modules/d3-collection/src/nest.js", "type": "harmony import specifier", "userRequest": "./map", "loc": "68:9-12" } ], "usedExports": [ "default", "prefix" ], "providedExports": [ "prefix", "default" ], "optimizationBailout": [], "depth": 4, "source": "export var prefix = \"$\";\n\nfunction Map() {}\n\nMap.prototype = map.prototype = {\n constructor: Map,\n has: function(key) {\n return (prefix + key) in this;\n },\n get: function(key) {\n return this[prefix + key];\n },\n set: function(key, value) {\n this[prefix + key] = value;\n return this;\n },\n remove: function(key) {\n var property = prefix + key;\n return property in this && delete this[property];\n },\n clear: function() {\n for (var property in this) if (property[0] === prefix) delete this[property];\n },\n keys: function() {\n var keys = [];\n for (var property in this) if (property[0] === prefix) keys.push(property.slice(1));\n return keys;\n },\n values: function() {\n var values = [];\n for (var property in this) if (property[0] === prefix) values.push(this[property]);\n return values;\n },\n entries: function() {\n var entries = [];\n for (var property in this) if (property[0] === prefix) entries.push({key: property.slice(1), value: this[property]});\n return entries;\n },\n size: function() {\n var size = 0;\n for (var property in this) if (property[0] === prefix) ++size;\n return size;\n },\n empty: function() {\n for (var property in this) if (property[0] === prefix) return false;\n return true;\n },\n each: function(f) {\n for (var property in this) if (property[0] === prefix) f(this[property], property.slice(1), this);\n }\n};\n\nfunction map(object, f) {\n var map = new Map;\n\n // Copy constructor.\n if (object instanceof Map) object.each(function(value, key) { map.set(key, value); });\n\n // Index array by numeric index or specified key function.\n else if (Array.isArray(object)) {\n var i = -1,\n n = object.length,\n o;\n\n if (f == null) while (++i < n) map.set(i, object[i]);\n else while (++i < n) map.set(f(o = object[i], i, object), o);\n }\n\n // Convert object to map.\n else if (object) for (var key in object) map.set(key, object[key]);\n\n return map;\n}\n\nexport default map;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/nest.js", "name": "./node_modules/d3-collection/src/nest.js", "index": 151, "index2": 148, "size": 2017, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./nest", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./nest", "loc": "1:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import map from \"./map\";\n\nexport default function() {\n var keys = [],\n sortKeys = [],\n sortValues,\n rollup,\n nest;\n\n function apply(array, depth, createResult, setResult) {\n if (depth >= keys.length) {\n if (sortValues != null) array.sort(sortValues);\n return rollup != null ? rollup(array) : array;\n }\n\n var i = -1,\n n = array.length,\n key = keys[depth++],\n keyValue,\n value,\n valuesByKey = map(),\n values,\n result = createResult();\n\n while (++i < n) {\n if (values = valuesByKey.get(keyValue = key(value = array[i]) + \"\")) {\n values.push(value);\n } else {\n valuesByKey.set(keyValue, [value]);\n }\n }\n\n valuesByKey.each(function(values, key) {\n setResult(result, key, apply(values, depth, createResult, setResult));\n });\n\n return result;\n }\n\n function entries(map, depth) {\n if (++depth > keys.length) return map;\n var array, sortKey = sortKeys[depth - 1];\n if (rollup != null && depth >= keys.length) array = map.entries();\n else array = [], map.each(function(v, k) { array.push({key: k, values: entries(v, depth)}); });\n return sortKey != null ? array.sort(function(a, b) { return sortKey(a.key, b.key); }) : array;\n }\n\n return nest = {\n object: function(array) { return apply(array, 0, createObject, setObject); },\n map: function(array) { return apply(array, 0, createMap, setMap); },\n entries: function(array) { return entries(apply(array, 0, createMap, setMap), 0); },\n key: function(d) { keys.push(d); return nest; },\n sortKeys: function(order) { sortKeys[keys.length - 1] = order; return nest; },\n sortValues: function(order) { sortValues = order; return nest; },\n rollup: function(f) { rollup = f; return nest; }\n };\n}\n\nfunction createObject() {\n return {};\n}\n\nfunction setObject(object, key, value) {\n object[key] = value;\n}\n\nfunction createMap() {\n return map();\n}\n\nfunction setMap(map, key, value) {\n map.set(key, value);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/set.js", "name": "./node_modules/d3-collection/src/set.js", "index": 153, "index2": 149, "size": 800, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./set", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./set", "loc": "2:0-37" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {default as map, prefix} from \"./map\";\n\nfunction Set() {}\n\nvar proto = map.prototype;\n\nSet.prototype = set.prototype = {\n constructor: Set,\n has: proto.has,\n add: function(value) {\n value += \"\";\n this[prefix + value] = value;\n return this;\n },\n remove: proto.remove,\n clear: proto.clear,\n values: proto.keys,\n size: proto.size,\n empty: proto.empty,\n each: proto.each\n};\n\nfunction set(object, f) {\n var set = new Set;\n\n // Copy constructor.\n if (object instanceof Set) object.each(function(value) { set.add(value); });\n\n // Otherwise, assume it’s an array.\n else if (object) {\n var i = -1, n = object.length;\n if (f == null) while (++i < n) set.add(object[i]);\n else while (++i < n) set.add(f(object[i], i, object));\n }\n\n return set;\n}\n\nexport default set;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/keys.js", "name": "./node_modules/d3-collection/src/keys.js", "index": 154, "index2": 150, "size": 104, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./keys", "loc": "4:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./keys", "loc": "4:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(map) {\n var keys = [];\n for (var key in map) keys.push(key);\n return keys;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/values.js", "name": "./node_modules/d3-collection/src/values.js", "index": 155, "index2": 151, "size": 115, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./values", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./values", "loc": "5:0-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(map) {\n var values = [];\n for (var key in map) values.push(map[key]);\n return values;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/entries.js", "name": "./node_modules/d3-collection/src/entries.js", "index": 156, "index2": 152, "size": 137, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-collection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "name": "./node_modules/d3-collection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 188, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./entries", "loc": "6:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-collection/src/index.js", "module": "./node_modules/d3-collection/src/index.js", "moduleName": "./node_modules/d3-collection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./entries", "loc": "6:0-45" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(map) {\n var entries = [];\n for (var key in map) entries.push({key: key, value: map[key]});\n return entries;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "name": "./node_modules/d3-color/src/lab.js", "index": 158, "index2": 155, "size": 3661, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-color/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 78, "building": 55, "dependencies": 61 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./lab.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "5:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "5:52-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:52-60" } ], "usedExports": [ "hcl", "default", "lch", "gray" ], "providedExports": [ "gray", "default", "Lab", "lch", "hcl", "Hcl" ], "optimizationBailout": [], "depth": 4, "source": "import define, {extend} from \"./define.js\";\nimport {Color, rgbConvert, Rgb} from \"./color.js\";\nimport {deg2rad, rad2deg} from \"./math.js\";\n\n// https://observablehq.com/@mbostock/lab-and-rgb\nvar K = 18,\n Xn = 0.96422,\n Yn = 1,\n Zn = 0.82521,\n t0 = 4 / 29,\n t1 = 6 / 29,\n t2 = 3 * t1 * t1,\n t3 = t1 * t1 * t1;\n\nfunction labConvert(o) {\n if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);\n if (o instanceof Hcl) return hcl2lab(o);\n if (!(o instanceof Rgb)) o = rgbConvert(o);\n var r = rgb2lrgb(o.r),\n g = rgb2lrgb(o.g),\n b = rgb2lrgb(o.b),\n y = xyz2lab((0.2225045 * r + 0.7168786 * g + 0.0606169 * b) / Yn), x, z;\n if (r === g && g === b) x = z = y; else {\n x = xyz2lab((0.4360747 * r + 0.3850649 * g + 0.1430804 * b) / Xn);\n z = xyz2lab((0.0139322 * r + 0.0971045 * g + 0.7141733 * b) / Zn);\n }\n return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);\n}\n\nexport function gray(l, opacity) {\n return new Lab(l, 0, 0, opacity == null ? 1 : opacity);\n}\n\nexport default function lab(l, a, b, opacity) {\n return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);\n}\n\nexport function Lab(l, a, b, opacity) {\n this.l = +l;\n this.a = +a;\n this.b = +b;\n this.opacity = +opacity;\n}\n\ndefine(Lab, lab, extend(Color, {\n brighter: function(k) {\n return new Lab(this.l + K * (k == null ? 1 : k), this.a, this.b, this.opacity);\n },\n darker: function(k) {\n return new Lab(this.l - K * (k == null ? 1 : k), this.a, this.b, this.opacity);\n },\n rgb: function() {\n var y = (this.l + 16) / 116,\n x = isNaN(this.a) ? y : y + this.a / 500,\n z = isNaN(this.b) ? y : y - this.b / 200;\n x = Xn * lab2xyz(x);\n y = Yn * lab2xyz(y);\n z = Zn * lab2xyz(z);\n return new Rgb(\n lrgb2rgb( 3.1338561 * x - 1.6168667 * y - 0.4906146 * z),\n lrgb2rgb(-0.9787684 * x + 1.9161415 * y + 0.0334540 * z),\n lrgb2rgb( 0.0719453 * x - 0.2289914 * y + 1.4052427 * z),\n this.opacity\n );\n }\n}));\n\nfunction xyz2lab(t) {\n return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;\n}\n\nfunction lab2xyz(t) {\n return t > t1 ? t * t * t : t2 * (t - t0);\n}\n\nfunction lrgb2rgb(x) {\n return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);\n}\n\nfunction rgb2lrgb(x) {\n return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);\n}\n\nfunction hclConvert(o) {\n if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);\n if (!(o instanceof Lab)) o = labConvert(o);\n if (o.a === 0 && o.b === 0) return new Hcl(NaN, 0 < o.l && o.l < 100 ? 0 : NaN, o.l, o.opacity);\n var h = Math.atan2(o.b, o.a) * rad2deg;\n return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);\n}\n\nexport function lch(l, c, h, opacity) {\n return arguments.length === 1 ? hclConvert(l) : new Hcl(h, c, l, opacity == null ? 1 : opacity);\n}\n\nexport function hcl(h, c, l, opacity) {\n return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);\n}\n\nexport function Hcl(h, c, l, opacity) {\n this.h = +h;\n this.c = +c;\n this.l = +l;\n this.opacity = +opacity;\n}\n\nfunction hcl2lab(o) {\n if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity);\n var h = o.h * deg2rad;\n return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);\n}\n\ndefine(Hcl, hcl, extend(Color, {\n brighter: function(k) {\n return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity);\n },\n darker: function(k) {\n return new Hcl(this.h, this.c, this.l - K * (k == null ? 1 : k), this.opacity);\n },\n rgb: function() {\n return hcl2lab(this).rgb();\n }\n}));\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "name": "./node_modules/d3-color/src/cubehelix.js", "index": 160, "index2": 156, "size": 1864, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-color/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 78, "building": 55, "dependencies": 61 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cubehelix.js", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "module": "./node_modules/d3-color/src/index.js", "moduleName": "./node_modules/d3-color/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubehelix.js", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "4:40-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "4:43-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "4:66-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "4:72-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:43-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "6:71-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "8:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "9:27-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-color", "loc": "9:60-74" } ], "usedExports": [ "default" ], "providedExports": [ "default", "Cubehelix" ], "optimizationBailout": [], "depth": 4, "source": "import define, {extend} from \"./define.js\";\nimport {Color, rgbConvert, Rgb, darker, brighter} from \"./color.js\";\nimport {deg2rad, rad2deg} from \"./math.js\";\n\nvar A = -0.14861,\n B = +1.78277,\n C = -0.29227,\n D = -0.90649,\n E = +1.97294,\n ED = E * D,\n EB = E * B,\n BC_DA = B * C - D * A;\n\nfunction cubehelixConvert(o) {\n if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Rgb)) o = rgbConvert(o);\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),\n bl = b - l,\n k = (E * (g - l) - C * bl) / D,\n s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)), // NaN if l=0 or l=1\n h = s ? Math.atan2(k, bl) * rad2deg - 120 : NaN;\n return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);\n}\n\nexport default function cubehelix(h, s, l, opacity) {\n return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);\n}\n\nexport function Cubehelix(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\n\ndefine(Cubehelix, cubehelix, extend(Color, {\n brighter: function(k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function(k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function() {\n var h = isNaN(this.h) ? 0 : (this.h + 120) * deg2rad,\n l = +this.l,\n a = isNaN(this.s) ? 0 : this.s * l * (1 - l),\n cosh = Math.cos(h),\n sinh = Math.sin(h);\n return new Rgb(\n 255 * (l + a * (A * cosh + B * sinh)),\n 255 * (l + a * (C * cosh + D * sinh)),\n 255 * (l + a * (E * cosh)),\n this.opacity\n );\n }\n}));\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "name": "./node_modules/d3-contour/src/contours.js", "index": 162, "index2": 164, "size": 6224, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 187, "building": 41, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "module": "./node_modules/d3-contour/src/index.js", "moduleName": "./node_modules/d3-contour/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./contours", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "module": "./node_modules/d3-contour/src/index.js", "moduleName": "./node_modules/d3-contour/src/index.js", "type": "harmony export imported specifier", "userRequest": "./contours", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony side effect evaluation", "userRequest": "./contours", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./contours", "loc": "63:11-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {extent, thresholdSturges, tickStep, range} from \"d3-array\";\nimport {slice} from \"./array\";\nimport ascending from \"./ascending\";\nimport area from \"./area\";\nimport constant from \"./constant\";\nimport contains from \"./contains\";\nimport noop from \"./noop\";\n\nvar cases = [\n [],\n [[[1.0, 1.5], [0.5, 1.0]]],\n [[[1.5, 1.0], [1.0, 1.5]]],\n [[[1.5, 1.0], [0.5, 1.0]]],\n [[[1.0, 0.5], [1.5, 1.0]]],\n [[[1.0, 1.5], [0.5, 1.0]], [[1.0, 0.5], [1.5, 1.0]]],\n [[[1.0, 0.5], [1.0, 1.5]]],\n [[[1.0, 0.5], [0.5, 1.0]]],\n [[[0.5, 1.0], [1.0, 0.5]]],\n [[[1.0, 1.5], [1.0, 0.5]]],\n [[[0.5, 1.0], [1.0, 0.5]], [[1.5, 1.0], [1.0, 1.5]]],\n [[[1.5, 1.0], [1.0, 0.5]]],\n [[[0.5, 1.0], [1.5, 1.0]]],\n [[[1.0, 1.5], [1.5, 1.0]]],\n [[[0.5, 1.0], [1.0, 1.5]]],\n []\n];\n\nexport default function() {\n var dx = 1,\n dy = 1,\n threshold = thresholdSturges,\n smooth = smoothLinear;\n\n function contours(values) {\n var tz = threshold(values);\n\n // Convert number of thresholds into uniform thresholds.\n if (!Array.isArray(tz)) {\n var domain = extent(values), start = domain[0], stop = domain[1];\n tz = tickStep(start, stop, tz);\n tz = range(Math.floor(start / tz) * tz, Math.floor(stop / tz) * tz, tz);\n } else {\n tz = tz.slice().sort(ascending);\n }\n\n return tz.map(function(value) {\n return contour(values, value);\n });\n }\n\n // Accumulate, smooth contour rings, assign holes to exterior rings.\n // Based on https://github.com/mbostock/shapefile/blob/v0.6.2/shp/polygon.js\n function contour(values, value) {\n var polygons = [],\n holes = [];\n\n isorings(values, value, function(ring) {\n smooth(ring, values, value);\n if (area(ring) > 0) polygons.push([ring]);\n else holes.push(ring);\n });\n\n holes.forEach(function(hole) {\n for (var i = 0, n = polygons.length, polygon; i < n; ++i) {\n if (contains((polygon = polygons[i])[0], hole) !== -1) {\n polygon.push(hole);\n return;\n }\n }\n });\n\n return {\n type: \"MultiPolygon\",\n value: value,\n coordinates: polygons\n };\n }\n\n // Marching squares with isolines stitched into rings.\n // Based on https://github.com/topojson/topojson-client/blob/v3.0.0/src/stitch.js\n function isorings(values, value, callback) {\n var fragmentByStart = new Array,\n fragmentByEnd = new Array,\n x, y, t0, t1, t2, t3;\n\n // Special case for the first row (y = -1, t2 = t3 = 0).\n x = y = -1;\n t1 = values[0] >= value;\n cases[t1 << 1].forEach(stitch);\n while (++x < dx - 1) {\n t0 = t1, t1 = values[x + 1] >= value;\n cases[t0 | t1 << 1].forEach(stitch);\n }\n cases[t1 << 0].forEach(stitch);\n\n // General case for the intermediate rows.\n while (++y < dy - 1) {\n x = -1;\n t1 = values[y * dx + dx] >= value;\n t2 = values[y * dx] >= value;\n cases[t1 << 1 | t2 << 2].forEach(stitch);\n while (++x < dx - 1) {\n t0 = t1, t1 = values[y * dx + dx + x + 1] >= value;\n t3 = t2, t2 = values[y * dx + x + 1] >= value;\n cases[t0 | t1 << 1 | t2 << 2 | t3 << 3].forEach(stitch);\n }\n cases[t1 | t2 << 3].forEach(stitch);\n }\n\n // Special case for the last row (y = dy - 1, t0 = t1 = 0).\n x = -1;\n t2 = values[y * dx] >= value;\n cases[t2 << 2].forEach(stitch);\n while (++x < dx - 1) {\n t3 = t2, t2 = values[y * dx + x + 1] >= value;\n cases[t2 << 2 | t3 << 3].forEach(stitch);\n }\n cases[t2 << 3].forEach(stitch);\n\n function stitch(line) {\n var start = [line[0][0] + x, line[0][1] + y],\n end = [line[1][0] + x, line[1][1] + y],\n startIndex = index(start),\n endIndex = index(end),\n f, g;\n if (f = fragmentByEnd[startIndex]) {\n if (g = fragmentByStart[endIndex]) {\n delete fragmentByEnd[f.end];\n delete fragmentByStart[g.start];\n if (f === g) {\n f.ring.push(end);\n callback(f.ring);\n } else {\n fragmentByStart[f.start] = fragmentByEnd[g.end] = {start: f.start, end: g.end, ring: f.ring.concat(g.ring)};\n }\n } else {\n delete fragmentByEnd[f.end];\n f.ring.push(end);\n fragmentByEnd[f.end = endIndex] = f;\n }\n } else if (f = fragmentByStart[endIndex]) {\n if (g = fragmentByEnd[startIndex]) {\n delete fragmentByStart[f.start];\n delete fragmentByEnd[g.end];\n if (f === g) {\n f.ring.push(end);\n callback(f.ring);\n } else {\n fragmentByStart[g.start] = fragmentByEnd[f.end] = {start: g.start, end: f.end, ring: g.ring.concat(f.ring)};\n }\n } else {\n delete fragmentByStart[f.start];\n f.ring.unshift(start);\n fragmentByStart[f.start = startIndex] = f;\n }\n } else {\n fragmentByStart[startIndex] = fragmentByEnd[endIndex] = {start: startIndex, end: endIndex, ring: [start, end]};\n }\n }\n }\n\n function index(point) {\n return point[0] * 2 + point[1] * (dx + 1) * 4;\n }\n\n function smoothLinear(ring, values, value) {\n ring.forEach(function(point) {\n var x = point[0],\n y = point[1],\n xt = x | 0,\n yt = y | 0,\n v0,\n v1 = values[yt * dx + xt];\n if (x > 0 && x < dx && xt === x) {\n v0 = values[yt * dx + xt - 1];\n point[0] = x + (value - v0) / (v1 - v0) - 0.5;\n }\n if (y > 0 && y < dy && yt === y) {\n v0 = values[(yt - 1) * dx + xt];\n point[1] = y + (value - v0) / (v1 - v0) - 0.5;\n }\n });\n }\n\n contours.contour = contour;\n\n contours.size = function(_) {\n if (!arguments.length) return [dx, dy];\n var _0 = Math.ceil(_[0]), _1 = Math.ceil(_[1]);\n if (!(_0 > 0) || !(_1 > 0)) throw new Error(\"invalid size\");\n return dx = _0, dy = _1, contours;\n };\n\n contours.thresholds = function(_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), contours) : threshold;\n };\n\n contours.smooth = function(_) {\n return arguments.length ? (smooth = _ ? smoothLinear : noop, contours) : smooth === smoothLinear;\n };\n\n return contours;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "name": "./node_modules/d3-contour/src/density.js", "index": 169, "index2": 166, "size": 3990, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 187, "building": 41, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "module": "./node_modules/d3-contour/src/index.js", "moduleName": "./node_modules/d3-contour/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./density", "loc": "2:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "module": "./node_modules/d3-contour/src/index.js", "moduleName": "./node_modules/d3-contour/src/index.js", "type": "harmony export imported specifier", "userRequest": "./density", "loc": "2:0-52" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {max, range, tickStep} from \"d3-array\";\nimport {slice} from \"./array\";\nimport {blurX, blurY} from \"./blur\";\nimport constant from \"./constant\";\nimport contours from \"./contours\";\n\nfunction defaultX(d) {\n return d[0];\n}\n\nfunction defaultY(d) {\n return d[1];\n}\n\nfunction defaultWeight() {\n return 1;\n}\n\nexport default function() {\n var x = defaultX,\n y = defaultY,\n weight = defaultWeight,\n dx = 960,\n dy = 500,\n r = 20, // blur radius\n k = 2, // log2(grid cell size)\n o = r * 3, // grid offset, to pad for blur\n n = (dx + o * 2) >> k, // grid width\n m = (dy + o * 2) >> k, // grid height\n threshold = constant(20);\n\n function density(data) {\n var values0 = new Float32Array(n * m),\n values1 = new Float32Array(n * m);\n\n data.forEach(function(d, i, data) {\n var xi = (+x(d, i, data) + o) >> k,\n yi = (+y(d, i, data) + o) >> k,\n wi = +weight(d, i, data);\n if (xi >= 0 && xi < n && yi >= 0 && yi < m) {\n values0[xi + yi * n] += wi;\n }\n });\n\n // TODO Optimize.\n blurX({width: n, height: m, data: values0}, {width: n, height: m, data: values1}, r >> k);\n blurY({width: n, height: m, data: values1}, {width: n, height: m, data: values0}, r >> k);\n blurX({width: n, height: m, data: values0}, {width: n, height: m, data: values1}, r >> k);\n blurY({width: n, height: m, data: values1}, {width: n, height: m, data: values0}, r >> k);\n blurX({width: n, height: m, data: values0}, {width: n, height: m, data: values1}, r >> k);\n blurY({width: n, height: m, data: values1}, {width: n, height: m, data: values0}, r >> k);\n\n var tz = threshold(values0);\n\n // Convert number of thresholds into uniform thresholds.\n if (!Array.isArray(tz)) {\n var stop = max(values0);\n tz = tickStep(0, stop, tz);\n tz = range(0, Math.floor(stop / tz) * tz, tz);\n tz.shift();\n }\n\n return contours()\n .thresholds(tz)\n .size([n, m])\n (values0)\n .map(transform);\n }\n\n function transform(geometry) {\n geometry.value *= Math.pow(2, -2 * k); // Density in points per square pixel.\n geometry.coordinates.forEach(transformPolygon);\n return geometry;\n }\n\n function transformPolygon(coordinates) {\n coordinates.forEach(transformRing);\n }\n\n function transformRing(coordinates) {\n coordinates.forEach(transformPoint);\n }\n\n // TODO Optimize.\n function transformPoint(coordinates) {\n coordinates[0] = coordinates[0] * Math.pow(2, k) - o;\n coordinates[1] = coordinates[1] * Math.pow(2, k) - o;\n }\n\n function resize() {\n o = r * 3;\n n = (dx + o * 2) >> k;\n m = (dy + o * 2) >> k;\n return density;\n }\n\n density.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), density) : x;\n };\n\n density.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), density) : y;\n };\n\n density.weight = function(_) {\n return arguments.length ? (weight = typeof _ === \"function\" ? _ : constant(+_), density) : weight;\n };\n\n density.size = function(_) {\n if (!arguments.length) return [dx, dy];\n var _0 = Math.ceil(_[0]), _1 = Math.ceil(_[1]);\n if (!(_0 >= 0) && !(_0 >= 0)) throw new Error(\"invalid size\");\n return dx = _0, dy = _1, resize();\n };\n\n density.cellSize = function(_) {\n if (!arguments.length) return 1 << k;\n if (!((_ = +_) >= 1)) throw new Error(\"invalid cell size\");\n return k = Math.floor(Math.log(_) / Math.LN2), resize();\n };\n\n density.thresholds = function(_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), density) : threshold;\n };\n\n density.bandwidth = function(_) {\n if (!arguments.length) return Math.sqrt(r * (r + 1));\n if (!((_ = +_) >= 0)) throw new Error(\"invalid bandwidth\");\n return r = Math.round((Math.sqrt(4 * _ * _ + 1) - 1) / 2), resize();\n };\n\n return density;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "name": "./node_modules/d3-drag/src/drag.js", "index": 173, "index2": 171, "size": 5073, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-drag/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 60, "dependencies": 58 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "module": "./node_modules/d3-drag/src/index.js", "moduleName": "./node_modules/d3-drag/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./drag.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "module": "./node_modules/d3-drag/src/index.js", "moduleName": "./node_modules/d3-drag/src/index.js", "type": "harmony export imported specifier", "userRequest": "./drag.js", "loc": "1:0-42" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {dispatch} from \"d3-dispatch\";\nimport {event, customEvent, select, mouse, touch} from \"d3-selection\";\nimport nodrag, {yesdrag} from \"./nodrag.js\";\nimport noevent, {nopropagation} from \"./noevent.js\";\nimport constant from \"./constant.js\";\nimport DragEvent from \"./event.js\";\n\n// Ignore right-click, since that should open the context menu.\nfunction defaultFilter() {\n return !event.ctrlKey && !event.button;\n}\n\nfunction defaultContainer() {\n return this.parentNode;\n}\n\nfunction defaultSubject(d) {\n return d == null ? {x: event.x, y: event.y} : d;\n}\n\nfunction defaultTouchable() {\n return navigator.maxTouchPoints || (\"ontouchstart\" in this);\n}\n\nexport default function() {\n var filter = defaultFilter,\n container = defaultContainer,\n subject = defaultSubject,\n touchable = defaultTouchable,\n gestures = {},\n listeners = dispatch(\"start\", \"drag\", \"end\"),\n active = 0,\n mousedownx,\n mousedowny,\n mousemoving,\n touchending,\n clickDistance2 = 0;\n\n function drag(selection) {\n selection\n .on(\"mousedown.drag\", mousedowned)\n .filter(touchable)\n .on(\"touchstart.drag\", touchstarted)\n .on(\"touchmove.drag\", touchmoved)\n .on(\"touchend.drag touchcancel.drag\", touchended)\n .style(\"touch-action\", \"none\")\n .style(\"-webkit-tap-highlight-color\", \"rgba(0,0,0,0)\");\n }\n\n function mousedowned() {\n if (touchending || !filter.apply(this, arguments)) return;\n var gesture = beforestart(\"mouse\", container.apply(this, arguments), mouse, this, arguments);\n if (!gesture) return;\n select(event.view).on(\"mousemove.drag\", mousemoved, true).on(\"mouseup.drag\", mouseupped, true);\n nodrag(event.view);\n nopropagation();\n mousemoving = false;\n mousedownx = event.clientX;\n mousedowny = event.clientY;\n gesture(\"start\");\n }\n\n function mousemoved() {\n noevent();\n if (!mousemoving) {\n var dx = event.clientX - mousedownx, dy = event.clientY - mousedowny;\n mousemoving = dx * dx + dy * dy > clickDistance2;\n }\n gestures.mouse(\"drag\");\n }\n\n function mouseupped() {\n select(event.view).on(\"mousemove.drag mouseup.drag\", null);\n yesdrag(event.view, mousemoving);\n noevent();\n gestures.mouse(\"end\");\n }\n\n function touchstarted() {\n if (!filter.apply(this, arguments)) return;\n var touches = event.changedTouches,\n c = container.apply(this, arguments),\n n = touches.length, i, gesture;\n\n for (i = 0; i < n; ++i) {\n if (gesture = beforestart(touches[i].identifier, c, touch, this, arguments)) {\n nopropagation();\n gesture(\"start\");\n }\n }\n }\n\n function touchmoved() {\n var touches = event.changedTouches,\n n = touches.length, i, gesture;\n\n for (i = 0; i < n; ++i) {\n if (gesture = gestures[touches[i].identifier]) {\n noevent();\n gesture(\"drag\");\n }\n }\n }\n\n function touchended() {\n var touches = event.changedTouches,\n n = touches.length, i, gesture;\n\n if (touchending) clearTimeout(touchending);\n touchending = setTimeout(function() { touchending = null; }, 500); // Ghost clicks are delayed!\n for (i = 0; i < n; ++i) {\n if (gesture = gestures[touches[i].identifier]) {\n nopropagation();\n gesture(\"end\");\n }\n }\n }\n\n function beforestart(id, container, point, that, args) {\n var p = point(container, id), s, dx, dy,\n sublisteners = listeners.copy();\n\n if (!customEvent(new DragEvent(drag, \"beforestart\", s, id, active, p[0], p[1], 0, 0, sublisteners), function() {\n if ((event.subject = s = subject.apply(that, args)) == null) return false;\n dx = s.x - p[0] || 0;\n dy = s.y - p[1] || 0;\n return true;\n })) return;\n\n return function gesture(type) {\n var p0 = p, n;\n switch (type) {\n case \"start\": gestures[id] = gesture, n = active++; break;\n case \"end\": delete gestures[id], --active; // nobreak\n case \"drag\": p = point(container, id), n = active; break;\n }\n customEvent(new DragEvent(drag, type, s, id, n, p[0] + dx, p[1] + dy, p[0] - p0[0], p[1] - p0[1], sublisteners), sublisteners.apply, sublisteners, [type, that, args]);\n };\n }\n\n drag.filter = function(_) {\n return arguments.length ? (filter = typeof _ === \"function\" ? _ : constant(!!_), drag) : filter;\n };\n\n drag.container = function(_) {\n return arguments.length ? (container = typeof _ === \"function\" ? _ : constant(_), drag) : container;\n };\n\n drag.subject = function(_) {\n return arguments.length ? (subject = typeof _ === \"function\" ? _ : constant(_), drag) : subject;\n };\n\n drag.touchable = function(_) {\n return arguments.length ? (touchable = typeof _ === \"function\" ? _ : constant(!!_), drag) : touchable;\n };\n\n drag.on = function() {\n var value = listeners.on.apply(listeners, arguments);\n return value === listeners ? drag : value;\n };\n\n drag.clickDistance = function(_) {\n return arguments.length ? (clickDistance2 = (_ = +_) * _, drag) : Math.sqrt(clickDistance2);\n };\n\n return drag;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/dsv.js", "name": "./node_modules/d3-dsv/src/dsv.js", "index": 177, "index2": 173, "size": 4838, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-dsv/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "name": "./node_modules/d3-dsv/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./dsv.js", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./dsv.js", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/csv.js", "module": "./node_modules/d3-dsv/src/csv.js", "moduleName": "./node_modules/d3-dsv/src/csv.js", "type": "harmony side effect evaluation", "userRequest": "./dsv.js", "loc": "1:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/tsv.js", "module": "./node_modules/d3-dsv/src/tsv.js", "moduleName": "./node_modules/d3-dsv/src/tsv.js", "type": "harmony side effect evaluation", "userRequest": "./dsv.js", "loc": "1:0-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/csv.js", "module": "./node_modules/d3-dsv/src/csv.js", "moduleName": "./node_modules/d3-dsv/src/csv.js", "type": "harmony import specifier", "userRequest": "./dsv.js", "loc": "3:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/tsv.js", "module": "./node_modules/d3-dsv/src/tsv.js", "moduleName": "./node_modules/d3-dsv/src/tsv.js", "type": "harmony import specifier", "userRequest": "./dsv.js", "loc": "3:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dsv", "loc": "15:15-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var EOL = {},\n EOF = {},\n QUOTE = 34,\n NEWLINE = 10,\n RETURN = 13;\n\nfunction objectConverter(columns) {\n return new Function(\"d\", \"return {\" + columns.map(function(name, i) {\n return JSON.stringify(name) + \": d[\" + i + \"] || \\\"\\\"\";\n }).join(\",\") + \"}\");\n}\n\nfunction customConverter(columns, f) {\n var object = objectConverter(columns);\n return function(row, i) {\n return f(object(row), i, columns);\n };\n}\n\n// Compute unique columns in order of discovery.\nfunction inferColumns(rows) {\n var columnSet = Object.create(null),\n columns = [];\n\n rows.forEach(function(row) {\n for (var column in row) {\n if (!(column in columnSet)) {\n columns.push(columnSet[column] = column);\n }\n }\n });\n\n return columns;\n}\n\nfunction pad(value, width) {\n var s = value + \"\", length = s.length;\n return length < width ? new Array(width - length + 1).join(0) + s : s;\n}\n\nfunction formatYear(year) {\n return year < 0 ? \"-\" + pad(-year, 6)\n : year > 9999 ? \"+\" + pad(year, 6)\n : pad(year, 4);\n}\n\nfunction formatDate(date) {\n var hours = date.getUTCHours(),\n minutes = date.getUTCMinutes(),\n seconds = date.getUTCSeconds(),\n milliseconds = date.getUTCMilliseconds();\n return isNaN(date) ? \"Invalid Date\"\n : formatYear(date.getUTCFullYear(), 4) + \"-\" + pad(date.getUTCMonth() + 1, 2) + \"-\" + pad(date.getUTCDate(), 2)\n + (milliseconds ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \":\" + pad(seconds, 2) + \".\" + pad(milliseconds, 3) + \"Z\"\n : seconds ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \":\" + pad(seconds, 2) + \"Z\"\n : minutes || hours ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \"Z\"\n : \"\");\n}\n\nexport default function(delimiter) {\n var reFormat = new RegExp(\"[\\\"\" + delimiter + \"\\n\\r]\"),\n DELIMITER = delimiter.charCodeAt(0);\n\n function parse(text, f) {\n var convert, columns, rows = parseRows(text, function(row, i) {\n if (convert) return convert(row, i - 1);\n columns = row, convert = f ? customConverter(row, f) : objectConverter(row);\n });\n rows.columns = columns || [];\n return rows;\n }\n\n function parseRows(text, f) {\n var rows = [], // output rows\n N = text.length,\n I = 0, // current character index\n n = 0, // current line number\n t, // current token\n eof = N <= 0, // current token followed by EOF?\n eol = false; // current token followed by EOL?\n\n // Strip the trailing newline.\n if (text.charCodeAt(N - 1) === NEWLINE) --N;\n if (text.charCodeAt(N - 1) === RETURN) --N;\n\n function token() {\n if (eof) return EOF;\n if (eol) return eol = false, EOL;\n\n // Unescape quotes.\n var i, j = I, c;\n if (text.charCodeAt(j) === QUOTE) {\n while (I++ < N && text.charCodeAt(I) !== QUOTE || text.charCodeAt(++I) === QUOTE);\n if ((i = I) >= N) eof = true;\n else if ((c = text.charCodeAt(I++)) === NEWLINE) eol = true;\n else if (c === RETURN) { eol = true; if (text.charCodeAt(I) === NEWLINE) ++I; }\n return text.slice(j + 1, i - 1).replace(/\"\"/g, \"\\\"\");\n }\n\n // Find next delimiter or newline.\n while (I < N) {\n if ((c = text.charCodeAt(i = I++)) === NEWLINE) eol = true;\n else if (c === RETURN) { eol = true; if (text.charCodeAt(I) === NEWLINE) ++I; }\n else if (c !== DELIMITER) continue;\n return text.slice(j, i);\n }\n\n // Return last token before EOF.\n return eof = true, text.slice(j, N);\n }\n\n while ((t = token()) !== EOF) {\n var row = [];\n while (t !== EOL && t !== EOF) row.push(t), t = token();\n if (f && (row = f(row, n++)) == null) continue;\n rows.push(row);\n }\n\n return rows;\n }\n\n function preformatBody(rows, columns) {\n return rows.map(function(row) {\n return columns.map(function(column) {\n return formatValue(row[column]);\n }).join(delimiter);\n });\n }\n\n function format(rows, columns) {\n if (columns == null) columns = inferColumns(rows);\n return [columns.map(formatValue).join(delimiter)].concat(preformatBody(rows, columns)).join(\"\\n\");\n }\n\n function formatBody(rows, columns) {\n if (columns == null) columns = inferColumns(rows);\n return preformatBody(rows, columns).join(\"\\n\");\n }\n\n function formatRows(rows) {\n return rows.map(formatRow).join(\"\\n\");\n }\n\n function formatRow(row) {\n return row.map(formatValue).join(delimiter);\n }\n\n function formatValue(value) {\n return value == null ? \"\"\n : value instanceof Date ? formatDate(value)\n : reFormat.test(value += \"\") ? \"\\\"\" + value.replace(/\"/g, \"\\\"\\\"\") + \"\\\"\"\n : value;\n }\n\n return {\n parse: parse,\n parseRows: parseRows,\n format: format,\n formatBody: formatBody,\n formatRows: formatRows,\n formatRow: formatRow,\n formatValue: formatValue\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/csv.js", "name": "./node_modules/d3-dsv/src/csv.js", "index": 178, "index2": 174, "size": 331, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-dsv/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "name": "./node_modules/d3-dsv/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./csv.js", "loc": "2:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dsv", "loc": "21:26-34" } ], "usedExports": [ "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue" ], "providedExports": [ "csvParse", "csvParseRows", "csvFormat", "csvFormatBody", "csvFormatRows", "csvFormatRow", "csvFormatValue" ], "optimizationBailout": [], "depth": 4, "source": "import dsv from \"./dsv.js\";\n\nvar csv = dsv(\",\");\n\nexport var csvParse = csv.parse;\nexport var csvParseRows = csv.parseRows;\nexport var csvFormat = csv.format;\nexport var csvFormatBody = csv.formatBody;\nexport var csvFormatRows = csv.formatRows;\nexport var csvFormatRow = csv.formatRow;\nexport var csvFormatValue = csv.formatValue;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/tsv.js", "name": "./node_modules/d3-dsv/src/tsv.js", "index": 179, "index2": 175, "size": 332, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-dsv/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "name": "./node_modules/d3-dsv/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tsv.js", "loc": "3:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-dsv", "loc": "22:26-34" } ], "usedExports": [ "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue" ], "providedExports": [ "tsvParse", "tsvParseRows", "tsvFormat", "tsvFormatBody", "tsvFormatRows", "tsvFormatRow", "tsvFormatValue" ], "optimizationBailout": [], "depth": 4, "source": "import dsv from \"./dsv.js\";\n\nvar tsv = dsv(\"\\t\");\n\nexport var tsvParse = tsv.parse;\nexport var tsvParseRows = tsv.parseRows;\nexport var tsvFormat = tsv.format;\nexport var tsvFormatBody = tsv.formatBody;\nexport var tsvFormatRows = tsv.formatRows;\nexport var tsvFormatRow = tsv.formatRow;\nexport var tsvFormatValue = tsv.formatValue;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/autoType.js", "name": "./node_modules/d3-dsv/src/autoType.js", "index": 180, "index2": 176, "size": 794, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-dsv/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "name": "./node_modules/d3-dsv/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 77, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./autoType.js", "loc": "4:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-dsv/src/index.js", "module": "./node_modules/d3-dsv/src/index.js", "moduleName": "./node_modules/d3-dsv/src/index.js", "type": "harmony export imported specifier", "userRequest": "./autoType.js", "loc": "4:0-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function autoType(object) {\n for (var key in object) {\n var value = object[key].trim(), number, m;\n if (!value) value = null;\n else if (value === \"true\") value = true;\n else if (value === \"false\") value = false;\n else if (value === \"NaN\") value = NaN;\n else if (!isNaN(number = +value)) value = number;\n else if (m = value.match(/^([-+]\\d{2})?\\d{4}(-\\d{2}(-\\d{2})?)?(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{3})?)?(Z|[-+]\\d{2}:\\d{2})?)?$/)) {\n if (fixtz && !!m[4] && !m[7]) value = value.replace(/-/g, \"/\").replace(/T/, \" \");\n value = new Date(value);\n }\n else continue;\n object[key] = value;\n }\n return object;\n}\n\n// https://github.com/d3/d3-dsv/issues/45\nvar fixtz = new Date(\"2019-01-01T00:00\").getHours() || new Date(\"2019-07-01T00:00\").getHours();" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/linear.js", "name": "./node_modules/d3-ease/src/linear.js", "index": 182, "index2": 178, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./linear.js", "loc": "1:0-3:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./linear.js", "loc": "1:0-3:21" } ], "usedExports": [ "linear" ], "providedExports": [ "linear" ], "optimizationBailout": [], "depth": 4, "source": "export function linear(t) {\n return +t;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/quad.js", "name": "./node_modules/d3-ease/src/quad.js", "index": 183, "index2": 179, "size": 192, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quad.js", "loc": "5:0-10:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "5:0-10:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "5:0-10:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "5:0-10:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quad.js", "loc": "5:0-10:19" } ], "usedExports": [ "quadInOut", "quadIn", "quadOut" ], "providedExports": [ "quadIn", "quadOut", "quadInOut" ], "optimizationBailout": [], "depth": 4, "source": "export function quadIn(t) {\n return t * t;\n}\n\nexport function quadOut(t) {\n return t * (2 - t);\n}\n\nexport function quadInOut(t) {\n return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/poly.js", "name": "./node_modules/d3-ease/src/poly.js", "index": 184, "index2": 180, "size": 596, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./poly.js", "loc": "19:0-24:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "19:0-24:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "19:0-24:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "19:0-24:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./poly.js", "loc": "19:0-24:19" } ], "usedExports": [ "polyInOut", "polyIn", "polyOut" ], "providedExports": [ "polyIn", "polyOut", "polyInOut" ], "optimizationBailout": [], "depth": 4, "source": "var exponent = 3;\n\nexport var polyIn = (function custom(e) {\n e = +e;\n\n function polyIn(t) {\n return Math.pow(t, e);\n }\n\n polyIn.exponent = custom;\n\n return polyIn;\n})(exponent);\n\nexport var polyOut = (function custom(e) {\n e = +e;\n\n function polyOut(t) {\n return 1 - Math.pow(1 - t, e);\n }\n\n polyOut.exponent = custom;\n\n return polyOut;\n})(exponent);\n\nexport var polyInOut = (function custom(e) {\n e = +e;\n\n function polyInOut(t) {\n return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;\n }\n\n polyInOut.exponent = custom;\n\n return polyInOut;\n})(exponent);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/sin.js", "name": "./node_modules/d3-ease/src/sin.js", "index": 185, "index2": 181, "size": 236, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sin.js", "loc": "26:0-31:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "26:0-31:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "26:0-31:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "26:0-31:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sin.js", "loc": "26:0-31:18" } ], "usedExports": [ "sinInOut", "sinIn", "sinOut" ], "providedExports": [ "sinIn", "sinOut", "sinInOut" ], "optimizationBailout": [], "depth": 4, "source": "var pi = Math.PI,\n halfPi = pi / 2;\n\nexport function sinIn(t) {\n return 1 - Math.cos(t * halfPi);\n}\n\nexport function sinOut(t) {\n return Math.sin(t * halfPi);\n}\n\nexport function sinInOut(t) {\n return (1 - Math.cos(pi * t)) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/exp.js", "name": "./node_modules/d3-ease/src/exp.js", "index": 186, "index2": 182, "size": 251, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./exp.js", "loc": "33:0-38:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "33:0-38:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "33:0-38:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "33:0-38:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exp.js", "loc": "33:0-38:18" } ], "usedExports": [ "expInOut", "expIn", "expOut" ], "providedExports": [ "expIn", "expOut", "expInOut" ], "optimizationBailout": [], "depth": 4, "source": "export function expIn(t) {\n return Math.pow(2, 10 * t - 10);\n}\n\nexport function expOut(t) {\n return 1 - Math.pow(2, -10 * t);\n}\n\nexport function expInOut(t) {\n return ((t *= 2) <= 1 ? Math.pow(2, 10 * t - 10) : 2 - Math.pow(2, 10 - 10 * t)) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/circle.js", "name": "./node_modules/d3-ease/src/circle.js", "index": 187, "index2": 183, "size": 261, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./circle.js", "loc": "40:0-45:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "40:0-45:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "40:0-45:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "40:0-45:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "40:0-45:21" } ], "usedExports": [ "circleInOut", "circleIn", "circleOut" ], "providedExports": [ "circleIn", "circleOut", "circleInOut" ], "optimizationBailout": [], "depth": 4, "source": "export function circleIn(t) {\n return 1 - Math.sqrt(1 - t * t);\n}\n\nexport function circleOut(t) {\n return Math.sqrt(1 - --t * t);\n}\n\nexport function circleInOut(t) {\n return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/bounce.js", "name": "./node_modules/d3-ease/src/bounce.js", "index": 188, "index2": 184, "size": 521, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bounce.js", "loc": "47:0-52:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "47:0-52:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "47:0-52:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "47:0-52:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounce.js", "loc": "47:0-52:21" } ], "usedExports": [ "bounceOut", "bounceIn", "bounceInOut" ], "providedExports": [ "bounceIn", "bounceOut", "bounceInOut" ], "optimizationBailout": [], "depth": 4, "source": "var b1 = 4 / 11,\n b2 = 6 / 11,\n b3 = 8 / 11,\n b4 = 3 / 4,\n b5 = 9 / 11,\n b6 = 10 / 11,\n b7 = 15 / 16,\n b8 = 21 / 22,\n b9 = 63 / 64,\n b0 = 1 / b1 / b1;\n\nexport function bounceIn(t) {\n return 1 - bounceOut(1 - t);\n}\n\nexport function bounceOut(t) {\n return (t = +t) < b1 ? b0 * t * t : t < b3 ? b0 * (t -= b2) * t + b4 : t < b6 ? b0 * (t -= b5) * t + b7 : b0 * (t -= b8) * t + b9;\n}\n\nexport function bounceInOut(t) {\n return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/back.js", "name": "./node_modules/d3-ease/src/back.js", "index": 189, "index2": 185, "size": 653, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./back.js", "loc": "54:0-59:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "54:0-59:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "54:0-59:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "54:0-59:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./back.js", "loc": "54:0-59:19" } ], "usedExports": [ "backInOut", "backIn", "backOut" ], "providedExports": [ "backIn", "backOut", "backInOut" ], "optimizationBailout": [], "depth": 4, "source": "var overshoot = 1.70158;\n\nexport var backIn = (function custom(s) {\n s = +s;\n\n function backIn(t) {\n return t * t * ((s + 1) * t - s);\n }\n\n backIn.overshoot = custom;\n\n return backIn;\n})(overshoot);\n\nexport var backOut = (function custom(s) {\n s = +s;\n\n function backOut(t) {\n return --t * t * ((s + 1) * t + s) + 1;\n }\n\n backOut.overshoot = custom;\n\n return backOut;\n})(overshoot);\n\nexport var backInOut = (function custom(s) {\n s = +s;\n\n function backInOut(t) {\n return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;\n }\n\n backInOut.overshoot = custom;\n\n return backInOut;\n})(overshoot);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/elastic.js", "name": "./node_modules/d3-ease/src/elastic.js", "index": 190, "index2": 186, "size": 1309, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-ease/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "name": "./node_modules/d3-ease/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 868, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./elastic.js", "loc": "61:0-66:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "61:0-66:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "61:0-66:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "61:0-66:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-ease/src/index.js", "module": "./node_modules/d3-ease/src/index.js", "moduleName": "./node_modules/d3-ease/src/index.js", "type": "harmony export imported specifier", "userRequest": "./elastic.js", "loc": "61:0-66:22" } ], "usedExports": [ "elasticOut", "elasticIn", "elasticInOut" ], "providedExports": [ "elasticIn", "elasticOut", "elasticInOut" ], "optimizationBailout": [], "depth": 4, "source": "var tau = 2 * Math.PI,\n amplitude = 1,\n period = 0.3;\n\nexport var elasticIn = (function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticIn(t) {\n return a * Math.pow(2, 10 * --t) * Math.sin((s - t) / p);\n }\n\n elasticIn.amplitude = function(a) { return custom(a, p * tau); };\n elasticIn.period = function(p) { return custom(a, p); };\n\n return elasticIn;\n})(amplitude, period);\n\nexport var elasticOut = (function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticOut(t) {\n return 1 - a * Math.pow(2, -10 * (t = +t)) * Math.sin((t + s) / p);\n }\n\n elasticOut.amplitude = function(a) { return custom(a, p * tau); };\n elasticOut.period = function(p) { return custom(a, p); };\n\n return elasticOut;\n})(amplitude, period);\n\nexport var elasticInOut = (function custom(a, p) {\n var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);\n\n function elasticInOut(t) {\n return ((t = t * 2 - 1) < 0\n ? a * Math.pow(2, 10 * t) * Math.sin((s - t) / p)\n : 2 - a * Math.pow(2, -10 * t) * Math.sin((s + t) / p)) / 2;\n }\n\n elasticInOut.amplitude = function(a) { return custom(a, p * tau); };\n elasticInOut.period = function(p) { return custom(a, p); };\n\n return elasticInOut;\n})(amplitude, period);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/blob.js", "name": "./node_modules/d3-fetch/src/blob.js", "index": 192, "index2": 188, "size": 234, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./blob", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./blob", "loc": "1:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function responseBlob(response) {\n if (!response.ok) throw new Error(response.status + \" \" + response.statusText);\n return response.blob();\n}\n\nexport default function(input, init) {\n return fetch(input, init).then(responseBlob);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/buffer.js", "name": "./node_modules/d3-fetch/src/buffer.js", "index": 193, "index2": 189, "size": 255, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./buffer", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./buffer", "loc": "2:0-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function responseArrayBuffer(response) {\n if (!response.ok) throw new Error(response.status + \" \" + response.statusText);\n return response.arrayBuffer();\n}\n\nexport default function(input, init) {\n return fetch(input, init).then(responseArrayBuffer);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/text.js", "name": "./node_modules/d3-fetch/src/text.js", "index": 195, "index2": 190, "size": 234, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/xml.js", "module": "./node_modules/d3-fetch/src/xml.js", "moduleName": "./node_modules/d3-fetch/src/xml.js", "type": "harmony side effect evaluation", "userRequest": "./text", "loc": "1:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony side effect evaluation", "userRequest": "./text", "loc": "2:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/xml.js", "module": "./node_modules/d3-fetch/src/xml.js", "moduleName": "./node_modules/d3-fetch/src/xml.js", "type": "harmony import specifier", "userRequest": "./text", "loc": "5:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./text", "loc": "6:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./text", "loc": "6:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony import specifier", "userRequest": "./text", "loc": "7:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "module": "./node_modules/d3-fetch/src/dsv.js", "moduleName": "./node_modules/d3-fetch/src/dsv.js", "type": "harmony import specifier", "userRequest": "./text", "loc": "16:9-13" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function responseText(response) {\n if (!response.ok) throw new Error(response.status + \" \" + response.statusText);\n return response.text();\n}\n\nexport default function(input, init) {\n return fetch(input, init).then(responseText);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/dsv.js", "name": "./node_modules/d3-fetch/src/dsv.js", "index": 194, "index2": 191, "size": 707, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./dsv", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./dsv", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./dsv", "loc": "3:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./dsv", "loc": "3:0-47" } ], "usedExports": [ "default", "csv", "tsv" ], "providedExports": [ "default", "csv", "tsv" ], "optimizationBailout": [], "depth": 4, "source": "import {csvParse, dsvFormat, tsvParse} from \"d3-dsv\";\nimport text from \"./text\";\n\nfunction dsvParse(parse) {\n return function(input, init, row) {\n if (arguments.length === 2 && typeof init === \"function\") row = init, init = undefined;\n return text(input, init).then(function(response) {\n return parse(response, row);\n });\n };\n}\n\nexport default function dsv(delimiter, input, init, row) {\n if (arguments.length === 3 && typeof init === \"function\") row = init, init = undefined;\n var format = dsvFormat(delimiter);\n return text(input, init).then(function(response) {\n return format.parse(response, row);\n });\n}\n\nexport var csv = dsvParse(csvParse);\nexport var tsv = dsvParse(tsvParse);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/image.js", "name": "./node_modules/d3-fetch/src/image.js", "index": 196, "index2": 192, "size": 275, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./image", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./image", "loc": "4:0-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(input, init) {\n return new Promise(function(resolve, reject) {\n var image = new Image;\n for (var key in init) image[key] = init[key];\n image.onerror = reject;\n image.onload = function() { resolve(image); };\n image.src = input;\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/json.js", "name": "./node_modules/d3-fetch/src/json.js", "index": 197, "index2": 193, "size": 234, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./json", "loc": "5:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./json", "loc": "5:0-39" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function responseJson(response) {\n if (!response.ok) throw new Error(response.status + \" \" + response.statusText);\n return response.json();\n}\n\nexport default function(input, init) {\n return fetch(input, init).then(responseJson);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/xml.js", "name": "./node_modules/d3-fetch/src/xml.js", "index": 198, "index2": 194, "size": 336, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-fetch/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "name": "./node_modules/d3-fetch/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 896, "building": 20, "dependencies": 12 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./xml", "loc": "7:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./xml", "loc": "7:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./xml", "loc": "7:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-fetch/src/index.js", "module": "./node_modules/d3-fetch/src/index.js", "moduleName": "./node_modules/d3-fetch/src/index.js", "type": "harmony export imported specifier", "userRequest": "./xml", "loc": "7:0-48" } ], "usedExports": [ "default", "html", "svg" ], "providedExports": [ "default", "html", "svg" ], "optimizationBailout": [], "depth": 4, "source": "import text from \"./text\";\n\nfunction parser(type) {\n return function(input, init) {\n return text(input, init).then(function(text) {\n return (new DOMParser).parseFromString(text, type);\n });\n };\n}\n\nexport default parser(\"application/xml\");\n\nexport var html = parser(\"text/html\");\n\nexport var svg = parser(\"image/svg+xml\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/center.js", "name": "./node_modules/d3-force/src/center.js", "index": 200, "index2": 196, "size": 654, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./center", "loc": "1:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./center", "loc": "1:0-48" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(x, y) {\n var nodes;\n\n if (x == null) x = 0;\n if (y == null) y = 0;\n\n function force() {\n var i,\n n = nodes.length,\n node,\n sx = 0,\n sy = 0;\n\n for (i = 0; i < n; ++i) {\n node = nodes[i], sx += node.x, sy += node.y;\n }\n\n for (sx = sx / n - x, sy = sy / n - y, i = 0; i < n; ++i) {\n node = nodes[i], node.x -= sx, node.y -= sy;\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n };\n\n force.x = function(_) {\n return arguments.length ? (x = +_, force) : x;\n };\n\n force.y = function(_) {\n return arguments.length ? (y = +_, force) : y;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "index": 204, "index2": 212, "size": 2113, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 73, "building": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "module": "./node_modules/d3-quadtree/src/index.js", "moduleName": "./node_modules/d3-quadtree/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quadtree.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "module": "./node_modules/d3-quadtree/src/index.js", "moduleName": "./node_modules/d3-quadtree/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quadtree.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-quadtree", "loc": "17:36-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-quadtree", "loc": "31:13-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import tree_add, {addAll as tree_addAll} from \"./add.js\";\nimport tree_cover from \"./cover.js\";\nimport tree_data from \"./data.js\";\nimport tree_extent from \"./extent.js\";\nimport tree_find from \"./find.js\";\nimport tree_remove, {removeAll as tree_removeAll} from \"./remove.js\";\nimport tree_root from \"./root.js\";\nimport tree_size from \"./size.js\";\nimport tree_visit from \"./visit.js\";\nimport tree_visitAfter from \"./visitAfter.js\";\nimport tree_x, {defaultX} from \"./x.js\";\nimport tree_y, {defaultY} from \"./y.js\";\n\nexport default function quadtree(nodes, x, y) {\n var tree = new Quadtree(x == null ? defaultX : x, y == null ? defaultY : y, NaN, NaN, NaN, NaN);\n return nodes == null ? tree : tree.addAll(nodes);\n}\n\nfunction Quadtree(x, y, x0, y0, x1, y1) {\n this._x = x;\n this._y = y;\n this._x0 = x0;\n this._y0 = y0;\n this._x1 = x1;\n this._y1 = y1;\n this._root = undefined;\n}\n\nfunction leaf_copy(leaf) {\n var copy = {data: leaf.data}, next = copy;\n while (leaf = leaf.next) next = next.next = {data: leaf.data};\n return copy;\n}\n\nvar treeProto = quadtree.prototype = Quadtree.prototype;\n\ntreeProto.copy = function() {\n var copy = new Quadtree(this._x, this._y, this._x0, this._y0, this._x1, this._y1),\n node = this._root,\n nodes,\n child;\n\n if (!node) return copy;\n\n if (!node.length) return copy._root = leaf_copy(node), copy;\n\n nodes = [{source: node, target: copy._root = new Array(4)}];\n while (node = nodes.pop()) {\n for (var i = 0; i < 4; ++i) {\n if (child = node.source[i]) {\n if (child.length) nodes.push({source: child, target: node.target[i] = new Array(4)});\n else node.target[i] = leaf_copy(child);\n }\n }\n }\n\n return copy;\n};\n\ntreeProto.add = tree_add;\ntreeProto.addAll = tree_addAll;\ntreeProto.cover = tree_cover;\ntreeProto.data = tree_data;\ntreeProto.extent = tree_extent;\ntreeProto.find = tree_find;\ntreeProto.remove = tree_remove;\ntreeProto.removeAll = tree_removeAll;\ntreeProto.root = tree_root;\ntreeProto.size = tree_size;\ntreeProto.visit = tree_visit;\ntreeProto.visitAfter = tree_visitAfter;\ntreeProto.x = tree_x;\ntreeProto.y = tree_y;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "name": "./node_modules/d3-force/src/collide.js", "index": 201, "index2": 213, "size": 2447, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./collide", "loc": "2:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./collide", "loc": "2:0-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\nimport jiggle from \"./jiggle\";\nimport {quadtree} from \"d3-quadtree\";\n\nfunction x(d) {\n return d.x + d.vx;\n}\n\nfunction y(d) {\n return d.y + d.vy;\n}\n\nexport default function(radius) {\n var nodes,\n radii,\n strength = 1,\n iterations = 1;\n\n if (typeof radius !== \"function\") radius = constant(radius == null ? 1 : +radius);\n\n function force() {\n var i, n = nodes.length,\n tree,\n node,\n xi,\n yi,\n ri,\n ri2;\n\n for (var k = 0; k < iterations; ++k) {\n tree = quadtree(nodes, x, y).visitAfter(prepare);\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n ri = radii[node.index], ri2 = ri * ri;\n xi = node.x + node.vx;\n yi = node.y + node.vy;\n tree.visit(apply);\n }\n }\n\n function apply(quad, x0, y0, x1, y1) {\n var data = quad.data, rj = quad.r, r = ri + rj;\n if (data) {\n if (data.index > node.index) {\n var x = xi - data.x - data.vx,\n y = yi - data.y - data.vy,\n l = x * x + y * y;\n if (l < r * r) {\n if (x === 0) x = jiggle(), l += x * x;\n if (y === 0) y = jiggle(), l += y * y;\n l = (r - (l = Math.sqrt(l))) / l * strength;\n node.vx += (x *= l) * (r = (rj *= rj) / (ri2 + rj));\n node.vy += (y *= l) * r;\n data.vx -= x * (r = 1 - r);\n data.vy -= y * r;\n }\n }\n return;\n }\n return x0 > xi + r || x1 < xi - r || y0 > yi + r || y1 < yi - r;\n }\n }\n\n function prepare(quad) {\n if (quad.data) return quad.r = radii[quad.data.index];\n for (var i = quad.r = 0; i < 4; ++i) {\n if (quad[i] && quad[i].r > quad.r) {\n quad.r = quad[i].r;\n }\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length, node;\n radii = new Array(n);\n for (i = 0; i < n; ++i) node = nodes[i], radii[node.index] = +radius(node, i, nodes);\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.iterations = function(_) {\n return arguments.length ? (iterations = +_, force) : iterations;\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = +_, force) : strength;\n };\n\n force.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : radius;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "name": "./node_modules/d3-force/src/link.js", "index": 218, "index2": 214, "size": 3213, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./link", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./link", "loc": "3:0-44" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\nimport jiggle from \"./jiggle\";\nimport {map} from \"d3-collection\";\n\nfunction index(d) {\n return d.index;\n}\n\nfunction find(nodeById, nodeId) {\n var node = nodeById.get(nodeId);\n if (!node) throw new Error(\"missing: \" + nodeId);\n return node;\n}\n\nexport default function(links) {\n var id = index,\n strength = defaultStrength,\n strengths,\n distance = constant(30),\n distances,\n nodes,\n count,\n bias,\n iterations = 1;\n\n if (links == null) links = [];\n\n function defaultStrength(link) {\n return 1 / Math.min(count[link.source.index], count[link.target.index]);\n }\n\n function force(alpha) {\n for (var k = 0, n = links.length; k < iterations; ++k) {\n for (var i = 0, link, source, target, x, y, l, b; i < n; ++i) {\n link = links[i], source = link.source, target = link.target;\n x = target.x + target.vx - source.x - source.vx || jiggle();\n y = target.y + target.vy - source.y - source.vy || jiggle();\n l = Math.sqrt(x * x + y * y);\n l = (l - distances[i]) / l * alpha * strengths[i];\n x *= l, y *= l;\n target.vx -= x * (b = bias[i]);\n target.vy -= y * b;\n source.vx += x * (b = 1 - b);\n source.vy += y * b;\n }\n }\n }\n\n function initialize() {\n if (!nodes) return;\n\n var i,\n n = nodes.length,\n m = links.length,\n nodeById = map(nodes, id),\n link;\n\n for (i = 0, count = new Array(n); i < m; ++i) {\n link = links[i], link.index = i;\n if (typeof link.source !== \"object\") link.source = find(nodeById, link.source);\n if (typeof link.target !== \"object\") link.target = find(nodeById, link.target);\n count[link.source.index] = (count[link.source.index] || 0) + 1;\n count[link.target.index] = (count[link.target.index] || 0) + 1;\n }\n\n for (i = 0, bias = new Array(m); i < m; ++i) {\n link = links[i], bias[i] = count[link.source.index] / (count[link.source.index] + count[link.target.index]);\n }\n\n strengths = new Array(m), initializeStrength();\n distances = new Array(m), initializeDistance();\n }\n\n function initializeStrength() {\n if (!nodes) return;\n\n for (var i = 0, n = links.length; i < n; ++i) {\n strengths[i] = +strength(links[i], i, links);\n }\n }\n\n function initializeDistance() {\n if (!nodes) return;\n\n for (var i = 0, n = links.length; i < n; ++i) {\n distances[i] = +distance(links[i], i, links);\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.links = function(_) {\n return arguments.length ? (links = _, initialize(), force) : links;\n };\n\n force.id = function(_) {\n return arguments.length ? (id = _, force) : id;\n };\n\n force.iterations = function(_) {\n return arguments.length ? (iterations = +_, force) : iterations;\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initializeStrength(), force) : strength;\n };\n\n force.distance = function(_) {\n return arguments.length ? (distance = typeof _ === \"function\" ? _ : constant(+_), initializeDistance(), force) : distance;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/simulation.js", "name": "./node_modules/d3-force/src/simulation.js", "index": 220, "index2": 215, "size": 3691, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony side effect evaluation", "userRequest": "./simulation", "loc": "4:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./simulation", "loc": "6:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./simulation", "loc": "6:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./simulation", "loc": "17:52-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./simulation", "loc": "17:55-56" } ], "usedExports": [ "x", "y", "default" ], "providedExports": [ "x", "y", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {dispatch} from \"d3-dispatch\";\nimport {map} from \"d3-collection\";\nimport {timer} from \"d3-timer\";\n\nexport function x(d) {\n return d.x;\n}\n\nexport function y(d) {\n return d.y;\n}\n\nvar initialRadius = 10,\n initialAngle = Math.PI * (3 - Math.sqrt(5));\n\nexport default function(nodes) {\n var simulation,\n alpha = 1,\n alphaMin = 0.001,\n alphaDecay = 1 - Math.pow(alphaMin, 1 / 300),\n alphaTarget = 0,\n velocityDecay = 0.6,\n forces = map(),\n stepper = timer(step),\n event = dispatch(\"tick\", \"end\");\n\n if (nodes == null) nodes = [];\n\n function step() {\n tick();\n event.call(\"tick\", simulation);\n if (alpha < alphaMin) {\n stepper.stop();\n event.call(\"end\", simulation);\n }\n }\n\n function tick(iterations) {\n var i, n = nodes.length, node;\n\n if (iterations === undefined) iterations = 1;\n\n for (var k = 0; k < iterations; ++k) {\n alpha += (alphaTarget - alpha) * alphaDecay;\n\n forces.each(function (force) {\n force(alpha);\n });\n\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n if (node.fx == null) node.x += node.vx *= velocityDecay;\n else node.x = node.fx, node.vx = 0;\n if (node.fy == null) node.y += node.vy *= velocityDecay;\n else node.y = node.fy, node.vy = 0;\n }\n }\n\n return simulation;\n }\n\n function initializeNodes() {\n for (var i = 0, n = nodes.length, node; i < n; ++i) {\n node = nodes[i], node.index = i;\n if (node.fx != null) node.x = node.fx;\n if (node.fy != null) node.y = node.fy;\n if (isNaN(node.x) || isNaN(node.y)) {\n var radius = initialRadius * Math.sqrt(i), angle = i * initialAngle;\n node.x = radius * Math.cos(angle);\n node.y = radius * Math.sin(angle);\n }\n if (isNaN(node.vx) || isNaN(node.vy)) {\n node.vx = node.vy = 0;\n }\n }\n }\n\n function initializeForce(force) {\n if (force.initialize) force.initialize(nodes);\n return force;\n }\n\n initializeNodes();\n\n return simulation = {\n tick: tick,\n\n restart: function() {\n return stepper.restart(step), simulation;\n },\n\n stop: function() {\n return stepper.stop(), simulation;\n },\n\n nodes: function(_) {\n return arguments.length ? (nodes = _, initializeNodes(), forces.each(initializeForce), simulation) : nodes;\n },\n\n alpha: function(_) {\n return arguments.length ? (alpha = +_, simulation) : alpha;\n },\n\n alphaMin: function(_) {\n return arguments.length ? (alphaMin = +_, simulation) : alphaMin;\n },\n\n alphaDecay: function(_) {\n return arguments.length ? (alphaDecay = +_, simulation) : +alphaDecay;\n },\n\n alphaTarget: function(_) {\n return arguments.length ? (alphaTarget = +_, simulation) : alphaTarget;\n },\n\n velocityDecay: function(_) {\n return arguments.length ? (velocityDecay = 1 - _, simulation) : 1 - velocityDecay;\n },\n\n force: function(name, _) {\n return arguments.length > 1 ? ((_ == null ? forces.remove(name) : forces.set(name, initializeForce(_))), simulation) : forces.get(name);\n },\n\n find: function(x, y, radius) {\n var i = 0,\n n = nodes.length,\n dx,\n dy,\n d2,\n node,\n closest;\n\n if (radius == null) radius = Infinity;\n else radius *= radius;\n\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n dx = x - node.x;\n dy = y - node.y;\n d2 = dx * dx + dy * dy;\n if (d2 < radius) closest = node, radius = d2;\n }\n\n return closest;\n },\n\n on: function(name, _) {\n return arguments.length > 1 ? (event.on(name, _), simulation) : event.on(name);\n }\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "name": "./node_modules/d3-force/src/manyBody.js", "index": 219, "index2": 216, "size": 3218, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./manyBody", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./manyBody", "loc": "4:0-52" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\nimport jiggle from \"./jiggle\";\nimport {quadtree} from \"d3-quadtree\";\nimport {x, y} from \"./simulation\";\n\nexport default function() {\n var nodes,\n node,\n alpha,\n strength = constant(-30),\n strengths,\n distanceMin2 = 1,\n distanceMax2 = Infinity,\n theta2 = 0.81;\n\n function force(_) {\n var i, n = nodes.length, tree = quadtree(nodes, x, y).visitAfter(accumulate);\n for (alpha = _, i = 0; i < n; ++i) node = nodes[i], tree.visit(apply);\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length, node;\n strengths = new Array(n);\n for (i = 0; i < n; ++i) node = nodes[i], strengths[node.index] = +strength(node, i, nodes);\n }\n\n function accumulate(quad) {\n var strength = 0, q, c, weight = 0, x, y, i;\n\n // For internal nodes, accumulate forces from child quadrants.\n if (quad.length) {\n for (x = y = i = 0; i < 4; ++i) {\n if ((q = quad[i]) && (c = Math.abs(q.value))) {\n strength += q.value, weight += c, x += c * q.x, y += c * q.y;\n }\n }\n quad.x = x / weight;\n quad.y = y / weight;\n }\n\n // For leaf nodes, accumulate forces from coincident quadrants.\n else {\n q = quad;\n q.x = q.data.x;\n q.y = q.data.y;\n do strength += strengths[q.data.index];\n while (q = q.next);\n }\n\n quad.value = strength;\n }\n\n function apply(quad, x1, _, x2) {\n if (!quad.value) return true;\n\n var x = quad.x - node.x,\n y = quad.y - node.y,\n w = x2 - x1,\n l = x * x + y * y;\n\n // Apply the Barnes-Hut approximation if possible.\n // Limit forces for very close nodes; randomize direction if coincident.\n if (w * w / theta2 < l) {\n if (l < distanceMax2) {\n if (x === 0) x = jiggle(), l += x * x;\n if (y === 0) y = jiggle(), l += y * y;\n if (l < distanceMin2) l = Math.sqrt(distanceMin2 * l);\n node.vx += x * quad.value * alpha / l;\n node.vy += y * quad.value * alpha / l;\n }\n return true;\n }\n\n // Otherwise, process points directly.\n else if (quad.length || l >= distanceMax2) return;\n\n // Limit forces for very close nodes; randomize direction if coincident.\n if (quad.data !== node || quad.next) {\n if (x === 0) x = jiggle(), l += x * x;\n if (y === 0) y = jiggle(), l += y * y;\n if (l < distanceMin2) l = Math.sqrt(distanceMin2 * l);\n }\n\n do if (quad.data !== node) {\n w = strengths[quad.data.index] * alpha / l;\n node.vx += x * w;\n node.vy += y * w;\n } while (quad = quad.next);\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.distanceMin = function(_) {\n return arguments.length ? (distanceMin2 = _ * _, force) : Math.sqrt(distanceMin2);\n };\n\n force.distanceMax = function(_) {\n return arguments.length ? (distanceMax2 = _ * _, force) : Math.sqrt(distanceMax2);\n };\n\n force.theta = function(_) {\n return arguments.length ? (theta2 = _ * _, force) : Math.sqrt(theta2);\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "name": "./node_modules/d3-force/src/radial.js", "index": 221, "index2": 217, "size": 1477, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./radial", "loc": "5:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./radial", "loc": "5:0-48" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\n\nexport default function(radius, x, y) {\n var nodes,\n strength = constant(0.1),\n strengths,\n radiuses;\n\n if (typeof radius !== \"function\") radius = constant(+radius);\n if (x == null) x = 0;\n if (y == null) y = 0;\n\n function force(alpha) {\n for (var i = 0, n = nodes.length; i < n; ++i) {\n var node = nodes[i],\n dx = node.x - x || 1e-6,\n dy = node.y - y || 1e-6,\n r = Math.sqrt(dx * dx + dy * dy),\n k = (radiuses[i] - r) * strengths[i] * alpha / r;\n node.vx += dx * k;\n node.vy += dy * k;\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length;\n strengths = new Array(n);\n radiuses = new Array(n);\n for (i = 0; i < n; ++i) {\n radiuses[i] = +radius(nodes[i], i, nodes);\n strengths[i] = isNaN(radiuses[i]) ? 0 : +strength(nodes[i], i, nodes);\n }\n }\n\n force.initialize = function(_) {\n nodes = _, initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : radius;\n };\n\n force.x = function(_) {\n return arguments.length ? (x = +_, force) : x;\n };\n\n force.y = function(_) {\n return arguments.length ? (y = +_, force) : y;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "name": "./node_modules/d3-force/src/x.js", "index": 222, "index2": 218, "size": 1030, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./x", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./x", "loc": "7:0-38" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\n\nexport default function(x) {\n var strength = constant(0.1),\n nodes,\n strengths,\n xz;\n\n if (typeof x !== \"function\") x = constant(x == null ? 0 : +x);\n\n function force(alpha) {\n for (var i = 0, n = nodes.length, node; i < n; ++i) {\n node = nodes[i], node.vx += (xz[i] - node.x) * strengths[i] * alpha;\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length;\n strengths = new Array(n);\n xz = new Array(n);\n for (i = 0; i < n; ++i) {\n strengths[i] = isNaN(xz[i] = +x(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes);\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : x;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "name": "./node_modules/d3-force/src/y.js", "index": 223, "index2": 219, "size": 1030, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 893, "building": 18, "dependencies": 16 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./y", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "module": "./node_modules/d3-force/src/index.js", "moduleName": "./node_modules/d3-force/src/index.js", "type": "harmony export imported specifier", "userRequest": "./y", "loc": "8:0-38" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\n\nexport default function(y) {\n var strength = constant(0.1),\n nodes,\n strengths,\n yz;\n\n if (typeof y !== \"function\") y = constant(y == null ? 0 : +y);\n\n function force(alpha) {\n for (var i = 0, n = nodes.length, node; i < n; ++i) {\n node = nodes[i], node.vy += (yz[i] - node.y) * strengths[i] * alpha;\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length;\n strengths = new Array(n);\n yz = new Array(n);\n for (i = 0; i < n; ++i) {\n strengths[i] = isNaN(yz[i] = +y(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes);\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : y;\n };\n\n return force;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatSpecifier.js", "name": "./node_modules/d3-format/src/formatSpecifier.js", "index": 230, "index2": 224, "size": 1719, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./formatSpecifier.js", "loc": "3:0-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./formatSpecifier.js", "loc": "3:0-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./formatSpecifier.js", "loc": "3:0-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatSpecifier.js", "loc": "4:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "7:14-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatSpecifier.js", "loc": "24:16-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatSpecifier.js", "loc": "134:35-50" } ], "usedExports": [ "default", "FormatSpecifier" ], "providedExports": [ "default", "FormatSpecifier" ], "optimizationBailout": [], "depth": 4, "source": "// [[fill]align][sign][symbol][0][width][,][.precision][~][type]\nvar re = /^(?:(.)?([<>=^]))?([+\\-( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?(~)?([a-z%])?$/i;\n\nexport default function formatSpecifier(specifier) {\n if (!(match = re.exec(specifier))) throw new Error(\"invalid format: \" + specifier);\n var match;\n return new FormatSpecifier({\n fill: match[1],\n align: match[2],\n sign: match[3],\n symbol: match[4],\n zero: match[5],\n width: match[6],\n comma: match[7],\n precision: match[8] && match[8].slice(1),\n trim: match[9],\n type: match[10]\n });\n}\n\nformatSpecifier.prototype = FormatSpecifier.prototype; // instanceof\n\nexport function FormatSpecifier(specifier) {\n this.fill = specifier.fill === undefined ? \" \" : specifier.fill + \"\";\n this.align = specifier.align === undefined ? \">\" : specifier.align + \"\";\n this.sign = specifier.sign === undefined ? \"-\" : specifier.sign + \"\";\n this.symbol = specifier.symbol === undefined ? \"\" : specifier.symbol + \"\";\n this.zero = !!specifier.zero;\n this.width = specifier.width === undefined ? undefined : +specifier.width;\n this.comma = !!specifier.comma;\n this.precision = specifier.precision === undefined ? undefined : +specifier.precision;\n this.trim = !!specifier.trim;\n this.type = specifier.type === undefined ? \"\" : specifier.type + \"\";\n}\n\nFormatSpecifier.prototype.toString = function() {\n return this.fill\n + this.align\n + this.sign\n + this.symbol\n + (this.zero ? \"0\" : \"\")\n + (this.width === undefined ? \"\" : Math.max(1, this.width | 0))\n + (this.comma ? \",\" : \"\")\n + (this.precision === undefined ? \"\" : \".\" + Math.max(0, this.precision | 0))\n + (this.trim ? \"~\" : \"\")\n + this.type;\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "index": 226, "index2": 231, "size": 6031, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/defaultLocale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } } ], "profile": { "factory": 50, "building": 45 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "module": "./node_modules/d3-format/src/defaultLocale.js", "moduleName": "./node_modules/d3-format/src/defaultLocale.js", "type": "harmony side effect evaluation", "userRequest": "./locale.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./locale.js", "loc": "2:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./locale.js", "loc": "2:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "module": "./node_modules/d3-format/src/defaultLocale.js", "moduleName": "./node_modules/d3-format/src/defaultLocale.js", "type": "harmony import specifier", "userRequest": "./locale.js", "loc": "16:11-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import exponent from \"./exponent.js\";\nimport formatGroup from \"./formatGroup.js\";\nimport formatNumerals from \"./formatNumerals.js\";\nimport formatSpecifier from \"./formatSpecifier.js\";\nimport formatTrim from \"./formatTrim.js\";\nimport formatTypes from \"./formatTypes.js\";\nimport {prefixExponent} from \"./formatPrefixAuto.js\";\nimport identity from \"./identity.js\";\n\nvar map = Array.prototype.map,\n prefixes = [\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"µ\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];\n\nexport default function(locale) {\n var group = locale.grouping === undefined || locale.thousands === undefined ? identity : formatGroup(map.call(locale.grouping, Number), locale.thousands + \"\"),\n currencyPrefix = locale.currency === undefined ? \"\" : locale.currency[0] + \"\",\n currencySuffix = locale.currency === undefined ? \"\" : locale.currency[1] + \"\",\n decimal = locale.decimal === undefined ? \".\" : locale.decimal + \"\",\n numerals = locale.numerals === undefined ? identity : formatNumerals(map.call(locale.numerals, String)),\n percent = locale.percent === undefined ? \"%\" : locale.percent + \"\",\n minus = locale.minus === undefined ? \"-\" : locale.minus + \"\",\n nan = locale.nan === undefined ? \"NaN\" : locale.nan + \"\";\n\n function newFormat(specifier) {\n specifier = formatSpecifier(specifier);\n\n var fill = specifier.fill,\n align = specifier.align,\n sign = specifier.sign,\n symbol = specifier.symbol,\n zero = specifier.zero,\n width = specifier.width,\n comma = specifier.comma,\n precision = specifier.precision,\n trim = specifier.trim,\n type = specifier.type;\n\n // The \"n\" type is an alias for \",g\".\n if (type === \"n\") comma = true, type = \"g\";\n\n // The \"\" type, and any invalid type, is an alias for \".12~g\".\n else if (!formatTypes[type]) precision === undefined && (precision = 12), trim = true, type = \"g\";\n\n // If zero fill is specified, padding goes after sign and before digits.\n if (zero || (fill === \"0\" && align === \"=\")) zero = true, fill = \"0\", align = \"=\";\n\n // Compute the prefix and suffix.\n // For SI-prefix, the suffix is lazily computed.\n var prefix = symbol === \"$\" ? currencyPrefix : symbol === \"#\" && /[boxX]/.test(type) ? \"0\" + type.toLowerCase() : \"\",\n suffix = symbol === \"$\" ? currencySuffix : /[%p]/.test(type) ? percent : \"\";\n\n // What format function should we use?\n // Is this an integer type?\n // Can this type generate exponential notation?\n var formatType = formatTypes[type],\n maybeSuffix = /[defgprs%]/.test(type);\n\n // Set the default precision if not specified,\n // or clamp the specified precision to the supported range.\n // For significant precision, it must be in [1, 21].\n // For fixed precision, it must be in [0, 20].\n precision = precision === undefined ? 6\n : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision))\n : Math.max(0, Math.min(20, precision));\n\n function format(value) {\n var valuePrefix = prefix,\n valueSuffix = suffix,\n i, n, c;\n\n if (type === \"c\") {\n valueSuffix = formatType(value) + valueSuffix;\n value = \"\";\n } else {\n value = +value;\n\n // Perform the initial formatting.\n var valueNegative = value < 0;\n value = isNaN(value) ? nan : formatType(Math.abs(value), precision);\n\n // Trim insignificant zeros.\n if (trim) value = formatTrim(value);\n\n // If a negative value rounds to zero during formatting, treat as positive.\n if (valueNegative && +value === 0) valueNegative = false;\n\n // Compute the prefix and suffix.\n valuePrefix = (valueNegative ? (sign === \"(\" ? sign : minus) : sign === \"-\" || sign === \"(\" ? \"\" : sign) + valuePrefix;\n\n valueSuffix = (type === \"s\" ? prefixes[8 + prefixExponent / 3] : \"\") + valueSuffix + (valueNegative && sign === \"(\" ? \")\" : \"\");\n\n // Break the formatted value into the integer “value” part that can be\n // grouped, and fractional or exponential “suffix” part that is not.\n if (maybeSuffix) {\n i = -1, n = value.length;\n while (++i < n) {\n if (c = value.charCodeAt(i), 48 > c || c > 57) {\n valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;\n value = value.slice(0, i);\n break;\n }\n }\n }\n }\n\n // If the fill character is not \"0\", grouping is applied before padding.\n if (comma && !zero) value = group(value, Infinity);\n\n // Compute the padding.\n var length = valuePrefix.length + value.length + valueSuffix.length,\n padding = length < width ? new Array(width - length + 1).join(fill) : \"\";\n\n // If the fill character is \"0\", grouping is applied after padding.\n if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = \"\";\n\n // Reconstruct the final output based on the desired alignment.\n switch (align) {\n case \"<\": value = valuePrefix + value + valueSuffix + padding; break;\n case \"=\": value = valuePrefix + padding + value + valueSuffix; break;\n case \"^\": value = padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length); break;\n default: value = padding + valuePrefix + value + valueSuffix; break;\n }\n\n return numerals(value);\n }\n\n format.toString = function() {\n return specifier + \"\";\n };\n\n return format;\n }\n\n function formatPrefix(specifier, value) {\n var f = newFormat((specifier = formatSpecifier(specifier), specifier.type = \"f\", specifier)),\n e = Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3,\n k = Math.pow(10, -e),\n prefix = prefixes[8 + e / 3];\n return function(value) {\n return f(k * value) + prefix;\n };\n }\n\n return {\n format: newFormat,\n formatPrefix: formatPrefix\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "index": 225, "index2": 232, "size": 378, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 828, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./defaultLocale.js", "loc": "1:0-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "12:13-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "28:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "114:53-59" } ], "usedExports": [ "formatPrefix", "format", "default" ], "providedExports": [ "format", "formatPrefix", "default" ], "optimizationBailout": [], "depth": 4, "source": "import formatLocale from \"./locale.js\";\n\nvar locale;\nexport var format;\nexport var formatPrefix;\n\ndefaultLocale({\n decimal: \".\",\n thousands: \",\",\n grouping: [3],\n currency: [\"$\", \"\"],\n minus: \"-\"\n});\n\nexport default function defaultLocale(definition) {\n locale = formatLocale(definition);\n format = locale.format;\n formatPrefix = locale.formatPrefix;\n return locale;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionFixed.js", "name": "./node_modules/d3-format/src/precisionFixed.js", "index": 237, "index2": 233, "size": 122, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 828, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./precisionFixed.js", "loc": "4:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./precisionFixed.js", "loc": "4:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "24:60-74" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import exponent from \"./exponent.js\";\n\nexport default function(step) {\n return Math.max(0, -exponent(Math.abs(step)));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionPrefix.js", "name": "./node_modules/d3-format/src/precisionPrefix.js", "index": 238, "index2": 234, "size": 193, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 828, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./precisionPrefix.js", "loc": "5:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./precisionPrefix.js", "loc": "5:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "11:60-75" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import exponent from \"./exponent.js\";\n\nexport default function(step, value) {\n return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3 - exponent(Math.abs(step)));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionRound.js", "name": "./node_modules/d3-format/src/precisionRound.js", "index": 239, "index2": 235, "size": 189, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 828, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./precisionRound.js", "loc": "6:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "module": "./node_modules/d3-format/src/index.js", "moduleName": "./node_modules/d3-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./precisionRound.js", "loc": "6:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "module": "./node_modules/d3-scale/src/tickFormat.js", "moduleName": "./node_modules/d3-scale/src/tickFormat.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-format", "loc": "19:60-74" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import exponent from \"./exponent.js\";\n\nexport default function(step, max) {\n step = Math.abs(step), max = Math.abs(max) - step;\n return Math.max(0, exponent(max) - exponent(step)) + 1;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/stream.js", "name": "./node_modules/d3-geo/src/stream.js", "index": 245, "index2": 240, "size": 2303, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/area.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "name": "./node_modules/d3-geo/src/area.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 114, "building": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "module": "./node_modules/d3-geo/src/projection/fit.js", "moduleName": "./node_modules/d3-geo/src/projection/fit.js", "type": "harmony side effect evaluation", "userRequest": "../stream.js", "loc": "1:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "../stream.js", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony side effect evaluation", "userRequest": "./stream.js", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./stream.js", "loc": "4:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony side effect evaluation", "userRequest": "./stream.js", "loc": "4:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony side effect evaluation", "userRequest": "./stream.js", "loc": "5:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "module": "./node_modules/d3-geo/src/projection/fit.js", "moduleName": "./node_modules/d3-geo/src/projection/fit.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "8:2-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "18:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "24:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "29:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./stream.js", "loc": "33:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./stream.js", "loc": "33:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "34:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../stream.js", "loc": "39:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./stream.js", "loc": "51:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./stream.js", "loc": "72:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./stream.js", "loc": "122:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./stream.js", "loc": "149:2-8" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function streamGeometry(geometry, stream) {\n if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) {\n streamGeometryType[geometry.type](geometry, stream);\n }\n}\n\nvar streamObjectType = {\n Feature: function(object, stream) {\n streamGeometry(object.geometry, stream);\n },\n FeatureCollection: function(object, stream) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n) streamGeometry(features[i].geometry, stream);\n }\n};\n\nvar streamGeometryType = {\n Sphere: function(object, stream) {\n stream.sphere();\n },\n Point: function(object, stream) {\n object = object.coordinates;\n stream.point(object[0], object[1], object[2]);\n },\n MultiPoint: function(object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) object = coordinates[i], stream.point(object[0], object[1], object[2]);\n },\n LineString: function(object, stream) {\n streamLine(object.coordinates, stream, 0);\n },\n MultiLineString: function(object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) streamLine(coordinates[i], stream, 0);\n },\n Polygon: function(object, stream) {\n streamPolygon(object.coordinates, stream);\n },\n MultiPolygon: function(object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) streamPolygon(coordinates[i], stream);\n },\n GeometryCollection: function(object, stream) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n) streamGeometry(geometries[i], stream);\n }\n};\n\nfunction streamLine(coordinates, stream, closed) {\n var i = -1, n = coordinates.length - closed, coordinate;\n stream.lineStart();\n while (++i < n) coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]);\n stream.lineEnd();\n}\n\nfunction streamPolygon(coordinates, stream) {\n var i = -1, n = coordinates.length;\n stream.polygonStart();\n while (++i < n) streamLine(coordinates[i], stream, 1);\n stream.polygonEnd();\n}\n\nexport default function(object, stream) {\n if (object && streamObjectType.hasOwnProperty(object.type)) {\n streamObjectType[object.type](object, stream);\n } else {\n streamGeometry(object, stream);\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "name": "./node_modules/d3-geo/src/area.js", "index": 241, "index2": 241, "size": 1970, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./area.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "2:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "24:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "27:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "31:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "113:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "118:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "123:2-12" } ], "usedExports": [ "default", "areaStream", "areaRingSum" ], "providedExports": [ "areaRingSum", "areaStream", "default" ], "optimizationBailout": [], "depth": 4, "source": "import adder from \"./adder.js\";\nimport {atan2, cos, quarterPi, radians, sin, tau} from \"./math.js\";\nimport noop from \"./noop.js\";\nimport stream from \"./stream.js\";\n\nexport var areaRingSum = adder();\n\nvar areaSum = adder(),\n lambda00,\n phi00,\n lambda0,\n cosPhi0,\n sinPhi0;\n\nexport var areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function() {\n areaRingSum.reset();\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function() {\n var areaRing = +areaRingSum;\n areaSum.add(areaRing < 0 ? tau + areaRing : areaRing);\n this.lineStart = this.lineEnd = this.point = noop;\n },\n sphere: function() {\n areaSum.add(tau);\n }\n};\n\nfunction areaRingStart() {\n areaStream.point = areaPointFirst;\n}\n\nfunction areaRingEnd() {\n areaPoint(lambda00, phi00);\n}\n\nfunction areaPointFirst(lambda, phi) {\n areaStream.point = areaPoint;\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n lambda0 = lambda, cosPhi0 = cos(phi = phi / 2 + quarterPi), sinPhi0 = sin(phi);\n}\n\nfunction areaPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n phi = phi / 2 + quarterPi; // half the angular distance from south pole\n\n // Spherical excess E for a spherical triangle with vertices: south pole,\n // previous point, current point. Uses a formula derived from Cagnoli’s\n // theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).\n var dLambda = lambda - lambda0,\n sdLambda = dLambda >= 0 ? 1 : -1,\n adLambda = sdLambda * dLambda,\n cosPhi = cos(phi),\n sinPhi = sin(phi),\n k = sinPhi0 * sinPhi,\n u = cosPhi0 * cosPhi + k * cos(adLambda),\n v = k * sdLambda * sin(adLambda);\n areaRingSum.add(atan2(v, u));\n\n // Advance the previous points.\n lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;\n}\n\nexport default function(object) {\n areaSum.reset();\n stream(object, areaStream);\n return areaSum * 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "name": "./node_modules/d3-geo/src/bounds.js", "index": 246, "index2": 243, "size": 5550, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bounds.js", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bounds.js", "loc": "2:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import adder from \"./adder.js\";\nimport {areaStream, areaRingSum} from \"./area.js\";\nimport {cartesian, cartesianCross, cartesianNormalizeInPlace, spherical} from \"./cartesian.js\";\nimport {abs, degrees, epsilon, radians} from \"./math.js\";\nimport stream from \"./stream.js\";\n\nvar lambda0, phi0, lambda1, phi1, // bounds\n lambda2, // previous lambda-coordinate\n lambda00, phi00, // first point\n p0, // previous 3D point\n deltaSum = adder(),\n ranges,\n range;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: boundsLineStart,\n lineEnd: boundsLineEnd,\n polygonStart: function() {\n boundsStream.point = boundsRingPoint;\n boundsStream.lineStart = boundsRingStart;\n boundsStream.lineEnd = boundsRingEnd;\n deltaSum.reset();\n areaStream.polygonStart();\n },\n polygonEnd: function() {\n areaStream.polygonEnd();\n boundsStream.point = boundsPoint;\n boundsStream.lineStart = boundsLineStart;\n boundsStream.lineEnd = boundsLineEnd;\n if (areaRingSum < 0) lambda0 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n else if (deltaSum > epsilon) phi1 = 90;\n else if (deltaSum < -epsilon) phi0 = -90;\n range[0] = lambda0, range[1] = lambda1;\n },\n sphere: function() {\n lambda0 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n }\n};\n\nfunction boundsPoint(lambda, phi) {\n ranges.push(range = [lambda0 = lambda, lambda1 = lambda]);\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n}\n\nfunction linePoint(lambda, phi) {\n var p = cartesian([lambda * radians, phi * radians]);\n if (p0) {\n var normal = cartesianCross(p0, p),\n equatorial = [normal[1], -normal[0], 0],\n inflection = cartesianCross(equatorial, normal);\n cartesianNormalizeInPlace(inflection);\n inflection = spherical(inflection);\n var delta = lambda - lambda2,\n sign = delta > 0 ? 1 : -1,\n lambdai = inflection[0] * degrees * sign,\n phii,\n antimeridian = abs(delta) > 180;\n if (antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = inflection[1] * degrees;\n if (phii > phi1) phi1 = phii;\n } else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = -inflection[1] * degrees;\n if (phii < phi0) phi0 = phii;\n } else {\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n }\n if (antimeridian) {\n if (lambda < lambda2) {\n if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda;\n } else {\n if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda;\n }\n } else {\n if (lambda1 >= lambda0) {\n if (lambda < lambda0) lambda0 = lambda;\n if (lambda > lambda1) lambda1 = lambda;\n } else {\n if (lambda > lambda2) {\n if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda;\n } else {\n if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda;\n }\n }\n }\n } else {\n ranges.push(range = [lambda0 = lambda, lambda1 = lambda]);\n }\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n p0 = p, lambda2 = lambda;\n}\n\nfunction boundsLineStart() {\n boundsStream.point = linePoint;\n}\n\nfunction boundsLineEnd() {\n range[0] = lambda0, range[1] = lambda1;\n boundsStream.point = boundsPoint;\n p0 = null;\n}\n\nfunction boundsRingPoint(lambda, phi) {\n if (p0) {\n var delta = lambda - lambda2;\n deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);\n } else {\n lambda00 = lambda, phi00 = phi;\n }\n areaStream.point(lambda, phi);\n linePoint(lambda, phi);\n}\n\nfunction boundsRingStart() {\n areaStream.lineStart();\n}\n\nfunction boundsRingEnd() {\n boundsRingPoint(lambda00, phi00);\n areaStream.lineEnd();\n if (abs(deltaSum) > epsilon) lambda0 = -(lambda1 = 180);\n range[0] = lambda0, range[1] = lambda1;\n p0 = null;\n}\n\n// Finds the left-right distance between two longitudes.\n// This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want\n// the distance between ±180° to be 360°.\nfunction angle(lambda0, lambda1) {\n return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;\n}\n\nfunction rangeCompare(a, b) {\n return a[0] - b[0];\n}\n\nfunction rangeContains(range, x) {\n return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;\n}\n\nexport default function(feature) {\n var i, n, a, b, merged, deltaMax, delta;\n\n phi1 = lambda1 = -(lambda0 = phi0 = Infinity);\n ranges = [];\n stream(feature, boundsStream);\n\n // First, sort ranges by their minimum longitudes.\n if (n = ranges.length) {\n ranges.sort(rangeCompare);\n\n // Then, merge any ranges that overlap.\n for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {\n b = ranges[i];\n if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {\n if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1];\n if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0];\n } else {\n merged.push(a = b);\n }\n }\n\n // Finally, find the largest gap between the merged ranges.\n // The final bounding box will be the inverse of this gap.\n for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {\n b = merged[i];\n if ((delta = angle(a[1], b[0])) > deltaMax) deltaMax = delta, lambda0 = b[0], lambda1 = a[1];\n }\n }\n\n ranges = range = null;\n\n return lambda0 === Infinity || phi0 === Infinity\n ? [[NaN, NaN], [NaN, NaN]]\n : [[lambda0, phi0], [lambda1, phi1]];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "name": "./node_modules/d3-geo/src/centroid.js", "index": 248, "index2": 244, "size": 3792, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./centroid.js", "loc": "3:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./centroid.js", "loc": "3:0-53" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {asin, atan2, cos, degrees, epsilon, epsilon2, radians, sin, sqrt} from \"./math.js\";\nimport noop from \"./noop.js\";\nimport stream from \"./stream.js\";\n\nvar W0, W1,\n X0, Y0, Z0,\n X1, Y1, Z1,\n X2, Y2, Z2,\n lambda00, phi00, // first point\n x0, y0, z0; // previous point\n\nvar centroidStream = {\n sphere: noop,\n point: centroidPoint,\n lineStart: centroidLineStart,\n lineEnd: centroidLineEnd,\n polygonStart: function() {\n centroidStream.lineStart = centroidRingStart;\n centroidStream.lineEnd = centroidRingEnd;\n },\n polygonEnd: function() {\n centroidStream.lineStart = centroidLineStart;\n centroidStream.lineEnd = centroidLineEnd;\n }\n};\n\n// Arithmetic mean of Cartesian vectors.\nfunction centroidPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n centroidPointCartesian(cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi));\n}\n\nfunction centroidPointCartesian(x, y, z) {\n ++W0;\n X0 += (x - X0) / W0;\n Y0 += (y - Y0) / W0;\n Z0 += (z - Z0) / W0;\n}\n\nfunction centroidLineStart() {\n centroidStream.point = centroidLinePointFirst;\n}\n\nfunction centroidLinePointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidStream.point = centroidLinePoint;\n centroidPointCartesian(x0, y0, z0);\n}\n\nfunction centroidLinePoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi),\n x = cosPhi * cos(lambda),\n y = cosPhi * sin(lambda),\n z = sin(phi),\n w = atan2(sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n}\n\nfunction centroidLineEnd() {\n centroidStream.point = centroidPoint;\n}\n\n// See J. E. Brock, The Inertia Tensor for a Spherical Triangle,\n// J. Applied Mechanics 42, 239 (1975).\nfunction centroidRingStart() {\n centroidStream.point = centroidRingPointFirst;\n}\n\nfunction centroidRingEnd() {\n centroidRingPoint(lambda00, phi00);\n centroidStream.point = centroidPoint;\n}\n\nfunction centroidRingPointFirst(lambda, phi) {\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n centroidStream.point = centroidRingPoint;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidPointCartesian(x0, y0, z0);\n}\n\nfunction centroidRingPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi),\n x = cosPhi * cos(lambda),\n y = cosPhi * sin(lambda),\n z = sin(phi),\n cx = y0 * z - z0 * y,\n cy = z0 * x - x0 * z,\n cz = x0 * y - y0 * x,\n m = sqrt(cx * cx + cy * cy + cz * cz),\n w = asin(m), // line weight = angle\n v = m && -w / m; // area weight multiplier\n X2 += v * cx;\n Y2 += v * cy;\n Z2 += v * cz;\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n}\n\nexport default function(object) {\n W0 = W1 =\n X0 = Y0 = Z0 =\n X1 = Y1 = Z1 =\n X2 = Y2 = Z2 = 0;\n stream(object, centroidStream);\n\n var x = X2,\n y = Y2,\n z = Z2,\n m = x * x + y * y + z * z;\n\n // If the area-weighted ccentroid is undefined, fall back to length-weighted ccentroid.\n if (m < epsilon2) {\n x = X1, y = Y1, z = Z1;\n // If the feature has zero length, fall back to arithmetic mean of point vectors.\n if (W1 < epsilon) x = X0, y = Y0, z = Z0;\n m = x * x + y * y + z * z;\n // If the feature still has an undefined ccentroid, then return.\n if (m < epsilon2) return [NaN, NaN];\n }\n\n return [atan2(y, x) * degrees, asin(z / sqrt(m)) * degrees];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "name": "./node_modules/d3-geo/src/rotation.js", "index": 251, "index2": 247, "size": 2523, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony side effect evaluation", "userRequest": "../rotation.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony side effect evaluation", "userRequest": "./rotation.js", "loc": "4:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../rotation.js", "loc": "7:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./rotation.js", "loc": "32:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./rotation.js", "loc": "32:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../rotation.js", "loc": "44:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./rotation.js", "loc": "52:13-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../rotation.js", "loc": "147:13-26" } ], "usedExports": [ "default", "rotateRadians" ], "providedExports": [ "rotateRadians", "default" ], "optimizationBailout": [], "depth": 4, "source": "import compose from \"./compose.js\";\nimport {abs, asin, atan2, cos, degrees, pi, radians, sin, tau} from \"./math.js\";\n\nfunction rotationIdentity(lambda, phi) {\n return [abs(lambda) > pi ? lambda + Math.round(-lambda / tau) * tau : lambda, phi];\n}\n\nrotationIdentity.invert = rotationIdentity;\n\nexport function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {\n return (deltaLambda %= tau) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))\n : rotationLambda(deltaLambda))\n : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)\n : rotationIdentity);\n}\n\nfunction forwardRotationLambda(deltaLambda) {\n return function(lambda, phi) {\n return lambda += deltaLambda, [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n };\n}\n\nfunction rotationLambda(deltaLambda) {\n var rotation = forwardRotationLambda(deltaLambda);\n rotation.invert = forwardRotationLambda(-deltaLambda);\n return rotation;\n}\n\nfunction rotationPhiGamma(deltaPhi, deltaGamma) {\n var cosDeltaPhi = cos(deltaPhi),\n sinDeltaPhi = sin(deltaPhi),\n cosDeltaGamma = cos(deltaGamma),\n sinDeltaGamma = sin(deltaGamma);\n\n function rotation(lambda, phi) {\n var cosPhi = cos(phi),\n x = cos(lambda) * cosPhi,\n y = sin(lambda) * cosPhi,\n z = sin(phi),\n k = z * cosDeltaPhi + x * sinDeltaPhi;\n return [\n atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),\n asin(k * cosDeltaGamma + y * sinDeltaGamma)\n ];\n }\n\n rotation.invert = function(lambda, phi) {\n var cosPhi = cos(phi),\n x = cos(lambda) * cosPhi,\n y = sin(lambda) * cosPhi,\n z = sin(phi),\n k = z * cosDeltaGamma - y * sinDeltaGamma;\n return [\n atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),\n asin(k * cosDeltaPhi - x * sinDeltaPhi)\n ];\n };\n\n return rotation;\n}\n\nexport default function(rotate) {\n rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);\n\n function forward(coordinates) {\n coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n }\n\n forward.invert = function(coordinates) {\n coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n };\n\n return forward;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "name": "./node_modules/d3-geo/src/circle.js", "index": 249, "index2": 248, "size": 2385, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony side effect evaluation", "userRequest": "../circle.js", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./circle.js", "loc": "4:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./circle.js", "loc": "4:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../circle.js", "loc": "14:4-16" } ], "usedExports": [ "default", "circleStream" ], "providedExports": [ "circleStream", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {cartesian, cartesianNormalizeInPlace, spherical} from \"./cartesian.js\";\nimport constant from \"./constant.js\";\nimport {acos, cos, degrees, epsilon, radians, sin, tau} from \"./math.js\";\nimport {rotateRadians} from \"./rotation.js\";\n\n// Generates a circle centered at [0°, 0°], with a given radius and precision.\nexport function circleStream(stream, radius, delta, direction, t0, t1) {\n if (!delta) return;\n var cosRadius = cos(radius),\n sinRadius = sin(radius),\n step = direction * delta;\n if (t0 == null) {\n t0 = radius + direction * tau;\n t1 = radius - step / 2;\n } else {\n t0 = circleRadius(cosRadius, t0);\n t1 = circleRadius(cosRadius, t1);\n if (direction > 0 ? t0 < t1 : t0 > t1) t0 += direction * tau;\n }\n for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);\n stream.point(point[0], point[1]);\n }\n}\n\n// Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\nfunction circleRadius(cosRadius, point) {\n point = cartesian(point), point[0] -= cosRadius;\n cartesianNormalizeInPlace(point);\n var radius = acos(-point[1]);\n return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;\n}\n\nexport default function() {\n var center = constant([0, 0]),\n radius = constant(90),\n precision = constant(6),\n ring,\n rotate,\n stream = {point: point};\n\n function point(x, y) {\n ring.push(x = rotate(x, y));\n x[0] *= degrees, x[1] *= degrees;\n }\n\n function circle() {\n var c = center.apply(this, arguments),\n r = radius.apply(this, arguments) * radians,\n p = precision.apply(this, arguments) * radians;\n ring = [];\n rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n circleStream(stream, r, p, 1);\n c = {type: \"Polygon\", coordinates: [ring]};\n ring = rotate = null;\n return c;\n }\n\n circle.center = function(_) {\n return arguments.length ? (center = typeof _ === \"function\" ? _ : constant([+_[0], +_[1]]), circle) : center;\n };\n\n circle.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), circle) : radius;\n };\n\n circle.precision = function(_) {\n return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant(+_), circle) : precision;\n };\n\n return circle;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "name": "./node_modules/d3-geo/src/clip/antimeridian.js", "index": 253, "index2": 254, "size": 2903, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../clip/antimeridian.js", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./clip/antimeridian.js", "loc": "5:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./clip/antimeridian.js", "loc": "5:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../clip/antimeridian.js", "loc": "66:30-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../clip/antimeridian.js", "loc": "97:95-111" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import clip from \"./index.js\";\nimport {abs, atan, cos, epsilon, halfPi, pi, sin} from \"../math.js\";\n\nexport default clip(\n function() { return true; },\n clipAntimeridianLine,\n clipAntimeridianInterpolate,\n [-pi, -halfPi]\n);\n\n// Takes a line and cuts into visible segments. Return values: 0 - there were\n// intersections or the line was empty; 1 - no intersections; 2 - there were\n// intersections, and the first and last segments should be rejoined.\nfunction clipAntimeridianLine(stream) {\n var lambda0 = NaN,\n phi0 = NaN,\n sign0 = NaN,\n clean; // no intersections\n\n return {\n lineStart: function() {\n stream.lineStart();\n clean = 1;\n },\n point: function(lambda1, phi1) {\n var sign1 = lambda1 > 0 ? pi : -pi,\n delta = abs(lambda1 - lambda0);\n if (abs(delta - pi) < epsilon) { // line crosses a pole\n stream.point(lambda0, phi0 = (phi0 + phi1) / 2 > 0 ? halfPi : -halfPi);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n stream.point(lambda1, phi0);\n clean = 0;\n } else if (sign0 !== sign1 && delta >= pi) { // line crosses antimeridian\n if (abs(lambda0 - sign0) < epsilon) lambda0 -= sign0 * epsilon; // handle degeneracies\n if (abs(lambda1 - sign1) < epsilon) lambda1 -= sign1 * epsilon;\n phi0 = clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n clean = 0;\n }\n stream.point(lambda0 = lambda1, phi0 = phi1);\n sign0 = sign1;\n },\n lineEnd: function() {\n stream.lineEnd();\n lambda0 = phi0 = NaN;\n },\n clean: function() {\n return 2 - clean; // if intersections, rejoin first and last segments\n }\n };\n}\n\nfunction clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1) {\n var cosPhi0,\n cosPhi1,\n sinLambda0Lambda1 = sin(lambda0 - lambda1);\n return abs(sinLambda0Lambda1) > epsilon\n ? atan((sin(phi0) * (cosPhi1 = cos(phi1)) * sin(lambda1)\n - sin(phi1) * (cosPhi0 = cos(phi0)) * sin(lambda0))\n / (cosPhi0 * cosPhi1 * sinLambda0Lambda1))\n : (phi0 + phi1) / 2;\n}\n\nfunction clipAntimeridianInterpolate(from, to, direction, stream) {\n var phi;\n if (from == null) {\n phi = direction * halfPi;\n stream.point(-pi, phi);\n stream.point(0, phi);\n stream.point(pi, phi);\n stream.point(pi, 0);\n stream.point(pi, -phi);\n stream.point(0, -phi);\n stream.point(-pi, -phi);\n stream.point(-pi, 0);\n stream.point(-pi, phi);\n } else if (abs(from[0] - to[0]) > epsilon) {\n var lambda = from[0] < to[0] ? pi : -pi;\n phi = direction * lambda / 2;\n stream.point(-lambda, phi);\n stream.point(0, phi);\n stream.point(lambda, phi);\n } else {\n stream.point(to[0], to[1]);\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "name": "./node_modules/d3-geo/src/clip/circle.js", "index": 259, "index2": 255, "size": 6011, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../clip/circle.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./clip/circle.js", "loc": "6:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./clip/circle.js", "loc": "6:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../clip/circle.js", "loc": "97:46-56" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {cartesian, cartesianAddInPlace, cartesianCross, cartesianDot, cartesianScale, spherical} from \"../cartesian.js\";\nimport {circleStream} from \"../circle.js\";\nimport {abs, cos, epsilon, pi, radians, sqrt} from \"../math.js\";\nimport pointEqual from \"../pointEqual.js\";\nimport clip from \"./index.js\";\n\nexport default function(radius) {\n var cr = cos(radius),\n delta = 6 * radians,\n smallRadius = cr > 0,\n notHemisphere = abs(cr) > epsilon; // TODO optimise for this common case\n\n function interpolate(from, to, direction, stream) {\n circleStream(stream, radius, delta, direction, from, to);\n }\n\n function visible(lambda, phi) {\n return cos(lambda) * cos(phi) > cr;\n }\n\n // Takes a line and cuts into visible segments. Return values used for polygon\n // clipping: 0 - there were intersections or the line was empty; 1 - no\n // intersections 2 - there were intersections, and the first and last segments\n // should be rejoined.\n function clipLine(stream) {\n var point0, // previous point\n c0, // code for previous point\n v0, // visibility of previous point\n v00, // visibility of first point\n clean; // no intersections\n return {\n lineStart: function() {\n v00 = v0 = false;\n clean = 1;\n },\n point: function(lambda, phi) {\n var point1 = [lambda, phi],\n point2,\n v = visible(lambda, phi),\n c = smallRadius\n ? v ? 0 : code(lambda, phi)\n : v ? code(lambda + (lambda < 0 ? pi : -pi), phi) : 0;\n if (!point0 && (v00 = v0 = v)) stream.lineStart();\n // Handle degeneracies.\n // TODO ignore if not clipping polygons.\n if (v !== v0) {\n point2 = intersect(point0, point1);\n if (!point2 || pointEqual(point0, point2) || pointEqual(point1, point2)) {\n point1[0] += epsilon;\n point1[1] += epsilon;\n v = visible(point1[0], point1[1]);\n }\n }\n if (v !== v0) {\n clean = 0;\n if (v) {\n // outside going in\n stream.lineStart();\n point2 = intersect(point1, point0);\n stream.point(point2[0], point2[1]);\n } else {\n // inside going out\n point2 = intersect(point0, point1);\n stream.point(point2[0], point2[1]);\n stream.lineEnd();\n }\n point0 = point2;\n } else if (notHemisphere && point0 && smallRadius ^ v) {\n var t;\n // If the codes for two points are different, or are both zero,\n // and there this segment intersects with the small circle.\n if (!(c & c0) && (t = intersect(point1, point0, true))) {\n clean = 0;\n if (smallRadius) {\n stream.lineStart();\n stream.point(t[0][0], t[0][1]);\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n } else {\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n stream.lineStart();\n stream.point(t[0][0], t[0][1]);\n }\n }\n }\n if (v && (!point0 || !pointEqual(point0, point1))) {\n stream.point(point1[0], point1[1]);\n }\n point0 = point1, v0 = v, c0 = c;\n },\n lineEnd: function() {\n if (v0) stream.lineEnd();\n point0 = null;\n },\n // Rejoin first and last segments if there were intersections and the first\n // and last points were visible.\n clean: function() {\n return clean | ((v00 && v0) << 1);\n }\n };\n }\n\n // Intersects the great circle between a and b with the clip circle.\n function intersect(a, b, two) {\n var pa = cartesian(a),\n pb = cartesian(b);\n\n // We have two planes, n1.p = d1 and n2.p = d2.\n // Find intersection line p(t) = c1 n1 + c2 n2 + t (n1 ⨯ n2).\n var n1 = [1, 0, 0], // normal\n n2 = cartesianCross(pa, pb),\n n2n2 = cartesianDot(n2, n2),\n n1n2 = n2[0], // cartesianDot(n1, n2),\n determinant = n2n2 - n1n2 * n1n2;\n\n // Two polar points.\n if (!determinant) return !two && a;\n\n var c1 = cr * n2n2 / determinant,\n c2 = -cr * n1n2 / determinant,\n n1xn2 = cartesianCross(n1, n2),\n A = cartesianScale(n1, c1),\n B = cartesianScale(n2, c2);\n cartesianAddInPlace(A, B);\n\n // Solve |p(t)|^2 = 1.\n var u = n1xn2,\n w = cartesianDot(A, u),\n uu = cartesianDot(u, u),\n t2 = w * w - uu * (cartesianDot(A, A) - 1);\n\n if (t2 < 0) return;\n\n var t = sqrt(t2),\n q = cartesianScale(u, (-w - t) / uu);\n cartesianAddInPlace(q, A);\n q = spherical(q);\n\n if (!two) return q;\n\n // Two intersection points.\n var lambda0 = a[0],\n lambda1 = b[0],\n phi0 = a[1],\n phi1 = b[1],\n z;\n\n if (lambda1 < lambda0) z = lambda0, lambda0 = lambda1, lambda1 = z;\n\n var delta = lambda1 - lambda0,\n polar = abs(delta - pi) < epsilon,\n meridian = polar || delta < epsilon;\n\n if (!polar && phi1 < phi0) z = phi0, phi0 = phi1, phi1 = z;\n\n // Check that the first point is between a and b.\n if (meridian\n ? polar\n ? phi0 + phi1 > 0 ^ q[1] < (abs(q[0] - lambda0) < epsilon ? phi0 : phi1)\n : phi0 <= q[1] && q[1] <= phi1\n : delta > pi ^ (lambda0 <= q[0] && q[0] <= lambda1)) {\n var q1 = cartesianScale(u, (-w + t) / uu);\n cartesianAddInPlace(q1, A);\n return [q, spherical(q1)];\n }\n }\n\n // Generates a 4-bit vector representing the location of a point relative to\n // the small circle's bounding box.\n function code(lambda, phi) {\n var r = smallRadius ? radius : pi - radius,\n code = 0;\n if (lambda < -r) code |= 1; // left\n else if (lambda > r) code |= 2; // right\n if (phi < -r) code |= 4; // below\n else if (phi > r) code |= 8; // above\n return code;\n }\n\n return clip(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-pi, radius - pi]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "name": "./node_modules/d3-geo/src/clip/rectangle.js", "index": 261, "index2": 257, "size": 5054, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony side effect evaluation", "userRequest": "../clip/rectangle.js", "loc": "1:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/extent.js", "module": "./node_modules/d3-geo/src/clip/extent.js", "moduleName": "./node_modules/d3-geo/src/clip/extent.js", "type": "harmony side effect evaluation", "userRequest": "./rectangle.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../clip/rectangle.js", "loc": "3:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./clip/rectangle.js", "loc": "8:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./clip/rectangle.js", "loc": "8:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/extent.js", "module": "./node_modules/d3-geo/src/clip/extent.js", "moduleName": "./node_modules/d3-geo/src/clip/extent.js", "type": "harmony import specifier", "userRequest": "./rectangle.js", "loc": "14:63-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../clip/rectangle.js", "loc": "35:95-108" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../clip/rectangle.js", "loc": "101:93-106" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {abs, epsilon} from \"../math.js\";\nimport clipBuffer from \"./buffer.js\";\nimport clipLine from \"./line.js\";\nimport clipRejoin from \"./rejoin.js\";\nimport {merge} from \"d3-array\";\n\nvar clipMax = 1e9, clipMin = -clipMax;\n\n// TODO Use d3-polygon’s polygonContains here for the ring check?\n// TODO Eliminate duplicate buffering in clipBuffer and polygon.push?\n\nexport default function clipRectangle(x0, y0, x1, y1) {\n\n function visible(x, y) {\n return x0 <= x && x <= x1 && y0 <= y && y <= y1;\n }\n\n function interpolate(from, to, direction, stream) {\n var a = 0, a1 = 0;\n if (from == null\n || (a = corner(from, direction)) !== (a1 = corner(to, direction))\n || comparePoint(from, to) < 0 ^ direction > 0) {\n do stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);\n while ((a = (a + direction + 4) % 4) !== a1);\n } else {\n stream.point(to[0], to[1]);\n }\n }\n\n function corner(p, direction) {\n return abs(p[0] - x0) < epsilon ? direction > 0 ? 0 : 3\n : abs(p[0] - x1) < epsilon ? direction > 0 ? 2 : 1\n : abs(p[1] - y0) < epsilon ? direction > 0 ? 1 : 0\n : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon\n }\n\n function compareIntersection(a, b) {\n return comparePoint(a.x, b.x);\n }\n\n function comparePoint(a, b) {\n var ca = corner(a, 1),\n cb = corner(b, 1);\n return ca !== cb ? ca - cb\n : ca === 0 ? b[1] - a[1]\n : ca === 1 ? a[0] - b[0]\n : ca === 2 ? a[1] - b[1]\n : b[0] - a[0];\n }\n\n return function(stream) {\n var activeStream = stream,\n bufferStream = clipBuffer(),\n segments,\n polygon,\n ring,\n x__, y__, v__, // first point\n x_, y_, v_, // previous point\n first,\n clean;\n\n var clipStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: polygonStart,\n polygonEnd: polygonEnd\n };\n\n function point(x, y) {\n if (visible(x, y)) activeStream.point(x, y);\n }\n\n function polygonInside() {\n var winding = 0;\n\n for (var i = 0, n = polygon.length; i < n; ++i) {\n for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) {\n a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1];\n if (a1 <= y1) { if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0)) ++winding; }\n else { if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0)) --winding; }\n }\n }\n\n return winding;\n }\n\n // Buffer geometry within a polygon and then clip it en masse.\n function polygonStart() {\n activeStream = bufferStream, segments = [], polygon = [], clean = true;\n }\n\n function polygonEnd() {\n var startInside = polygonInside(),\n cleanInside = clean && startInside,\n visible = (segments = merge(segments)).length;\n if (cleanInside || visible) {\n stream.polygonStart();\n if (cleanInside) {\n stream.lineStart();\n interpolate(null, null, 1, stream);\n stream.lineEnd();\n }\n if (visible) {\n clipRejoin(segments, compareIntersection, startInside, interpolate, stream);\n }\n stream.polygonEnd();\n }\n activeStream = stream, segments = polygon = ring = null;\n }\n\n function lineStart() {\n clipStream.point = linePoint;\n if (polygon) polygon.push(ring = []);\n first = true;\n v_ = false;\n x_ = y_ = NaN;\n }\n\n // TODO rather than special-case polygons, simply handle them separately.\n // Ideally, coincident intersection points should be jittered to avoid\n // clipping issues.\n function lineEnd() {\n if (segments) {\n linePoint(x__, y__);\n if (v__ && v_) bufferStream.rejoin();\n segments.push(bufferStream.result());\n }\n clipStream.point = point;\n if (v_) activeStream.lineEnd();\n }\n\n function linePoint(x, y) {\n var v = visible(x, y);\n if (polygon) ring.push([x, y]);\n if (first) {\n x__ = x, y__ = y, v__ = v;\n first = false;\n if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n }\n } else {\n if (v && v_) activeStream.point(x, y);\n else {\n var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))],\n b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))];\n if (clipLine(a, b, x0, y0, x1, y1)) {\n if (!v_) {\n activeStream.lineStart();\n activeStream.point(a[0], a[1]);\n }\n activeStream.point(b[0], b[1]);\n if (!v) activeStream.lineEnd();\n clean = false;\n } else if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n clean = false;\n }\n }\n }\n x_ = x, y_ = y, v_ = v;\n }\n\n return clipStream;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/extent.js", "name": "./node_modules/d3-geo/src/clip/extent.js", "index": 260, "index2": 258, "size": 540, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./clip/extent.js", "loc": "7:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./clip/extent.js", "loc": "7:0-58" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import clipRectangle from \"./rectangle.js\";\n\nexport default function() {\n var x0 = 0,\n y0 = 0,\n x1 = 960,\n y1 = 500,\n cache,\n cacheStream,\n clip;\n\n return clip = {\n stream: function(stream) {\n return cache && cacheStream === stream ? cache : cache = clipRectangle(x0, y0, x1, y1)(cacheStream = stream);\n },\n extent: function(_) {\n return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]];\n }\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "name": "./node_modules/d3-geo/src/length.js", "index": 265, "index2": 259, "size": 1321, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/distance.js", "module": "./node_modules/d3-geo/src/distance.js", "moduleName": "./node_modules/d3-geo/src/distance.js", "type": "harmony side effect evaluation", "userRequest": "./length.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/distance.js", "module": "./node_modules/d3-geo/src/distance.js", "moduleName": "./node_modules/d3-geo/src/distance.js", "type": "harmony import specifier", "userRequest": "./length.js", "loc": "9:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./length.js", "loc": "13:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./length.js", "loc": "13:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import adder from \"./adder.js\";\nimport {abs, atan2, cos, radians, sin, sqrt} from \"./math.js\";\nimport noop from \"./noop.js\";\nimport stream from \"./stream.js\";\n\nvar lengthSum = adder(),\n lambda0,\n sinPhi0,\n cosPhi0;\n\nvar lengthStream = {\n sphere: noop,\n point: noop,\n lineStart: lengthLineStart,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop\n};\n\nfunction lengthLineStart() {\n lengthStream.point = lengthPointFirst;\n lengthStream.lineEnd = lengthLineEnd;\n}\n\nfunction lengthLineEnd() {\n lengthStream.point = lengthStream.lineEnd = noop;\n}\n\nfunction lengthPointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n lambda0 = lambda, sinPhi0 = sin(phi), cosPhi0 = cos(phi);\n lengthStream.point = lengthPoint;\n}\n\nfunction lengthPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var sinPhi = sin(phi),\n cosPhi = cos(phi),\n delta = abs(lambda - lambda0),\n cosDelta = cos(delta),\n sinDelta = sin(delta),\n x = cosPhi * sinDelta,\n y = cosPhi0 * sinPhi - sinPhi0 * cosPhi * cosDelta,\n z = sinPhi0 * sinPhi + cosPhi0 * cosPhi * cosDelta;\n lengthSum.add(atan2(sqrt(x * x + y * y), z));\n lambda0 = lambda, sinPhi0 = sinPhi, cosPhi0 = cosPhi;\n}\n\nexport default function(object) {\n lengthSum.reset();\n stream(object, lengthStream);\n return +lengthSum;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/distance.js", "name": "./node_modules/d3-geo/src/distance.js", "index": 264, "index2": 260, "size": 232, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony side effect evaluation", "userRequest": "./distance.js", "loc": "2:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./distance.js", "loc": "10:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./distance.js", "loc": "10:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./distance.js", "loc": "58:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./distance.js", "loc": "64:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./distance.js", "loc": "67:11-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import length from \"./length.js\";\n\nvar coordinates = [null, null],\n object = {type: \"LineString\", coordinates: coordinates};\n\nexport default function(a, b) {\n coordinates[0] = a;\n coordinates[1] = b;\n return length(object);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "name": "./node_modules/d3-geo/src/contains.js", "index": 263, "index2": 261, "size": 2998, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./contains.js", "loc": "9:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./contains.js", "loc": "9:0-53" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {default as polygonContains} from \"./polygonContains.js\";\nimport {default as distance} from \"./distance.js\";\nimport {epsilon2, radians} from \"./math.js\";\n\nvar containsObjectType = {\n Feature: function(object, point) {\n return containsGeometry(object.geometry, point);\n },\n FeatureCollection: function(object, point) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n) if (containsGeometry(features[i].geometry, point)) return true;\n return false;\n }\n};\n\nvar containsGeometryType = {\n Sphere: function() {\n return true;\n },\n Point: function(object, point) {\n return containsPoint(object.coordinates, point);\n },\n MultiPoint: function(object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) if (containsPoint(coordinates[i], point)) return true;\n return false;\n },\n LineString: function(object, point) {\n return containsLine(object.coordinates, point);\n },\n MultiLineString: function(object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) if (containsLine(coordinates[i], point)) return true;\n return false;\n },\n Polygon: function(object, point) {\n return containsPolygon(object.coordinates, point);\n },\n MultiPolygon: function(object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n) if (containsPolygon(coordinates[i], point)) return true;\n return false;\n },\n GeometryCollection: function(object, point) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n) if (containsGeometry(geometries[i], point)) return true;\n return false;\n }\n};\n\nfunction containsGeometry(geometry, point) {\n return geometry && containsGeometryType.hasOwnProperty(geometry.type)\n ? containsGeometryType[geometry.type](geometry, point)\n : false;\n}\n\nfunction containsPoint(coordinates, point) {\n return distance(coordinates, point) === 0;\n}\n\nfunction containsLine(coordinates, point) {\n var ao, bo, ab;\n for (var i = 0, n = coordinates.length; i < n; i++) {\n bo = distance(coordinates[i], point);\n if (bo === 0) return true;\n if (i > 0) {\n ab = distance(coordinates[i], coordinates[i - 1]);\n if (\n ab > 0 &&\n ao <= ab &&\n bo <= ab &&\n (ao + bo - ab) * (1 - Math.pow((ao - bo) / ab, 2)) < epsilon2 * ab\n )\n return true;\n }\n ao = bo;\n }\n return false;\n}\n\nfunction containsPolygon(coordinates, point) {\n return !!polygonContains(coordinates.map(ringRadians), pointRadians(point));\n}\n\nfunction ringRadians(ring) {\n return ring = ring.map(pointRadians), ring.pop(), ring;\n}\n\nfunction pointRadians(point) {\n return [point[0] * radians, point[1] * radians];\n}\n\nexport default function(object, point) {\n return (object && containsObjectType.hasOwnProperty(object.type)\n ? containsObjectType[object.type]\n : containsGeometry)(object, point);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "name": "./node_modules/d3-geo/src/graticule.js", "index": 266, "index2": 262, "size": 3037, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./graticule.js", "loc": "11:0-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./graticule.js", "loc": "11:0-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./graticule.js", "loc": "11:0-86" } ], "usedExports": [ "default", "graticule10" ], "providedExports": [ "default", "graticule10" ], "optimizationBailout": [], "depth": 4, "source": "import {range} from \"d3-array\";\nimport {abs, ceil, epsilon} from \"./math.js\";\n\nfunction graticuleX(y0, y1, dy) {\n var y = range(y0, y1 - epsilon, dy).concat(y1);\n return function(x) { return y.map(function(y) { return [x, y]; }); };\n}\n\nfunction graticuleY(x0, x1, dx) {\n var x = range(x0, x1 - epsilon, dx).concat(x1);\n return function(y) { return x.map(function(x) { return [x, y]; }); };\n}\n\nexport default function graticule() {\n var x1, x0, X1, X0,\n y1, y0, Y1, Y0,\n dx = 10, dy = dx, DX = 90, DY = 360,\n x, y, X, Y,\n precision = 2.5;\n\n function graticule() {\n return {type: \"MultiLineString\", coordinates: lines()};\n }\n\n function lines() {\n return range(ceil(X0 / DX) * DX, X1, DX).map(X)\n .concat(range(ceil(Y0 / DY) * DY, Y1, DY).map(Y))\n .concat(range(ceil(x0 / dx) * dx, x1, dx).filter(function(x) { return abs(x % DX) > epsilon; }).map(x))\n .concat(range(ceil(y0 / dy) * dy, y1, dy).filter(function(y) { return abs(y % DY) > epsilon; }).map(y));\n }\n\n graticule.lines = function() {\n return lines().map(function(coordinates) { return {type: \"LineString\", coordinates: coordinates}; });\n };\n\n graticule.outline = function() {\n return {\n type: \"Polygon\",\n coordinates: [\n X(X0).concat(\n Y(Y1).slice(1),\n X(X1).reverse().slice(1),\n Y(Y0).reverse().slice(1))\n ]\n };\n };\n\n graticule.extent = function(_) {\n if (!arguments.length) return graticule.extentMinor();\n return graticule.extentMajor(_).extentMinor(_);\n };\n\n graticule.extentMajor = function(_) {\n if (!arguments.length) return [[X0, Y0], [X1, Y1]];\n X0 = +_[0][0], X1 = +_[1][0];\n Y0 = +_[0][1], Y1 = +_[1][1];\n if (X0 > X1) _ = X0, X0 = X1, X1 = _;\n if (Y0 > Y1) _ = Y0, Y0 = Y1, Y1 = _;\n return graticule.precision(precision);\n };\n\n graticule.extentMinor = function(_) {\n if (!arguments.length) return [[x0, y0], [x1, y1]];\n x0 = +_[0][0], x1 = +_[1][0];\n y0 = +_[0][1], y1 = +_[1][1];\n if (x0 > x1) _ = x0, x0 = x1, x1 = _;\n if (y0 > y1) _ = y0, y0 = y1, y1 = _;\n return graticule.precision(precision);\n };\n\n graticule.step = function(_) {\n if (!arguments.length) return graticule.stepMinor();\n return graticule.stepMajor(_).stepMinor(_);\n };\n\n graticule.stepMajor = function(_) {\n if (!arguments.length) return [DX, DY];\n DX = +_[0], DY = +_[1];\n return graticule;\n };\n\n graticule.stepMinor = function(_) {\n if (!arguments.length) return [dx, dy];\n dx = +_[0], dy = +_[1];\n return graticule;\n };\n\n graticule.precision = function(_) {\n if (!arguments.length) return precision;\n precision = +_;\n x = graticuleX(y0, y1, 90);\n y = graticuleY(x0, x1, precision);\n X = graticuleX(Y0, Y1, 90);\n Y = graticuleY(X0, X1, precision);\n return graticule;\n };\n\n return graticule\n .extentMajor([[-180, -90 + epsilon], [180, 90 - epsilon]])\n .extentMinor([[-180, -80 - epsilon], [180, 80 + epsilon]]);\n}\n\nexport function graticule10() {\n return graticule()();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "name": "./node_modules/d3-geo/src/interpolate.js", "index": 267, "index2": 263, "size": 914, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./interpolate.js", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./interpolate.js", "loc": "12:0-59" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {asin, atan2, cos, degrees, haversin, radians, sin, sqrt} from \"./math.js\";\n\nexport default function(a, b) {\n var x0 = a[0] * radians,\n y0 = a[1] * radians,\n x1 = b[0] * radians,\n y1 = b[1] * radians,\n cy0 = cos(y0),\n sy0 = sin(y0),\n cy1 = cos(y1),\n sy1 = sin(y1),\n kx0 = cy0 * cos(x0),\n ky0 = cy0 * sin(x0),\n kx1 = cy1 * cos(x1),\n ky1 = cy1 * sin(x1),\n d = 2 * asin(sqrt(haversin(y1 - y0) + cy0 * cy1 * haversin(x1 - x0))),\n k = sin(d);\n\n var interpolate = d ? function(t) {\n var B = sin(t *= d) / k,\n A = sin(d - t) / k,\n x = A * kx0 + B * kx1,\n y = A * ky0 + B * ky1,\n z = A * sy0 + B * sy1;\n return [\n atan2(y, x) * degrees,\n atan2(z, sqrt(x * x + y * y)) * degrees\n ];\n } : function() {\n return [x0 * degrees, y0 * degrees];\n };\n\n interpolate.distance = d;\n\n return interpolate;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "index": 268, "index2": 271, "size": 1877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./path/index.js", "loc": "14:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./path/index.js", "loc": "14:0-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import identity from \"../identity.js\";\nimport stream from \"../stream.js\";\nimport pathArea from \"./area.js\";\nimport pathBounds from \"./bounds.js\";\nimport pathCentroid from \"./centroid.js\";\nimport PathContext from \"./context.js\";\nimport pathMeasure from \"./measure.js\";\nimport PathString from \"./string.js\";\n\nexport default function(projection, context) {\n var pointRadius = 4.5,\n projectionStream,\n contextStream;\n\n function path(object) {\n if (object) {\n if (typeof pointRadius === \"function\") contextStream.pointRadius(+pointRadius.apply(this, arguments));\n stream(object, projectionStream(contextStream));\n }\n return contextStream.result();\n }\n\n path.area = function(object) {\n stream(object, projectionStream(pathArea));\n return pathArea.result();\n };\n\n path.measure = function(object) {\n stream(object, projectionStream(pathMeasure));\n return pathMeasure.result();\n };\n\n path.bounds = function(object) {\n stream(object, projectionStream(pathBounds));\n return pathBounds.result();\n };\n\n path.centroid = function(object) {\n stream(object, projectionStream(pathCentroid));\n return pathCentroid.result();\n };\n\n path.projection = function(_) {\n return arguments.length ? (projectionStream = _ == null ? (projection = null, identity) : (projection = _).stream, path) : projection;\n };\n\n path.context = function(_) {\n if (!arguments.length) return context;\n contextStream = _ == null ? (context = null, new PathString) : new PathContext(context = _);\n if (typeof pointRadius !== \"function\") contextStream.pointRadius(pointRadius);\n return path;\n };\n\n path.pointRadius = function(_) {\n if (!arguments.length) return pointRadius;\n pointRadius = typeof _ === \"function\" ? _ : (contextStream.pointRadius(+_), +_);\n return path;\n };\n\n return path.projection(projection).context(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/transform.js", "name": "./node_modules/d3-geo/src/transform.js", "index": 281, "index2": 273, "size": 701, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony side effect evaluation", "userRequest": "../transform.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony side effect evaluation", "userRequest": "../transform.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../transform.js", "loc": "7:67-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../transform.js", "loc": "8:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../transform.js", "loc": "12:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../transform.js", "loc": "13:9-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../transform.js", "loc": "19:9-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transform.js", "loc": "34:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform.js", "loc": "34:0-55" } ], "usedExports": [ "default", "transformer" ], "providedExports": [ "default", "transformer" ], "optimizationBailout": [], "depth": 4, "source": "export default function(methods) {\n return {\n stream: transformer(methods)\n };\n}\n\nexport function transformer(methods) {\n return function(stream) {\n var s = new TransformStream;\n for (var key in methods) s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n}\n\nfunction TransformStream() {}\n\nTransformStream.prototype = {\n constructor: TransformStream,\n point: function(x, y) { this.stream.point(x, y); },\n sphere: function() { this.stream.sphere(); },\n lineStart: function() { this.stream.lineStart(); },\n lineEnd: function() { this.stream.lineEnd(); },\n polygonStart: function() { this.stream.polygonStart(); },\n polygonEnd: function() { this.stream.polygonEnd(); }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "name": "./node_modules/d3-geo/src/projection/index.js", "index": 280, "index2": 276, "size": 5455, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "module": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "moduleName": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equirectangular.js", "module": "./node_modules/d3-geo/src/projection/equirectangular.js", "moduleName": "./node_modules/d3-geo/src/projection/equirectangular.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "7:10-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equirectangular.js", "module": "./node_modules/d3-geo/src/projection/equirectangular.js", "moduleName": "./node_modules/d3-geo/src/projection/equirectangular.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "10:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "12:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "13:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "14:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "14:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "15:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "19:10-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/index.js", "loc": "26:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/index.js", "loc": "26:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/index.js", "loc": "26:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "module": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "moduleName": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "26:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "34:9-19" } ], "usedExports": [ "default", "projectionMutator" ], "providedExports": [ "default", "projectionMutator" ], "optimizationBailout": [], "depth": 4, "source": "import clipAntimeridian from \"../clip/antimeridian.js\";\nimport clipCircle from \"../clip/circle.js\";\nimport clipRectangle from \"../clip/rectangle.js\";\nimport compose from \"../compose.js\";\nimport identity from \"../identity.js\";\nimport {cos, degrees, radians, sin, sqrt} from \"../math.js\";\nimport {rotateRadians} from \"../rotation.js\";\nimport {transformer} from \"../transform.js\";\nimport {fitExtent, fitSize, fitWidth, fitHeight} from \"./fit.js\";\nimport resample from \"./resample.js\";\n\nvar transformRadians = transformer({\n point: function(x, y) {\n this.stream.point(x * radians, y * radians);\n }\n});\n\nfunction transformRotate(rotate) {\n return transformer({\n point: function(x, y) {\n var r = rotate(x, y);\n return this.stream.point(r[0], r[1]);\n }\n });\n}\n\nfunction scaleTranslate(k, dx, dy) {\n function transform(x, y) {\n return [dx + k * x, dy - k * y];\n }\n transform.invert = function(x, y) {\n return [(x - dx) / k, (dy - y) / k];\n };\n return transform;\n}\n\nfunction scaleTranslateRotate(k, dx, dy, alpha) {\n var cosAlpha = cos(alpha),\n sinAlpha = sin(alpha),\n a = cosAlpha * k,\n b = sinAlpha * k,\n ai = cosAlpha / k,\n bi = sinAlpha / k,\n ci = (sinAlpha * dy - cosAlpha * dx) / k,\n fi = (sinAlpha * dx + cosAlpha * dy) / k;\n function transform(x, y) {\n return [a * x - b * y + dx, dy - b * x - a * y];\n }\n transform.invert = function(x, y) {\n return [ai * x - bi * y + ci, fi - bi * x - ai * y];\n };\n return transform;\n}\n\nexport default function projection(project) {\n return projectionMutator(function() { return project; })();\n}\n\nexport function projectionMutator(projectAt) {\n var project,\n k = 150, // scale\n x = 480, y = 250, // translate\n lambda = 0, phi = 0, // center\n deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate, // pre-rotate\n alpha = 0, // post-rotate\n theta = null, preclip = clipAntimeridian, // pre-clip angle\n x0 = null, y0, x1, y1, postclip = identity, // post-clip extent\n delta2 = 0.5, // precision\n projectResample,\n projectTransform,\n projectRotateTransform,\n cache,\n cacheStream;\n\n function projection(point) {\n return projectRotateTransform(point[0] * radians, point[1] * radians);\n }\n\n function invert(point) {\n point = projectRotateTransform.invert(point[0], point[1]);\n return point && [point[0] * degrees, point[1] * degrees];\n }\n\n projection.stream = function(stream) {\n return cache && cacheStream === stream ? cache : cache = transformRadians(transformRotate(rotate)(preclip(projectResample(postclip(cacheStream = stream)))));\n };\n\n projection.preclip = function(_) {\n return arguments.length ? (preclip = _, theta = undefined, reset()) : preclip;\n };\n\n projection.postclip = function(_) {\n return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip;\n };\n\n projection.clipAngle = function(_) {\n return arguments.length ? (preclip = +_ ? clipCircle(theta = _ * radians) : (theta = null, clipAntimeridian), reset()) : theta * degrees;\n };\n\n projection.clipExtent = function(_) {\n return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipRectangle(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n\n projection.scale = function(_) {\n return arguments.length ? (k = +_, recenter()) : k;\n };\n\n projection.translate = function(_) {\n return arguments.length ? (x = +_[0], y = +_[1], recenter()) : [x, y];\n };\n\n projection.center = function(_) {\n return arguments.length ? (lambda = _[0] % 360 * radians, phi = _[1] % 360 * radians, recenter()) : [lambda * degrees, phi * degrees];\n };\n\n projection.rotate = function(_) {\n return arguments.length ? (deltaLambda = _[0] % 360 * radians, deltaPhi = _[1] % 360 * radians, deltaGamma = _.length > 2 ? _[2] % 360 * radians : 0, recenter()) : [deltaLambda * degrees, deltaPhi * degrees, deltaGamma * degrees];\n };\n\n projection.angle = function(_) {\n return arguments.length ? (alpha = _ % 360 * radians, recenter()) : alpha * degrees;\n };\n\n projection.precision = function(_) {\n return arguments.length ? (projectResample = resample(projectTransform, delta2 = _ * _), reset()) : sqrt(delta2);\n };\n\n projection.fitExtent = function(extent, object) {\n return fitExtent(projection, extent, object);\n };\n\n projection.fitSize = function(size, object) {\n return fitSize(projection, size, object);\n };\n\n projection.fitWidth = function(width, object) {\n return fitWidth(projection, width, object);\n };\n\n projection.fitHeight = function(height, object) {\n return fitHeight(projection, height, object);\n };\n\n function recenter() {\n var center = scaleTranslateRotate(k, 0, 0, alpha).apply(null, project(lambda, phi)),\n transform = (alpha ? scaleTranslateRotate : scaleTranslate)(k, x - center[0], y - center[1], alpha);\n rotate = rotateRadians(deltaLambda, deltaPhi, deltaGamma);\n projectTransform = compose(project, transform);\n projectRotateTransform = compose(rotate, projectTransform);\n projectResample = resample(projectTransform, delta2);\n return reset();\n }\n\n function reset() {\n cache = cacheStream = null;\n return projection;\n }\n\n return function() {\n project = projectAt.apply(this, arguments);\n projection.invert = project.invert && invert;\n return recenter();\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "name": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "index": 277, "index2": 278, "size": 880, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albers.js", "module": "./node_modules/d3-geo/src/projection/albers.js", "moduleName": "./node_modules/d3-geo/src/projection/albers.js", "type": "harmony side effect evaluation", "userRequest": "./conicEqualArea.js", "loc": "1:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony side effect evaluation", "userRequest": "./conicEqualArea.js", "loc": "3:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albers.js", "module": "./node_modules/d3-geo/src/projection/albers.js", "moduleName": "./node_modules/d3-geo/src/projection/albers.js", "type": "harmony import specifier", "userRequest": "./conicEqualArea.js", "loc": "4:9-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/conicEqualArea.js", "loc": "20:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicEqualArea.js", "loc": "20:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicEqualArea.js", "loc": "20:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./conicEqualArea.js", "loc": "29:15-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./conicEqualArea.js", "loc": "30:15-29" } ], "usedExports": [ "default", "conicEqualAreaRaw" ], "providedExports": [ "conicEqualAreaRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {abs, asin, atan2, cos, epsilon, sign, sin, sqrt} from \"../math.js\";\nimport {conicProjection} from \"./conic.js\";\nimport {cylindricalEqualAreaRaw} from \"./cylindricalEqualArea.js\";\n\nexport function conicEqualAreaRaw(y0, y1) {\n var sy0 = sin(y0), n = (sy0 + sin(y1)) / 2;\n\n // Are the parallels symmetrical around the Equator?\n if (abs(n) < epsilon) return cylindricalEqualAreaRaw(y0);\n\n var c = 1 + sy0 * (2 * n - sy0), r0 = sqrt(c) / n;\n\n function project(x, y) {\n var r = sqrt(c - 2 * n * sin(y)) / n;\n return [r * sin(x *= n), r0 - r * cos(x)];\n }\n\n project.invert = function(x, y) {\n var r0y = r0 - y;\n return [atan2(x, abs(r0y)) / n * sign(r0y), asin((c - (x * x + r0y * r0y) * n * n) / (2 * n))];\n };\n\n return project;\n}\n\nexport default function() {\n return conicProjection(conicEqualAreaRaw)\n .scale(155.424)\n .center([0, 33.6442]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albers.js", "name": "./node_modules/d3-geo/src/projection/albers.js", "index": 276, "index2": 279, "size": 238, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony side effect evaluation", "userRequest": "./albers.js", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/albers.js", "loc": "15:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/albers.js", "loc": "15:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./albers.js", "loc": "28:16-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import conicEqualArea from \"./conicEqualArea.js\";\n\nexport default function() {\n return conicEqualArea()\n .parallels([29.5, 45.5])\n .scale(1070)\n .translate([480, 250])\n .rotate([96, 0])\n .center([-0.6, 38.7]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "name": "./node_modules/d3-geo/src/projection/albersUsa.js", "index": 284, "index2": 280, "size": 4227, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/albersUsa.js", "loc": "16:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/albersUsa.js", "loc": "16:0-66" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {epsilon} from \"../math.js\";\nimport albers from \"./albers.js\";\nimport conicEqualArea from \"./conicEqualArea.js\";\nimport {fitExtent, fitSize, fitWidth, fitHeight} from \"./fit.js\";\n\n// The projections must have mutually exclusive clip regions on the sphere,\n// as this will avoid emitting interleaving lines and polygons.\nfunction multiplex(streams) {\n var n = streams.length;\n return {\n point: function(x, y) { var i = -1; while (++i < n) streams[i].point(x, y); },\n sphere: function() { var i = -1; while (++i < n) streams[i].sphere(); },\n lineStart: function() { var i = -1; while (++i < n) streams[i].lineStart(); },\n lineEnd: function() { var i = -1; while (++i < n) streams[i].lineEnd(); },\n polygonStart: function() { var i = -1; while (++i < n) streams[i].polygonStart(); },\n polygonEnd: function() { var i = -1; while (++i < n) streams[i].polygonEnd(); }\n };\n}\n\n// A composite projection for the United States, configured by default for\n// 960×500. The projection also works quite well at 960×600 if you change the\n// scale to 1285 and adjust the translate accordingly. The set of standard\n// parallels for each region comes from USGS, which is published here:\n// http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\nexport default function() {\n var cache,\n cacheStream,\n lower48 = albers(), lower48Point,\n alaska = conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n hawaii = conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n point, pointStream = {point: function(x, y) { point = [x, y]; }};\n\n function albersUsa(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (lower48Point.point(x, y), point)\n || (alaskaPoint.point(x, y), point)\n || (hawaiiPoint.point(x, y), point);\n }\n\n albersUsa.invert = function(coordinates) {\n var k = lower48.scale(),\n t = lower48.translate(),\n x = (coordinates[0] - t[0]) / k,\n y = (coordinates[1] - t[1]) / k;\n return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n : lower48).invert(coordinates);\n };\n\n albersUsa.stream = function(stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);\n };\n\n albersUsa.precision = function(_) {\n if (!arguments.length) return lower48.precision();\n lower48.precision(_), alaska.precision(_), hawaii.precision(_);\n return reset();\n };\n\n albersUsa.scale = function(_) {\n if (!arguments.length) return lower48.scale();\n lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_);\n return albersUsa.translate(lower48.translate());\n };\n\n albersUsa.translate = function(_) {\n if (!arguments.length) return lower48.translate();\n var k = lower48.scale(), x = +_[0], y = +_[1];\n\n lower48Point = lower48\n .translate(_)\n .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n .stream(pointStream);\n\n alaskaPoint = alaska\n .translate([x - 0.307 * k, y + 0.201 * k])\n .clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n\n hawaiiPoint = hawaii\n .translate([x - 0.205 * k, y + 0.212 * k])\n .clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n\n return reset();\n };\n\n albersUsa.fitExtent = function(extent, object) {\n return fitExtent(albersUsa, extent, object);\n };\n\n albersUsa.fitSize = function(size, object) {\n return fitSize(albersUsa, size, object);\n };\n\n albersUsa.fitWidth = function(width, object) {\n return fitWidth(albersUsa, width, object);\n };\n\n albersUsa.fitHeight = function(height, object) {\n return fitHeight(albersUsa, height, object);\n };\n\n function reset() {\n cache = cacheStream = null;\n return albersUsa;\n }\n\n return albersUsa.scale(1070);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "name": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "index": 285, "index2": 282, "size": 456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/azimuthalEqualArea.js", "loc": "17:0-135" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/azimuthalEqualArea.js", "loc": "17:0-135" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/azimuthalEqualArea.js", "loc": "17:0-135" } ], "usedExports": [ "default", "azimuthalEqualAreaRaw" ], "providedExports": [ "azimuthalEqualAreaRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {asin, sqrt} from \"../math.js\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal.js\";\nimport projection from \"./index.js\";\n\nexport var azimuthalEqualAreaRaw = azimuthalRaw(function(cxcy) {\n return sqrt(2 / (1 + cxcy));\n});\n\nazimuthalEqualAreaRaw.invert = azimuthalInvert(function(z) {\n return 2 * asin(z / 2);\n});\n\nexport default function() {\n return projection(azimuthalEqualAreaRaw)\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "name": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "index": 287, "index2": 283, "size": 452, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/azimuthalEquidistant.js", "loc": "18:0-143" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/azimuthalEquidistant.js", "loc": "18:0-143" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/azimuthalEquidistant.js", "loc": "18:0-143" } ], "usedExports": [ "default", "azimuthalEquidistantRaw" ], "providedExports": [ "azimuthalEquidistantRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {acos, sin} from \"../math.js\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal.js\";\nimport projection from \"./index.js\";\n\nexport var azimuthalEquidistantRaw = azimuthalRaw(function(c) {\n return (c = acos(c)) && c / sin(c);\n});\n\nazimuthalEquidistantRaw.invert = azimuthalInvert(function(z) {\n return z;\n});\n\nexport default function() {\n return projection(azimuthalEquidistantRaw)\n .scale(79.4188)\n .clipAngle(180 - 1e-3);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "name": "./node_modules/d3-geo/src/projection/mercator.js", "index": 289, "index2": 284, "size": 1557, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony side effect evaluation", "userRequest": "./mercator.js", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony side effect evaluation", "userRequest": "./mercator.js", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "./mercator.js", "loc": "13:10-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "./mercator.js", "loc": "14:17-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/mercator.js", "loc": "27:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/mercator.js", "loc": "27:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/mercator.js", "loc": "27:0-95" } ], "usedExports": [ "default", "mercatorRaw", "mercatorProjection" ], "providedExports": [ "mercatorRaw", "default", "mercatorProjection" ], "optimizationBailout": [], "depth": 4, "source": "import {atan, exp, halfPi, log, pi, tan, tau} from \"../math.js\";\nimport rotation from \"../rotation.js\";\nimport projection from \"./index.js\";\n\nexport function mercatorRaw(lambda, phi) {\n return [lambda, log(tan((halfPi + phi) / 2))];\n}\n\nmercatorRaw.invert = function(x, y) {\n return [x, 2 * atan(exp(y)) - halfPi];\n};\n\nexport default function() {\n return mercatorProjection(mercatorRaw)\n .scale(961 / tau);\n}\n\nexport function mercatorProjection(project) {\n var m = projection(project),\n center = m.center,\n scale = m.scale,\n translate = m.translate,\n clipExtent = m.clipExtent,\n x0 = null, y0, x1, y1; // clip extent\n\n m.scale = function(_) {\n return arguments.length ? (scale(_), reclip()) : scale();\n };\n\n m.translate = function(_) {\n return arguments.length ? (translate(_), reclip()) : translate();\n };\n\n m.center = function(_) {\n return arguments.length ? (center(_), reclip()) : center();\n };\n\n m.clipExtent = function(_) {\n return arguments.length ? ((_ == null ? x0 = y0 = x1 = y1 = null : (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1])), reclip()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n\n function reclip() {\n var k = pi * scale(),\n t = m(rotation(m.rotate()).invert([0, 0]));\n return clipExtent(x0 == null\n ? [[t[0] - k, t[1] - k], [t[0] + k, t[1] + k]] : project === mercatorRaw\n ? [[Math.max(t[0] - k, x0), y0], [Math.min(t[0] + k, x1), y1]]\n : [[x0, Math.max(t[1] - k, y0)], [x1, Math.min(t[1] + k, y1)]]);\n }\n\n return reclip();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "name": "./node_modules/d3-geo/src/projection/conicConformal.js", "index": 288, "index2": 285, "size": 1026, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/conicConformal.js", "loc": "19:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicConformal.js", "loc": "19:0-119" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicConformal.js", "loc": "19:0-119" } ], "usedExports": [ "default", "conicConformalRaw" ], "providedExports": [ "conicConformalRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {abs, atan, atan2, cos, epsilon, halfPi, log, pow, sign, sin, sqrt, tan} from \"../math.js\";\nimport {conicProjection} from \"./conic.js\";\nimport {mercatorRaw} from \"./mercator.js\";\n\nfunction tany(y) {\n return tan((halfPi + y) / 2);\n}\n\nexport function conicConformalRaw(y0, y1) {\n var cy0 = cos(y0),\n n = y0 === y1 ? sin(y0) : log(cy0 / cos(y1)) / log(tany(y1) / tany(y0)),\n f = cy0 * pow(tany(y0), n) / n;\n\n if (!n) return mercatorRaw;\n\n function project(x, y) {\n if (f > 0) { if (y < -halfPi + epsilon) y = -halfPi + epsilon; }\n else { if (y > halfPi - epsilon) y = halfPi - epsilon; }\n var r = f / pow(tany(y), n);\n return [r * sin(n * x), f - r * cos(n * x)];\n }\n\n project.invert = function(x, y) {\n var fy = f - y, r = sign(n) * sqrt(x * x + fy * fy);\n return [atan2(x, abs(fy)) / n * sign(fy), 2 * atan(pow(f / r, 1 / n)) - halfPi];\n };\n\n return project;\n}\n\nexport default function() {\n return conicProjection(conicConformalRaw)\n .scale(109.5)\n .parallels([30, 30]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equirectangular.js", "name": "./node_modules/d3-geo/src/projection/equirectangular.js", "index": 291, "index2": 286, "size": 256, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "./equirectangular.js", "loc": "3:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "./equirectangular.js", "loc": "10:31-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/equirectangular.js", "loc": "23:0-123" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/equirectangular.js", "loc": "23:0-123" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/equirectangular.js", "loc": "23:0-123" } ], "usedExports": [ "default", "equirectangularRaw" ], "providedExports": [ "equirectangularRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import projection from \"./index.js\";\n\nexport function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n}\n\nequirectangularRaw.invert = equirectangularRaw;\n\nexport default function() {\n return projection(equirectangularRaw)\n .scale(152.63);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "name": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "index": 290, "index2": 287, "size": 780, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/conicEquidistant.js", "loc": "21:0-127" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicEquidistant.js", "loc": "21:0-127" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/conicEquidistant.js", "loc": "21:0-127" } ], "usedExports": [ "default", "conicEquidistantRaw" ], "providedExports": [ "conicEquidistantRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {abs, atan2, cos, epsilon, sign, sin, sqrt} from \"../math.js\";\nimport {conicProjection} from \"./conic.js\";\nimport {equirectangularRaw} from \"./equirectangular.js\";\n\nexport function conicEquidistantRaw(y0, y1) {\n var cy0 = cos(y0),\n n = y0 === y1 ? sin(y0) : (cy0 - cos(y1)) / (y1 - y0),\n g = cy0 / n + y0;\n\n if (abs(n) < epsilon) return equirectangularRaw;\n\n function project(x, y) {\n var gy = g - y, nx = n * x;\n return [gy * sin(nx), g - gy * cos(nx)];\n }\n\n project.invert = function(x, y) {\n var gy = g - y;\n return [atan2(x, abs(gy)) / n * sign(gy), g - sign(n) * sqrt(x * x + gy * gy)];\n };\n\n return project;\n}\n\nexport default function() {\n return conicProjection(conicEquidistantRaw)\n .scale(131.154)\n .center([0, 13.9389]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "name": "./node_modules/d3-geo/src/projection/equalEarth.js", "index": 292, "index2": 288, "size": 1024, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/equalEarth.js", "loc": "22:0-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/equalEarth.js", "loc": "22:0-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/equalEarth.js", "loc": "22:0-103" } ], "usedExports": [ "default", "equalEarthRaw" ], "providedExports": [ "equalEarthRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import projection from \"./index.js\";\nimport {abs, asin, cos, epsilon2, sin, sqrt} from \"../math.js\";\n\nvar A1 = 1.340264,\n A2 = -0.081106,\n A3 = 0.000893,\n A4 = 0.003796,\n M = sqrt(3) / 2,\n iterations = 12;\n\nexport function equalEarthRaw(lambda, phi) {\n var l = asin(M * sin(phi)), l2 = l * l, l6 = l2 * l2 * l2;\n return [\n lambda * cos(l) / (M * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2))),\n l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2))\n ];\n}\n\nequalEarthRaw.invert = function(x, y) {\n var l = y, l2 = l * l, l6 = l2 * l2 * l2;\n for (var i = 0, delta, fy, fpy; i < iterations; ++i) {\n fy = l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2)) - y;\n fpy = A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2);\n l -= delta = fy / fpy, l2 = l * l, l6 = l2 * l2 * l2;\n if (abs(delta) < epsilon2) break;\n }\n return [\n M * x * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2)) / cos(l),\n asin(sin(l) / M)\n ];\n};\n\nexport default function() {\n return projection(equalEarthRaw)\n .scale(177.158);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "name": "./node_modules/d3-geo/src/projection/gnomonic.js", "index": 293, "index2": 289, "size": 396, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/gnomonic.js", "loc": "24:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/gnomonic.js", "loc": "24:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/gnomonic.js", "loc": "24:0-95" } ], "usedExports": [ "default", "gnomonicRaw" ], "providedExports": [ "gnomonicRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {atan, cos, sin} from \"../math.js\";\nimport {azimuthalInvert} from \"./azimuthal.js\";\nimport projection from \"./index.js\";\n\nexport function gnomonicRaw(x, y) {\n var cy = cos(y), k = cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n}\n\ngnomonicRaw.invert = azimuthalInvert(atan);\n\nexport default function() {\n return projection(gnomonicRaw)\n .scale(144.049)\n .clipAngle(60);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "name": "./node_modules/d3-geo/src/projection/identity.js", "index": 294, "index2": 290, "size": 2307, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/identity.js", "loc": "25:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/identity.js", "loc": "25:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import clipRectangle from \"../clip/rectangle.js\";\nimport identity from \"../identity.js\";\nimport {transformer} from \"../transform.js\";\nimport {fitExtent, fitSize, fitWidth, fitHeight} from \"./fit.js\";\n\nfunction scaleTranslate(kx, ky, tx, ty) {\n return kx === 1 && ky === 1 && tx === 0 && ty === 0 ? identity : transformer({\n point: function(x, y) {\n this.stream.point(x * kx + tx, y * ky + ty);\n }\n });\n}\n\nexport default function() {\n var k = 1, tx = 0, ty = 0, sx = 1, sy = 1, transform = identity, // scale, translate and reflect\n x0 = null, y0, x1, y1, // clip extent\n postclip = identity,\n cache,\n cacheStream,\n projection;\n\n function reset() {\n cache = cacheStream = null;\n return projection;\n }\n\n return projection = {\n stream: function(stream) {\n return cache && cacheStream === stream ? cache : cache = transform(postclip(cacheStream = stream));\n },\n postclip: function(_) {\n return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip;\n },\n clipExtent: function(_) {\n return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipRectangle(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n },\n scale: function(_) {\n return arguments.length ? (transform = scaleTranslate((k = +_) * sx, k * sy, tx, ty), reset()) : k;\n },\n translate: function(_) {\n return arguments.length ? (transform = scaleTranslate(k * sx, k * sy, tx = +_[0], ty = +_[1]), reset()) : [tx, ty];\n },\n reflectX: function(_) {\n return arguments.length ? (transform = scaleTranslate(k * (sx = _ ? -1 : 1), k * sy, tx, ty), reset()) : sx < 0;\n },\n reflectY: function(_) {\n return arguments.length ? (transform = scaleTranslate(k * sx, k * (sy = _ ? -1 : 1), tx, ty), reset()) : sy < 0;\n },\n fitExtent: function(extent, object) {\n return fitExtent(projection, extent, object);\n },\n fitSize: function(size, object) {\n return fitSize(projection, size, object);\n },\n fitWidth: function(width, object) {\n return fitWidth(projection, width, object);\n },\n fitHeight: function(height, object) {\n return fitHeight(projection, height, object);\n }\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "name": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "index": 295, "index2": 291, "size": 1046, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/naturalEarth1.js", "loc": "28:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/naturalEarth1.js", "loc": "28:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/naturalEarth1.js", "loc": "28:0-115" } ], "usedExports": [ "default", "naturalEarth1Raw" ], "providedExports": [ "naturalEarth1Raw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import projection from \"./index.js\";\nimport {abs, epsilon} from \"../math.js\";\n\nexport function naturalEarth1Raw(lambda, phi) {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n return [\n lambda * (0.8707 - 0.131979 * phi2 + phi4 * (-0.013791 + phi4 * (0.003971 * phi2 - 0.001529 * phi4))),\n phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4)))\n ];\n}\n\nnaturalEarth1Raw.invert = function(x, y) {\n var phi = y, i = 25, delta;\n do {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n phi -= delta = (phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4))) - y) /\n (1.007226 + phi2 * (0.015085 * 3 + phi4 * (-0.044475 * 7 + 0.028874 * 9 * phi2 - 0.005916 * 11 * phi4)));\n } while (abs(delta) > epsilon && --i > 0);\n return [\n x / (0.8707 + (phi2 = phi * phi) * (-0.131979 + phi2 * (-0.013791 + phi2 * phi2 * phi2 * (0.003971 - 0.001529 * phi2)))),\n phi\n ];\n};\n\nexport default function() {\n return projection(naturalEarth1Raw)\n .scale(175.295);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "name": "./node_modules/d3-geo/src/projection/orthographic.js", "index": 296, "index2": 292, "size": 385, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/orthographic.js", "loc": "29:0-111" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/orthographic.js", "loc": "29:0-111" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/orthographic.js", "loc": "29:0-111" } ], "usedExports": [ "default", "orthographicRaw" ], "providedExports": [ "orthographicRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {asin, cos, epsilon, sin} from \"../math.js\";\nimport {azimuthalInvert} from \"./azimuthal.js\";\nimport projection from \"./index.js\";\n\nexport function orthographicRaw(x, y) {\n return [cos(y) * sin(x), sin(y)];\n}\n\northographicRaw.invert = azimuthalInvert(asin);\n\nexport default function() {\n return projection(orthographicRaw)\n .scale(249.5)\n .clipAngle(90 + epsilon);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "name": "./node_modules/d3-geo/src/projection/stereographic.js", "index": 297, "index2": 293, "size": 445, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/stereographic.js", "loc": "30:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/stereographic.js", "loc": "30:0-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/stereographic.js", "loc": "30:0-115" } ], "usedExports": [ "default", "stereographicRaw" ], "providedExports": [ "stereographicRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {atan, cos, sin} from \"../math.js\";\nimport {azimuthalInvert} from \"./azimuthal.js\";\nimport projection from \"./index.js\";\n\nexport function stereographicRaw(x, y) {\n var cy = cos(y), k = 1 + cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n}\n\nstereographicRaw.invert = azimuthalInvert(function(z) {\n return 2 * atan(z);\n});\n\nexport default function() {\n return projection(stereographicRaw)\n .scale(250)\n .clipAngle(142);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "name": "./node_modules/d3-geo/src/projection/transverseMercator.js", "index": 298, "index2": 294, "size": 768, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 818, "building": 55, "dependencies": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./projection/transverseMercator.js", "loc": "31:0-135" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/transverseMercator.js", "loc": "31:0-135" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "module": "./node_modules/d3-geo/src/index.js", "moduleName": "./node_modules/d3-geo/src/index.js", "type": "harmony export imported specifier", "userRequest": "./projection/transverseMercator.js", "loc": "31:0-135" } ], "usedExports": [ "default", "transverseMercatorRaw" ], "providedExports": [ "transverseMercatorRaw", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {atan, exp, halfPi, log, tan} from \"../math.js\";\nimport {mercatorProjection} from \"./mercator.js\";\n\nexport function transverseMercatorRaw(lambda, phi) {\n return [log(tan((halfPi + phi) / 2)), -lambda];\n}\n\ntransverseMercatorRaw.invert = function(x, y) {\n return [-y, 2 * atan(exp(x)) - halfPi];\n};\n\nexport default function() {\n var m = mercatorProjection(transverseMercatorRaw),\n center = m.center,\n rotate = m.rotate;\n\n m.center = function(_) {\n return arguments.length ? center([-_[1], _[0]]) : (_ = center(), [_[1], -_[0]]);\n };\n\n m.rotate = function(_) {\n return arguments.length ? rotate([_[0], _[1], _.length > 2 ? _[2] + 90 : 90]) : (_ = rotate(), [_[0], _[1], _[2] - 90]);\n };\n\n return rotate([0, 0, 90])\n .scale(159.155);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/cluster.js", "name": "./node_modules/d3-hierarchy/src/cluster.js", "index": 300, "index2": 296, "size": 2093, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cluster.js", "loc": "1:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cluster.js", "loc": "1:0-48" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function defaultSeparation(a, b) {\n return a.parent === b.parent ? 1 : 2;\n}\n\nfunction meanX(children) {\n return children.reduce(meanXReduce, 0) / children.length;\n}\n\nfunction meanXReduce(x, c) {\n return x + c.x;\n}\n\nfunction maxY(children) {\n return 1 + children.reduce(maxYReduce, 0);\n}\n\nfunction maxYReduce(y, c) {\n return Math.max(y, c.y);\n}\n\nfunction leafLeft(node) {\n var children;\n while (children = node.children) node = children[0];\n return node;\n}\n\nfunction leafRight(node) {\n var children;\n while (children = node.children) node = children[children.length - 1];\n return node;\n}\n\nexport default function() {\n var separation = defaultSeparation,\n dx = 1,\n dy = 1,\n nodeSize = false;\n\n function cluster(root) {\n var previousNode,\n x = 0;\n\n // First walk, computing the initial x & y values.\n root.eachAfter(function(node) {\n var children = node.children;\n if (children) {\n node.x = meanX(children);\n node.y = maxY(children);\n } else {\n node.x = previousNode ? x += separation(node, previousNode) : 0;\n node.y = 0;\n previousNode = node;\n }\n });\n\n var left = leafLeft(root),\n right = leafRight(root),\n x0 = left.x - separation(left, right) / 2,\n x1 = right.x + separation(right, left) / 2;\n\n // Second walk, normalizing x & y to the desired size.\n return root.eachAfter(nodeSize ? function(node) {\n node.x = (node.x - root.x) * dx;\n node.y = (root.y - node.y) * dy;\n } : function(node) {\n node.x = (node.x - x0) / (x1 - x0) * dx;\n node.y = (1 - (root.y ? node.y / root.y : 1)) * dy;\n });\n }\n\n cluster.separation = function(x) {\n return arguments.length ? (separation = x, cluster) : separation;\n };\n\n cluster.size = function(x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? null : [dx, dy]);\n };\n\n cluster.nodeSize = function(x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? [dx, dy] : null);\n };\n\n return cluster;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "index": 301, "index2": 308, "size": 1907, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/tree.js", "module": "./node_modules/d3-hierarchy/src/tree.js", "moduleName": "./node_modules/d3-hierarchy/src/tree.js", "type": "harmony side effect evaluation", "userRequest": "./hierarchy/index.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hierarchy/index.js", "loc": "2:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hierarchy/index.js", "loc": "2:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony side effect evaluation", "userRequest": "./hierarchy/index.js", "loc": "2:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony import specifier", "userRequest": "./hierarchy/index.js", "loc": "33:41-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony import specifier", "userRequest": "./hierarchy/index.js", "loc": "57:92-105" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/tree.js", "module": "./node_modules/d3-hierarchy/src/tree.js", "moduleName": "./node_modules/d3-hierarchy/src/tree.js", "type": "harmony import specifier", "userRequest": "./hierarchy/index.js", "loc": "74:35-39" } ], "usedExports": [ "default", "Node", "computeHeight" ], "providedExports": [ "default", "computeHeight", "Node" ], "optimizationBailout": [], "depth": 4, "source": "import node_count from \"./count.js\";\nimport node_each from \"./each.js\";\nimport node_eachBefore from \"./eachBefore.js\";\nimport node_eachAfter from \"./eachAfter.js\";\nimport node_sum from \"./sum.js\";\nimport node_sort from \"./sort.js\";\nimport node_path from \"./path.js\";\nimport node_ancestors from \"./ancestors.js\";\nimport node_descendants from \"./descendants.js\";\nimport node_leaves from \"./leaves.js\";\nimport node_links from \"./links.js\";\n\nexport default function hierarchy(data, children) {\n var root = new Node(data),\n valued = +data.value && (root.value = data.value),\n node,\n nodes = [root],\n child,\n childs,\n i,\n n;\n\n if (children == null) children = defaultChildren;\n\n while (node = nodes.pop()) {\n if (valued) node.value = +node.data.value;\n if ((childs = children(node.data)) && (n = childs.length)) {\n node.children = new Array(n);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new Node(childs[i]));\n child.parent = node;\n child.depth = node.depth + 1;\n }\n }\n }\n\n return root.eachBefore(computeHeight);\n}\n\nfunction node_copy() {\n return hierarchy(this).eachBefore(copyData);\n}\n\nfunction defaultChildren(d) {\n return d.children;\n}\n\nfunction copyData(node) {\n node.data = node.data.data;\n}\n\nexport function computeHeight(node) {\n var height = 0;\n do node.height = height;\n while ((node = node.parent) && (node.height < ++height));\n}\n\nexport function Node(data) {\n this.data = data;\n this.depth =\n this.height = 0;\n this.parent = null;\n}\n\nNode.prototype = hierarchy.prototype = {\n constructor: Node,\n count: node_count,\n each: node_each,\n eachAfter: node_eachAfter,\n eachBefore: node_eachBefore,\n sum: node_sum,\n sort: node_sort,\n path: node_path,\n ancestors: node_ancestors,\n descendants: node_descendants,\n leaves: node_leaves,\n links: node_links,\n copy: node_copy\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "name": "./node_modules/d3-hierarchy/src/pack/enclose.js", "index": 317, "index2": 312, "size": 2979, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/siblings.js", "module": "./node_modules/d3-hierarchy/src/pack/siblings.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/siblings.js", "type": "harmony side effect evaluation", "userRequest": "./enclose.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pack/enclose.js", "loc": "5:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pack/enclose.js", "loc": "5:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/siblings.js", "module": "./node_modules/d3-hierarchy/src/pack/siblings.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/siblings.js", "type": "harmony import specifier", "userRequest": "./enclose.js", "loc": "107:64-71" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {shuffle, slice} from \"../array.js\";\n\nexport default function(circles) {\n var i = 0, n = (circles = shuffle(slice.call(circles))).length, B = [], p, e;\n\n while (i < n) {\n p = circles[i];\n if (e && enclosesWeak(e, p)) ++i;\n else e = encloseBasis(B = extendBasis(B, p)), i = 0;\n }\n\n return e;\n}\n\nfunction extendBasis(B, p) {\n var i, j;\n\n if (enclosesWeakAll(p, B)) return [p];\n\n // If we get here then B must have at least one element.\n for (i = 0; i < B.length; ++i) {\n if (enclosesNot(p, B[i])\n && enclosesWeakAll(encloseBasis2(B[i], p), B)) {\n return [B[i], p];\n }\n }\n\n // If we get here then B must have at least two elements.\n for (i = 0; i < B.length - 1; ++i) {\n for (j = i + 1; j < B.length; ++j) {\n if (enclosesNot(encloseBasis2(B[i], B[j]), p)\n && enclosesNot(encloseBasis2(B[i], p), B[j])\n && enclosesNot(encloseBasis2(B[j], p), B[i])\n && enclosesWeakAll(encloseBasis3(B[i], B[j], p), B)) {\n return [B[i], B[j], p];\n }\n }\n }\n\n // If we get here then something is very wrong.\n throw new Error;\n}\n\nfunction enclosesNot(a, b) {\n var dr = a.r - b.r, dx = b.x - a.x, dy = b.y - a.y;\n return dr < 0 || dr * dr < dx * dx + dy * dy;\n}\n\nfunction enclosesWeak(a, b) {\n var dr = a.r - b.r + 1e-6, dx = b.x - a.x, dy = b.y - a.y;\n return dr > 0 && dr * dr > dx * dx + dy * dy;\n}\n\nfunction enclosesWeakAll(a, B) {\n for (var i = 0; i < B.length; ++i) {\n if (!enclosesWeak(a, B[i])) {\n return false;\n }\n }\n return true;\n}\n\nfunction encloseBasis(B) {\n switch (B.length) {\n case 1: return encloseBasis1(B[0]);\n case 2: return encloseBasis2(B[0], B[1]);\n case 3: return encloseBasis3(B[0], B[1], B[2]);\n }\n}\n\nfunction encloseBasis1(a) {\n return {\n x: a.x,\n y: a.y,\n r: a.r\n };\n}\n\nfunction encloseBasis2(a, b) {\n var x1 = a.x, y1 = a.y, r1 = a.r,\n x2 = b.x, y2 = b.y, r2 = b.r,\n x21 = x2 - x1, y21 = y2 - y1, r21 = r2 - r1,\n l = Math.sqrt(x21 * x21 + y21 * y21);\n return {\n x: (x1 + x2 + x21 / l * r21) / 2,\n y: (y1 + y2 + y21 / l * r21) / 2,\n r: (l + r1 + r2) / 2\n };\n}\n\nfunction encloseBasis3(a, b, c) {\n var x1 = a.x, y1 = a.y, r1 = a.r,\n x2 = b.x, y2 = b.y, r2 = b.r,\n x3 = c.x, y3 = c.y, r3 = c.r,\n a2 = x1 - x2,\n a3 = x1 - x3,\n b2 = y1 - y2,\n b3 = y1 - y3,\n c2 = r2 - r1,\n c3 = r3 - r1,\n d1 = x1 * x1 + y1 * y1 - r1 * r1,\n d2 = d1 - x2 * x2 - y2 * y2 + r2 * r2,\n d3 = d1 - x3 * x3 - y3 * y3 + r3 * r3,\n ab = a3 * b2 - a2 * b3,\n xa = (b2 * d3 - b3 * d2) / (ab * 2) - x1,\n xb = (b3 * c2 - b2 * c3) / ab,\n ya = (a3 * d2 - a2 * d3) / (ab * 2) - y1,\n yb = (a2 * c3 - a3 * c2) / ab,\n A = xb * xb + yb * yb - 1,\n B = 2 * (r1 + xa * xb + ya * yb),\n C = xa * xa + ya * ya - r1 * r1,\n r = -(A ? (B + Math.sqrt(B * B - 4 * A * C)) / (2 * A) : C / B);\n return {\n x: x1 + xa + xb * r,\n y: y1 + ya + yb * r,\n r: r\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/siblings.js", "name": "./node_modules/d3-hierarchy/src/pack/siblings.js", "index": 316, "index2": 313, "size": 3170, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony side effect evaluation", "userRequest": "./siblings.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pack/siblings.js", "loc": "4:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pack/siblings.js", "loc": "4:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony import specifier", "userRequest": "./siblings.js", "loc": "63:10-21" } ], "usedExports": [ "default", "packEnclose" ], "providedExports": [ "packEnclose", "default" ], "optimizationBailout": [], "depth": 4, "source": "import enclose from \"./enclose.js\";\n\nfunction place(b, a, c) {\n var dx = b.x - a.x, x, a2,\n dy = b.y - a.y, y, b2,\n d2 = dx * dx + dy * dy;\n if (d2) {\n a2 = a.r + c.r, a2 *= a2;\n b2 = b.r + c.r, b2 *= b2;\n if (a2 > b2) {\n x = (d2 + b2 - a2) / (2 * d2);\n y = Math.sqrt(Math.max(0, b2 / d2 - x * x));\n c.x = b.x - x * dx - y * dy;\n c.y = b.y - x * dy + y * dx;\n } else {\n x = (d2 + a2 - b2) / (2 * d2);\n y = Math.sqrt(Math.max(0, a2 / d2 - x * x));\n c.x = a.x + x * dx - y * dy;\n c.y = a.y + x * dy + y * dx;\n }\n } else {\n c.x = a.x + c.r;\n c.y = a.y;\n }\n}\n\nfunction intersects(a, b) {\n var dr = a.r + b.r - 1e-6, dx = b.x - a.x, dy = b.y - a.y;\n return dr > 0 && dr * dr > dx * dx + dy * dy;\n}\n\nfunction score(node) {\n var a = node._,\n b = node.next._,\n ab = a.r + b.r,\n dx = (a.x * b.r + b.x * a.r) / ab,\n dy = (a.y * b.r + b.y * a.r) / ab;\n return dx * dx + dy * dy;\n}\n\nfunction Node(circle) {\n this._ = circle;\n this.next = null;\n this.previous = null;\n}\n\nexport function packEnclose(circles) {\n if (!(n = circles.length)) return 0;\n\n var a, b, c, n, aa, ca, i, j, k, sj, sk;\n\n // Place the first circle.\n a = circles[0], a.x = 0, a.y = 0;\n if (!(n > 1)) return a.r;\n\n // Place the second circle.\n b = circles[1], a.x = -b.r, b.x = a.r, b.y = 0;\n if (!(n > 2)) return a.r + b.r;\n\n // Place the third circle.\n place(b, a, c = circles[2]);\n\n // Initialize the front-chain using the first three circles a, b and c.\n a = new Node(a), b = new Node(b), c = new Node(c);\n a.next = c.previous = b;\n b.next = a.previous = c;\n c.next = b.previous = a;\n\n // Attempt to place each remaining circle…\n pack: for (i = 3; i < n; ++i) {\n place(a._, b._, c = circles[i]), c = new Node(c);\n\n // Find the closest intersecting circle on the front-chain, if any.\n // “Closeness” is determined by linear distance along the front-chain.\n // “Ahead” or “behind” is likewise determined by linear distance.\n j = b.next, k = a.previous, sj = b._.r, sk = a._.r;\n do {\n if (sj <= sk) {\n if (intersects(j._, c._)) {\n b = j, a.next = b, b.previous = a, --i;\n continue pack;\n }\n sj += j._.r, j = j.next;\n } else {\n if (intersects(k._, c._)) {\n a = k, a.next = b, b.previous = a, --i;\n continue pack;\n }\n sk += k._.r, k = k.previous;\n }\n } while (j !== k.next);\n\n // Success! Insert the new circle c between a and b.\n c.previous = a, c.next = b, a.next = b.previous = b = c;\n\n // Compute the new closest circle pair to the centroid.\n aa = score(a);\n while ((c = c.next) !== b) {\n if ((ca = score(c)) < aa) {\n a = c, aa = ca;\n }\n }\n b = a.next;\n }\n\n // Compute the enclosing circle of the front chain.\n a = [b._], c = b; while ((c = c.next) !== b) a.push(c._); c = enclose(a);\n\n // Translate the circles to put the enclosing circle around the origin.\n for (i = 0; i < n; ++i) a = circles[i], a.x -= c.x, a.y -= c.y;\n\n return c.r;\n}\n\nexport default function(circles) {\n packEnclose(circles);\n return circles;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "name": "./node_modules/d3-hierarchy/src/pack/index.js", "index": 313, "index2": 314, "size": 1926, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pack/index.js", "loc": "3:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pack/index.js", "loc": "3:0-48" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {packEnclose} from \"./siblings.js\";\nimport {optional} from \"../accessors.js\";\nimport constant, {constantZero} from \"../constant.js\";\n\nfunction defaultRadius(d) {\n return Math.sqrt(d.value);\n}\n\nexport default function() {\n var radius = null,\n dx = 1,\n dy = 1,\n padding = constantZero;\n\n function pack(root) {\n root.x = dx / 2, root.y = dy / 2;\n if (radius) {\n root.eachBefore(radiusLeaf(radius))\n .eachAfter(packChildren(padding, 0.5))\n .eachBefore(translateChild(1));\n } else {\n root.eachBefore(radiusLeaf(defaultRadius))\n .eachAfter(packChildren(constantZero, 1))\n .eachAfter(packChildren(padding, root.r / Math.min(dx, dy)))\n .eachBefore(translateChild(Math.min(dx, dy) / (2 * root.r)));\n }\n return root;\n }\n\n pack.radius = function(x) {\n return arguments.length ? (radius = optional(x), pack) : radius;\n };\n\n pack.size = function(x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], pack) : [dx, dy];\n };\n\n pack.padding = function(x) {\n return arguments.length ? (padding = typeof x === \"function\" ? x : constant(+x), pack) : padding;\n };\n\n return pack;\n}\n\nfunction radiusLeaf(radius) {\n return function(node) {\n if (!node.children) {\n node.r = Math.max(0, +radius(node) || 0);\n }\n };\n}\n\nfunction packChildren(padding, k) {\n return function(node) {\n if (children = node.children) {\n var children,\n i,\n n = children.length,\n r = padding(node) * k || 0,\n e;\n\n if (r) for (i = 0; i < n; ++i) children[i].r += r;\n e = packEnclose(children);\n if (r) for (i = 0; i < n; ++i) children[i].r -= r;\n node.r = e + r;\n }\n };\n}\n\nfunction translateChild(k) {\n return function(node) {\n var parent = node.parent;\n node.r *= k;\n if (parent) {\n node.x = parent.x + k * node.x;\n node.y = parent.y + k * node.y;\n }\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/dice.js", "name": "./node_modules/d3-hierarchy/src/treemap/dice.js", "index": 321, "index2": 316, "size": 309, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony side effect evaluation", "userRequest": "./dice.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/squarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "type": "harmony side effect evaluation", "userRequest": "./dice.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/sliceDice.js", "module": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "type": "harmony side effect evaluation", "userRequest": "./dice.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/partition.js", "module": "./node_modules/d3-hierarchy/src/partition.js", "moduleName": "./node_modules/d3-hierarchy/src/partition.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/dice.js", "loc": "2:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/sliceDice.js", "module": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "type": "harmony import specifier", "userRequest": "./dice.js", "loc": "5:30-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/dice.js", "loc": "11:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/dice.js", "loc": "11:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony import specifier", "userRequest": "./dice.js", "loc": "21:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/partition.js", "module": "./node_modules/d3-hierarchy/src/partition.js", "moduleName": "./node_modules/d3-hierarchy/src/partition.js", "type": "harmony import specifier", "userRequest": "./treemap/dice.js", "loc": "24:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/squarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "type": "harmony import specifier", "userRequest": "./dice.js", "loc": "47:18-29" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(parent, x0, y0, x1, y1) {\n var nodes = parent.children,\n node,\n i = -1,\n n = nodes.length,\n k = parent.value && (x1 - x0) / parent.value;\n\n while (++i < n) {\n node = nodes[i], node.y0 = y0, node.y1 = y1;\n node.x0 = x0, node.x1 = x0 += node.value * k;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/partition.js", "name": "./node_modules/d3-hierarchy/src/partition.js", "index": 319, "index2": 317, "size": 1272, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./partition.js", "loc": "6:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./partition.js", "loc": "6:0-52" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import roundNode from \"./treemap/round.js\";\nimport treemapDice from \"./treemap/dice.js\";\n\nexport default function() {\n var dx = 1,\n dy = 1,\n padding = 0,\n round = false;\n\n function partition(root) {\n var n = root.height + 1;\n root.x0 =\n root.y0 = padding;\n root.x1 = dx;\n root.y1 = dy / n;\n root.eachBefore(positionNode(dy, n));\n if (round) root.eachBefore(roundNode);\n return root;\n }\n\n function positionNode(dy, n) {\n return function(node) {\n if (node.children) {\n treemapDice(node, node.x0, dy * (node.depth + 1) / n, node.x1, dy * (node.depth + 2) / n);\n }\n var x0 = node.x0,\n y0 = node.y0,\n x1 = node.x1 - padding,\n y1 = node.y1 - padding;\n if (x1 < x0) x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0) y0 = y1 = (y0 + y1) / 2;\n node.x0 = x0;\n node.y0 = y0;\n node.x1 = x1;\n node.y1 = y1;\n };\n }\n\n partition.round = function(x) {\n return arguments.length ? (round = !!x, partition) : round;\n };\n\n partition.size = function(x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], partition) : [dx, dy];\n };\n\n partition.padding = function(x) {\n return arguments.length ? (padding = +x, partition) : padding;\n };\n\n return partition;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "name": "./node_modules/d3-hierarchy/src/stratify.js", "index": 322, "index2": 318, "size": 1940, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./stratify.js", "loc": "7:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./stratify.js", "loc": "7:0-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {required} from \"./accessors.js\";\nimport {Node, computeHeight} from \"./hierarchy/index.js\";\n\nvar keyPrefix = \"$\", // Protect against keys like “__proto__”.\n preroot = {depth: -1},\n ambiguous = {};\n\nfunction defaultId(d) {\n return d.id;\n}\n\nfunction defaultParentId(d) {\n return d.parentId;\n}\n\nexport default function() {\n var id = defaultId,\n parentId = defaultParentId;\n\n function stratify(data) {\n var d,\n i,\n n = data.length,\n root,\n parent,\n node,\n nodes = new Array(n),\n nodeId,\n nodeKey,\n nodeByKey = {};\n\n for (i = 0; i < n; ++i) {\n d = data[i], node = nodes[i] = new Node(d);\n if ((nodeId = id(d, i, data)) != null && (nodeId += \"\")) {\n nodeKey = keyPrefix + (node.id = nodeId);\n nodeByKey[nodeKey] = nodeKey in nodeByKey ? ambiguous : node;\n }\n }\n\n for (i = 0; i < n; ++i) {\n node = nodes[i], nodeId = parentId(data[i], i, data);\n if (nodeId == null || !(nodeId += \"\")) {\n if (root) throw new Error(\"multiple roots\");\n root = node;\n } else {\n parent = nodeByKey[keyPrefix + nodeId];\n if (!parent) throw new Error(\"missing: \" + nodeId);\n if (parent === ambiguous) throw new Error(\"ambiguous: \" + nodeId);\n if (parent.children) parent.children.push(node);\n else parent.children = [node];\n node.parent = parent;\n }\n }\n\n if (!root) throw new Error(\"no root\");\n root.parent = preroot;\n root.eachBefore(function(node) { node.depth = node.parent.depth + 1; --n; }).eachBefore(computeHeight);\n root.parent = null;\n if (n > 0) throw new Error(\"cycle\");\n\n return root;\n }\n\n stratify.id = function(x) {\n return arguments.length ? (id = required(x), stratify) : id;\n };\n\n stratify.parentId = function(x) {\n return arguments.length ? (parentId = required(x), stratify) : parentId;\n };\n\n return stratify;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/tree.js", "name": "./node_modules/d3-hierarchy/src/tree.js", "index": 323, "index2": 319, "size": 7063, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./tree.js", "loc": "8:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tree.js", "loc": "8:0-42" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Node} from \"./hierarchy/index.js\";\n\nfunction defaultSeparation(a, b) {\n return a.parent === b.parent ? 1 : 2;\n}\n\n// function radialSeparation(a, b) {\n// return (a.parent === b.parent ? 1 : 2) / a.depth;\n// }\n\n// This function is used to traverse the left contour of a subtree (or\n// subforest). It returns the successor of v on this contour. This successor is\n// either given by the leftmost child of v or by the thread of v. The function\n// returns null if and only if v is on the highest level of its subtree.\nfunction nextLeft(v) {\n var children = v.children;\n return children ? children[0] : v.t;\n}\n\n// This function works analogously to nextLeft.\nfunction nextRight(v) {\n var children = v.children;\n return children ? children[children.length - 1] : v.t;\n}\n\n// Shifts the current subtree rooted at w+. This is done by increasing\n// prelim(w+) and mod(w+) by shift.\nfunction moveSubtree(wm, wp, shift) {\n var change = shift / (wp.i - wm.i);\n wp.c -= change;\n wp.s += shift;\n wm.c += change;\n wp.z += shift;\n wp.m += shift;\n}\n\n// All other shifts, applied to the smaller subtrees between w- and w+, are\n// performed by this function. To prepare the shifts, we have to adjust\n// change(w+), shift(w+), and change(w-).\nfunction executeShifts(v) {\n var shift = 0,\n change = 0,\n children = v.children,\n i = children.length,\n w;\n while (--i >= 0) {\n w = children[i];\n w.z += shift;\n w.m += shift;\n shift += w.s + (change += w.c);\n }\n}\n\n// If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,\n// returns the specified (default) ancestor.\nfunction nextAncestor(vim, v, ancestor) {\n return vim.a.parent === v.parent ? vim.a : ancestor;\n}\n\nfunction TreeNode(node, i) {\n this._ = node;\n this.parent = null;\n this.children = null;\n this.A = null; // default ancestor\n this.a = this; // ancestor\n this.z = 0; // prelim\n this.m = 0; // mod\n this.c = 0; // change\n this.s = 0; // shift\n this.t = null; // thread\n this.i = i; // number\n}\n\nTreeNode.prototype = Object.create(Node.prototype);\n\nfunction treeRoot(root) {\n var tree = new TreeNode(root, 0),\n node,\n nodes = [tree],\n child,\n children,\n i,\n n;\n\n while (node = nodes.pop()) {\n if (children = node._.children) {\n node.children = new Array(n = children.length);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new TreeNode(children[i], i));\n child.parent = node;\n }\n }\n }\n\n (tree.parent = new TreeNode(null, 0)).children = [tree];\n return tree;\n}\n\n// Node-link tree diagram using the Reingold-Tilford \"tidy\" algorithm\nexport default function() {\n var separation = defaultSeparation,\n dx = 1,\n dy = 1,\n nodeSize = null;\n\n function tree(root) {\n var t = treeRoot(root);\n\n // Compute the layout using Buchheim et al.’s algorithm.\n t.eachAfter(firstWalk), t.parent.m = -t.z;\n t.eachBefore(secondWalk);\n\n // If a fixed node size is specified, scale x and y.\n if (nodeSize) root.eachBefore(sizeNode);\n\n // If a fixed tree size is specified, scale x and y based on the extent.\n // Compute the left-most, right-most, and depth-most nodes for extents.\n else {\n var left = root,\n right = root,\n bottom = root;\n root.eachBefore(function(node) {\n if (node.x < left.x) left = node;\n if (node.x > right.x) right = node;\n if (node.depth > bottom.depth) bottom = node;\n });\n var s = left === right ? 1 : separation(left, right) / 2,\n tx = s - left.x,\n kx = dx / (right.x + s + tx),\n ky = dy / (bottom.depth || 1);\n root.eachBefore(function(node) {\n node.x = (node.x + tx) * kx;\n node.y = node.depth * ky;\n });\n }\n\n return root;\n }\n\n // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is\n // applied recursively to the children of v, as well as the function\n // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the\n // node v is placed to the midpoint of its outermost children.\n function firstWalk(v) {\n var children = v.children,\n siblings = v.parent.children,\n w = v.i ? siblings[v.i - 1] : null;\n if (children) {\n executeShifts(v);\n var midpoint = (children[0].z + children[children.length - 1].z) / 2;\n if (w) {\n v.z = w.z + separation(v._, w._);\n v.m = v.z - midpoint;\n } else {\n v.z = midpoint;\n }\n } else if (w) {\n v.z = w.z + separation(v._, w._);\n }\n v.parent.A = apportion(v, w, v.parent.A || siblings[0]);\n }\n\n // Computes all real x-coordinates by summing up the modifiers recursively.\n function secondWalk(v) {\n v._.x = v.z + v.parent.m;\n v.m += v.parent.m;\n }\n\n // The core of the algorithm. Here, a new subtree is combined with the\n // previous subtrees. Threads are used to traverse the inside and outside\n // contours of the left and right subtree up to the highest common level. The\n // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the\n // superscript o means outside and i means inside, the subscript - means left\n // subtree and + means right subtree. For summing up the modifiers along the\n // contour, we use respective variables si+, si-, so-, and so+. Whenever two\n // nodes of the inside contours conflict, we compute the left one of the\n // greatest uncommon ancestors using the function ANCESTOR and call MOVE\n // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.\n // Finally, we add a new thread (if necessary).\n function apportion(v, w, ancestor) {\n if (w) {\n var vip = v,\n vop = v,\n vim = w,\n vom = vip.parent.children[0],\n sip = vip.m,\n sop = vop.m,\n sim = vim.m,\n som = vom.m,\n shift;\n while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {\n vom = nextLeft(vom);\n vop = nextRight(vop);\n vop.a = v;\n shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);\n if (shift > 0) {\n moveSubtree(nextAncestor(vim, v, ancestor), v, shift);\n sip += shift;\n sop += shift;\n }\n sim += vim.m;\n sip += vip.m;\n som += vom.m;\n sop += vop.m;\n }\n if (vim && !nextRight(vop)) {\n vop.t = vim;\n vop.m += sim - sop;\n }\n if (vip && !nextLeft(vom)) {\n vom.t = vip;\n vom.m += sip - som;\n ancestor = v;\n }\n }\n return ancestor;\n }\n\n function sizeNode(node) {\n node.x *= dx;\n node.y = node.depth * dy;\n }\n\n tree.separation = function(x) {\n return arguments.length ? (separation = x, tree) : separation;\n };\n\n tree.size = function(x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : (nodeSize ? null : [dx, dy]);\n };\n\n tree.nodeSize = function(x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : (nodeSize ? [dx, dy] : null);\n };\n\n return tree;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/slice.js", "name": "./node_modules/d3-hierarchy/src/treemap/slice.js", "index": 326, "index2": 320, "size": 309, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony side effect evaluation", "userRequest": "./slice.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/squarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "type": "harmony side effect evaluation", "userRequest": "./slice.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/sliceDice.js", "module": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "type": "harmony side effect evaluation", "userRequest": "./slice.js", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/sliceDice.js", "module": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "type": "harmony import specifier", "userRequest": "./slice.js", "loc": "5:22-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/slice.js", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/slice.js", "loc": "12:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony import specifier", "userRequest": "./slice.js", "loc": "22:13-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/squarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "type": "harmony import specifier", "userRequest": "./slice.js", "loc": "48:9-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(parent, x0, y0, x1, y1) {\n var nodes = parent.children,\n node,\n i = -1,\n n = nodes.length,\n k = parent.value && (y1 - y0) / parent.value;\n\n while (++i < n) {\n node = nodes[i], node.x0 = x0, node.x1 = x1;\n node.y0 = y0, node.y1 = y0 += node.value * k;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/squarify.js", "name": "./node_modules/d3-hierarchy/src/treemap/squarify.js", "index": 325, "index2": 321, "size": 1874, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony side effect evaluation", "userRequest": "./squarify.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony side effect evaluation", "userRequest": "./squarify.js", "loc": "3:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "./squarify.js", "loc": "7:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/squarify.js", "loc": "14:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/squarify.js", "loc": "14:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony import specifier", "userRequest": "./squarify.js", "loc": "26:32-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "module": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "type": "harmony import specifier", "userRequest": "./squarify.js", "loc": "36:3-6" } ], "usedExports": [ "default", "squarifyRatio", "phi" ], "providedExports": [ "phi", "squarifyRatio", "default" ], "optimizationBailout": [], "depth": 4, "source": "import treemapDice from \"./dice.js\";\nimport treemapSlice from \"./slice.js\";\n\nexport var phi = (1 + Math.sqrt(5)) / 2;\n\nexport function squarifyRatio(ratio, parent, x0, y0, x1, y1) {\n var rows = [],\n nodes = parent.children,\n row,\n nodeValue,\n i0 = 0,\n i1 = 0,\n n = nodes.length,\n dx, dy,\n value = parent.value,\n sumValue,\n minValue,\n maxValue,\n newRatio,\n minRatio,\n alpha,\n beta;\n\n while (i0 < n) {\n dx = x1 - x0, dy = y1 - y0;\n\n // Find the next non-empty node.\n do sumValue = nodes[i1++].value; while (!sumValue && i1 < n);\n minValue = maxValue = sumValue;\n alpha = Math.max(dy / dx, dx / dy) / (value * ratio);\n beta = sumValue * sumValue * alpha;\n minRatio = Math.max(maxValue / beta, beta / minValue);\n\n // Keep adding nodes while the aspect ratio maintains or improves.\n for (; i1 < n; ++i1) {\n sumValue += nodeValue = nodes[i1].value;\n if (nodeValue < minValue) minValue = nodeValue;\n if (nodeValue > maxValue) maxValue = nodeValue;\n beta = sumValue * sumValue * alpha;\n newRatio = Math.max(maxValue / beta, beta / minValue);\n if (newRatio > minRatio) { sumValue -= nodeValue; break; }\n minRatio = newRatio;\n }\n\n // Position and record the row orientation.\n rows.push(row = {value: sumValue, dice: dx < dy, children: nodes.slice(i0, i1)});\n if (row.dice) treemapDice(row, x0, y0, x1, value ? y0 += dy * sumValue / value : y1);\n else treemapSlice(row, x0, y0, value ? x0 += dx * sumValue / value : x1, y1);\n value -= sumValue, i0 = i1;\n }\n\n return rows;\n}\n\nexport default (function custom(ratio) {\n\n function squarify(parent, x0, y0, x1, y1) {\n squarifyRatio(ratio, parent, x0, y0, x1, y1);\n }\n\n squarify.ratio = function(x) {\n return custom((x = +x) > 1 ? x : 1);\n };\n\n return squarify;\n})(phi);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "name": "./node_modules/d3-hierarchy/src/treemap/index.js", "index": 324, "index2": 322, "size": 2822, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/index.js", "loc": "9:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/index.js", "loc": "9:0-54" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import roundNode from \"./round.js\";\nimport squarify from \"./squarify.js\";\nimport {required} from \"../accessors.js\";\nimport constant, {constantZero} from \"../constant.js\";\n\nexport default function() {\n var tile = squarify,\n round = false,\n dx = 1,\n dy = 1,\n paddingStack = [0],\n paddingInner = constantZero,\n paddingTop = constantZero,\n paddingRight = constantZero,\n paddingBottom = constantZero,\n paddingLeft = constantZero;\n\n function treemap(root) {\n root.x0 =\n root.y0 = 0;\n root.x1 = dx;\n root.y1 = dy;\n root.eachBefore(positionNode);\n paddingStack = [0];\n if (round) root.eachBefore(roundNode);\n return root;\n }\n\n function positionNode(node) {\n var p = paddingStack[node.depth],\n x0 = node.x0 + p,\n y0 = node.y0 + p,\n x1 = node.x1 - p,\n y1 = node.y1 - p;\n if (x1 < x0) x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0) y0 = y1 = (y0 + y1) / 2;\n node.x0 = x0;\n node.y0 = y0;\n node.x1 = x1;\n node.y1 = y1;\n if (node.children) {\n p = paddingStack[node.depth + 1] = paddingInner(node) / 2;\n x0 += paddingLeft(node) - p;\n y0 += paddingTop(node) - p;\n x1 -= paddingRight(node) - p;\n y1 -= paddingBottom(node) - p;\n if (x1 < x0) x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0) y0 = y1 = (y0 + y1) / 2;\n tile(node, x0, y0, x1, y1);\n }\n }\n\n treemap.round = function(x) {\n return arguments.length ? (round = !!x, treemap) : round;\n };\n\n treemap.size = function(x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], treemap) : [dx, dy];\n };\n\n treemap.tile = function(x) {\n return arguments.length ? (tile = required(x), treemap) : tile;\n };\n\n treemap.padding = function(x) {\n return arguments.length ? treemap.paddingInner(x).paddingOuter(x) : treemap.paddingInner();\n };\n\n treemap.paddingInner = function(x) {\n return arguments.length ? (paddingInner = typeof x === \"function\" ? x : constant(+x), treemap) : paddingInner;\n };\n\n treemap.paddingOuter = function(x) {\n return arguments.length ? treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x) : treemap.paddingTop();\n };\n\n treemap.paddingTop = function(x) {\n return arguments.length ? (paddingTop = typeof x === \"function\" ? x : constant(+x), treemap) : paddingTop;\n };\n\n treemap.paddingRight = function(x) {\n return arguments.length ? (paddingRight = typeof x === \"function\" ? x : constant(+x), treemap) : paddingRight;\n };\n\n treemap.paddingBottom = function(x) {\n return arguments.length ? (paddingBottom = typeof x === \"function\" ? x : constant(+x), treemap) : paddingBottom;\n };\n\n treemap.paddingLeft = function(x) {\n return arguments.length ? (paddingLeft = typeof x === \"function\" ? x : constant(+x), treemap) : paddingLeft;\n };\n\n return treemap;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/binary.js", "name": "./node_modules/d3-hierarchy/src/treemap/binary.js", "index": 327, "index2": 323, "size": 1266, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/binary.js", "loc": "10:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/binary.js", "loc": "10:0-61" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(parent, x0, y0, x1, y1) {\n var nodes = parent.children,\n i, n = nodes.length,\n sum, sums = new Array(n + 1);\n\n for (sums[0] = sum = i = 0; i < n; ++i) {\n sums[i + 1] = sum += nodes[i].value;\n }\n\n partition(0, n, parent.value, x0, y0, x1, y1);\n\n function partition(i, j, value, x0, y0, x1, y1) {\n if (i >= j - 1) {\n var node = nodes[i];\n node.x0 = x0, node.y0 = y0;\n node.x1 = x1, node.y1 = y1;\n return;\n }\n\n var valueOffset = sums[i],\n valueTarget = (value / 2) + valueOffset,\n k = i + 1,\n hi = j - 1;\n\n while (k < hi) {\n var mid = k + hi >>> 1;\n if (sums[mid] < valueTarget) k = mid + 1;\n else hi = mid;\n }\n\n if ((valueTarget - sums[k - 1]) < (sums[k] - valueTarget) && i + 1 < k) --k;\n\n var valueLeft = sums[k] - valueOffset,\n valueRight = value - valueLeft;\n\n if ((x1 - x0) > (y1 - y0)) {\n var xk = (x0 * valueRight + x1 * valueLeft) / value;\n partition(i, k, valueLeft, x0, y0, xk, y1);\n partition(k, j, valueRight, xk, y0, x1, y1);\n } else {\n var yk = (y0 * valueRight + y1 * valueLeft) / value;\n partition(i, k, valueLeft, x0, y0, x1, yk);\n partition(k, j, valueRight, x0, yk, x1, y1);\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/sliceDice.js", "name": "./node_modules/d3-hierarchy/src/treemap/sliceDice.js", "index": 328, "index2": 324, "size": 176, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/sliceDice.js", "loc": "13:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/sliceDice.js", "loc": "13:0-67" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import dice from \"./dice.js\";\nimport slice from \"./slice.js\";\n\nexport default function(parent, x0, y0, x1, y1) {\n (parent.depth & 1 ? slice : dice)(parent, x0, y0, x1, y1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/resquarify.js", "name": "./node_modules/d3-hierarchy/src/treemap/resquarify.js", "index": 329, "index2": 325, "size": 1038, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 783, "building": 53, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/resquarify.js", "loc": "15:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "module": "./node_modules/d3-hierarchy/src/index.js", "moduleName": "./node_modules/d3-hierarchy/src/index.js", "type": "harmony export imported specifier", "userRequest": "./treemap/resquarify.js", "loc": "15:0-69" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import treemapDice from \"./dice.js\";\nimport treemapSlice from \"./slice.js\";\nimport {phi, squarifyRatio} from \"./squarify.js\";\n\nexport default (function custom(ratio) {\n\n function resquarify(parent, x0, y0, x1, y1) {\n if ((rows = parent._squarify) && (rows.ratio === ratio)) {\n var rows,\n row,\n nodes,\n i,\n j = -1,\n n,\n m = rows.length,\n value = parent.value;\n\n while (++j < m) {\n row = rows[j], nodes = row.children;\n for (i = row.value = 0, n = nodes.length; i < n; ++i) row.value += nodes[i].value;\n if (row.dice) treemapDice(row, x0, y0, x1, y0 += (y1 - y0) * row.value / value);\n else treemapSlice(row, x0, y0, x0 += (x1 - x0) * row.value / value, y1);\n value -= row.value;\n }\n } else {\n parent._squarify = rows = squarifyRatio(ratio, parent, x0, y0, x1, y1);\n rows.ratio = ratio;\n }\n }\n\n resquarify.ratio = function(x) {\n return custom((x = +x) > 1 ? x : 1);\n };\n\n return resquarify;\n})(phi);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/discrete.js", "name": "./node_modules/d3-interpolate/src/discrete.js", "index": 331, "index2": 327, "size": 154, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./discrete.js", "loc": "6:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./discrete.js", "loc": "6:0-61" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(range) {\n var n = range.length;\n return function(t) {\n return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hue.js", "name": "./node_modules/d3-interpolate/src/hue.js", "index": 332, "index2": 328, "size": 178, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hue.js", "loc": "7:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hue.js", "loc": "7:0-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {hue} from \"./color.js\";\n\nexport default function(a, b) {\n var i = hue(+a, +b);\n return function(t) {\n var x = i(t);\n return x - 360 * Math.floor(x / 360);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/round.js", "name": "./node_modules/d3-interpolate/src/round.js", "index": 333, "index2": 329, "size": 122, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./round.js", "loc": "11:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./round.js", "loc": "11:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "101:48-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(a, b) {\n return a = +a, b = +b, function(t) {\n return Math.round(a * (1 - t) + b * t);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/zoom.js", "name": "./node_modules/d3-interpolate/src/zoom.js", "index": 334, "index2": 330, "size": 1387, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./zoom.js", "loc": "14:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./zoom.js", "loc": "14:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "61:20-35" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var rho = Math.SQRT2,\n rho2 = 2,\n rho4 = 4,\n epsilon2 = 1e-12;\n\nfunction cosh(x) {\n return ((x = Math.exp(x)) + 1 / x) / 2;\n}\n\nfunction sinh(x) {\n return ((x = Math.exp(x)) - 1 / x) / 2;\n}\n\nfunction tanh(x) {\n return ((x = Math.exp(2 * x)) - 1) / (x + 1);\n}\n\n// p0 = [ux0, uy0, w0]\n// p1 = [ux1, uy1, w1]\nexport default function(p0, p1) {\n var ux0 = p0[0], uy0 = p0[1], w0 = p0[2],\n ux1 = p1[0], uy1 = p1[1], w1 = p1[2],\n dx = ux1 - ux0,\n dy = uy1 - uy0,\n d2 = dx * dx + dy * dy,\n i,\n S;\n\n // Special case for u0 ≅ u1.\n if (d2 < epsilon2) {\n S = Math.log(w1 / w0) / rho;\n i = function(t) {\n return [\n ux0 + t * dx,\n uy0 + t * dy,\n w0 * Math.exp(rho * t * S)\n ];\n }\n }\n\n // General case.\n else {\n var d1 = Math.sqrt(d2),\n b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),\n b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),\n r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),\n r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);\n S = (r1 - r0) / rho;\n i = function(t) {\n var s = t * S,\n coshr0 = cosh(r0),\n u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));\n return [\n ux0 + u * dx,\n uy0 + u * dy,\n w0 * coshr0 / cosh(rho * s + r0)\n ];\n }\n }\n\n i.duration = S * 1000;\n\n return i;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "name": "./node_modules/d3-interpolate/src/hsl.js", "index": 335, "index2": 331, "size": 550, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hsl.js", "loc": "16:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hsl.js", "loc": "16:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hsl.js", "loc": "16:0-82" } ], "usedExports": [ "default", "hslLong" ], "providedExports": [ "default", "hslLong" ], "optimizationBailout": [], "depth": 4, "source": "import {hsl as colorHsl} from \"d3-color\";\nimport color, {hue} from \"./color.js\";\n\nfunction hsl(hue) {\n return function(start, end) {\n var h = hue((start = colorHsl(start)).h, (end = colorHsl(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n}\n\nexport default hsl(hue);\nexport var hslLong = hsl(color);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "name": "./node_modules/d3-interpolate/src/lab.js", "index": 336, "index2": 332, "size": 450, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./lab.js", "loc": "17:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lab.js", "loc": "17:0-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {lab as colorLab} from \"d3-color\";\nimport color from \"./color.js\";\n\nexport default function lab(start, end) {\n var l = color((start = colorLab(start)).l, (end = colorLab(end)).l),\n a = color(start.a, end.a),\n b = color(start.b, end.b),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.l = l(t);\n start.a = a(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "name": "./node_modules/d3-interpolate/src/hcl.js", "index": 337, "index2": 333, "size": 550, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hcl.js", "loc": "18:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hcl.js", "loc": "18:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hcl.js", "loc": "18:0-82" } ], "usedExports": [ "default", "hclLong" ], "providedExports": [ "default", "hclLong" ], "optimizationBailout": [], "depth": 4, "source": "import {hcl as colorHcl} from \"d3-color\";\nimport color, {hue} from \"./color.js\";\n\nfunction hcl(hue) {\n return function(start, end) {\n var h = hue((start = colorHcl(start)).h, (end = colorHcl(end)).h),\n c = color(start.c, end.c),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.h = h(t);\n start.c = c(t);\n start.l = l(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n}\n\nexport default hcl(hue);\nexport var hclLong = hcl(color);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "name": "./node_modules/d3-interpolate/src/cubehelix.js", "index": 338, "index2": 334, "size": 763, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "4:15-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "4:18-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-interpolate", "loc": "6:18-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./cubehelix.js", "loc": "19:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubehelix.js", "loc": "19:0-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./cubehelix.js", "loc": "19:0-106" } ], "usedExports": [ "cubehelixLong", "default" ], "providedExports": [ "default", "cubehelixLong" ], "optimizationBailout": [], "depth": 4, "source": "import {cubehelix as colorCubehelix} from \"d3-color\";\nimport color, {hue} from \"./color.js\";\n\nfunction cubehelix(hue) {\n return (function cubehelixGamma(y) {\n y = +y;\n\n function cubehelix(start, end) {\n var h = hue((start = colorCubehelix(start)).h, (end = colorCubehelix(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(Math.pow(t, y));\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n cubehelix.gamma = cubehelixGamma;\n\n return cubehelix;\n })(1);\n}\n\nexport default cubehelix(hue);\nexport var cubehelixLong = cubehelix(color);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/piecewise.js", "name": "./node_modules/d3-interpolate/src/piecewise.js", "index": 339, "index2": 335, "size": 310, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./piecewise.js", "loc": "20:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./piecewise.js", "loc": "20:0-52" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function piecewise(interpolate, values) {\n var i = 0, n = values.length - 1, v = values[0], I = new Array(n < 0 ? 0 : n);\n while (i < n) I[i] = interpolate(v, v = values[++i]);\n return function(t) {\n var i = Math.max(0, Math.min(n - 1, Math.floor(t *= n)));\n return I[i](t - i);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/quantize.js", "name": "./node_modules/d3-interpolate/src/quantize.js", "index": 340, "index2": 336, "size": 163, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 777, "building": 27, "dependencies": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quantize.js", "loc": "21:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "module": "./node_modules/d3-interpolate/src/index.js", "moduleName": "./node_modules/d3-interpolate/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quantize.js", "loc": "21:0-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(interpolator, n) {\n var samples = new Array(n);\n for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1));\n return samples;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/area.js", "name": "./node_modules/d3-polygon/src/area.js", "index": 343, "index2": 339, "size": 243, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 765, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "1:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony export imported specifier", "userRequest": "./area.js", "loc": "1:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(polygon) {\n var i = -1,\n n = polygon.length,\n a,\n b = polygon[n - 1],\n area = 0;\n\n while (++i < n) {\n a = b;\n b = polygon[i];\n area += a[1] * b[0] - a[0] * b[1];\n }\n\n return area / 2;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/centroid.js", "name": "./node_modules/d3-polygon/src/centroid.js", "index": 344, "index2": 340, "size": 346, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 765, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./centroid.js", "loc": "2:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony export imported specifier", "userRequest": "./centroid.js", "loc": "2:0-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(polygon) {\n var i = -1,\n n = polygon.length,\n x = 0,\n y = 0,\n a,\n b = polygon[n - 1],\n c,\n k = 0;\n\n while (++i < n) {\n a = b;\n b = polygon[i];\n k += c = a[0] * b[1] - b[0] * a[1];\n x += (a[0] + b[0]) * c;\n y += (a[1] + b[1]) * c;\n }\n\n return k *= 3, [x / k, y / k];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/hull.js", "name": "./node_modules/d3-polygon/src/hull.js", "index": 345, "index2": 342, "size": 1713, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 765, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hull.js", "loc": "3:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hull.js", "loc": "3:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import cross from \"./cross.js\";\n\nfunction lexicographicOrder(a, b) {\n return a[0] - b[0] || a[1] - b[1];\n}\n\n// Computes the upper convex hull per the monotone chain algorithm.\n// Assumes points.length >= 3, is sorted by x, unique in y.\n// Returns an array of indices into points in left-to-right order.\nfunction computeUpperHullIndexes(points) {\n var n = points.length,\n indexes = [0, 1],\n size = 2;\n\n for (var i = 2; i < n; ++i) {\n while (size > 1 && cross(points[indexes[size - 2]], points[indexes[size - 1]], points[i]) <= 0) --size;\n indexes[size++] = i;\n }\n\n return indexes.slice(0, size); // remove popped points\n}\n\nexport default function(points) {\n if ((n = points.length) < 3) return null;\n\n var i,\n n,\n sortedPoints = new Array(n),\n flippedPoints = new Array(n);\n\n for (i = 0; i < n; ++i) sortedPoints[i] = [+points[i][0], +points[i][1], i];\n sortedPoints.sort(lexicographicOrder);\n for (i = 0; i < n; ++i) flippedPoints[i] = [sortedPoints[i][0], -sortedPoints[i][1]];\n\n var upperIndexes = computeUpperHullIndexes(sortedPoints),\n lowerIndexes = computeUpperHullIndexes(flippedPoints);\n\n // Construct the hull polygon, removing possible duplicate endpoints.\n var skipLeft = lowerIndexes[0] === upperIndexes[0],\n skipRight = lowerIndexes[lowerIndexes.length - 1] === upperIndexes[upperIndexes.length - 1],\n hull = [];\n\n // Add upper hull in right-to-l order.\n // Then add lower hull in left-to-right order.\n for (i = upperIndexes.length - 1; i >= 0; --i) hull.push(points[sortedPoints[upperIndexes[i]][2]]);\n for (i = +skipLeft; i < lowerIndexes.length - skipRight; ++i) hull.push(points[sortedPoints[lowerIndexes[i]][2]]);\n\n return hull;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/contains.js", "name": "./node_modules/d3-polygon/src/contains.js", "index": 347, "index2": 343, "size": 411, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 765, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./contains.js", "loc": "4:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony export imported specifier", "userRequest": "./contains.js", "loc": "4:0-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(polygon, point) {\n var n = polygon.length,\n p = polygon[n - 1],\n x = point[0], y = point[1],\n x0 = p[0], y0 = p[1],\n x1, y1,\n inside = false;\n\n for (var i = 0; i < n; ++i) {\n p = polygon[i], x1 = p[0], y1 = p[1];\n if (((y1 > y) !== (y0 > y)) && (x < (x0 - x1) * (y - y1) / (y0 - y1) + x1)) inside = !inside;\n x0 = x1, y0 = y1;\n }\n\n return inside;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/length.js", "name": "./node_modules/d3-polygon/src/length.js", "index": 348, "index2": 344, "size": 375, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 765, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./length.js", "loc": "5:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "module": "./node_modules/d3-polygon/src/index.js", "moduleName": "./node_modules/d3-polygon/src/index.js", "type": "harmony export imported specifier", "userRequest": "./length.js", "loc": "5:0-53" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(polygon) {\n var i = -1,\n n = polygon.length,\n b = polygon[n - 1],\n xa,\n ya,\n xb = b[0],\n yb = b[1],\n perimeter = 0;\n\n while (++i < n) {\n xa = xb;\n ya = yb;\n b = polygon[i];\n xb = b[0];\n yb = b[1];\n xa -= xb;\n ya -= yb;\n perimeter += Math.sqrt(xa * xa + ya * ya);\n }\n\n return perimeter;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/uniform.js", "name": "./node_modules/d3-random/src/uniform.js", "index": 351, "index2": 348, "size": 440, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./uniform", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./uniform", "loc": "1:0-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\n\nexport default (function sourceRandomUniform(source) {\n function randomUniform(min, max) {\n min = min == null ? 0 : +min;\n max = max == null ? 1 : +max;\n if (arguments.length === 1) max = min, min = 0;\n else max -= min;\n return function() {\n return source() * max + min;\n };\n }\n\n randomUniform.source = sourceRandomUniform;\n\n return randomUniform;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/normal.js", "name": "./node_modules/d3-random/src/normal.js", "index": 353, "index2": 349, "size": 713, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./normal", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./normal", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/logNormal.js", "module": "./node_modules/d3-random/src/logNormal.js", "moduleName": "./node_modules/d3-random/src/logNormal.js", "type": "harmony side effect evaluation", "userRequest": "./normal", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/logNormal.js", "module": "./node_modules/d3-random/src/logNormal.js", "moduleName": "./node_modules/d3-random/src/logNormal.js", "type": "harmony import specifier", "userRequest": "./normal", "loc": "6:23-29" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\n\nexport default (function sourceRandomNormal(source) {\n function randomNormal(mu, sigma) {\n var x, r;\n mu = mu == null ? 0 : +mu;\n sigma = sigma == null ? 1 : +sigma;\n return function() {\n var y;\n\n // If available, use the second previously-generated uniform random.\n if (x != null) y = x, x = null;\n\n // Otherwise, generate a new x and y.\n else do {\n x = source() * 2 - 1;\n y = source() * 2 - 1;\n r = x * x + y * y;\n } while (!r || r > 1);\n\n return mu + sigma * y * Math.sqrt(-2 * Math.log(r) / r);\n };\n }\n\n randomNormal.source = sourceRandomNormal;\n\n return randomNormal;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/logNormal.js", "name": "./node_modules/d3-random/src/logNormal.js", "index": 354, "index2": 350, "size": 405, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./logNormal", "loc": "3:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./logNormal", "loc": "3:0-55" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\nimport normal from \"./normal\";\n\nexport default (function sourceRandomLogNormal(source) {\n function randomLogNormal() {\n var randomNormal = normal.source(source).apply(this, arguments);\n return function() {\n return Math.exp(randomNormal());\n };\n }\n\n randomLogNormal.source = sourceRandomLogNormal;\n\n return randomLogNormal;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/irwinHall.js", "name": "./node_modules/d3-random/src/irwinHall.js", "index": 356, "index2": 351, "size": 345, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/bates.js", "module": "./node_modules/d3-random/src/bates.js", "moduleName": "./node_modules/d3-random/src/bates.js", "type": "harmony side effect evaluation", "userRequest": "./irwinHall", "loc": "2:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./irwinHall", "loc": "5:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./irwinHall", "loc": "5:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/bates.js", "module": "./node_modules/d3-random/src/bates.js", "moduleName": "./node_modules/d3-random/src/bates.js", "type": "harmony import specifier", "userRequest": "./irwinHall", "loc": "6:26-35" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\n\nexport default (function sourceRandomIrwinHall(source) {\n function randomIrwinHall(n) {\n return function() {\n for (var sum = 0, i = 0; i < n; ++i) sum += source();\n return sum;\n };\n }\n\n randomIrwinHall.source = sourceRandomIrwinHall;\n\n return randomIrwinHall;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/bates.js", "name": "./node_modules/d3-random/src/bates.js", "index": 355, "index2": 352, "size": 375, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./bates", "loc": "4:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./bates", "loc": "4:0-47" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\nimport irwinHall from \"./irwinHall\";\n\nexport default (function sourceRandomBates(source) {\n function randomBates(n) {\n var randomIrwinHall = irwinHall.source(source)(n);\n return function() {\n return randomIrwinHall() / n;\n };\n }\n\n randomBates.source = sourceRandomBates;\n\n return randomBates;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/exponential.js", "name": "./node_modules/d3-random/src/exponential.js", "index": 357, "index2": 353, "size": 329, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 795, "building": 62, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./exponential", "loc": "6:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "module": "./node_modules/d3-random/src/index.js", "moduleName": "./node_modules/d3-random/src/index.js", "type": "harmony export imported specifier", "userRequest": "./exponential", "loc": "6:0-59" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import defaultSource from \"./defaultSource\";\n\nexport default (function sourceRandomExponential(source) {\n function randomExponential(lambda) {\n return function() {\n return -Math.log(1 - source()) / lambda;\n };\n }\n\n randomExponential.source = sourceRandomExponential;\n\n return randomExponential;\n})(defaultSource);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "name": "./node_modules/d3-scale/src/ordinal.js", "index": 361, "index2": 357, "size": 1108, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/band.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "name": "./node_modules/d3-scale/src/band.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } } ], "profile": { "factory": 104, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony side effect evaluation", "userRequest": "./ordinal", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony import specifier", "userRequest": "./ordinal", "loc": "6:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./ordinal", "loc": "22:0-25:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ordinal", "loc": "22:0-25:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./ordinal", "loc": "22:0-25:19" } ], "usedExports": [ "default", "implicit" ], "providedExports": [ "implicit", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {map} from \"d3-collection\";\nimport {slice} from \"./array\";\nimport {initRange} from \"./init\";\n\nexport var implicit = {name: \"implicit\"};\n\nexport default function ordinal() {\n var index = map(),\n domain = [],\n range = [],\n unknown = implicit;\n\n function scale(d) {\n var key = d + \"\", i = index.get(key);\n if (!i) {\n if (unknown !== implicit) return unknown;\n index.set(key, i = domain.push(d));\n }\n return range[(i - 1) % range.length];\n }\n\n scale.domain = function(_) {\n if (!arguments.length) return domain.slice();\n domain = [], index = map();\n var i = -1, n = _.length, d, key;\n while (++i < n) if (!index.has(key = (d = _[i]) + \"\")) index.set(key, domain.push(d));\n return scale;\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), scale) : range.slice();\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n scale.copy = function() {\n return ordinal(domain, range).unknown(unknown);\n };\n\n initRange.apply(scale, arguments);\n\n return scale;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "name": "./node_modules/d3-scale/src/band.js", "index": 359, "index2": 358, "size": 2637, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./band", "loc": "1:0-4:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./band", "loc": "1:0-4:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./band", "loc": "1:0-4:16" } ], "usedExports": [ "default", "point" ], "providedExports": [ "default", "point" ], "optimizationBailout": [], "depth": 4, "source": "import {range as sequence} from \"d3-array\";\nimport {initRange} from \"./init\";\nimport ordinal from \"./ordinal\";\n\nexport default function band() {\n var scale = ordinal().unknown(undefined),\n domain = scale.domain,\n ordinalRange = scale.range,\n range = [0, 1],\n step,\n bandwidth,\n round = false,\n paddingInner = 0,\n paddingOuter = 0,\n align = 0.5;\n\n delete scale.unknown;\n\n function rescale() {\n var n = domain().length,\n reverse = range[1] < range[0],\n start = range[reverse - 0],\n stop = range[1 - reverse];\n step = (stop - start) / Math.max(1, n - paddingInner + paddingOuter * 2);\n if (round) step = Math.floor(step);\n start += (stop - start - step * (n - paddingInner)) * align;\n bandwidth = step * (1 - paddingInner);\n if (round) start = Math.round(start), bandwidth = Math.round(bandwidth);\n var values = sequence(n).map(function(i) { return start + step * i; });\n return ordinalRange(reverse ? values.reverse() : values);\n }\n\n scale.domain = function(_) {\n return arguments.length ? (domain(_), rescale()) : domain();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = [+_[0], +_[1]], rescale()) : range.slice();\n };\n\n scale.rangeRound = function(_) {\n return range = [+_[0], +_[1]], round = true, rescale();\n };\n\n scale.bandwidth = function() {\n return bandwidth;\n };\n\n scale.step = function() {\n return step;\n };\n\n scale.round = function(_) {\n return arguments.length ? (round = !!_, rescale()) : round;\n };\n\n scale.padding = function(_) {\n return arguments.length ? (paddingInner = Math.min(1, paddingOuter = +_), rescale()) : paddingInner;\n };\n\n scale.paddingInner = function(_) {\n return arguments.length ? (paddingInner = Math.min(1, _), rescale()) : paddingInner;\n };\n\n scale.paddingOuter = function(_) {\n return arguments.length ? (paddingOuter = +_, rescale()) : paddingOuter;\n };\n\n scale.align = function(_) {\n return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align;\n };\n\n scale.copy = function() {\n return band(domain(), range)\n .round(round)\n .paddingInner(paddingInner)\n .paddingOuter(paddingOuter)\n .align(align);\n };\n\n return initRange.apply(rescale(), arguments);\n}\n\nfunction pointish(scale) {\n var copy = scale.copy;\n\n scale.padding = scale.paddingOuter;\n delete scale.paddingInner;\n delete scale.paddingOuter;\n\n scale.copy = function() {\n return pointish(copy());\n };\n\n return scale;\n}\n\nexport function point() {\n return pointish(band.apply(null, arguments).paddingInner(1));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/tickFormat.js", "name": "./node_modules/d3-scale/src/tickFormat.js", "index": 368, "index2": 362, "size": 1122, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony side effect evaluation", "userRequest": "./tickFormat", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./tickFormat", "loc": "16:11-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./tickFormat", "loc": "72:0-74:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./tickFormat", "loc": "72:0-74:22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {tickStep} from \"d3-array\";\nimport {format, formatPrefix, formatSpecifier, precisionFixed, precisionPrefix, precisionRound} from \"d3-format\";\n\nexport default function(start, stop, count, specifier) {\n var step = tickStep(start, stop, count),\n precision;\n specifier = formatSpecifier(specifier == null ? \",f\" : specifier);\n switch (specifier.type) {\n case \"s\": {\n var value = Math.max(Math.abs(start), Math.abs(stop));\n if (specifier.precision == null && !isNaN(precision = precisionPrefix(step, value))) specifier.precision = precision;\n return formatPrefix(specifier, value);\n }\n case \"\":\n case \"e\":\n case \"g\":\n case \"p\":\n case \"r\": {\n if (specifier.precision == null && !isNaN(precision = precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === \"e\");\n break;\n }\n case \"f\":\n case \"%\": {\n if (specifier.precision == null && !isNaN(precision = precisionFixed(step))) specifier.precision = precision - (specifier.type === \"%\") * 2;\n break;\n }\n }\n return format(specifier);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "name": "./node_modules/d3-scale/src/linear.js", "index": 364, "index2": 363, "size": 1757, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./linear", "loc": "10:0-12:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./linear", "loc": "10:0-12:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "24:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "28:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "33:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "50:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "54:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony import specifier", "userRequest": "./linear", "loc": "56:25-34" } ], "usedExports": [ "linearish", "default" ], "providedExports": [ "linearish", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {ticks, tickIncrement} from \"d3-array\";\nimport continuous, {copy, identity} from \"./continuous\";\nimport {initRange} from \"./init\";\nimport tickFormat from \"./tickFormat\";\n\nexport function linearish(scale) {\n var domain = scale.domain;\n\n scale.ticks = function(count) {\n var d = domain();\n return ticks(d[0], d[d.length - 1], count == null ? 10 : count);\n };\n\n scale.tickFormat = function(count, specifier) {\n var d = domain();\n return tickFormat(d[0], d[d.length - 1], count == null ? 10 : count, specifier);\n };\n\n scale.nice = function(count) {\n if (count == null) count = 10;\n\n var d = domain(),\n i0 = 0,\n i1 = d.length - 1,\n start = d[i0],\n stop = d[i1],\n step;\n\n if (stop < start) {\n step = start, start = stop, stop = step;\n step = i0, i0 = i1, i1 = step;\n }\n\n step = tickIncrement(start, stop, count);\n\n if (step > 0) {\n start = Math.floor(start / step) * step;\n stop = Math.ceil(stop / step) * step;\n step = tickIncrement(start, stop, count);\n } else if (step < 0) {\n start = Math.ceil(start * step) / step;\n stop = Math.floor(stop * step) / step;\n step = tickIncrement(start, stop, count);\n }\n\n if (step > 0) {\n d[i0] = Math.floor(start / step) * step;\n d[i1] = Math.ceil(stop / step) * step;\n domain(d);\n } else if (step < 0) {\n d[i0] = Math.ceil(start * step) / step;\n d[i1] = Math.floor(stop * step) / step;\n domain(d);\n }\n\n return scale;\n };\n\n return scale;\n}\n\nexport default function linear() {\n var scale = continuous(identity, identity);\n\n scale.copy = function() {\n return copy(scale, linear());\n };\n\n initRange.apply(scale, arguments);\n\n return linearish(scale);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "name": "./node_modules/d3-scale/src/identity.js", "index": 363, "index2": 364, "size": 660, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./identity", "loc": "6:0-8:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./identity", "loc": "6:0-8:20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {map} from \"./array\";\nimport {linearish} from \"./linear\";\nimport number from \"./number\";\n\nexport default function identity(domain) {\n var unknown;\n\n function scale(x) {\n return isNaN(x = +x) ? unknown : x;\n }\n\n scale.invert = scale;\n\n scale.domain = scale.range = function(_) {\n return arguments.length ? (domain = map.call(_, number), scale) : domain.slice();\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n scale.copy = function() {\n return identity(domain).unknown(unknown);\n };\n\n domain = arguments.length ? map.call(domain, number) : [0, 1];\n\n return linearish(scale);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "name": "./node_modules/d3-scale/src/log.js", "index": 369, "index2": 366, "size": 3384, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./log", "loc": "4:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./log", "loc": "4:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./log", "loc": "14:0-16:15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./log", "loc": "14:0-16:15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./log", "loc": "60:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./log", "loc": "64:14-21" } ], "usedExports": [ "loggish", "default" ], "providedExports": [ "loggish", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {ticks} from \"d3-array\";\nimport {format} from \"d3-format\";\nimport nice from \"./nice\";\nimport {copy, transformer} from \"./continuous\";\nimport {initRange} from \"./init\";\n\nfunction transformLog(x) {\n return Math.log(x);\n}\n\nfunction transformExp(x) {\n return Math.exp(x);\n}\n\nfunction transformLogn(x) {\n return -Math.log(-x);\n}\n\nfunction transformExpn(x) {\n return -Math.exp(-x);\n}\n\nfunction pow10(x) {\n return isFinite(x) ? +(\"1e\" + x) : x < 0 ? 0 : x;\n}\n\nfunction powp(base) {\n return base === 10 ? pow10\n : base === Math.E ? Math.exp\n : function(x) { return Math.pow(base, x); };\n}\n\nfunction logp(base) {\n return base === Math.E ? Math.log\n : base === 10 && Math.log10\n || base === 2 && Math.log2\n || (base = Math.log(base), function(x) { return Math.log(x) / base; });\n}\n\nfunction reflect(f) {\n return function(x) {\n return -f(-x);\n };\n}\n\nexport function loggish(transform) {\n var scale = transform(transformLog, transformExp),\n domain = scale.domain,\n base = 10,\n logs,\n pows;\n\n function rescale() {\n logs = logp(base), pows = powp(base);\n if (domain()[0] < 0) {\n logs = reflect(logs), pows = reflect(pows);\n transform(transformLogn, transformExpn);\n } else {\n transform(transformLog, transformExp);\n }\n return scale;\n }\n\n scale.base = function(_) {\n return arguments.length ? (base = +_, rescale()) : base;\n };\n\n scale.domain = function(_) {\n return arguments.length ? (domain(_), rescale()) : domain();\n };\n\n scale.ticks = function(count) {\n var d = domain(),\n u = d[0],\n v = d[d.length - 1],\n r;\n\n if (r = v < u) i = u, u = v, v = i;\n\n var i = logs(u),\n j = logs(v),\n p,\n k,\n t,\n n = count == null ? 10 : +count,\n z = [];\n\n if (!(base % 1) && j - i < n) {\n i = Math.round(i) - 1, j = Math.round(j) + 1;\n if (u > 0) for (; i < j; ++i) {\n for (k = 1, p = pows(i); k < base; ++k) {\n t = p * k;\n if (t < u) continue;\n if (t > v) break;\n z.push(t);\n }\n } else for (; i < j; ++i) {\n for (k = base - 1, p = pows(i); k >= 1; --k) {\n t = p * k;\n if (t < u) continue;\n if (t > v) break;\n z.push(t);\n }\n }\n } else {\n z = ticks(i, j, Math.min(j - i, n)).map(pows);\n }\n\n return r ? z.reverse() : z;\n };\n\n scale.tickFormat = function(count, specifier) {\n if (specifier == null) specifier = base === 10 ? \".0e\" : \",\";\n if (typeof specifier !== \"function\") specifier = format(specifier);\n if (count === Infinity) return specifier;\n if (count == null) count = 10;\n var k = Math.max(1, base * count / scale.ticks().length); // TODO fast estimate?\n return function(d) {\n var i = d / pows(Math.round(logs(d)));\n if (i * base < base - 0.5) i *= base;\n return i <= k ? specifier(d) : \"\";\n };\n };\n\n scale.nice = function() {\n return domain(nice(domain(), {\n floor: function(x) { return pows(Math.floor(logs(x))); },\n ceil: function(x) { return pows(Math.ceil(logs(x))); }\n }));\n };\n\n return scale;\n}\n\nexport default function log() {\n var scale = loggish(transformer()).domain([1, 10]);\n\n scale.copy = function() {\n return copy(scale, log()).base(scale.base());\n };\n\n initRange.apply(scale, arguments);\n\n return scale;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "name": "./node_modules/d3-scale/src/symlog.js", "index": 371, "index2": 367, "size": 839, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./symlog", "loc": "5:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./symlog", "loc": "6:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symlog", "loc": "18:0-20:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symlog", "loc": "18:0-20:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./symlog", "loc": "70:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./symlog", "loc": "74:14-23" } ], "usedExports": [ "symlogish", "default" ], "providedExports": [ "symlogish", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {linearish} from \"./linear\";\nimport {copy, transformer} from \"./continuous\";\nimport {initRange} from \"./init\";\n\nfunction transformSymlog(c) {\n return function(x) {\n return Math.sign(x) * Math.log1p(Math.abs(x / c));\n };\n}\n\nfunction transformSymexp(c) {\n return function(x) {\n return Math.sign(x) * Math.expm1(Math.abs(x)) * c;\n };\n}\n\nexport function symlogish(transform) {\n var c = 1, scale = transform(transformSymlog(c), transformSymexp(c));\n\n scale.constant = function(_) {\n return arguments.length ? transform(transformSymlog(c = +_), transformSymexp(c)) : c;\n };\n\n return linearish(scale);\n}\n\nexport default function symlog() {\n var scale = symlogish(transformer());\n\n scale.copy = function() {\n return copy(scale, symlog()).constant(scale.constant());\n };\n\n return initRange.apply(scale, arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "name": "./node_modules/d3-scale/src/pow.js", "index": 372, "index2": 368, "size": 1174, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./pow", "loc": "6:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./pow", "loc": "7:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pow", "loc": "27:0-30:15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pow", "loc": "27:0-30:15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pow", "loc": "27:0-30:15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./pow", "loc": "80:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./pow", "loc": "84:14-20" } ], "usedExports": [ "powish", "default", "sqrt" ], "providedExports": [ "powish", "default", "sqrt" ], "optimizationBailout": [], "depth": 4, "source": "import {linearish} from \"./linear\";\nimport {copy, identity, transformer} from \"./continuous\";\nimport {initRange} from \"./init\";\n\nfunction transformPow(exponent) {\n return function(x) {\n return x < 0 ? -Math.pow(-x, exponent) : Math.pow(x, exponent);\n };\n}\n\nfunction transformSqrt(x) {\n return x < 0 ? -Math.sqrt(-x) : Math.sqrt(x);\n}\n\nfunction transformSquare(x) {\n return x < 0 ? -x * x : x * x;\n}\n\nexport function powish(transform) {\n var scale = transform(identity, identity),\n exponent = 1;\n\n function rescale() {\n return exponent === 1 ? transform(identity, identity)\n : exponent === 0.5 ? transform(transformSqrt, transformSquare)\n : transform(transformPow(exponent), transformPow(1 / exponent));\n }\n\n scale.exponent = function(_) {\n return arguments.length ? (exponent = +_, rescale()) : exponent;\n };\n\n return linearish(scale);\n}\n\nexport default function pow() {\n var scale = powish(transformer());\n\n scale.copy = function() {\n return copy(scale, pow()).exponent(scale.exponent());\n };\n\n initRange.apply(scale, arguments);\n\n return scale;\n}\n\nexport function sqrt() {\n return pow.apply(null, arguments).exponent(0.5);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "name": "./node_modules/d3-scale/src/quantile.js", "index": 373, "index2": 369, "size": 1489, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quantile", "loc": "32:0-34:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quantile", "loc": "32:0-34:20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {ascending, bisect, quantile as threshold} from \"d3-array\";\nimport {slice} from \"./array\";\nimport {initRange} from \"./init\";\n\nexport default function quantile() {\n var domain = [],\n range = [],\n thresholds = [],\n unknown;\n\n function rescale() {\n var i = 0, n = Math.max(1, range.length);\n thresholds = new Array(n - 1);\n while (++i < n) thresholds[i - 1] = threshold(domain, i / n);\n return scale;\n }\n\n function scale(x) {\n return isNaN(x = +x) ? unknown : range[bisect(thresholds, x)];\n }\n\n scale.invertExtent = function(y) {\n var i = range.indexOf(y);\n return i < 0 ? [NaN, NaN] : [\n i > 0 ? thresholds[i - 1] : domain[0],\n i < thresholds.length ? thresholds[i] : domain[domain.length - 1]\n ];\n };\n\n scale.domain = function(_) {\n if (!arguments.length) return domain.slice();\n domain = [];\n for (var i = 0, n = _.length, d; i < n; ++i) if (d = _[i], d != null && !isNaN(d = +d)) domain.push(d);\n domain.sort(ascending);\n return rescale();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), rescale()) : range.slice();\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n scale.quantiles = function() {\n return thresholds.slice();\n };\n\n scale.copy = function() {\n return quantile()\n .domain(domain)\n .range(range)\n .unknown(unknown);\n };\n\n return initRange.apply(scale, arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "name": "./node_modules/d3-scale/src/quantize.js", "index": 374, "index2": 370, "size": 1341, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./quantize", "loc": "36:0-38:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./quantize", "loc": "36:0-38:20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {bisect} from \"d3-array\";\nimport {slice} from \"./array\";\nimport {linearish} from \"./linear\";\nimport {initRange} from \"./init\";\n\nexport default function quantize() {\n var x0 = 0,\n x1 = 1,\n n = 1,\n domain = [0.5],\n range = [0, 1],\n unknown;\n\n function scale(x) {\n return x <= x ? range[bisect(domain, x, 0, n)] : unknown;\n }\n\n function rescale() {\n var i = -1;\n domain = new Array(n);\n while (++i < n) domain[i] = ((i + 1) * x1 - (i - n) * x0) / (n + 1);\n return scale;\n }\n\n scale.domain = function(_) {\n return arguments.length ? (x0 = +_[0], x1 = +_[1], rescale()) : [x0, x1];\n };\n\n scale.range = function(_) {\n return arguments.length ? (n = (range = slice.call(_)).length - 1, rescale()) : range.slice();\n };\n\n scale.invertExtent = function(y) {\n var i = range.indexOf(y);\n return i < 0 ? [NaN, NaN]\n : i < 1 ? [x0, domain[0]]\n : i >= n ? [domain[n - 1], x1]\n : [domain[i - 1], domain[i]];\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : scale;\n };\n\n scale.thresholds = function() {\n return domain.slice();\n };\n\n scale.copy = function() {\n return quantize()\n .domain([x0, x1])\n .range(range)\n .unknown(unknown);\n };\n\n return initRange.apply(linearish(scale), arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "name": "./node_modules/d3-scale/src/threshold.js", "index": 375, "index2": 371, "size": 1012, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./threshold", "loc": "40:0-42:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./threshold", "loc": "40:0-42:21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {bisect} from \"d3-array\";\nimport {slice} from \"./array\";\nimport {initRange} from \"./init\";\n\nexport default function threshold() {\n var domain = [0.5],\n range = [0, 1],\n unknown,\n n = 1;\n\n function scale(x) {\n return x <= x ? range[bisect(domain, x, 0, n)] : unknown;\n }\n\n scale.domain = function(_) {\n return arguments.length ? (domain = slice.call(_), n = Math.min(domain.length, range.length - 1), scale) : domain.slice();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), n = Math.min(domain.length, range.length - 1), scale) : range.slice();\n };\n\n scale.invertExtent = function(y) {\n var i = range.indexOf(y);\n return [domain[i - 1], domain[i]];\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n scale.copy = function() {\n return threshold()\n .domain(domain)\n .range(range)\n .unknown(unknown);\n };\n\n return initRange.apply(scale, arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/interval.js", "name": "./node_modules/d3-time/src/interval.js", "index": 378, "index2": 372, "size": 2164, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-3:23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./interval.js", "loc": "1:0-3:23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcYear.js", "module": "./node_modules/d3-time/src/utcYear.js", "moduleName": "./node_modules/d3-time/src/utcYear.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMonth.js", "module": "./node_modules/d3-time/src/utcMonth.js", "moduleName": "./node_modules/d3-time/src/utcMonth.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "module": "./node_modules/d3-time/src/utcWeek.js", "moduleName": "./node_modules/d3-time/src/utcWeek.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcDay.js", "module": "./node_modules/d3-time/src/utcDay.js", "moduleName": "./node_modules/d3-time/src/utcDay.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "module": "./node_modules/d3-time/src/utcHour.js", "moduleName": "./node_modules/d3-time/src/utcHour.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "module": "./node_modules/d3-time/src/utcMinute.js", "moduleName": "./node_modules/d3-time/src/utcMinute.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/year.js", "module": "./node_modules/d3-time/src/year.js", "moduleName": "./node_modules/d3-time/src/year.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/month.js", "module": "./node_modules/d3-time/src/month.js", "moduleName": "./node_modules/d3-time/src/month.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "module": "./node_modules/d3-time/src/week.js", "moduleName": "./node_modules/d3-time/src/week.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "module": "./node_modules/d3-time/src/day.js", "moduleName": "./node_modules/d3-time/src/day.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "module": "./node_modules/d3-time/src/second.js", "moduleName": "./node_modules/d3-time/src/second.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/millisecond.js", "module": "./node_modules/d3-time/src/millisecond.js", "moduleName": "./node_modules/d3-time/src/millisecond.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/year.js", "module": "./node_modules/d3-time/src/year.js", "moduleName": "./node_modules/d3-time/src/year.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "3:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/month.js", "module": "./node_modules/d3-time/src/month.js", "moduleName": "./node_modules/d3-time/src/month.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "3:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcYear.js", "module": "./node_modules/d3-time/src/utcYear.js", "moduleName": "./node_modules/d3-time/src/utcYear.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "3:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMonth.js", "module": "./node_modules/d3-time/src/utcMonth.js", "moduleName": "./node_modules/d3-time/src/utcMonth.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "3:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/millisecond.js", "module": "./node_modules/d3-time/src/millisecond.js", "moduleName": "./node_modules/d3-time/src/millisecond.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "3:18-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "module": "./node_modules/d3-time/src/day.js", "moduleName": "./node_modules/d3-time/src/day.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:10-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcDay.js", "module": "./node_modules/d3-time/src/utcDay.js", "moduleName": "./node_modules/d3-time/src/utcDay.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "module": "./node_modules/d3-time/src/second.js", "moduleName": "./node_modules/d3-time/src/second.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "module": "./node_modules/d3-time/src/utcHour.js", "moduleName": "./node_modules/d3-time/src/utcHour.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:14-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "module": "./node_modules/d3-time/src/utcMinute.js", "moduleName": "./node_modules/d3-time/src/utcMinute.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "4:16-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "module": "./node_modules/d3-time/src/utcWeek.js", "moduleName": "./node_modules/d3-time/src/utcWeek.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "5:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "module": "./node_modules/d3-time/src/week.js", "moduleName": "./node_modules/d3-time/src/week.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "5:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/millisecond.js", "module": "./node_modules/d3-time/src/millisecond.js", "moduleName": "./node_modules/d3-time/src/millisecond.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "16:9-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcYear.js", "module": "./node_modules/d3-time/src/utcYear.js", "moduleName": "./node_modules/d3-time/src/utcYear.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "16:59-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/year.js", "module": "./node_modules/d3-time/src/year.js", "moduleName": "./node_modules/d3-time/src/year.js", "type": "harmony import specifier", "userRequest": "./interval.js", "loc": "16:59-67" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var t0 = new Date,\n t1 = new Date;\n\nexport default function newInterval(floori, offseti, count, field) {\n\n function interval(date) {\n return floori(date = arguments.length === 0 ? new Date : new Date(+date)), date;\n }\n\n interval.floor = function(date) {\n return floori(date = new Date(+date)), date;\n };\n\n interval.ceil = function(date) {\n return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;\n };\n\n interval.round = function(date) {\n var d0 = interval(date),\n d1 = interval.ceil(date);\n return date - d0 < d1 - date ? d0 : d1;\n };\n\n interval.offset = function(date, step) {\n return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;\n };\n\n interval.range = function(start, stop, step) {\n var range = [], previous;\n start = interval.ceil(start);\n step = step == null ? 1 : Math.floor(step);\n if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date\n do range.push(previous = new Date(+start)), offseti(start, step), floori(start);\n while (previous < start && start < stop);\n return range;\n };\n\n interval.filter = function(test) {\n return newInterval(function(date) {\n if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);\n }, function(date, step) {\n if (date >= date) {\n if (step < 0) while (++step <= 0) {\n while (offseti(date, -1), !test(date)) {} // eslint-disable-line no-empty\n } else while (--step >= 0) {\n while (offseti(date, +1), !test(date)) {} // eslint-disable-line no-empty\n }\n }\n });\n };\n\n if (count) {\n interval.count = function(start, end) {\n t0.setTime(+start), t1.setTime(+end);\n floori(t0), floori(t1);\n return Math.floor(count(t0, t1));\n };\n\n interval.every = function(step) {\n step = Math.floor(step);\n return !isFinite(step) || !(step > 0) ? null\n : !(step > 1) ? interval\n : interval.filter(field\n ? function(d) { return field(d) % step === 0; }\n : function(d) { return interval.count(0, d) % step === 0; });\n };\n }\n\n return interval;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/year.js", "name": "./node_modules/d3-time/src/year.js", "index": 377, "index2": 373, "size": 757, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./year.js", "loc": "58:0-61:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./year.js", "loc": "58:0-61:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./year.js", "loc": "58:0-61:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:34-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "521:31-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "550:30-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "556:32-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "556:51-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "564:30-38" } ], "usedExports": [ "default", "years" ], "providedExports": [ "default", "years" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\n\nvar year = interval(function(date) {\n date.setMonth(0, 1);\n date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setFullYear(date.getFullYear() + step);\n}, function(start, end) {\n return end.getFullYear() - start.getFullYear();\n}, function(date) {\n return date.getFullYear();\n});\n\n// An optimized implementation for this simple case.\nyear.every = function(k) {\n return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : interval(function(date) {\n date.setFullYear(Math.floor(date.getFullYear() / k) * k);\n date.setMonth(0, 1);\n date.setHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setFullYear(date.getFullYear() + step * k);\n });\n};\n\nexport default year;\nexport var years = year.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/month.js", "name": "./node_modules/d3-time/src/month.js", "index": 379, "index2": 374, "size": 417, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./month.js", "loc": "53:0-56:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./month.js", "loc": "53:0-56:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./month.js", "loc": "53:0-56:20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:44-53" } ], "usedExports": [ "default", "months" ], "providedExports": [ "default", "months" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\n\nvar month = interval(function(date) {\n date.setDate(1);\n date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setMonth(date.getMonth() + step);\n}, function(start, end) {\n return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;\n}, function(date) {\n return date.getMonth();\n});\n\nexport default month;\nexport var months = month.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "name": "./node_modules/d3-time/src/week.js", "index": 380, "index2": 376, "size": 969, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./week.js", "loc": "34:0-51:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:55-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "225:40-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "225:64-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "550:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "555:32-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "555:50-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "556:13-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "564:13-23" } ], "usedExports": [ "monday", "sunday", "thursday", "sundays", "mondays", "tuesday", "tuesdays", "wednesday", "wednesdays", "thursdays", "friday", "fridays", "saturday", "saturdays" ], "providedExports": [ "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sundays", "mondays", "tuesdays", "wednesdays", "thursdays", "fridays", "saturdays" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationMinute, durationWeek} from \"./duration.js\";\n\nfunction weekday(i) {\n return interval(function(date) {\n date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);\n date.setHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setDate(date.getDate() + step * 7);\n }, function(start, end) {\n return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationWeek;\n });\n}\n\nexport var sunday = weekday(0);\nexport var monday = weekday(1);\nexport var tuesday = weekday(2);\nexport var wednesday = weekday(3);\nexport var thursday = weekday(4);\nexport var friday = weekday(5);\nexport var saturday = weekday(6);\n\nexport var sundays = sunday.range;\nexport var mondays = monday.range;\nexport var tuesdays = tuesday.range;\nexport var wednesdays = wednesday.range;\nexport var thursdays = thursday.range;\nexport var fridays = friday.range;\nexport var saturdays = saturday.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "name": "./node_modules/d3-time/src/day.js", "index": 382, "index2": 377, "size": 468, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./day.js", "loc": "29:0-32:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./day.js", "loc": "29:0-32:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./day.js", "loc": "29:0-32:18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:65-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "226:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "521:17-24" } ], "usedExports": [ "default", "days" ], "providedExports": [ "default", "days" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationDay, durationMinute} from \"./duration.js\";\n\nvar day = interval(function(date) {\n date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setDate(date.getDate() + step);\n}, function(start, end) {\n return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationDay;\n}, function(date) {\n return date.getDate() - 1;\n});\n\nexport default day;\nexport var days = day.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "name": "./node_modules/d3-time/src/hour.js", "index": 383, "index2": 378, "size": 512, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./hour.js", "loc": "24:0-27:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hour.js", "loc": "24:0-27:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./hour.js", "loc": "24:0-27:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:74-82" } ], "usedExports": [ "default", "hours" ], "providedExports": [ "default", "hours" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationHour, durationMinute, durationSecond} from \"./duration.js\";\n\nvar hour = interval(function(date) {\n date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond - date.getMinutes() * durationMinute);\n}, function(date, step) {\n date.setTime(+date + step * durationHour);\n}, function(start, end) {\n return (end - start) / durationHour;\n}, function(date) {\n return date.getHours();\n});\n\nexport default hour;\nexport var hours = hour.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "name": "./node_modules/d3-time/src/minute.js", "index": 384, "index2": 379, "size": 475, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./minute.js", "loc": "19:0-22:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./minute.js", "loc": "19:0-22:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./minute.js", "loc": "19:0-22:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:84-94" } ], "usedExports": [ "default", "minutes" ], "providedExports": [ "default", "minutes" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationMinute, durationSecond} from \"./duration.js\";\n\nvar minute = interval(function(date) {\n date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond);\n}, function(date, step) {\n date.setTime(+date + step * durationMinute);\n}, function(start, end) {\n return (end - start) / durationMinute;\n}, function(date) {\n return date.getMinutes();\n});\n\nexport default minute;\nexport var minutes = minute.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "name": "./node_modules/d3-time/src/second.js", "index": 385, "index2": 380, "size": 425, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:90-99" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./second.js", "loc": "12:0-17:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./second.js", "loc": "12:0-17:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./second.js", "loc": "12:0-17:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./second.js", "loc": "12:0-17:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./second.js", "loc": "12:0-17:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:96-106" } ], "usedExports": [ "default", "seconds" ], "providedExports": [ "default", "seconds" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationSecond} from \"./duration.js\";\n\nvar second = interval(function(date) {\n date.setTime(date - date.getMilliseconds());\n}, function(date, step) {\n date.setTime(+date + step * durationSecond);\n}, function(start, end) {\n return (end - start) / durationSecond;\n}, function(date) {\n return date.getUTCSeconds();\n});\n\nexport default second;\nexport var seconds = second.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/millisecond.js", "name": "./node_modules/d3-time/src/millisecond.js", "index": 386, "index2": 381, "size": 671, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./millisecond.js", "loc": "5:0-10:26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./millisecond.js", "loc": "5:0-10:26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./millisecond.js", "loc": "5:0-10:26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./millisecond.js", "loc": "5:0-10:26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./millisecond.js", "loc": "5:0-10:26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:101-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "134:108-123" } ], "usedExports": [ "default", "milliseconds" ], "providedExports": [ "default", "milliseconds" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\n\nvar millisecond = interval(function() {\n // noop\n}, function(date, step) {\n date.setTime(+date + step);\n}, function(start, end) {\n return end - start;\n});\n\n// An optimized implementation for this simple case.\nmillisecond.every = function(k) {\n k = Math.floor(k);\n if (!isFinite(k) || !(k > 0)) return null;\n if (!(k > 1)) return millisecond;\n return interval(function(date) {\n date.setTime(Math.floor(date / k) * k);\n }, function(date, step) {\n date.setTime(+date + step * k);\n }, function(start, end) {\n return (end - start) / k;\n });\n};\n\nexport default millisecond;\nexport var milliseconds = millisecond.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "name": "./node_modules/d3-time/src/utcWeek.js", "index": 389, "index2": 382, "size": 985, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:53-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcWeek.js", "loc": "78:0-95:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "218:40-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "218:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "624:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "629:32-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "629:49-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "630:13-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "638:13-22" } ], "usedExports": [ "utcSunday", "utcMonday", "utcThursday", "utcSundays", "utcMondays", "utcTuesday", "utcTuesdays", "utcWednesday", "utcWednesdays", "utcThursdays", "utcFriday", "utcFridays", "utcSaturday", "utcSaturdays" ], "providedExports": [ "utcSunday", "utcMonday", "utcTuesday", "utcWednesday", "utcThursday", "utcFriday", "utcSaturday", "utcSundays", "utcMondays", "utcTuesdays", "utcWednesdays", "utcThursdays", "utcFridays", "utcSaturdays" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationWeek} from \"./duration.js\";\n\nfunction utcWeekday(i) {\n return interval(function(date) {\n date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);\n date.setUTCHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setUTCDate(date.getUTCDate() + step * 7);\n }, function(start, end) {\n return (end - start) / durationWeek;\n });\n}\n\nexport var utcSunday = utcWeekday(0);\nexport var utcMonday = utcWeekday(1);\nexport var utcTuesday = utcWeekday(2);\nexport var utcWednesday = utcWeekday(3);\nexport var utcThursday = utcWeekday(4);\nexport var utcFriday = utcWeekday(5);\nexport var utcSaturday = utcWeekday(6);\n\nexport var utcSundays = utcSunday.range;\nexport var utcMondays = utcMonday.range;\nexport var utcTuesdays = utcTuesday.range;\nexport var utcWednesdays = utcWednesday.range;\nexport var utcThursdays = utcThursday.range;\nexport var utcFridays = utcFriday.range;\nexport var utcSaturdays = utcSaturday.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcDay.js", "name": "./node_modules/d3-time/src/utcDay.js", "index": 390, "index2": 383, "size": 403, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:62-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcDay.js", "loc": "73:0-76:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcDay.js", "loc": "73:0-76:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcDay.js", "loc": "73:0-76:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "219:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "595:17-23" } ], "usedExports": [ "default", "utcDays" ], "providedExports": [ "default", "utcDays" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationDay} from \"./duration.js\";\n\nvar utcDay = interval(function(date) {\n date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setUTCDate(date.getUTCDate() + step);\n}, function(start, end) {\n return (end - start) / durationDay;\n}, function(date) {\n return date.getUTCDate() - 1;\n});\n\nexport default utcDay;\nexport var utcDays = utcDay.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcYear.js", "name": "./node_modules/d3-time/src/utcYear.js", "index": 391, "index2": 384, "size": 811, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:34-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcYear.js", "loc": "102:0-105:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcYear.js", "loc": "102:0-105:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcYear.js", "loc": "102:0-105:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "595:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "624:29-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "630:31-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "630:49-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "module": "./node_modules/d3-time-format/src/locale.js", "moduleName": "./node_modules/d3-time-format/src/locale.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "638:29-36" } ], "usedExports": [ "default", "utcYears" ], "providedExports": [ "default", "utcYears" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\n\nvar utcYear = interval(function(date) {\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setUTCFullYear(date.getUTCFullYear() + step);\n}, function(start, end) {\n return end.getUTCFullYear() - start.getUTCFullYear();\n}, function(date) {\n return date.getUTCFullYear();\n});\n\n// An optimized implementation for this simple case.\nutcYear.every = function(k) {\n return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : interval(function(date) {\n date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setUTCFullYear(date.getUTCFullYear() + step * k);\n });\n};\n\nexport default utcYear;\nexport var utcYears = utcYear.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/locale.js", "name": "./node_modules/d3-time-format/src/locale.js", "index": 388, "index2": 385, "size": 17799, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/defaultLocale.js", "issuerId": null, "issuerName": "./node_modules/d3-time-format/src/defaultLocale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "name": "./node_modules/d3-time-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/defaultLocale.js", "name": "./node_modules/d3-time-format/src/defaultLocale.js", "profile": { "factory": 418, "building": 18, "dependencies": 0 } } ], "profile": { "factory": 31, "building": 51, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/defaultLocale.js", "module": "./node_modules/d3-time-format/src/defaultLocale.js", "moduleName": "./node_modules/d3-time-format/src/defaultLocale.js", "type": "harmony side effect evaluation", "userRequest": "./locale.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./locale.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./locale.js", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/defaultLocale.js", "module": "./node_modules/d3-time-format/src/defaultLocale.js", "moduleName": "./node_modules/d3-time-format/src/defaultLocale.js", "type": "harmony import specifier", "userRequest": "./locale.js", "loc": "21:11-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {\n timeDay,\n timeSunday,\n timeMonday,\n timeThursday,\n timeYear,\n utcDay,\n utcSunday,\n utcMonday,\n utcThursday,\n utcYear\n} from \"d3-time\";\n\nfunction localDate(d) {\n if (0 <= d.y && d.y < 100) {\n var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);\n date.setFullYear(d.y);\n return date;\n }\n return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);\n}\n\nfunction utcDate(d) {\n if (0 <= d.y && d.y < 100) {\n var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));\n date.setUTCFullYear(d.y);\n return date;\n }\n return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));\n}\n\nfunction newDate(y, m, d) {\n return {y: y, m: m, d: d, H: 0, M: 0, S: 0, L: 0};\n}\n\nexport default function formatLocale(locale) {\n var locale_dateTime = locale.dateTime,\n locale_date = locale.date,\n locale_time = locale.time,\n locale_periods = locale.periods,\n locale_weekdays = locale.days,\n locale_shortWeekdays = locale.shortDays,\n locale_months = locale.months,\n locale_shortMonths = locale.shortMonths;\n\n var periodRe = formatRe(locale_periods),\n periodLookup = formatLookup(locale_periods),\n weekdayRe = formatRe(locale_weekdays),\n weekdayLookup = formatLookup(locale_weekdays),\n shortWeekdayRe = formatRe(locale_shortWeekdays),\n shortWeekdayLookup = formatLookup(locale_shortWeekdays),\n monthRe = formatRe(locale_months),\n monthLookup = formatLookup(locale_months),\n shortMonthRe = formatRe(locale_shortMonths),\n shortMonthLookup = formatLookup(locale_shortMonths);\n\n var formats = {\n \"a\": formatShortWeekday,\n \"A\": formatWeekday,\n \"b\": formatShortMonth,\n \"B\": formatMonth,\n \"c\": null,\n \"d\": formatDayOfMonth,\n \"e\": formatDayOfMonth,\n \"f\": formatMicroseconds,\n \"H\": formatHour24,\n \"I\": formatHour12,\n \"j\": formatDayOfYear,\n \"L\": formatMilliseconds,\n \"m\": formatMonthNumber,\n \"M\": formatMinutes,\n \"p\": formatPeriod,\n \"q\": formatQuarter,\n \"Q\": formatUnixTimestamp,\n \"s\": formatUnixTimestampSeconds,\n \"S\": formatSeconds,\n \"u\": formatWeekdayNumberMonday,\n \"U\": formatWeekNumberSunday,\n \"V\": formatWeekNumberISO,\n \"w\": formatWeekdayNumberSunday,\n \"W\": formatWeekNumberMonday,\n \"x\": null,\n \"X\": null,\n \"y\": formatYear,\n \"Y\": formatFullYear,\n \"Z\": formatZone,\n \"%\": formatLiteralPercent\n };\n\n var utcFormats = {\n \"a\": formatUTCShortWeekday,\n \"A\": formatUTCWeekday,\n \"b\": formatUTCShortMonth,\n \"B\": formatUTCMonth,\n \"c\": null,\n \"d\": formatUTCDayOfMonth,\n \"e\": formatUTCDayOfMonth,\n \"f\": formatUTCMicroseconds,\n \"H\": formatUTCHour24,\n \"I\": formatUTCHour12,\n \"j\": formatUTCDayOfYear,\n \"L\": formatUTCMilliseconds,\n \"m\": formatUTCMonthNumber,\n \"M\": formatUTCMinutes,\n \"p\": formatUTCPeriod,\n \"q\": formatUTCQuarter,\n \"Q\": formatUnixTimestamp,\n \"s\": formatUnixTimestampSeconds,\n \"S\": formatUTCSeconds,\n \"u\": formatUTCWeekdayNumberMonday,\n \"U\": formatUTCWeekNumberSunday,\n \"V\": formatUTCWeekNumberISO,\n \"w\": formatUTCWeekdayNumberSunday,\n \"W\": formatUTCWeekNumberMonday,\n \"x\": null,\n \"X\": null,\n \"y\": formatUTCYear,\n \"Y\": formatUTCFullYear,\n \"Z\": formatUTCZone,\n \"%\": formatLiteralPercent\n };\n\n var parses = {\n \"a\": parseShortWeekday,\n \"A\": parseWeekday,\n \"b\": parseShortMonth,\n \"B\": parseMonth,\n \"c\": parseLocaleDateTime,\n \"d\": parseDayOfMonth,\n \"e\": parseDayOfMonth,\n \"f\": parseMicroseconds,\n \"H\": parseHour24,\n \"I\": parseHour24,\n \"j\": parseDayOfYear,\n \"L\": parseMilliseconds,\n \"m\": parseMonthNumber,\n \"M\": parseMinutes,\n \"p\": parsePeriod,\n \"q\": parseQuarter,\n \"Q\": parseUnixTimestamp,\n \"s\": parseUnixTimestampSeconds,\n \"S\": parseSeconds,\n \"u\": parseWeekdayNumberMonday,\n \"U\": parseWeekNumberSunday,\n \"V\": parseWeekNumberISO,\n \"w\": parseWeekdayNumberSunday,\n \"W\": parseWeekNumberMonday,\n \"x\": parseLocaleDate,\n \"X\": parseLocaleTime,\n \"y\": parseYear,\n \"Y\": parseFullYear,\n \"Z\": parseZone,\n \"%\": parseLiteralPercent\n };\n\n // These recursive directive definitions must be deferred.\n formats.x = newFormat(locale_date, formats);\n formats.X = newFormat(locale_time, formats);\n formats.c = newFormat(locale_dateTime, formats);\n utcFormats.x = newFormat(locale_date, utcFormats);\n utcFormats.X = newFormat(locale_time, utcFormats);\n utcFormats.c = newFormat(locale_dateTime, utcFormats);\n\n function newFormat(specifier, formats) {\n return function(date) {\n var string = [],\n i = -1,\n j = 0,\n n = specifier.length,\n c,\n pad,\n format;\n\n if (!(date instanceof Date)) date = new Date(+date);\n\n while (++i < n) {\n if (specifier.charCodeAt(i) === 37) {\n string.push(specifier.slice(j, i));\n if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);\n else pad = c === \"e\" ? \" \" : \"0\";\n if (format = formats[c]) c = format(date, pad);\n string.push(c);\n j = i + 1;\n }\n }\n\n string.push(specifier.slice(j, i));\n return string.join(\"\");\n };\n }\n\n function newParse(specifier, Z) {\n return function(string) {\n var d = newDate(1900, undefined, 1),\n i = parseSpecifier(d, specifier, string += \"\", 0),\n week, day;\n if (i != string.length) return null;\n\n // If a UNIX timestamp is specified, return it.\n if (\"Q\" in d) return new Date(d.Q);\n if (\"s\" in d) return new Date(d.s * 1000 + (\"L\" in d ? d.L : 0));\n\n // If this is utcParse, never use the local timezone.\n if (Z && !(\"Z\" in d)) d.Z = 0;\n\n // The am-pm flag is 0 for AM, and 1 for PM.\n if (\"p\" in d) d.H = d.H % 12 + d.p * 12;\n\n // If the month was not specified, inherit from the quarter.\n if (d.m === undefined) d.m = \"q\" in d ? d.q : 0;\n\n // Convert day-of-week and week-of-year to day-of-year.\n if (\"V\" in d) {\n if (d.V < 1 || d.V > 53) return null;\n if (!(\"w\" in d)) d.w = 1;\n if (\"Z\" in d) {\n week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();\n week = day > 4 || day === 0 ? utcMonday.ceil(week) : utcMonday(week);\n week = utcDay.offset(week, (d.V - 1) * 7);\n d.y = week.getUTCFullYear();\n d.m = week.getUTCMonth();\n d.d = week.getUTCDate() + (d.w + 6) % 7;\n } else {\n week = localDate(newDate(d.y, 0, 1)), day = week.getDay();\n week = day > 4 || day === 0 ? timeMonday.ceil(week) : timeMonday(week);\n week = timeDay.offset(week, (d.V - 1) * 7);\n d.y = week.getFullYear();\n d.m = week.getMonth();\n d.d = week.getDate() + (d.w + 6) % 7;\n }\n } else if (\"W\" in d || \"U\" in d) {\n if (!(\"w\" in d)) d.w = \"u\" in d ? d.u % 7 : \"W\" in d ? 1 : 0;\n day = \"Z\" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();\n d.m = 0;\n d.d = \"W\" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7;\n }\n\n // If a time zone is specified, all fields are interpreted as UTC and then\n // offset according to the specified time zone.\n if (\"Z\" in d) {\n d.H += d.Z / 100 | 0;\n d.M += d.Z % 100;\n return utcDate(d);\n }\n\n // Otherwise, all fields are in local time.\n return localDate(d);\n };\n }\n\n function parseSpecifier(d, specifier, string, j) {\n var i = 0,\n n = specifier.length,\n m = string.length,\n c,\n parse;\n\n while (i < n) {\n if (j >= m) return -1;\n c = specifier.charCodeAt(i++);\n if (c === 37) {\n c = specifier.charAt(i++);\n parse = parses[c in pads ? specifier.charAt(i++) : c];\n if (!parse || ((j = parse(d, string, j)) < 0)) return -1;\n } else if (c != string.charCodeAt(j++)) {\n return -1;\n }\n }\n\n return j;\n }\n\n function parsePeriod(d, string, i) {\n var n = periodRe.exec(string.slice(i));\n return n ? (d.p = periodLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseShortWeekday(d, string, i) {\n var n = shortWeekdayRe.exec(string.slice(i));\n return n ? (d.w = shortWeekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseWeekday(d, string, i) {\n var n = weekdayRe.exec(string.slice(i));\n return n ? (d.w = weekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseShortMonth(d, string, i) {\n var n = shortMonthRe.exec(string.slice(i));\n return n ? (d.m = shortMonthLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseMonth(d, string, i) {\n var n = monthRe.exec(string.slice(i));\n return n ? (d.m = monthLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseLocaleDateTime(d, string, i) {\n return parseSpecifier(d, locale_dateTime, string, i);\n }\n\n function parseLocaleDate(d, string, i) {\n return parseSpecifier(d, locale_date, string, i);\n }\n\n function parseLocaleTime(d, string, i) {\n return parseSpecifier(d, locale_time, string, i);\n }\n\n function formatShortWeekday(d) {\n return locale_shortWeekdays[d.getDay()];\n }\n\n function formatWeekday(d) {\n return locale_weekdays[d.getDay()];\n }\n\n function formatShortMonth(d) {\n return locale_shortMonths[d.getMonth()];\n }\n\n function formatMonth(d) {\n return locale_months[d.getMonth()];\n }\n\n function formatPeriod(d) {\n return locale_periods[+(d.getHours() >= 12)];\n }\n\n function formatQuarter(d) {\n return 1 + ~~(d.getMonth() / 3);\n }\n\n function formatUTCShortWeekday(d) {\n return locale_shortWeekdays[d.getUTCDay()];\n }\n\n function formatUTCWeekday(d) {\n return locale_weekdays[d.getUTCDay()];\n }\n\n function formatUTCShortMonth(d) {\n return locale_shortMonths[d.getUTCMonth()];\n }\n\n function formatUTCMonth(d) {\n return locale_months[d.getUTCMonth()];\n }\n\n function formatUTCPeriod(d) {\n return locale_periods[+(d.getUTCHours() >= 12)];\n }\n\n function formatUTCQuarter(d) {\n return 1 + ~~(d.getUTCMonth() / 3);\n }\n\n return {\n format: function(specifier) {\n var f = newFormat(specifier += \"\", formats);\n f.toString = function() { return specifier; };\n return f;\n },\n parse: function(specifier) {\n var p = newParse(specifier += \"\", false);\n p.toString = function() { return specifier; };\n return p;\n },\n utcFormat: function(specifier) {\n var f = newFormat(specifier += \"\", utcFormats);\n f.toString = function() { return specifier; };\n return f;\n },\n utcParse: function(specifier) {\n var p = newParse(specifier += \"\", true);\n p.toString = function() { return specifier; };\n return p;\n }\n };\n}\n\nvar pads = {\"-\": \"\", \"_\": \" \", \"0\": \"0\"},\n numberRe = /^\\s*\\d+/, // note: ignores next directive\n percentRe = /^%/,\n requoteRe = /[\\\\^$*+?|[\\]().{}]/g;\n\nfunction pad(value, fill, width) {\n var sign = value < 0 ? \"-\" : \"\",\n string = (sign ? -value : value) + \"\",\n length = string.length;\n return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);\n}\n\nfunction requote(s) {\n return s.replace(requoteRe, \"\\\\$&\");\n}\n\nfunction formatRe(names) {\n return new RegExp(\"^(?:\" + names.map(requote).join(\"|\") + \")\", \"i\");\n}\n\nfunction formatLookup(names) {\n var map = {}, i = -1, n = names.length;\n while (++i < n) map[names[i].toLowerCase()] = i;\n return map;\n}\n\nfunction parseWeekdayNumberSunday(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 1));\n return n ? (d.w = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekdayNumberMonday(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 1));\n return n ? (d.u = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekNumberSunday(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.U = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekNumberISO(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.V = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekNumberMonday(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.W = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseFullYear(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 4));\n return n ? (d.y = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseYear(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1;\n}\n\nfunction parseZone(d, string, i) {\n var n = /^(Z)|([+-]\\d\\d)(?::?(\\d\\d))?/.exec(string.slice(i, i + 6));\n return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || \"00\")), i + n[0].length) : -1;\n}\n\nfunction parseQuarter(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 1));\n return n ? (d.q = n[0] * 3 - 3, i + n[0].length) : -1;\n}\n\nfunction parseMonthNumber(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.m = n[0] - 1, i + n[0].length) : -1;\n}\n\nfunction parseDayOfMonth(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.d = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseDayOfYear(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 3));\n return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseHour24(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.H = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseMinutes(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.M = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseSeconds(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.S = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseMilliseconds(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 3));\n return n ? (d.L = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseMicroseconds(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 6));\n return n ? (d.L = Math.floor(n[0] / 1000), i + n[0].length) : -1;\n}\n\nfunction parseLiteralPercent(d, string, i) {\n var n = percentRe.exec(string.slice(i, i + 1));\n return n ? i + n[0].length : -1;\n}\n\nfunction parseUnixTimestamp(d, string, i) {\n var n = numberRe.exec(string.slice(i));\n return n ? (d.Q = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseUnixTimestampSeconds(d, string, i) {\n var n = numberRe.exec(string.slice(i));\n return n ? (d.s = +n[0], i + n[0].length) : -1;\n}\n\nfunction formatDayOfMonth(d, p) {\n return pad(d.getDate(), p, 2);\n}\n\nfunction formatHour24(d, p) {\n return pad(d.getHours(), p, 2);\n}\n\nfunction formatHour12(d, p) {\n return pad(d.getHours() % 12 || 12, p, 2);\n}\n\nfunction formatDayOfYear(d, p) {\n return pad(1 + timeDay.count(timeYear(d), d), p, 3);\n}\n\nfunction formatMilliseconds(d, p) {\n return pad(d.getMilliseconds(), p, 3);\n}\n\nfunction formatMicroseconds(d, p) {\n return formatMilliseconds(d, p) + \"000\";\n}\n\nfunction formatMonthNumber(d, p) {\n return pad(d.getMonth() + 1, p, 2);\n}\n\nfunction formatMinutes(d, p) {\n return pad(d.getMinutes(), p, 2);\n}\n\nfunction formatSeconds(d, p) {\n return pad(d.getSeconds(), p, 2);\n}\n\nfunction formatWeekdayNumberMonday(d) {\n var day = d.getDay();\n return day === 0 ? 7 : day;\n}\n\nfunction formatWeekNumberSunday(d, p) {\n return pad(timeSunday.count(timeYear(d) - 1, d), p, 2);\n}\n\nfunction formatWeekNumberISO(d, p) {\n var day = d.getDay();\n d = (day >= 4 || day === 0) ? timeThursday(d) : timeThursday.ceil(d);\n return pad(timeThursday.count(timeYear(d), d) + (timeYear(d).getDay() === 4), p, 2);\n}\n\nfunction formatWeekdayNumberSunday(d) {\n return d.getDay();\n}\n\nfunction formatWeekNumberMonday(d, p) {\n return pad(timeMonday.count(timeYear(d) - 1, d), p, 2);\n}\n\nfunction formatYear(d, p) {\n return pad(d.getFullYear() % 100, p, 2);\n}\n\nfunction formatFullYear(d, p) {\n return pad(d.getFullYear() % 10000, p, 4);\n}\n\nfunction formatZone(d) {\n var z = d.getTimezoneOffset();\n return (z > 0 ? \"-\" : (z *= -1, \"+\"))\n + pad(z / 60 | 0, \"0\", 2)\n + pad(z % 60, \"0\", 2);\n}\n\nfunction formatUTCDayOfMonth(d, p) {\n return pad(d.getUTCDate(), p, 2);\n}\n\nfunction formatUTCHour24(d, p) {\n return pad(d.getUTCHours(), p, 2);\n}\n\nfunction formatUTCHour12(d, p) {\n return pad(d.getUTCHours() % 12 || 12, p, 2);\n}\n\nfunction formatUTCDayOfYear(d, p) {\n return pad(1 + utcDay.count(utcYear(d), d), p, 3);\n}\n\nfunction formatUTCMilliseconds(d, p) {\n return pad(d.getUTCMilliseconds(), p, 3);\n}\n\nfunction formatUTCMicroseconds(d, p) {\n return formatUTCMilliseconds(d, p) + \"000\";\n}\n\nfunction formatUTCMonthNumber(d, p) {\n return pad(d.getUTCMonth() + 1, p, 2);\n}\n\nfunction formatUTCMinutes(d, p) {\n return pad(d.getUTCMinutes(), p, 2);\n}\n\nfunction formatUTCSeconds(d, p) {\n return pad(d.getUTCSeconds(), p, 2);\n}\n\nfunction formatUTCWeekdayNumberMonday(d) {\n var dow = d.getUTCDay();\n return dow === 0 ? 7 : dow;\n}\n\nfunction formatUTCWeekNumberSunday(d, p) {\n return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);\n}\n\nfunction formatUTCWeekNumberISO(d, p) {\n var day = d.getUTCDay();\n d = (day >= 4 || day === 0) ? utcThursday(d) : utcThursday.ceil(d);\n return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);\n}\n\nfunction formatUTCWeekdayNumberSunday(d) {\n return d.getUTCDay();\n}\n\nfunction formatUTCWeekNumberMonday(d, p) {\n return pad(utcMonday.count(utcYear(d) - 1, d), p, 2);\n}\n\nfunction formatUTCYear(d, p) {\n return pad(d.getUTCFullYear() % 100, p, 2);\n}\n\nfunction formatUTCFullYear(d, p) {\n return pad(d.getUTCFullYear() % 10000, p, 4);\n}\n\nfunction formatUTCZone() {\n return \"+0000\";\n}\n\nfunction formatLiteralPercent() {\n return \"%\";\n}\n\nfunction formatUnixTimestamp(d) {\n return +d;\n}\n\nfunction formatUnixTimestampSeconds(d) {\n return Math.floor(+d / 1000);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/defaultLocale.js", "name": "./node_modules/d3-time-format/src/defaultLocale.js", "index": 387, "index2": 386, "size": 870, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "name": "./node_modules/d3-time-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 418, "building": 18, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./defaultLocale.js", "loc": "1:0-114" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoFormat.js", "module": "./node_modules/d3-time-format/src/isoFormat.js", "moduleName": "./node_modules/d3-time-format/src/isoFormat.js", "type": "harmony side effect evaluation", "userRequest": "./defaultLocale.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoParse.js", "module": "./node_modules/d3-time-format/src/isoParse.js", "moduleName": "./node_modules/d3-time-format/src/isoParse.js", "type": "harmony side effect evaluation", "userRequest": "./defaultLocale.js", "loc": "2:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time-format", "loc": "7:117-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoParse.js", "module": "./node_modules/d3-time-format/src/isoParse.js", "moduleName": "./node_modules/d3-time-format/src/isoParse.js", "type": "harmony import specifier", "userRequest": "./defaultLocale.js", "loc": "11:6-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoFormat.js", "module": "./node_modules/d3-time-format/src/isoFormat.js", "moduleName": "./node_modules/d3-time-format/src/isoFormat.js", "type": "harmony import specifier", "userRequest": "./defaultLocale.js", "loc": "11:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time-format", "loc": "134:125-135" } ], "usedExports": [ "utcFormat", "timeFormat", "default", "timeParse", "utcParse" ], "providedExports": [ "timeFormat", "timeParse", "utcFormat", "utcParse", "default" ], "optimizationBailout": [], "depth": 4, "source": "import formatLocale from \"./locale.js\";\n\nvar locale;\nexport var timeFormat;\nexport var timeParse;\nexport var utcFormat;\nexport var utcParse;\n\ndefaultLocale({\n dateTime: \"%x, %X\",\n date: \"%-m/%-d/%Y\",\n time: \"%-I:%M:%S %p\",\n periods: [\"AM\", \"PM\"],\n days: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"],\n shortDays: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n months: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"],\n shortMonths: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"]\n});\n\nexport default function defaultLocale(definition) {\n locale = formatLocale(definition);\n timeFormat = locale.format;\n timeParse = locale.parse;\n utcFormat = locale.utcFormat;\n utcParse = locale.utcParse;\n return locale;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "name": "./node_modules/d3-scale/src/time.js", "index": 376, "index2": 387, "size": 4524, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony side effect evaluation", "userRequest": "./time", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "userRequest": "./time", "loc": "7:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./time", "loc": "44:0-46:16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./time", "loc": "44:0-46:16" } ], "usedExports": [ "calendar", "default" ], "providedExports": [ "calendar", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {bisector, tickStep} from \"d3-array\";\nimport {timeYear, timeMonth, timeWeek, timeDay, timeHour, timeMinute, timeSecond, timeMillisecond} from \"d3-time\";\nimport {timeFormat} from \"d3-time-format\";\nimport {map} from \"./array\";\nimport continuous, {copy, identity} from \"./continuous\";\nimport {initRange} from \"./init\";\nimport nice from \"./nice\";\n\nvar durationSecond = 1000,\n durationMinute = durationSecond * 60,\n durationHour = durationMinute * 60,\n durationDay = durationHour * 24,\n durationWeek = durationDay * 7,\n durationMonth = durationDay * 30,\n durationYear = durationDay * 365;\n\nfunction date(t) {\n return new Date(t);\n}\n\nfunction number(t) {\n return t instanceof Date ? +t : +new Date(+t);\n}\n\nexport function calendar(year, month, week, day, hour, minute, second, millisecond, format) {\n var scale = continuous(identity, identity),\n invert = scale.invert,\n domain = scale.domain;\n\n var formatMillisecond = format(\".%L\"),\n formatSecond = format(\":%S\"),\n formatMinute = format(\"%I:%M\"),\n formatHour = format(\"%I %p\"),\n formatDay = format(\"%a %d\"),\n formatWeek = format(\"%b %d\"),\n formatMonth = format(\"%B\"),\n formatYear = format(\"%Y\");\n\n var tickIntervals = [\n [second, 1, durationSecond],\n [second, 5, 5 * durationSecond],\n [second, 15, 15 * durationSecond],\n [second, 30, 30 * durationSecond],\n [minute, 1, durationMinute],\n [minute, 5, 5 * durationMinute],\n [minute, 15, 15 * durationMinute],\n [minute, 30, 30 * durationMinute],\n [ hour, 1, durationHour ],\n [ hour, 3, 3 * durationHour ],\n [ hour, 6, 6 * durationHour ],\n [ hour, 12, 12 * durationHour ],\n [ day, 1, durationDay ],\n [ day, 2, 2 * durationDay ],\n [ week, 1, durationWeek ],\n [ month, 1, durationMonth ],\n [ month, 3, 3 * durationMonth ],\n [ year, 1, durationYear ]\n ];\n\n function tickFormat(date) {\n return (second(date) < date ? formatMillisecond\n : minute(date) < date ? formatSecond\n : hour(date) < date ? formatMinute\n : day(date) < date ? formatHour\n : month(date) < date ? (week(date) < date ? formatDay : formatWeek)\n : year(date) < date ? formatMonth\n : formatYear)(date);\n }\n\n function tickInterval(interval, start, stop, step) {\n if (interval == null) interval = 10;\n\n // If a desired tick count is specified, pick a reasonable tick interval\n // based on the extent of the domain and a rough estimate of tick size.\n // Otherwise, assume interval is already a time interval and use it.\n if (typeof interval === \"number\") {\n var target = Math.abs(stop - start) / interval,\n i = bisector(function(i) { return i[2]; }).right(tickIntervals, target);\n if (i === tickIntervals.length) {\n step = tickStep(start / durationYear, stop / durationYear, interval);\n interval = year;\n } else if (i) {\n i = tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i];\n step = i[1];\n interval = i[0];\n } else {\n step = Math.max(tickStep(start, stop, interval), 1);\n interval = millisecond;\n }\n }\n\n return step == null ? interval : interval.every(step);\n }\n\n scale.invert = function(y) {\n return new Date(invert(y));\n };\n\n scale.domain = function(_) {\n return arguments.length ? domain(map.call(_, number)) : domain().map(date);\n };\n\n scale.ticks = function(interval, step) {\n var d = domain(),\n t0 = d[0],\n t1 = d[d.length - 1],\n r = t1 < t0,\n t;\n if (r) t = t0, t0 = t1, t1 = t;\n t = tickInterval(interval, t0, t1, step);\n t = t ? t.range(t0, t1 + 1) : []; // inclusive stop\n return r ? t.reverse() : t;\n };\n\n scale.tickFormat = function(count, specifier) {\n return specifier == null ? tickFormat : format(specifier);\n };\n\n scale.nice = function(interval, step) {\n var d = domain();\n return (interval = tickInterval(interval, d[0], d[d.length - 1], step))\n ? domain(nice(d, interval))\n : scale;\n };\n\n scale.copy = function() {\n return copy(scale, calendar(year, month, week, day, hour, minute, second, millisecond, format));\n };\n\n return scale;\n}\n\nexport default function() {\n return initRange.apply(calendar(timeYear, timeMonth, timeWeek, timeDay, timeHour, timeMinute, timeSecond, timeMillisecond, timeFormat).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]), arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMonth.js", "name": "./node_modules/d3-time/src/utcMonth.js", "index": 393, "index2": 388, "size": 456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:43-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcMonth.js", "loc": "97:0-100:23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcMonth.js", "loc": "97:0-100:23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcMonth.js", "loc": "97:0-100:23" } ], "usedExports": [ "default", "utcMonths" ], "providedExports": [ "default", "utcMonths" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\n\nvar utcMonth = interval(function(date) {\n date.setUTCDate(1);\n date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setUTCMonth(date.getUTCMonth() + step);\n}, function(start, end) {\n return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;\n}, function(date) {\n return date.getUTCMonth();\n});\n\nexport default utcMonth;\nexport var utcMonths = utcMonth.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "name": "./node_modules/d3-time/src/utcHour.js", "index": 394, "index2": 389, "size": 405, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:70-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcHour.js", "loc": "68:0-71:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcHour.js", "loc": "68:0-71:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcHour.js", "loc": "68:0-71:22" } ], "usedExports": [ "default", "utcHours" ], "providedExports": [ "default", "utcHours" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationHour} from \"./duration.js\";\n\nvar utcHour = interval(function(date) {\n date.setUTCMinutes(0, 0, 0);\n}, function(date, step) {\n date.setTime(+date + step * durationHour);\n}, function(start, end) {\n return (end - start) / durationHour;\n}, function(date) {\n return date.getUTCHours();\n});\n\nexport default utcHour;\nexport var utcHours = utcHour.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "name": "./node_modules/d3-time/src/utcMinute.js", "index": 395, "index2": 390, "size": 418, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 483, "building": 34, "dependencies": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "explanation": "(skipped side-effect-free modules)", "userRequest": "d3-time", "loc": "7:79-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcMinute.js", "loc": "63:0-66:24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcMinute.js", "loc": "63:0-66:24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "module": "./node_modules/d3-time/src/index.js", "moduleName": "./node_modules/d3-time/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcMinute.js", "loc": "63:0-66:24" } ], "usedExports": [ "default", "utcMinutes" ], "providedExports": [ "default", "utcMinutes" ], "optimizationBailout": [], "depth": 4, "source": "import interval from \"./interval.js\";\nimport {durationMinute} from \"./duration.js\";\n\nvar utcMinute = interval(function(date) {\n date.setUTCSeconds(0, 0);\n}, function(date, step) {\n date.setTime(+date + step * durationMinute);\n}, function(start, end) {\n return (end - start) / durationMinute;\n}, function(date) {\n return date.getUTCMinutes();\n});\n\nexport default utcMinute;\nexport var utcMinutes = utcMinute.range;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "name": "./node_modules/d3-scale/src/utcTime.js", "index": 392, "index2": 391, "size": 441, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./utcTime", "loc": "48:0-50:19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./utcTime", "loc": "48:0-50:19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {calendar} from \"./time\";\nimport {utcFormat} from \"d3-time-format\";\nimport {utcYear, utcMonth, utcWeek, utcDay, utcHour, utcMinute, utcSecond, utcMillisecond} from \"d3-time\";\nimport {initRange} from \"./init\";\n\nexport default function() {\n return initRange.apply(calendar(utcYear, utcMonth, utcWeek, utcDay, utcHour, utcMinute, utcSecond, utcMillisecond, utcFormat).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]), arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "name": "./node_modules/d3-scale/src/sequential.js", "index": 396, "index2": 392, "size": 2384, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./sequential", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential", "loc": "52:0-58:22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./sequential", "loc": "53:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./sequential", "loc": "63:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./sequential", "loc": "73:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./sequential", "loc": "83:11-15" } ], "usedExports": [ "copy", "default", "sequentialLog", "sequentialPow", "sequentialSqrt", "sequentialSymlog" ], "providedExports": [ "copy", "default", "sequentialLog", "sequentialSymlog", "sequentialPow", "sequentialSqrt" ], "optimizationBailout": [], "depth": 4, "source": "import {identity} from \"./continuous\";\nimport {initInterpolator} from \"./init\";\nimport {linearish} from \"./linear\";\nimport {loggish} from \"./log\";\nimport {symlogish} from \"./symlog\";\nimport {powish} from \"./pow\";\n\nfunction transformer() {\n var x0 = 0,\n x1 = 1,\n t0,\n t1,\n k10,\n transform,\n interpolator = identity,\n clamp = false,\n unknown;\n\n function scale(x) {\n return isNaN(x = +x) ? unknown : interpolator(k10 === 0 ? 0.5 : (x = (transform(x) - t0) * k10, clamp ? Math.max(0, Math.min(1, x)) : x));\n }\n\n scale.domain = function(_) {\n return arguments.length ? (t0 = transform(x0 = +_[0]), t1 = transform(x1 = +_[1]), k10 = t0 === t1 ? 0 : 1 / (t1 - t0), scale) : [x0, x1];\n };\n\n scale.clamp = function(_) {\n return arguments.length ? (clamp = !!_, scale) : clamp;\n };\n\n scale.interpolator = function(_) {\n return arguments.length ? (interpolator = _, scale) : interpolator;\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n return function(t) {\n transform = t, t0 = t(x0), t1 = t(x1), k10 = t0 === t1 ? 0 : 1 / (t1 - t0);\n return scale;\n };\n}\n\nexport function copy(source, target) {\n return target\n .domain(source.domain())\n .interpolator(source.interpolator())\n .clamp(source.clamp())\n .unknown(source.unknown());\n}\n\nexport default function sequential() {\n var scale = linearish(transformer()(identity));\n\n scale.copy = function() {\n return copy(scale, sequential());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function sequentialLog() {\n var scale = loggish(transformer()).domain([1, 10]);\n\n scale.copy = function() {\n return copy(scale, sequentialLog()).base(scale.base());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function sequentialSymlog() {\n var scale = symlogish(transformer());\n\n scale.copy = function() {\n return copy(scale, sequentialSymlog()).constant(scale.constant());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function sequentialPow() {\n var scale = powish(transformer());\n\n scale.copy = function() {\n return copy(scale, sequentialPow()).exponent(scale.exponent());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function sequentialSqrt() {\n return sequentialPow.apply(null, arguments).exponent(0.5);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "name": "./node_modules/d3-scale/src/sequentialQuantile.js", "index": 397, "index2": 393, "size": 862, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequentialQuantile", "loc": "60:0-62:30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequentialQuantile", "loc": "60:0-62:30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {ascending, bisect} from \"d3-array\";\nimport {identity} from \"./continuous\";\nimport {initInterpolator} from \"./init\";\n\nexport default function sequentialQuantile() {\n var domain = [],\n interpolator = identity;\n\n function scale(x) {\n if (!isNaN(x = +x)) return interpolator((bisect(domain, x) - 1) / (domain.length - 1));\n }\n\n scale.domain = function(_) {\n if (!arguments.length) return domain.slice();\n domain = [];\n for (var i = 0, n = _.length, d; i < n; ++i) if (d = _[i], d != null && !isNaN(d = +d)) domain.push(d);\n domain.sort(ascending);\n return scale;\n };\n\n scale.interpolator = function(_) {\n return arguments.length ? (interpolator = _, scale) : interpolator;\n };\n\n scale.copy = function() {\n return sequentialQuantile(interpolator).domain(domain);\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "name": "./node_modules/d3-scale/src/diverging.js", "index": 398, "index2": 394, "size": 2394, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 778, "building": 45, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging", "loc": "64:0-70:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging", "loc": "64:0-70:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging", "loc": "64:0-70:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging", "loc": "64:0-70:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging", "loc": "64:0-70:21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "module": "./node_modules/d3-scale/src/index.js", "moduleName": "./node_modules/d3-scale/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging", "loc": "64:0-70:21" } ], "usedExports": [ "default", "divergingLog", "divergingPow", "divergingSqrt", "divergingSymlog" ], "providedExports": [ "default", "divergingLog", "divergingSymlog", "divergingPow", "divergingSqrt" ], "optimizationBailout": [], "depth": 4, "source": "import {identity} from \"./continuous\";\nimport {initInterpolator} from \"./init\";\nimport {linearish} from \"./linear\";\nimport {loggish} from \"./log\";\nimport {copy} from \"./sequential\";\nimport {symlogish} from \"./symlog\";\nimport {powish} from \"./pow\";\n\nfunction transformer() {\n var x0 = 0,\n x1 = 0.5,\n x2 = 1,\n t0,\n t1,\n t2,\n k10,\n k21,\n interpolator = identity,\n transform,\n clamp = false,\n unknown;\n\n function scale(x) {\n return isNaN(x = +x) ? unknown : (x = 0.5 + ((x = +transform(x)) - t1) * (x < t1 ? k10 : k21), interpolator(clamp ? Math.max(0, Math.min(1, x)) : x));\n }\n\n scale.domain = function(_) {\n return arguments.length ? (t0 = transform(x0 = +_[0]), t1 = transform(x1 = +_[1]), t2 = transform(x2 = +_[2]), k10 = t0 === t1 ? 0 : 0.5 / (t1 - t0), k21 = t1 === t2 ? 0 : 0.5 / (t2 - t1), scale) : [x0, x1, x2];\n };\n\n scale.clamp = function(_) {\n return arguments.length ? (clamp = !!_, scale) : clamp;\n };\n\n scale.interpolator = function(_) {\n return arguments.length ? (interpolator = _, scale) : interpolator;\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n return function(t) {\n transform = t, t0 = t(x0), t1 = t(x1), t2 = t(x2), k10 = t0 === t1 ? 0 : 0.5 / (t1 - t0), k21 = t1 === t2 ? 0 : 0.5 / (t2 - t1);\n return scale;\n };\n}\n\nexport default function diverging() {\n var scale = linearish(transformer()(identity));\n\n scale.copy = function() {\n return copy(scale, diverging());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function divergingLog() {\n var scale = loggish(transformer()).domain([0.1, 1, 10]);\n\n scale.copy = function() {\n return copy(scale, divergingLog()).base(scale.base());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function divergingSymlog() {\n var scale = symlogish(transformer());\n\n scale.copy = function() {\n return copy(scale, divergingSymlog()).constant(scale.constant());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function divergingPow() {\n var scale = powish(transformer());\n\n scale.copy = function() {\n return copy(scale, divergingPow()).exponent(scale.exponent());\n };\n\n return initInterpolator.apply(scale, arguments);\n}\n\nexport function divergingSqrt() {\n return divergingPow.apply(null, arguments).exponent(0.5);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/category10.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "index": 400, "index2": 397, "size": 123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/category10.js", "loc": "1:0-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/category10.js", "loc": "1:0-72" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Accent.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Accent.js", "index": 402, "index2": 398, "size": 111, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Accent.js", "loc": "2:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Accent.js", "loc": "2:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "index": 403, "index2": 399, "size": 111, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Dark2.js", "loc": "3:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Dark2.js", "loc": "3:0-62" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Paired.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Paired.js", "index": 404, "index2": 400, "size": 135, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Paired.js", "loc": "4:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Paired.js", "loc": "4:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "index": 405, "index2": 401, "size": 117, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Pastel1.js", "loc": "5:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Pastel1.js", "loc": "5:0-66" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "index": 406, "index2": 402, "size": 111, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Pastel2.js", "loc": "6:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Pastel2.js", "loc": "6:0-66" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set1.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Set1.js", "index": 407, "index2": 403, "size": 117, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Set1.js", "loc": "7:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Set1.js", "loc": "7:0-60" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set2.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Set2.js", "index": 408, "index2": 404, "size": 111, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Set2.js", "loc": "8:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Set2.js", "loc": "8:0-60" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set3.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Set3.js", "index": 409, "index2": 405, "size": 135, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Set3.js", "loc": "9:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Set3.js", "loc": "9:0-60" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "index": 410, "index2": 406, "size": 123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./categorical/Tableau10.js", "loc": "10:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./categorical/Tableau10.js", "loc": "10:0-70" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nexport default colors(\"4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab\");\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "index": 411, "index2": 408, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/BrBG.js", "loc": "11:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/BrBG.js", "loc": "11:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/BrBG.js", "loc": "11:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"d8b365f5f5f55ab4ac\",\n \"a6611adfc27d80cdc1018571\",\n \"a6611adfc27df5f5f580cdc1018571\",\n \"8c510ad8b365f6e8c3c7eae55ab4ac01665e\",\n \"8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e\",\n \"8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e\",\n \"8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e\",\n \"5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30\",\n \"5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "index": 413, "index2": 409, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/PRGn.js", "loc": "12:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PRGn.js", "loc": "12:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PRGn.js", "loc": "12:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"af8dc3f7f7f77fbf7b\",\n \"7b3294c2a5cfa6dba0008837\",\n \"7b3294c2a5cff7f7f7a6dba0008837\",\n \"762a83af8dc3e7d4e8d9f0d37fbf7b1b7837\",\n \"762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837\",\n \"762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837\",\n \"762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837\",\n \"40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b\",\n \"40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "index": 414, "index2": 410, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/PiYG.js", "loc": "13:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PiYG.js", "loc": "13:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PiYG.js", "loc": "13:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e9a3c9f7f7f7a1d76a\",\n \"d01c8bf1b6dab8e1864dac26\",\n \"d01c8bf1b6daf7f7f7b8e1864dac26\",\n \"c51b7de9a3c9fde0efe6f5d0a1d76a4d9221\",\n \"c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221\",\n \"c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221\",\n \"c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221\",\n \"8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419\",\n \"8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "index": 415, "index2": 411, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/PuOr.js", "loc": "14:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PuOr.js", "loc": "14:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/PuOr.js", "loc": "14:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"998ec3f7f7f7f1a340\",\n \"5e3c99b2abd2fdb863e66101\",\n \"5e3c99b2abd2f7f7f7fdb863e66101\",\n \"542788998ec3d8daebfee0b6f1a340b35806\",\n \"542788998ec3d8daebf7f7f7fee0b6f1a340b35806\",\n \"5427888073acb2abd2d8daebfee0b6fdb863e08214b35806\",\n \"5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806\",\n \"2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08\",\n \"2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "index": 416, "index2": 412, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/RdBu.js", "loc": "15:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdBu.js", "loc": "15:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdBu.js", "loc": "15:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"ef8a62f7f7f767a9cf\",\n \"ca0020f4a58292c5de0571b0\",\n \"ca0020f4a582f7f7f792c5de0571b0\",\n \"b2182bef8a62fddbc7d1e5f067a9cf2166ac\",\n \"b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac\",\n \"b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac\",\n \"b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac\",\n \"67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061\",\n \"67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "index": 417, "index2": 413, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/RdGy.js", "loc": "16:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdGy.js", "loc": "16:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdGy.js", "loc": "16:0-85" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"ef8a62ffffff999999\",\n \"ca0020f4a582bababa404040\",\n \"ca0020f4a582ffffffbababa404040\",\n \"b2182bef8a62fddbc7e0e0e09999994d4d4d\",\n \"b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d\",\n \"b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d\",\n \"b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d\",\n \"67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a\",\n \"67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "index": 418, "index2": 414, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/RdYlBu.js", "loc": "17:0-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdYlBu.js", "loc": "17:0-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdYlBu.js", "loc": "17:0-91" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf91bfdb\",\n \"d7191cfdae61abd9e92c7bb6\",\n \"d7191cfdae61ffffbfabd9e92c7bb6\",\n \"d73027fc8d59fee090e0f3f891bfdb4575b4\",\n \"d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4\",\n \"d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4\",\n \"d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4\",\n \"a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695\",\n \"a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "index": 419, "index2": 415, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/RdYlGn.js", "loc": "18:0-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdYlGn.js", "loc": "18:0-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/RdYlGn.js", "loc": "18:0-91" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf91cf60\",\n \"d7191cfdae61a6d96a1a9641\",\n \"d7191cfdae61ffffbfa6d96a1a9641\",\n \"d73027fc8d59fee08bd9ef8b91cf601a9850\",\n \"d73027fc8d59fee08bffffbfd9ef8b91cf601a9850\",\n \"d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850\",\n \"d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850\",\n \"a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837\",\n \"a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "name": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "index": 420, "index2": 416, "size": 584, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./diverging/Spectral.js", "loc": "19:0-97" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/Spectral.js", "loc": "19:0-97" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./diverging/Spectral.js", "loc": "19:0-97" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fc8d59ffffbf99d594\",\n \"d7191cfdae61abdda42b83ba\",\n \"d7191cfdae61ffffbfabdda42b83ba\",\n \"d53e4ffc8d59fee08be6f59899d5943288bd\",\n \"d53e4ffc8d59fee08bffffbfe6f59899d5943288bd\",\n \"d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd\",\n \"d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd\",\n \"9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2\",\n \"9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "index": 421, "index2": 417, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/BuGn.js", "loc": "20:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/BuGn.js", "loc": "20:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/BuGn.js", "loc": "20:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e5f5f999d8c92ca25f\",\n \"edf8fbb2e2e266c2a4238b45\",\n \"edf8fbb2e2e266c2a42ca25f006d2c\",\n \"edf8fbccece699d8c966c2a42ca25f006d2c\",\n \"edf8fbccece699d8c966c2a441ae76238b45005824\",\n \"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824\",\n \"f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "index": 422, "index2": 418, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/BuPu.js", "loc": "21:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/BuPu.js", "loc": "21:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/BuPu.js", "loc": "21:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e0ecf49ebcda8856a7\",\n \"edf8fbb3cde38c96c688419d\",\n \"edf8fbb3cde38c96c68856a7810f7c\",\n \"edf8fbbfd3e69ebcda8c96c68856a7810f7c\",\n \"edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b\",\n \"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b\",\n \"f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "index": 423, "index2": 419, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/GnBu.js", "loc": "22:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/GnBu.js", "loc": "22:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/GnBu.js", "loc": "22:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e0f3dba8ddb543a2ca\",\n \"f0f9e8bae4bc7bccc42b8cbe\",\n \"f0f9e8bae4bc7bccc443a2ca0868ac\",\n \"f0f9e8ccebc5a8ddb57bccc443a2ca0868ac\",\n \"f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\n \"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e\",\n \"f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "index": 424, "index2": 420, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/OrRd.js", "loc": "23:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/OrRd.js", "loc": "23:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/OrRd.js", "loc": "23:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fee8c8fdbb84e34a33\",\n \"fef0d9fdcc8afc8d59d7301f\",\n \"fef0d9fdcc8afc8d59e34a33b30000\",\n \"fef0d9fdd49efdbb84fc8d59e34a33b30000\",\n \"fef0d9fdd49efdbb84fc8d59ef6548d7301f990000\",\n \"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000\",\n \"fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "index": 425, "index2": 421, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/PuBuGn.js", "loc": "24:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuBuGn.js", "loc": "24:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuBuGn.js", "loc": "24:0-98" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"ece2f0a6bddb1c9099\",\n \"f6eff7bdc9e167a9cf02818a\",\n \"f6eff7bdc9e167a9cf1c9099016c59\",\n \"f6eff7d0d1e6a6bddb67a9cf1c9099016c59\",\n \"f6eff7d0d1e6a6bddb67a9cf3690c002818a016450\",\n \"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450\",\n \"fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "index": 426, "index2": 422, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/PuBu.js", "loc": "25:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuBu.js", "loc": "25:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuBu.js", "loc": "25:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"ece7f2a6bddb2b8cbe\",\n \"f1eef6bdc9e174a9cf0570b0\",\n \"f1eef6bdc9e174a9cf2b8cbe045a8d\",\n \"f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d\",\n \"f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\n \"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b\",\n \"fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "index": 427, "index2": 423, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/PuRd.js", "loc": "26:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuRd.js", "loc": "26:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/PuRd.js", "loc": "26:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e7e1efc994c7dd1c77\",\n \"f1eef6d7b5d8df65b0ce1256\",\n \"f1eef6d7b5d8df65b0dd1c77980043\",\n \"f1eef6d4b9dac994c7df65b0dd1c77980043\",\n \"f1eef6d4b9dac994c7df65b0e7298ace125691003f\",\n \"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f\",\n \"f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "index": 428, "index2": 424, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/RdPu.js", "loc": "27:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/RdPu.js", "loc": "27:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/RdPu.js", "loc": "27:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fde0ddfa9fb5c51b8a\",\n \"feebe2fbb4b9f768a1ae017e\",\n \"feebe2fbb4b9f768a1c51b8a7a0177\",\n \"feebe2fcc5c0fa9fb5f768a1c51b8a7a0177\",\n \"feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\n \"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177\",\n \"fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "index": 429, "index2": 425, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/YlGnBu.js", "loc": "28:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlGnBu.js", "loc": "28:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlGnBu.js", "loc": "28:0-98" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"edf8b17fcdbb2c7fb8\",\n \"ffffcca1dab441b6c4225ea8\",\n \"ffffcca1dab441b6c42c7fb8253494\",\n \"ffffccc7e9b47fcdbb41b6c42c7fb8253494\",\n \"ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\n \"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84\",\n \"ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "index": 430, "index2": 426, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/YlGn.js", "loc": "29:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlGn.js", "loc": "29:0-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlGn.js", "loc": "29:0-92" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"f7fcb9addd8e31a354\",\n \"ffffccc2e69978c679238443\",\n \"ffffccc2e69978c67931a354006837\",\n \"ffffccd9f0a3addd8e78c67931a354006837\",\n \"ffffccd9f0a3addd8e78c67941ab5d238443005a32\",\n \"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32\",\n \"ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "index": 431, "index2": 427, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/YlOrBr.js", "loc": "30:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlOrBr.js", "loc": "30:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlOrBr.js", "loc": "30:0-98" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fff7bcfec44fd95f0e\",\n \"ffffd4fed98efe9929cc4c02\",\n \"ffffd4fed98efe9929d95f0e993404\",\n \"ffffd4fee391fec44ffe9929d95f0e993404\",\n \"ffffd4fee391fec44ffe9929ec7014cc4c028c2d04\",\n \"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04\",\n \"ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "index": 432, "index2": 428, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/YlOrRd.js", "loc": "31:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlOrRd.js", "loc": "31:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/YlOrRd.js", "loc": "31:0-98" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"ffeda0feb24cf03b20\",\n \"ffffb2fecc5cfd8d3ce31a1c\",\n \"ffffb2fecc5cfd8d3cf03b20bd0026\",\n \"ffffb2fed976feb24cfd8d3cf03b20bd0026\",\n \"ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\n \"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026\",\n \"ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "index": 433, "index2": 429, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Blues.js", "loc": "32:0-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Blues.js", "loc": "32:0-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Blues.js", "loc": "32:0-96" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"deebf79ecae13182bd\",\n \"eff3ffbdd7e76baed62171b5\",\n \"eff3ffbdd7e76baed63182bd08519c\",\n \"eff3ffc6dbef9ecae16baed63182bd08519c\",\n \"eff3ffc6dbef9ecae16baed64292c62171b5084594\",\n \"f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594\",\n \"f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "index": 434, "index2": 430, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Greens.js", "loc": "33:0-99" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Greens.js", "loc": "33:0-99" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Greens.js", "loc": "33:0-99" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"e5f5e0a1d99b31a354\",\n \"edf8e9bae4b374c476238b45\",\n \"edf8e9bae4b374c47631a354006d2c\",\n \"edf8e9c7e9c0a1d99b74c47631a354006d2c\",\n \"edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32\",\n \"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32\",\n \"f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "index": 435, "index2": 431, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Greys.js", "loc": "34:0-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Greys.js", "loc": "34:0-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Greys.js", "loc": "34:0-96" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"f0f0f0bdbdbd636363\",\n \"f7f7f7cccccc969696525252\",\n \"f7f7f7cccccc969696636363252525\",\n \"f7f7f7d9d9d9bdbdbd969696636363252525\",\n \"f7f7f7d9d9d9bdbdbd969696737373525252252525\",\n \"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525\",\n \"fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "index": 436, "index2": 432, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Purples.js", "loc": "35:0-102" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Purples.js", "loc": "35:0-102" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Purples.js", "loc": "35:0-102" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"efedf5bcbddc756bb1\",\n \"f2f0f7cbc9e29e9ac86a51a3\",\n \"f2f0f7cbc9e29e9ac8756bb154278f\",\n \"f2f0f7dadaebbcbddc9e9ac8756bb154278f\",\n \"f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486\",\n \"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486\",\n \"fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "index": 437, "index2": 433, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Reds.js", "loc": "36:0-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Reds.js", "loc": "36:0-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Reds.js", "loc": "36:0-93" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fee0d2fc9272de2d26\",\n \"fee5d9fcae91fb6a4acb181d\",\n \"fee5d9fcae91fb6a4ade2d26a50f15\",\n \"fee5d9fcbba1fc9272fb6a4ade2d26a50f15\",\n \"fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d\",\n \"fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d\",\n \"fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "index": 438, "index2": 434, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-single/Oranges.js", "loc": "37:0-102" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Oranges.js", "loc": "37:0-102" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-single/Oranges.js", "loc": "37:0-102" } ], "usedExports": [ "default", "scheme" ], "providedExports": [ "scheme", "default" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\nimport ramp from \"../ramp.js\";\n\nexport var scheme = new Array(3).concat(\n \"fee6cefdae6be6550d\",\n \"feeddefdbe85fd8d3cd94701\",\n \"feeddefdbe85fd8d3ce6550da63603\",\n \"feeddefdd0a2fdae6bfd8d3ce6550da63603\",\n \"feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04\",\n \"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04\",\n \"fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704\"\n).map(colors);\n\nexport default ramp(scheme);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cividis.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/cividis.js", "index": 439, "index2": 435, "size": 494, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/cividis.js", "loc": "38:0-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/cividis.js", "loc": "38:0-76" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(t) {\n t = Math.max(0, Math.min(1, t));\n return \"rgb(\"\n + Math.max(0, Math.min(255, Math.round(-4.54 - t * (35.34 - t * (2381.73 - t * (6402.7 - t * (7024.72 - t * 2710.57))))))) + \", \"\n + Math.max(0, Math.min(255, Math.round(32.49 + t * (170.73 + t * (52.82 - t * (131.46 - t * (176.58 - t * 67.37))))))) + \", \"\n + Math.max(0, Math.min(255, Math.round(81.24 + t * (442.36 - t * (2482.43 - t * (6167.24 - t * (6614.94 - t * 2475.67)))))))\n + \")\";\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/cubehelix.js", "index": 440, "index2": 436, "size": 188, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/cubehelix.js", "loc": "39:0-87" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/cubehelix.js", "loc": "39:0-87" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {cubehelix} from \"d3-color\";\nimport {interpolateCubehelixLong} from \"d3-interpolate\";\n\nexport default interpolateCubehelixLong(cubehelix(300, 0.5, 0.0), cubehelix(-240, 0.5, 1.0));\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/rainbow.js", "index": 441, "index2": 437, "size": 506, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/rainbow.js", "loc": "40:0-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/rainbow.js", "loc": "40:0-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/rainbow.js", "loc": "40:0-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/rainbow.js", "loc": "40:0-126" } ], "usedExports": [ "default", "warm", "cool" ], "providedExports": [ "warm", "cool", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {cubehelix} from \"d3-color\";\nimport {interpolateCubehelixLong} from \"d3-interpolate\";\n\nexport var warm = interpolateCubehelixLong(cubehelix(-100, 0.75, 0.35), cubehelix(80, 1.50, 0.8));\n\nexport var cool = interpolateCubehelixLong(cubehelix(260, 0.75, 0.35), cubehelix(80, 1.50, 0.8));\n\nvar c = cubehelix();\n\nexport default function(t) {\n if (t < 0 || t > 1) t -= Math.floor(t);\n var ts = Math.abs(t - 0.5);\n c.h = 360 * t - 100;\n c.s = 1.5 - 1.5 * ts;\n c.l = 0.8 - 0.9 * ts;\n return c + \"\";\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/sinebow.js", "index": 442, "index2": 438, "size": 316, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/sinebow.js", "loc": "41:0-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/sinebow.js", "loc": "41:0-76" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {rgb} from \"d3-color\";\n\nvar c = rgb(),\n pi_1_3 = Math.PI / 3,\n pi_2_3 = Math.PI * 2 / 3;\n\nexport default function(t) {\n var x;\n t = (0.5 - t) * Math.PI;\n c.r = 255 * (x = Math.sin(t)) * x;\n c.g = 255 * (x = Math.sin(t + pi_1_3)) * x;\n c.b = 255 * (x = Math.sin(t + pi_2_3)) * x;\n return c + \"\";\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/turbo.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/turbo.js", "index": 443, "index2": 439, "size": 505, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/turbo.js", "loc": "42:0-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/turbo.js", "loc": "42:0-72" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(t) {\n t = Math.max(0, Math.min(1, t));\n return \"rgb(\"\n + Math.max(0, Math.min(255, Math.round(34.61 + t * (1172.33 - t * (10793.56 - t * (33300.12 - t * (38394.49 - t * 14825.05))))))) + \", \"\n + Math.max(0, Math.min(255, Math.round(23.31 + t * (557.33 + t * (1225.33 - t * (3574.96 - t * (1073.77 + t * 707.56))))))) + \", \"\n + Math.max(0, Math.min(255, Math.round(27.2 + t * (3211.1 - t * (15327.97 - t * (27814 - t * (22569.18 - t * 6838.66)))))))\n + \")\";\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "index": 444, "index2": 440, "size": 6475, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 735, "building": 26, "dependencies": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./sequential-multi/viridis.js", "loc": "43:0-163" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/viridis.js", "loc": "43:0-163" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/viridis.js", "loc": "43:0-163" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/viridis.js", "loc": "43:0-163" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "module": "./node_modules/d3-scale-chromatic/src/index.js", "moduleName": "./node_modules/d3-scale-chromatic/src/index.js", "type": "harmony export imported specifier", "userRequest": "./sequential-multi/viridis.js", "loc": "43:0-163" } ], "usedExports": [ "default", "magma", "inferno", "plasma" ], "providedExports": [ "default", "magma", "inferno", "plasma" ], "optimizationBailout": [], "depth": 4, "source": "import colors from \"../colors.js\";\n\nfunction ramp(range) {\n var n = range.length;\n return function(t) {\n return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];\n };\n}\n\nexport default ramp(colors(\"44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725\"));\n\nexport var magma = ramp(colors(\"00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf\"));\n\nexport var inferno = ramp(colors(\"00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4\"));\n\nexport var plasma = ramp(colors(\"0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921\"));\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "index": 446, "index2": 442, "size": 162, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./create", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./create", "loc": "1:0-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import creator from \"./creator\";\nimport select from \"./select\";\n\nexport default function(name) {\n return select(creator(name).call(document.documentElement));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/local.js", "name": "./node_modules/d3-selection/src/local.js", "index": 447, "index2": 443, "size": 536, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./local", "loc": "3:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./local", "loc": "3:0-41" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var nextId = 0;\n\nexport default function local() {\n return new Local;\n}\n\nfunction Local() {\n this._ = \"@\" + (++nextId).toString(36);\n}\n\nLocal.prototype = local.prototype = {\n constructor: Local,\n get: function(node) {\n var id = this._;\n while (!(id in node)) if (!(node = node.parentNode)) return;\n return node[id];\n },\n set: function(node, value) {\n return node[this._] = value;\n },\n remove: function(node) {\n return this._ in node && delete node[this._];\n },\n toString: function() {\n return this._;\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selectAll.js", "name": "./node_modules/d3-selection/src/selectAll.js", "index": 448, "index2": 444, "size": 282, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./selectAll", "loc": "10:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./selectAll", "loc": "10:0-49" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Selection, root} from \"./selection/index\";\n\nexport default function(selector) {\n return typeof selector === \"string\"\n ? new Selection([document.querySelectorAll(selector)], [document.documentElement])\n : new Selection([selector == null ? [] : selector], root);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "name": "./node_modules/d3-selection/src/touches.js", "index": 449, "index2": 445, "size": 323, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 736, "building": 29, "dependencies": 94 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./touches", "loc": "16:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "module": "./node_modules/d3-selection/src/index.js", "moduleName": "./node_modules/d3-selection/src/index.js", "type": "harmony export imported specifier", "userRequest": "./touches", "loc": "16:0-45" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import sourceEvent from \"./sourceEvent\";\nimport point from \"./point\";\n\nexport default function(node, touches) {\n if (touches == null) touches = sourceEvent().touches;\n\n for (var i = 0, n = touches ? touches.length : 0, points = new Array(n); i < n; ++i) {\n points[i] = point(node, touches[i]);\n }\n\n return points;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "name": "./node_modules/d3-shape/src/arc.js", "index": 451, "index2": 449, "size": 8589, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./arc.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./arc.js", "loc": "1:0-40" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {path} from \"d3-path\";\nimport constant from \"./constant.js\";\nimport {abs, acos, asin, atan2, cos, epsilon, halfPi, max, min, pi, sin, sqrt, tau} from \"./math.js\";\n\nfunction arcInnerRadius(d) {\n return d.innerRadius;\n}\n\nfunction arcOuterRadius(d) {\n return d.outerRadius;\n}\n\nfunction arcStartAngle(d) {\n return d.startAngle;\n}\n\nfunction arcEndAngle(d) {\n return d.endAngle;\n}\n\nfunction arcPadAngle(d) {\n return d && d.padAngle; // Note: optional!\n}\n\nfunction intersect(x0, y0, x1, y1, x2, y2, x3, y3) {\n var x10 = x1 - x0, y10 = y1 - y0,\n x32 = x3 - x2, y32 = y3 - y2,\n t = y32 * x10 - x32 * y10;\n if (t * t < epsilon) return;\n t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / t;\n return [x0 + t * x10, y0 + t * y10];\n}\n\n// Compute perpendicular offset line of length rc.\n// http://mathworld.wolfram.com/Circle-LineIntersection.html\nfunction cornerTangents(x0, y0, x1, y1, r1, rc, cw) {\n var x01 = x0 - x1,\n y01 = y0 - y1,\n lo = (cw ? rc : -rc) / sqrt(x01 * x01 + y01 * y01),\n ox = lo * y01,\n oy = -lo * x01,\n x11 = x0 + ox,\n y11 = y0 + oy,\n x10 = x1 + ox,\n y10 = y1 + oy,\n x00 = (x11 + x10) / 2,\n y00 = (y11 + y10) / 2,\n dx = x10 - x11,\n dy = y10 - y11,\n d2 = dx * dx + dy * dy,\n r = r1 - rc,\n D = x11 * y10 - x10 * y11,\n d = (dy < 0 ? -1 : 1) * sqrt(max(0, r * r * d2 - D * D)),\n cx0 = (D * dy - dx * d) / d2,\n cy0 = (-D * dx - dy * d) / d2,\n cx1 = (D * dy + dx * d) / d2,\n cy1 = (-D * dx + dy * d) / d2,\n dx0 = cx0 - x00,\n dy0 = cy0 - y00,\n dx1 = cx1 - x00,\n dy1 = cy1 - y00;\n\n // Pick the closer of the two intersection points.\n // TODO Is there a faster way to determine which intersection to use?\n if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1) cx0 = cx1, cy0 = cy1;\n\n return {\n cx: cx0,\n cy: cy0,\n x01: -ox,\n y01: -oy,\n x11: cx0 * (r1 / r - 1),\n y11: cy0 * (r1 / r - 1)\n };\n}\n\nexport default function() {\n var innerRadius = arcInnerRadius,\n outerRadius = arcOuterRadius,\n cornerRadius = constant(0),\n padRadius = null,\n startAngle = arcStartAngle,\n endAngle = arcEndAngle,\n padAngle = arcPadAngle,\n context = null;\n\n function arc() {\n var buffer,\n r,\n r0 = +innerRadius.apply(this, arguments),\n r1 = +outerRadius.apply(this, arguments),\n a0 = startAngle.apply(this, arguments) - halfPi,\n a1 = endAngle.apply(this, arguments) - halfPi,\n da = abs(a1 - a0),\n cw = a1 > a0;\n\n if (!context) context = buffer = path();\n\n // Ensure that the outer radius is always larger than the inner radius.\n if (r1 < r0) r = r1, r1 = r0, r0 = r;\n\n // Is it a point?\n if (!(r1 > epsilon)) context.moveTo(0, 0);\n\n // Or is it a circle or annulus?\n else if (da > tau - epsilon) {\n context.moveTo(r1 * cos(a0), r1 * sin(a0));\n context.arc(0, 0, r1, a0, a1, !cw);\n if (r0 > epsilon) {\n context.moveTo(r0 * cos(a1), r0 * sin(a1));\n context.arc(0, 0, r0, a1, a0, cw);\n }\n }\n\n // Or is it a circular or annular sector?\n else {\n var a01 = a0,\n a11 = a1,\n a00 = a0,\n a10 = a1,\n da0 = da,\n da1 = da,\n ap = padAngle.apply(this, arguments) / 2,\n rp = (ap > epsilon) && (padRadius ? +padRadius.apply(this, arguments) : sqrt(r0 * r0 + r1 * r1)),\n rc = min(abs(r1 - r0) / 2, +cornerRadius.apply(this, arguments)),\n rc0 = rc,\n rc1 = rc,\n t0,\n t1;\n\n // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.\n if (rp > epsilon) {\n var p0 = asin(rp / r0 * sin(ap)),\n p1 = asin(rp / r1 * sin(ap));\n if ((da0 -= p0 * 2) > epsilon) p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;\n else da0 = 0, a00 = a10 = (a0 + a1) / 2;\n if ((da1 -= p1 * 2) > epsilon) p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;\n else da1 = 0, a01 = a11 = (a0 + a1) / 2;\n }\n\n var x01 = r1 * cos(a01),\n y01 = r1 * sin(a01),\n x10 = r0 * cos(a10),\n y10 = r0 * sin(a10);\n\n // Apply rounded corners?\n if (rc > epsilon) {\n var x11 = r1 * cos(a11),\n y11 = r1 * sin(a11),\n x00 = r0 * cos(a00),\n y00 = r0 * sin(a00),\n oc;\n\n // Restrict the corner radius according to the sector angle.\n if (da < pi && (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10))) {\n var ax = x01 - oc[0],\n ay = y01 - oc[1],\n bx = x11 - oc[0],\n by = y11 - oc[1],\n kc = 1 / sin(acos((ax * bx + ay * by) / (sqrt(ax * ax + ay * ay) * sqrt(bx * bx + by * by))) / 2),\n lc = sqrt(oc[0] * oc[0] + oc[1] * oc[1]);\n rc0 = min(rc, (r0 - lc) / (kc - 1));\n rc1 = min(rc, (r1 - lc) / (kc + 1));\n }\n }\n\n // Is the sector collapsed to a line?\n if (!(da1 > epsilon)) context.moveTo(x01, y01);\n\n // Does the sector’s outer ring have rounded corners?\n else if (rc1 > epsilon) {\n t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);\n t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);\n\n context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01);\n\n // Have the corners merged?\n if (rc1 < rc) context.arc(t0.cx, t0.cy, rc1, atan2(t0.y01, t0.x01), atan2(t1.y01, t1.x01), !cw);\n\n // Otherwise, draw the two corners and the ring.\n else {\n context.arc(t0.cx, t0.cy, rc1, atan2(t0.y01, t0.x01), atan2(t0.y11, t0.x11), !cw);\n context.arc(0, 0, r1, atan2(t0.cy + t0.y11, t0.cx + t0.x11), atan2(t1.cy + t1.y11, t1.cx + t1.x11), !cw);\n context.arc(t1.cx, t1.cy, rc1, atan2(t1.y11, t1.x11), atan2(t1.y01, t1.x01), !cw);\n }\n }\n\n // Or is the outer ring just a circular arc?\n else context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw);\n\n // Is there no inner ring, and it’s a circular sector?\n // Or perhaps it’s an annular sector collapsed due to padding?\n if (!(r0 > epsilon) || !(da0 > epsilon)) context.lineTo(x10, y10);\n\n // Does the sector’s inner ring (or point) have rounded corners?\n else if (rc0 > epsilon) {\n t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);\n t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);\n\n context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01);\n\n // Have the corners merged?\n if (rc0 < rc) context.arc(t0.cx, t0.cy, rc0, atan2(t0.y01, t0.x01), atan2(t1.y01, t1.x01), !cw);\n\n // Otherwise, draw the two corners and the ring.\n else {\n context.arc(t0.cx, t0.cy, rc0, atan2(t0.y01, t0.x01), atan2(t0.y11, t0.x11), !cw);\n context.arc(0, 0, r0, atan2(t0.cy + t0.y11, t0.cx + t0.x11), atan2(t1.cy + t1.y11, t1.cx + t1.x11), cw);\n context.arc(t1.cx, t1.cy, rc0, atan2(t1.y11, t1.x11), atan2(t1.y01, t1.x01), !cw);\n }\n }\n\n // Or is the inner ring just a circular arc?\n else context.arc(0, 0, r0, a10, a00, cw);\n }\n\n context.closePath();\n\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n arc.centroid = function() {\n var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2,\n a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi / 2;\n return [cos(a) * r, sin(a) * r];\n };\n\n arc.innerRadius = function(_) {\n return arguments.length ? (innerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : innerRadius;\n };\n\n arc.outerRadius = function(_) {\n return arguments.length ? (outerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : outerRadius;\n };\n\n arc.cornerRadius = function(_) {\n return arguments.length ? (cornerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : cornerRadius;\n };\n\n arc.padRadius = function(_) {\n return arguments.length ? (padRadius = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), arc) : padRadius;\n };\n\n arc.startAngle = function(_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : startAngle;\n };\n\n arc.endAngle = function(_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : endAngle;\n };\n\n arc.padAngle = function(_) {\n return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : padAngle;\n };\n\n arc.context = function(_) {\n return arguments.length ? ((context = _ == null ? null : _), arc) : context;\n };\n\n return arc;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linear.js", "name": "./node_modules/d3-shape/src/curve/linear.js", "index": 456, "index2": 451, "size": 738, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/radial.js", "module": "./node_modules/d3-shape/src/curve/radial.js", "moduleName": "./node_modules/d3-shape/src/curve/radial.js", "type": "harmony side effect evaluation", "userRequest": "./linear.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./curve/linear.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony side effect evaluation", "userRequest": "./curve/linear.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/radial.js", "module": "./node_modules/d3-shape/src/curve/radial.js", "moduleName": "./node_modules/d3-shape/src/curve/radial.js", "type": "harmony import specifier", "userRequest": "./linear.js", "loc": "3:43-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./curve/linear.js", "loc": "11:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./curve/linear.js", "loc": "14:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/linear.js", "loc": "30:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/linear.js", "loc": "30:0-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function Linear(context) {\n this._context = context;\n}\n\nLinear.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; // proceed\n default: this._context.lineTo(x, y); break;\n }\n }\n};\n\nexport default function(context) {\n return new Linear(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "name": "./node_modules/d3-shape/src/line.js", "index": 457, "index2": 452, "size": 1525, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "module": "./node_modules/d3-shape/src/lineRadial.js", "moduleName": "./node_modules/d3-shape/src/lineRadial.js", "type": "harmony side effect evaluation", "userRequest": "./line.js", "loc": "2:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./line.js", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./line.js", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./line.js", "loc": "4:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "module": "./node_modules/d3-shape/src/lineRadial.js", "moduleName": "./node_modules/d3-shape/src/lineRadial.js", "type": "harmony import specifier", "userRequest": "./line.js", "loc": "18:20-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./line.js", "loc": "56:11-15" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {path} from \"d3-path\";\nimport constant from \"./constant.js\";\nimport curveLinear from \"./curve/linear.js\";\nimport {x as pointX, y as pointY} from \"./point.js\";\n\nexport default function() {\n var x = pointX,\n y = pointY,\n defined = constant(true),\n context = null,\n curve = curveLinear,\n output = null;\n\n function line(data) {\n var i,\n n = data.length,\n d,\n defined0 = false,\n buffer;\n\n if (context == null) output = curve(buffer = path());\n\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0) output.lineStart();\n else output.lineEnd();\n }\n if (defined0) output.point(+x(d, i, data), +y(d, i, data));\n }\n\n if (buffer) return output = null, buffer + \"\" || null;\n }\n\n line.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), line) : x;\n };\n\n line.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), line) : y;\n };\n\n line.defined = function(_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), line) : defined;\n };\n\n line.curve = function(_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;\n };\n\n line.context = function(_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;\n };\n\n return line;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "name": "./node_modules/d3-shape/src/area.js", "index": 454, "index2": 453, "size": 2929, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./area.js", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "2:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "6:10-14" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {path} from \"d3-path\";\nimport constant from \"./constant.js\";\nimport curveLinear from \"./curve/linear.js\";\nimport line from \"./line.js\";\nimport {x as pointX, y as pointY} from \"./point.js\";\n\nexport default function() {\n var x0 = pointX,\n x1 = null,\n y0 = constant(0),\n y1 = pointY,\n defined = constant(true),\n context = null,\n curve = curveLinear,\n output = null;\n\n function area(data) {\n var i,\n j,\n k,\n n = data.length,\n d,\n defined0 = false,\n buffer,\n x0z = new Array(n),\n y0z = new Array(n);\n\n if (context == null) output = curve(buffer = path());\n\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0) {\n j = i;\n output.areaStart();\n output.lineStart();\n } else {\n output.lineEnd();\n output.lineStart();\n for (k = i - 1; k >= j; --k) {\n output.point(x0z[k], y0z[k]);\n }\n output.lineEnd();\n output.areaEnd();\n }\n }\n if (defined0) {\n x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data);\n output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i]);\n }\n }\n\n if (buffer) return output = null, buffer + \"\" || null;\n }\n\n function arealine() {\n return line().defined(defined).curve(curve).context(context);\n }\n\n area.x = function(_) {\n return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant(+_), x1 = null, area) : x0;\n };\n\n area.x0 = function(_) {\n return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant(+_), area) : x0;\n };\n\n area.x1 = function(_) {\n return arguments.length ? (x1 = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), area) : x1;\n };\n\n area.y = function(_) {\n return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant(+_), y1 = null, area) : y0;\n };\n\n area.y0 = function(_) {\n return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant(+_), area) : y0;\n };\n\n area.y1 = function(_) {\n return arguments.length ? (y1 = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), area) : y1;\n };\n\n area.lineX0 =\n area.lineY0 = function() {\n return arealine().x(x0).y(y0);\n };\n\n area.lineY1 = function() {\n return arealine().x(x0).y(y1);\n };\n\n area.lineX1 = function() {\n return arealine().x(x1).y(y0);\n };\n\n area.defined = function(_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), area) : defined;\n };\n\n area.curve = function(_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), area) : curve;\n };\n\n area.context = function(_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), area) : context;\n };\n\n return area;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "name": "./node_modules/d3-shape/src/pie.js", "index": 458, "index2": 456, "size": 2348, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pie.js", "loc": "4:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pie.js", "loc": "4:0-40" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant.js\";\nimport descending from \"./descending.js\";\nimport identity from \"./identity.js\";\nimport {tau} from \"./math.js\";\n\nexport default function() {\n var value = identity,\n sortValues = descending,\n sort = null,\n startAngle = constant(0),\n endAngle = constant(tau),\n padAngle = constant(0);\n\n function pie(data) {\n var i,\n n = data.length,\n j,\n k,\n sum = 0,\n index = new Array(n),\n arcs = new Array(n),\n a0 = +startAngle.apply(this, arguments),\n da = Math.min(tau, Math.max(-tau, endAngle.apply(this, arguments) - a0)),\n a1,\n p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)),\n pa = p * (da < 0 ? -1 : 1),\n v;\n\n for (i = 0; i < n; ++i) {\n if ((v = arcs[index[i] = i] = +value(data[i], i, data)) > 0) {\n sum += v;\n }\n }\n\n // Optionally sort the arcs by previously-computed values or by data.\n if (sortValues != null) index.sort(function(i, j) { return sortValues(arcs[i], arcs[j]); });\n else if (sort != null) index.sort(function(i, j) { return sort(data[i], data[j]); });\n\n // Compute the arcs! They are stored in the original data's order.\n for (i = 0, k = sum ? (da - n * pa) / sum : 0; i < n; ++i, a0 = a1) {\n j = index[i], v = arcs[j], a1 = a0 + (v > 0 ? v * k : 0) + pa, arcs[j] = {\n data: data[j],\n index: i,\n value: v,\n startAngle: a0,\n endAngle: a1,\n padAngle: p\n };\n }\n\n return arcs;\n }\n\n pie.value = function(_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(+_), pie) : value;\n };\n\n pie.sortValues = function(_) {\n return arguments.length ? (sortValues = _, sort = null, pie) : sortValues;\n };\n\n pie.sort = function(_) {\n return arguments.length ? (sort = _, sortValues = null, pie) : sort;\n };\n\n pie.startAngle = function(_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : startAngle;\n };\n\n pie.endAngle = function(_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : endAngle;\n };\n\n pie.padAngle = function(_) {\n return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : padAngle;\n };\n\n return pie;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "name": "./node_modules/d3-shape/src/lineRadial.js", "index": 463, "index2": 458, "size": 402, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony side effect evaluation", "userRequest": "./lineRadial.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./lineRadial.js", "loc": "6:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lineRadial.js", "loc": "6:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./lineRadial.js", "loc": "6:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./lineRadial.js", "loc": "19:41-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./lineRadial.js", "loc": "20:39-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./lineRadial.js", "loc": "21:42-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./lineRadial.js", "loc": "22:42-52" } ], "usedExports": [ "default", "lineRadial" ], "providedExports": [ "lineRadial", "default" ], "optimizationBailout": [], "depth": 4, "source": "import curveRadial, {curveRadialLinear} from \"./curve/radial.js\";\nimport line from \"./line.js\";\n\nexport function lineRadial(l) {\n var c = l.curve;\n\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n\n l.curve = function(_) {\n return arguments.length ? c(curveRadial(_)) : c()._curve;\n };\n\n return l;\n}\n\nexport default function() {\n return lineRadial(line().curve(curveRadialLinear));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "name": "./node_modules/d3-shape/src/areaRadial.js", "index": 461, "index2": 459, "size": 944, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./areaRadial.js", "loc": "5:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./areaRadial.js", "loc": "5:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./areaRadial.js", "loc": "5:0-77" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import curveRadial, {curveRadialLinear} from \"./curve/radial.js\";\nimport area from \"./area.js\";\nimport {lineRadial} from \"./lineRadial.js\";\n\nexport default function() {\n var a = area().curve(curveRadialLinear),\n c = a.curve,\n x0 = a.lineX0,\n x1 = a.lineX1,\n y0 = a.lineY0,\n y1 = a.lineY1;\n\n a.angle = a.x, delete a.x;\n a.startAngle = a.x0, delete a.x0;\n a.endAngle = a.x1, delete a.x1;\n a.radius = a.y, delete a.y;\n a.innerRadius = a.y0, delete a.y0;\n a.outerRadius = a.y1, delete a.y1;\n a.lineStartAngle = function() { return lineRadial(x0()); }, delete a.lineX0;\n a.lineEndAngle = function() { return lineRadial(x1()); }, delete a.lineX1;\n a.lineInnerRadius = function() { return lineRadial(y0()); }, delete a.lineY0;\n a.lineOuterRadius = function() { return lineRadial(y1()); }, delete a.lineY1;\n\n a.curve = function(_) {\n return arguments.length ? c(curveRadial(_)) : c()._curve;\n };\n\n return a;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pointRadial.js", "name": "./node_modules/d3-shape/src/pointRadial.js", "index": 464, "index2": 460, "size": 101, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony side effect evaluation", "userRequest": "../pointRadial.js", "loc": "5:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./pointRadial.js", "loc": "7:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./pointRadial.js", "loc": "7:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../pointRadial.js", "loc": "63:11-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../pointRadial.js", "loc": "64:11-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../pointRadial.js", "loc": "65:11-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../pointRadial.js", "loc": "66:11-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(x, y) {\n return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "name": "./node_modules/d3-shape/src/link/index.js", "index": 465, "index2": 462, "size": 2230, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./link/index.js", "loc": "8:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./link/index.js", "loc": "8:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./link/index.js", "loc": "8:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./link/index.js", "loc": "8:0-73" } ], "usedExports": [ "linkHorizontal", "linkVertical", "linkRadial" ], "providedExports": [ "linkHorizontal", "linkVertical", "linkRadial" ], "optimizationBailout": [], "depth": 4, "source": "import {path} from \"d3-path\";\nimport {slice} from \"../array.js\";\nimport constant from \"../constant.js\";\nimport {x as pointX, y as pointY} from \"../point.js\";\nimport pointRadial from \"../pointRadial.js\";\n\nfunction linkSource(d) {\n return d.source;\n}\n\nfunction linkTarget(d) {\n return d.target;\n}\n\nfunction link(curve) {\n var source = linkSource,\n target = linkTarget,\n x = pointX,\n y = pointY,\n context = null;\n\n function link() {\n var buffer, argv = slice.call(arguments), s = source.apply(this, argv), t = target.apply(this, argv);\n if (!context) context = buffer = path();\n curve(context, +x.apply(this, (argv[0] = s, argv)), +y.apply(this, argv), +x.apply(this, (argv[0] = t, argv)), +y.apply(this, argv));\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n link.source = function(_) {\n return arguments.length ? (source = _, link) : source;\n };\n\n link.target = function(_) {\n return arguments.length ? (target = _, link) : target;\n };\n\n link.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), link) : x;\n };\n\n link.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), link) : y;\n };\n\n link.context = function(_) {\n return arguments.length ? ((context = _ == null ? null : _), link) : context;\n };\n\n return link;\n}\n\nfunction curveHorizontal(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);\n}\n\nfunction curveVertical(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);\n}\n\nfunction curveRadial(context, x0, y0, x1, y1) {\n var p0 = pointRadial(x0, y0),\n p1 = pointRadial(x0, y0 = (y0 + y1) / 2),\n p2 = pointRadial(x1, y0),\n p3 = pointRadial(x1, y1);\n context.moveTo(p0[0], p0[1]);\n context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);\n}\n\nexport function linkHorizontal() {\n return link(curveHorizontal);\n}\n\nexport function linkVertical() {\n return link(curveVertical);\n}\n\nexport function linkRadial() {\n var l = link(curveRadial);\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n return l;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/circle.js", "name": "./node_modules/d3-shape/src/symbol/circle.js", "index": 468, "index2": 463, "size": 189, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/circle.js", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/circle.js", "loc": "11:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/circle.js", "loc": "11:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/circle.js", "loc": "12:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/circle.js", "loc": "22:22-28" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {pi, tau} from \"../math.js\";\n\nexport default {\n draw: function(context, size) {\n var r = Math.sqrt(size / pi);\n context.moveTo(r, 0);\n context.arc(0, 0, r, 0, tau);\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/cross.js", "name": "./node_modules/d3-shape/src/symbol/cross.js", "index": 469, "index2": 464, "size": 476, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/cross.js", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/cross.js", "loc": "12:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/cross.js", "loc": "12:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/cross.js", "loc": "13:2-7" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default {\n draw: function(context, size) {\n var r = Math.sqrt(size / 5) / 2;\n context.moveTo(-3 * r, -r);\n context.lineTo(-r, -r);\n context.lineTo(-r, -3 * r);\n context.lineTo(r, -3 * r);\n context.lineTo(r, -r);\n context.lineTo(3 * r, -r);\n context.lineTo(3 * r, r);\n context.lineTo(r, r);\n context.lineTo(r, 3 * r);\n context.lineTo(-r, 3 * r);\n context.lineTo(-r, r);\n context.lineTo(-3 * r, r);\n context.closePath();\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/diamond.js", "name": "./node_modules/d3-shape/src/symbol/diamond.js", "index": 470, "index2": 465, "size": 307, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/diamond.js", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/diamond.js", "loc": "13:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/diamond.js", "loc": "13:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/diamond.js", "loc": "14:2-9" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var tan30 = Math.sqrt(1 / 3),\n tan30_2 = tan30 * 2;\n\nexport default {\n draw: function(context, size) {\n var y = Math.sqrt(size / tan30_2),\n x = y * tan30;\n context.moveTo(0, -y);\n context.lineTo(x, 0);\n context.lineTo(0, y);\n context.lineTo(-x, 0);\n context.closePath();\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "name": "./node_modules/d3-shape/src/symbol/star.js", "index": 472, "index2": 467, "size": 612, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/star.js", "loc": "5:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/star.js", "loc": "15:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/star.js", "loc": "15:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/star.js", "loc": "16:2-6" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {pi, tau} from \"../math.js\";\n\nvar ka = 0.89081309152928522810,\n kr = Math.sin(pi / 10) / Math.sin(7 * pi / 10),\n kx = Math.sin(tau / 10) * kr,\n ky = -Math.cos(tau / 10) * kr;\n\nexport default {\n draw: function(context, size) {\n var r = Math.sqrt(size * ka),\n x = kx * r,\n y = ky * r;\n context.moveTo(0, -r);\n context.lineTo(x, y);\n for (var i = 1; i < 5; ++i) {\n var a = tau * i / 5,\n c = Math.cos(a),\n s = Math.sin(a);\n context.lineTo(s * r, -c * r);\n context.lineTo(c * x - s * y, s * x + c * y);\n }\n context.closePath();\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/square.js", "name": "./node_modules/d3-shape/src/symbol/square.js", "index": 471, "index2": 466, "size": 137, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/square.js", "loc": "6:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/square.js", "loc": "14:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/square.js", "loc": "14:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/square.js", "loc": "15:2-8" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default {\n draw: function(context, size) {\n var w = Math.sqrt(size),\n x = -w / 2;\n context.rect(x, x, w, w);\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/triangle.js", "name": "./node_modules/d3-shape/src/symbol/triangle.js", "index": 473, "index2": 468, "size": 255, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/triangle.js", "loc": "7:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/triangle.js", "loc": "16:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/triangle.js", "loc": "16:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/triangle.js", "loc": "17:2-10" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var sqrt3 = Math.sqrt(3);\n\nexport default {\n draw: function(context, size) {\n var y = -Math.sqrt(size / (sqrt3 * 3));\n context.moveTo(0, y * 2);\n context.lineTo(-sqrt3 * y, -y);\n context.lineTo(sqrt3 * y, -y);\n context.closePath();\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/wye.js", "name": "./node_modules/d3-shape/src/symbol/wye.js", "index": 474, "index2": 469, "size": 733, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/wye.js", "loc": "8:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol/wye.js", "loc": "17:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol/wye.js", "loc": "17:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./symbol/wye.js", "loc": "18:2-5" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "var c = -0.5,\n s = Math.sqrt(3) / 2,\n k = 1 / Math.sqrt(12),\n a = (k / 2 + 1) * 3;\n\nexport default {\n draw: function(context, size) {\n var r = Math.sqrt(size / a),\n x0 = r / 2,\n y0 = r * k,\n x1 = x0,\n y1 = r * k + r,\n x2 = -x1,\n y2 = y1;\n context.moveTo(x0, y0);\n context.lineTo(x1, y1);\n context.lineTo(x2, y2);\n context.lineTo(c * x0 - s * y0, s * x0 + c * y0);\n context.lineTo(c * x1 - s * y1, s * x1 + c * y1);\n context.lineTo(c * x2 - s * y2, s * x2 + c * y2);\n context.lineTo(c * x0 + s * y0, c * y0 - s * x0);\n context.lineTo(c * x1 + s * y1, c * y1 - s * x1);\n context.lineTo(c * x2 + s * y2, c * y2 - s * x2);\n context.closePath();\n }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "name": "./node_modules/d3-shape/src/symbol.js", "index": 467, "index2": 470, "size": 1184, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./symbol.js", "loc": "10:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol.js", "loc": "10:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./symbol.js", "loc": "10:0-55" } ], "usedExports": [ "default", "symbols" ], "providedExports": [ "symbols", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {path} from \"d3-path\";\nimport circle from \"./symbol/circle.js\";\nimport cross from \"./symbol/cross.js\";\nimport diamond from \"./symbol/diamond.js\";\nimport star from \"./symbol/star.js\";\nimport square from \"./symbol/square.js\";\nimport triangle from \"./symbol/triangle.js\";\nimport wye from \"./symbol/wye.js\";\nimport constant from \"./constant.js\";\n\nexport var symbols = [\n circle,\n cross,\n diamond,\n square,\n star,\n triangle,\n wye\n];\n\nexport default function() {\n var type = constant(circle),\n size = constant(64),\n context = null;\n\n function symbol() {\n var buffer;\n if (!context) context = buffer = path();\n type.apply(this, arguments).draw(context, +size.apply(this, arguments));\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n symbol.type = function(_) {\n return arguments.length ? (type = typeof _ === \"function\" ? _ : constant(_), symbol) : type;\n };\n\n symbol.size = function(_) {\n return arguments.length ? (size = typeof _ === \"function\" ? _ : constant(+_), symbol) : size;\n };\n\n symbol.context = function(_) {\n return arguments.length ? (context = _ == null ? null : _, symbol) : context;\n };\n\n return symbol;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basis.js", "name": "./node_modules/d3-shape/src/curve/basis.js", "index": 477, "index2": 472, "size": 1436, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/bundle.js", "module": "./node_modules/d3-shape/src/curve/bundle.js", "moduleName": "./node_modules/d3-shape/src/curve/bundle.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisOpen.js", "module": "./node_modules/d3-shape/src/curve/basisOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/basisOpen.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "module": "./node_modules/d3-shape/src/curve/basisClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/basisClosed.js", "type": "harmony side effect evaluation", "userRequest": "./basis.js", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/bundle.js", "module": "./node_modules/d3-shape/src/curve/bundle.js", "moduleName": "./node_modules/d3-shape/src/curve/bundle.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "4:20-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/basis.js", "loc": "21:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/basis.js", "loc": "21:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisOpen.js", "module": "./node_modules/d3-shape/src/curve/basisOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/basisOpen.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "30:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "module": "./node_modules/d3-shape/src/curve/basisClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/basisClosed.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "43:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/bundle.js", "module": "./node_modules/d3-shape/src/curve/bundle.js", "moduleName": "./node_modules/d3-shape/src/curve/bundle.js", "type": "harmony import specifier", "userRequest": "./basis.js", "loc": "48:28-33" } ], "usedExports": [ "default", "point", "Basis" ], "providedExports": [ "point", "Basis", "default" ], "optimizationBailout": [], "depth": 4, "source": "export function point(that, x, y) {\n that._context.bezierCurveTo(\n (2 * that._x0 + that._x1) / 3,\n (2 * that._y0 + that._y1) / 3,\n (that._x0 + 2 * that._x1) / 3,\n (that._y0 + 2 * that._y1) / 3,\n (that._x0 + 4 * that._x1 + x) / 6,\n (that._y0 + 4 * that._y1 + y) / 6\n );\n}\n\nexport function Basis(context) {\n this._context = context;\n}\n\nBasis.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 3: point(this, this._x1, this._y1); // proceed\n case 2: this._context.lineTo(this._x1, this._y1); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\n\nexport default function(context) {\n return new Basis(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "name": "./node_modules/d3-shape/src/curve/basisClosed.js", "index": 475, "index2": 473, "size": 1536, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/basisClosed.js", "loc": "19:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/basisClosed.js", "loc": "19:0-67" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import noop from \"../noop.js\";\nimport {point} from \"./basis.js\";\n\nfunction BasisClosed(context) {\n this._context = context;\n}\n\nBasisClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x2, this._y2);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3);\n this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x2, this._y2);\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n break;\n }\n }\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._x2 = x, this._y2 = y; break;\n case 1: this._point = 2; this._x3 = x, this._y3 = y; break;\n case 2: this._point = 3; this._x4 = x, this._y4 = y; this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6); break;\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\n\nexport default function(context) {\n return new BasisClosed(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisOpen.js", "name": "./node_modules/d3-shape/src/curve/basisOpen.js", "index": 478, "index2": 474, "size": 1072, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/basisOpen.js", "loc": "20:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/basisOpen.js", "loc": "20:0-63" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {point} from \"./basis.js\";\n\nfunction BasisOpen(context) {\n this._context = context;\n}\n\nBasisOpen.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; var x0 = (this._x0 + 4 * this._x1 + x) / 6, y0 = (this._y0 + 4 * this._y1 + y) / 6; this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0); break;\n case 3: this._point = 4; // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\n\nexport default function(context) {\n return new BasisOpen(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/bundle.js", "name": "./node_modules/d3-shape/src/curve/bundle.js", "index": 479, "index2": 475, "size": 1084, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/bundle.js", "loc": "22:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/bundle.js", "loc": "22:0-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Basis} from \"./basis.js\";\n\nfunction Bundle(context, beta) {\n this._basis = new Basis(context);\n this._beta = beta;\n}\n\nBundle.prototype = {\n lineStart: function() {\n this._x = [];\n this._y = [];\n this._basis.lineStart();\n },\n lineEnd: function() {\n var x = this._x,\n y = this._y,\n j = x.length - 1;\n\n if (j > 0) {\n var x0 = x[0],\n y0 = y[0],\n dx = x[j] - x0,\n dy = y[j] - y0,\n i = -1,\n t;\n\n while (++i <= j) {\n t = i / j;\n this._basis.point(\n this._beta * x[i] + (1 - this._beta) * (x0 + t * dx),\n this._beta * y[i] + (1 - this._beta) * (y0 + t * dy)\n );\n }\n }\n\n this._x = this._y = null;\n this._basis.lineEnd();\n },\n point: function(x, y) {\n this._x.push(+x);\n this._y.push(+y);\n }\n};\n\nexport default (function custom(beta) {\n\n function bundle(context) {\n return beta === 1 ? new Basis(context) : new Bundle(context, beta);\n }\n\n bundle.beta = function(beta) {\n return custom(+beta);\n };\n\n return bundle;\n})(0.85);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinal.js", "name": "./node_modules/d3-shape/src/curve/cardinal.js", "index": 481, "index2": 476, "size": 1633, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalOpen.js", "module": "./node_modules/d3-shape/src/curve/cardinalOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalOpen.js", "type": "harmony side effect evaluation", "userRequest": "./cardinal.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "module": "./node_modules/d3-shape/src/curve/catmullRom.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRom.js", "type": "harmony side effect evaluation", "userRequest": "./cardinal.js", "loc": "2:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "module": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "type": "harmony side effect evaluation", "userRequest": "./cardinal.js", "loc": "2:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/cardinal.js", "loc": "25:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/cardinal.js", "loc": "25:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalOpen.js", "module": "./node_modules/d3-shape/src/curve/cardinalOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalOpen.js", "type": "harmony import specifier", "userRequest": "./cardinal.js", "loc": "31:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "module": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "type": "harmony import specifier", "userRequest": "./cardinal.js", "loc": "43:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "module": "./node_modules/d3-shape/src/curve/catmullRom.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRom.js", "type": "harmony import specifier", "userRequest": "./cardinal.js", "loc": "80:56-64" } ], "usedExports": [ "default", "Cardinal", "point" ], "providedExports": [ "point", "Cardinal", "default" ], "optimizationBailout": [], "depth": 4, "source": "export function point(that, x, y) {\n that._context.bezierCurveTo(\n that._x1 + that._k * (that._x2 - that._x0),\n that._y1 + that._k * (that._y2 - that._y0),\n that._x2 + that._k * (that._x1 - x),\n that._y2 + that._k * (that._y1 - y),\n that._x2,\n that._y2\n );\n}\n\nexport function Cardinal(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n}\n\nCardinal.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 2: this._context.lineTo(this._x2, this._y2); break;\n case 3: point(this, this._x1, this._y1); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; this._x1 = x, this._y1 = y; break;\n case 2: this._point = 3; // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(tension) {\n\n function cardinal(context) {\n return new Cardinal(context, tension);\n }\n\n cardinal.tension = function(tension) {\n return custom(+tension);\n };\n\n return cardinal;\n})(0);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "name": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "index": 480, "index2": 477, "size": 1611, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony side effect evaluation", "userRequest": "./cardinalClosed.js", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/cardinalClosed.js", "loc": "23:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/cardinalClosed.js", "loc": "23:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony import specifier", "userRequest": "./cardinalClosed.js", "loc": "66:62-76" } ], "usedExports": [ "default", "CardinalClosed" ], "providedExports": [ "CardinalClosed", "default" ], "optimizationBailout": [], "depth": 4, "source": "import noop from \"../noop.js\";\nimport {point} from \"./cardinal.js\";\n\nexport function CardinalClosed(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n}\n\nCardinalClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.lineTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n this.point(this._x5, this._y5);\n break;\n }\n }\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._x3 = x, this._y3 = y; break;\n case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;\n case 2: this._point = 3; this._x5 = x, this._y5 = y; break;\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(tension) {\n\n function cardinal(context) {\n return new CardinalClosed(context, tension);\n }\n\n cardinal.tension = function(tension) {\n return custom(+tension);\n };\n\n return cardinal;\n})(0);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalOpen.js", "name": "./node_modules/d3-shape/src/curve/cardinalOpen.js", "index": 482, "index2": 478, "size": 1291, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomOpen.js", "module": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "type": "harmony side effect evaluation", "userRequest": "./cardinalOpen.js", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/cardinalOpen.js", "loc": "24:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/cardinalOpen.js", "loc": "24:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomOpen.js", "module": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "type": "harmony import specifier", "userRequest": "./cardinalOpen.js", "loc": "54:60-72" } ], "usedExports": [ "default", "CardinalOpen" ], "providedExports": [ "CardinalOpen", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {point} from \"./cardinal.js\";\n\nexport function CardinalOpen(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n}\n\nCardinalOpen.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;\n case 3: this._point = 4; // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(tension) {\n\n function cardinal(context) {\n return new CardinalOpen(context, tension);\n }\n\n cardinal.tension = function(tension) {\n return custom(+tension);\n };\n\n return cardinal;\n})(0);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "name": "./node_modules/d3-shape/src/curve/catmullRom.js", "index": 484, "index2": 479, "size": 2643, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomOpen.js", "module": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "type": "harmony side effect evaluation", "userRequest": "./catmullRom.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony side effect evaluation", "userRequest": "./catmullRom.js", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/catmullRom.js", "loc": "28:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/catmullRom.js", "loc": "28:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomOpen.js", "module": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "type": "harmony import specifier", "userRequest": "./catmullRom.js", "loc": "41:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony import specifier", "userRequest": "./catmullRom.js", "loc": "53:15-20" } ], "usedExports": [ "default", "point" ], "providedExports": [ "point", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {epsilon} from \"../math.js\";\nimport {Cardinal} from \"./cardinal.js\";\n\nexport function point(that, x, y) {\n var x1 = that._x1,\n y1 = that._y1,\n x2 = that._x2,\n y2 = that._y2;\n\n if (that._l01_a > epsilon) {\n var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,\n n = 3 * that._l01_a * (that._l01_a + that._l12_a);\n x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;\n y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;\n }\n\n if (that._l23_a > epsilon) {\n var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,\n m = 3 * that._l23_a * (that._l23_a + that._l12_a);\n x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;\n y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;\n }\n\n that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);\n}\n\nfunction CatmullRom(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n}\n\nCatmullRom.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 2: this._context.lineTo(this._x2, this._y2); break;\n case 3: this.point(this._x2, this._y2); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n\n if (this._point) {\n var x23 = this._x2 - x,\n y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; // proceed\n default: point(this, x, y); break;\n }\n\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(alpha) {\n\n function catmullRom(context) {\n return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);\n }\n\n catmullRom.alpha = function(alpha) {\n return custom(+alpha);\n };\n\n return catmullRom;\n})(0.5);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "name": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "index": 483, "index2": 480, "size": 2092, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/catmullRomClosed.js", "loc": "26:0-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/catmullRomClosed.js", "loc": "26:0-77" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {CardinalClosed} from \"./cardinalClosed.js\";\nimport noop from \"../noop.js\";\nimport {point} from \"./catmullRom.js\";\n\nfunction CatmullRomClosed(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n}\n\nCatmullRomClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.lineTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n this.point(this._x5, this._y5);\n break;\n }\n }\n },\n point: function(x, y) {\n x = +x, y = +y;\n\n if (this._point) {\n var x23 = this._x2 - x,\n y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n\n switch (this._point) {\n case 0: this._point = 1; this._x3 = x, this._y3 = y; break;\n case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;\n case 2: this._point = 3; this._x5 = x, this._y5 = y; break;\n default: point(this, x, y); break;\n }\n\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(alpha) {\n\n function catmullRom(context) {\n return alpha ? new CatmullRomClosed(context, alpha) : new CardinalClosed(context, 0);\n }\n\n catmullRom.alpha = function(alpha) {\n return custom(+alpha);\n };\n\n return catmullRom;\n})(0.5);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomOpen.js", "name": "./node_modules/d3-shape/src/curve/catmullRomOpen.js", "index": 485, "index2": 481, "size": 1766, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/catmullRomOpen.js", "loc": "27:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/catmullRomOpen.js", "loc": "27:0-73" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {CardinalOpen} from \"./cardinalOpen.js\";\nimport {point} from \"./catmullRom.js\";\n\nfunction CatmullRomOpen(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n}\n\nCatmullRomOpen.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n\n if (this._point) {\n var x23 = this._x2 - x,\n y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n\n switch (this._point) {\n case 0: this._point = 1; break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;\n case 3: this._point = 4; // proceed\n default: point(this, x, y); break;\n }\n\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(alpha) {\n\n function catmullRom(context) {\n return alpha ? new CatmullRomOpen(context, alpha) : new CardinalOpen(context, 0);\n }\n\n catmullRom.alpha = function(alpha) {\n return custom(+alpha);\n };\n\n return catmullRom;\n})(0.5);\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "name": "./node_modules/d3-shape/src/curve/linearClosed.js", "index": 486, "index2": 482, "size": 517, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/linearClosed.js", "loc": "29:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/linearClosed.js", "loc": "29:0-69" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import noop from \"../noop.js\";\n\nfunction LinearClosed(context) {\n this._context = context;\n}\n\nLinearClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._point) this._context.closePath();\n },\n point: function(x, y) {\n x = +x, y = +y;\n if (this._point) this._context.lineTo(x, y);\n else this._point = 1, this._context.moveTo(x, y);\n }\n};\n\nexport default function(context) {\n return new LinearClosed(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/monotone.js", "name": "./node_modules/d3-shape/src/curve/monotone.js", "index": 487, "index2": 483, "size": 3203, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/monotone.js", "loc": "31:0-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/monotone.js", "loc": "31:0-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/monotone.js", "loc": "31:0-93" } ], "usedExports": [ "monotoneX", "monotoneY" ], "providedExports": [ "monotoneX", "monotoneY" ], "optimizationBailout": [], "depth": 4, "source": "function sign(x) {\n return x < 0 ? -1 : 1;\n}\n\n// Calculate the slopes of the tangents (Hermite-type interpolation) based on\n// the following paper: Steffen, M. 1990. A Simple Method for Monotonic\n// Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.\n// NOV(II), P. 443, 1990.\nfunction slope3(that, x2, y2) {\n var h0 = that._x1 - that._x0,\n h1 = x2 - that._x1,\n s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),\n s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),\n p = (s0 * h1 + s1 * h0) / (h0 + h1);\n return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;\n}\n\n// Calculate a one-sided slope.\nfunction slope2(that, t) {\n var h = that._x1 - that._x0;\n return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;\n}\n\n// According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations\n// \"you can express cubic Hermite interpolation in terms of cubic Bézier curves\n// with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1\".\nfunction point(that, t0, t1) {\n var x0 = that._x0,\n y0 = that._y0,\n x1 = that._x1,\n y1 = that._y1,\n dx = (x1 - x0) / 3;\n that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);\n}\n\nfunction MonotoneX(context) {\n this._context = context;\n}\n\nMonotoneX.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 =\n this._y0 = this._y1 =\n this._t0 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 2: this._context.lineTo(this._x1, this._y1); break;\n case 3: point(this, this._t0, slope2(this, this._t0)); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n var t1 = NaN;\n\n x = +x, y = +y;\n if (x === this._x1 && y === this._y1) return; // Ignore coincident points.\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; point(this, slope2(this, t1 = slope3(this, x, y)), t1); break;\n default: point(this, this._t0, t1 = slope3(this, x, y)); break;\n }\n\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n this._t0 = t1;\n }\n}\n\nfunction MonotoneY(context) {\n this._context = new ReflectContext(context);\n}\n\n(MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function(x, y) {\n MonotoneX.prototype.point.call(this, y, x);\n};\n\nfunction ReflectContext(context) {\n this._context = context;\n}\n\nReflectContext.prototype = {\n moveTo: function(x, y) { this._context.moveTo(y, x); },\n closePath: function() { this._context.closePath(); },\n lineTo: function(x, y) { this._context.lineTo(y, x); },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); }\n};\n\nexport function monotoneX(context) {\n return new MonotoneX(context);\n}\n\nexport function monotoneY(context) {\n return new MonotoneY(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/natural.js", "name": "./node_modules/d3-shape/src/curve/natural.js", "index": 488, "index2": 484, "size": 1761, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/natural.js", "loc": "32:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/natural.js", "loc": "32:0-59" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "function Natural(context) {\n this._context = context;\n}\n\nNatural.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x = [];\n this._y = [];\n },\n lineEnd: function() {\n var x = this._x,\n y = this._y,\n n = x.length;\n\n if (n) {\n this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);\n if (n === 2) {\n this._context.lineTo(x[1], y[1]);\n } else {\n var px = controlPoints(x),\n py = controlPoints(y);\n for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {\n this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);\n }\n }\n }\n\n if (this._line || (this._line !== 0 && n === 1)) this._context.closePath();\n this._line = 1 - this._line;\n this._x = this._y = null;\n },\n point: function(x, y) {\n this._x.push(+x);\n this._y.push(+y);\n }\n};\n\n// See https://www.particleincell.com/2012/bezier-splines/ for derivation.\nfunction controlPoints(x) {\n var i,\n n = x.length - 1,\n m,\n a = new Array(n),\n b = new Array(n),\n r = new Array(n);\n a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];\n for (i = 1; i < n - 1; ++i) a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];\n a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];\n for (i = 1; i < n; ++i) m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];\n a[n - 1] = r[n - 1] / b[n - 1];\n for (i = n - 2; i >= 0; --i) a[i] = (r[i] - a[i + 1]) / b[i];\n b[n - 1] = (x[n] + a[n - 1]) / 2;\n for (i = 0; i < n - 1; ++i) b[i] = 2 * x[i + 1] - a[i + 1];\n return [a, b];\n}\n\nexport default function(context) {\n return new Natural(context);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/step.js", "name": "./node_modules/d3-shape/src/curve/step.js", "index": 489, "index2": 485, "size": 1367, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./curve/step.js", "loc": "33:0-113" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/step.js", "loc": "33:0-113" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/step.js", "loc": "33:0-113" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./curve/step.js", "loc": "33:0-113" } ], "usedExports": [ "default", "stepAfter", "stepBefore" ], "providedExports": [ "default", "stepBefore", "stepAfter" ], "optimizationBailout": [], "depth": 4, "source": "function Step(context, t) {\n this._context = context;\n this._t = t;\n}\n\nStep.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x = this._y = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n if (0 < this._t && this._t < 1 && this._point === 2) this._context.lineTo(this._x, this._y);\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n if (this._line >= 0) this._t = 1 - this._t, this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; // proceed\n default: {\n if (this._t <= 0) {\n this._context.lineTo(this._x, y);\n this._context.lineTo(x, y);\n } else {\n var x1 = this._x * (1 - this._t) + x * this._t;\n this._context.lineTo(x1, this._y);\n this._context.lineTo(x1, y);\n }\n break;\n }\n }\n this._x = x, this._y = y;\n }\n};\n\nexport default function(context) {\n return new Step(context, 0.5);\n}\n\nexport function stepBefore(context) {\n return new Step(context, 0);\n}\n\nexport function stepAfter(context) {\n return new Step(context, 1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/none.js", "name": "./node_modules/d3-shape/src/offset/none.js", "index": 492, "index2": 487, "size": 309, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/wiggle.js", "module": "./node_modules/d3-shape/src/offset/wiggle.js", "moduleName": "./node_modules/d3-shape/src/offset/wiggle.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/silhouette.js", "module": "./node_modules/d3-shape/src/offset/silhouette.js", "moduleName": "./node_modules/d3-shape/src/offset/silhouette.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/expand.js", "module": "./node_modules/d3-shape/src/offset/expand.js", "moduleName": "./node_modules/d3-shape/src/offset/expand.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony side effect evaluation", "userRequest": "./offset/none.js", "loc": "3:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/silhouette.js", "module": "./node_modules/d3-shape/src/offset/silhouette.js", "moduleName": "./node_modules/d3-shape/src/offset/silhouette.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "9:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/expand.js", "module": "./node_modules/d3-shape/src/offset/expand.js", "moduleName": "./node_modules/d3-shape/src/offset/expand.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "9:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./offset/none.js", "loc": "13:15-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/wiggle.js", "module": "./node_modules/d3-shape/src/offset/wiggle.js", "moduleName": "./node_modules/d3-shape/src/offset/wiggle.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "23:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./offset/none.js", "loc": "38:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./offset/none.js", "loc": "38:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./offset/none.js", "loc": "53:52-62" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(series, order) {\n if (!((n = series.length) > 1)) return;\n for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {\n s0 = s1, s1 = series[order[i]];\n for (j = 0; j < m; ++j) {\n s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1];\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/none.js", "name": "./node_modules/d3-shape/src/order/none.js", "index": 491, "index2": 486, "size": 120, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/reverse.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/order/reverse.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/reverse.js", "name": "./node_modules/d3-shape/src/order/reverse.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 14, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/reverse.js", "module": "./node_modules/d3-shape/src/order/reverse.js", "moduleName": "./node_modules/d3-shape/src/order/reverse.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/ascending.js", "module": "./node_modules/d3-shape/src/order/ascending.js", "moduleName": "./node_modules/d3-shape/src/order/ascending.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/appearance.js", "module": "./node_modules/d3-shape/src/order/appearance.js", "moduleName": "./node_modules/d3-shape/src/order/appearance.js", "type": "harmony side effect evaluation", "userRequest": "./none.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony side effect evaluation", "userRequest": "./order/none.js", "loc": "4:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/reverse.js", "module": "./node_modules/d3-shape/src/order/reverse.js", "moduleName": "./node_modules/d3-shape/src/order/reverse.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "4:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/ascending.js", "module": "./node_modules/d3-shape/src/order/ascending.js", "moduleName": "./node_modules/d3-shape/src/order/ascending.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "5:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/appearance.js", "module": "./node_modules/d3-shape/src/order/appearance.js", "moduleName": "./node_modules/d3-shape/src/order/appearance.js", "type": "harmony import specifier", "userRequest": "./none.js", "loc": "5:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./order/none.js", "loc": "12:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/none.js", "loc": "45:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/none.js", "loc": "45:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./order/none.js", "loc": "49:51-60" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(series) {\n var n = series.length, o = new Array(n);\n while (--n >= 0) o[n] = n;\n return o;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "name": "./node_modules/d3-shape/src/stack.js", "index": 490, "index2": 488, "size": 1444, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./stack.js", "loc": "35:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./stack.js", "loc": "35:0-44" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {slice} from \"./array.js\";\nimport constant from \"./constant.js\";\nimport offsetNone from \"./offset/none.js\";\nimport orderNone from \"./order/none.js\";\n\nfunction stackValue(d, key) {\n return d[key];\n}\n\nexport default function() {\n var keys = constant([]),\n order = orderNone,\n offset = offsetNone,\n value = stackValue;\n\n function stack(data) {\n var kz = keys.apply(this, arguments),\n i,\n m = data.length,\n n = kz.length,\n sz = new Array(n),\n oz;\n\n for (i = 0; i < n; ++i) {\n for (var ki = kz[i], si = sz[i] = new Array(m), j = 0, sij; j < m; ++j) {\n si[j] = sij = [0, +value(data[j], ki, j, data)];\n sij.data = data[j];\n }\n si.key = ki;\n }\n\n for (i = 0, oz = order(sz); i < n; ++i) {\n sz[oz[i]].index = i;\n }\n\n offset(sz, oz);\n return sz;\n }\n\n stack.keys = function(_) {\n return arguments.length ? (keys = typeof _ === \"function\" ? _ : constant(slice.call(_)), stack) : keys;\n };\n\n stack.value = function(_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(+_), stack) : value;\n };\n\n stack.order = function(_) {\n return arguments.length ? (order = _ == null ? orderNone : typeof _ === \"function\" ? _ : constant(slice.call(_)), stack) : order;\n };\n\n stack.offset = function(_) {\n return arguments.length ? (offset = _ == null ? offsetNone : _, stack) : offset;\n };\n\n return stack;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/expand.js", "name": "./node_modules/d3-shape/src/offset/expand.js", "index": 493, "index2": 489, "size": 322, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./offset/expand.js", "loc": "36:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./offset/expand.js", "loc": "36:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series, order) {\n if (!((n = series.length) > 0)) return;\n for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {\n for (y = i = 0; i < n; ++i) y += series[i][j][1] || 0;\n if (y) for (i = 0; i < n; ++i) series[i][j][1] /= y;\n }\n none(series, order);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/diverging.js", "name": "./node_modules/d3-shape/src/offset/diverging.js", "index": 494, "index2": 490, "size": 431, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./offset/diverging.js", "loc": "37:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./offset/diverging.js", "loc": "37:0-70" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "export default function(series, order) {\n if (!((n = series.length) > 0)) return;\n for (var i, j = 0, d, dy, yp, yn, n, m = series[order[0]].length; j < m; ++j) {\n for (yp = yn = 0, i = 0; i < n; ++i) {\n if ((dy = (d = series[order[i]][j])[1] - d[0]) > 0) {\n d[0] = yp, d[1] = yp += dy;\n } else if (dy < 0) {\n d[1] = yn, d[0] = yn += dy;\n } else {\n d[0] = 0, d[1] = dy;\n }\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/silhouette.js", "name": "./node_modules/d3-shape/src/offset/silhouette.js", "index": 495, "index2": 491, "size": 317, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./offset/silhouette.js", "loc": "39:0-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./offset/silhouette.js", "loc": "39:0-72" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series, order) {\n if (!((n = series.length) > 0)) return;\n for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) {\n for (var i = 0, y = 0; i < n; ++i) y += series[i][j][1] || 0;\n s0[j][1] += s0[j][0] = -y / 2;\n }\n none(series, order);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/offset/wiggle.js", "name": "./node_modules/d3-shape/src/offset/wiggle.js", "index": 496, "index2": 492, "size": 743, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./offset/wiggle.js", "loc": "40:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./offset/wiggle.js", "loc": "40:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series, order) {\n if (!((n = series.length) > 0) || !((m = (s0 = series[order[0]]).length) > 0)) return;\n for (var y = 0, j = 1, s0, m, n; j < m; ++j) {\n for (var i = 0, s1 = 0, s2 = 0; i < n; ++i) {\n var si = series[order[i]],\n sij0 = si[j][1] || 0,\n sij1 = si[j - 1][1] || 0,\n s3 = (sij0 - sij1) / 2;\n for (var k = 0; k < i; ++k) {\n var sk = series[order[k]],\n skj0 = sk[j][1] || 0,\n skj1 = sk[j - 1][1] || 0;\n s3 += skj0 - skj1;\n }\n s1 += sij0, s2 += s3 * sij0;\n }\n s0[j - 1][1] += s0[j - 1][0] = y;\n if (s1) y -= s2 / s1;\n }\n s0[j - 1][1] += s0[j - 1][0] = y;\n none(series, order);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/appearance.js", "name": "./node_modules/d3-shape/src/order/appearance.js", "index": 497, "index2": 493, "size": 339, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/order/insideOut.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "name": "./node_modules/d3-shape/src/order/insideOut.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 16, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "module": "./node_modules/d3-shape/src/order/insideOut.js", "moduleName": "./node_modules/d3-shape/src/order/insideOut.js", "type": "harmony side effect evaluation", "userRequest": "./appearance.js", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "module": "./node_modules/d3-shape/src/order/insideOut.js", "moduleName": "./node_modules/d3-shape/src/order/insideOut.js", "type": "harmony import specifier", "userRequest": "./appearance.js", "loc": "9:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/appearance.js", "loc": "41:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/appearance.js", "loc": "41:0-70" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series) {\n var peaks = series.map(peak);\n return none(series).sort(function(a, b) { return peaks[a] - peaks[b]; });\n}\n\nfunction peak(series) {\n var i = -1, j = 0, n = series.length, vi, vj = -Infinity;\n while (++i < n) if ((vi = +series[i][1]) > vj) vj = vi, j = i;\n return j;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/ascending.js", "name": "./node_modules/d3-shape/src/order/ascending.js", "index": 498, "index2": 494, "size": 308, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/descending.js", "module": "./node_modules/d3-shape/src/order/descending.js", "moduleName": "./node_modules/d3-shape/src/order/descending.js", "type": "harmony side effect evaluation", "userRequest": "./ascending.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "module": "./node_modules/d3-shape/src/order/insideOut.js", "moduleName": "./node_modules/d3-shape/src/order/insideOut.js", "type": "harmony side effect evaluation", "userRequest": "./ascending.js", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/descending.js", "module": "./node_modules/d3-shape/src/order/descending.js", "moduleName": "./node_modules/d3-shape/src/order/descending.js", "type": "harmony import specifier", "userRequest": "./ascending.js", "loc": "4:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "module": "./node_modules/d3-shape/src/order/insideOut.js", "moduleName": "./node_modules/d3-shape/src/order/insideOut.js", "type": "harmony import specifier", "userRequest": "./ascending.js", "loc": "8:24-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/ascending.js", "loc": "42:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/ascending.js", "loc": "42:0-68" } ], "usedExports": [ "default", "sum" ], "providedExports": [ "default", "sum" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series) {\n var sums = series.map(sum);\n return none(series).sort(function(a, b) { return sums[a] - sums[b]; });\n}\n\nexport function sum(series) {\n var s = 0, i = -1, n = series.length, v;\n while (++i < n) if (v = +series[i][1]) s += v;\n return s;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/descending.js", "name": "./node_modules/d3-shape/src/order/descending.js", "index": 499, "index2": 495, "size": 115, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/descending.js", "loc": "43:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/descending.js", "loc": "43:0-70" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import ascending from \"./ascending.js\";\n\nexport default function(series) {\n return ascending(series).reverse();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/insideOut.js", "name": "./node_modules/d3-shape/src/order/insideOut.js", "index": 500, "index2": 496, "size": 518, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/insideOut.js", "loc": "44:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/insideOut.js", "loc": "44:0-68" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import appearance from \"./appearance.js\";\nimport {sum} from \"./ascending.js\";\n\nexport default function(series) {\n var n = series.length,\n i,\n j,\n sums = series.map(sum),\n order = appearance(series),\n top = 0,\n bottom = 0,\n tops = [],\n bottoms = [];\n\n for (i = 0; i < n; ++i) {\n j = order[i];\n if (top < bottom) {\n top += sums[j];\n tops.push(j);\n } else {\n bottom += sums[j];\n bottoms.push(j);\n }\n }\n\n return bottoms.reverse().concat(tops);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/order/reverse.js", "name": "./node_modules/d3-shape/src/order/reverse.js", "index": 501, "index2": 497, "size": 100, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 677, "building": 44, "dependencies": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./order/reverse.js", "loc": "46:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "module": "./node_modules/d3-shape/src/index.js", "moduleName": "./node_modules/d3-shape/src/index.js", "type": "harmony export imported specifier", "userRequest": "./order/reverse.js", "loc": "46:0-64" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import none from \"./none.js\";\n\nexport default function(series) {\n return none(series).reverse();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoFormat.js", "name": "./node_modules/d3-time-format/src/isoFormat.js", "index": 504, "index2": 500, "size": 287, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "name": "./node_modules/d3-time-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 418, "building": 18, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoParse.js", "module": "./node_modules/d3-time-format/src/isoParse.js", "moduleName": "./node_modules/d3-time-format/src/isoParse.js", "type": "harmony side effect evaluation", "userRequest": "./isoFormat.js", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./isoFormat.js", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./isoFormat.js", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoParse.js", "module": "./node_modules/d3-time-format/src/isoParse.js", "moduleName": "./node_modules/d3-time-format/src/isoParse.js", "type": "harmony import specifier", "userRequest": "./isoFormat.js", "loc": "11:15-27" } ], "usedExports": [ "default", "isoSpecifier" ], "providedExports": [ "isoSpecifier", "default" ], "optimizationBailout": [], "depth": 4, "source": "import {utcFormat} from \"./defaultLocale.js\";\n\nexport var isoSpecifier = \"%Y-%m-%dT%H:%M:%S.%LZ\";\n\nfunction formatIsoNative(date) {\n return date.toISOString();\n}\n\nvar formatIso = Date.prototype.toISOString\n ? formatIsoNative\n : utcFormat(isoSpecifier);\n\nexport default formatIso;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/isoParse.js", "name": "./node_modules/d3-time-format/src/isoParse.js", "index": 505, "index2": 501, "size": 325, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-time-format/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "name": "./node_modules/d3-time-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 418, "building": 18, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./isoParse.js", "loc": "4:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time-format/src/index.js", "module": "./node_modules/d3-time-format/src/index.js", "moduleName": "./node_modules/d3-time-format/src/index.js", "type": "harmony export imported specifier", "userRequest": "./isoParse.js", "loc": "4:0-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {isoSpecifier} from \"./isoFormat.js\";\nimport {utcParse} from \"./defaultLocale.js\";\n\nfunction parseIsoNative(string) {\n var date = new Date(string);\n return isNaN(date) ? null : date;\n}\n\nvar parseIso = +new Date(\"2000-01-01T00:00:00.000Z\")\n ? parseIsoNative\n : utcParse(isoSpecifier);\n\nexport default parseIso;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/interval.js", "name": "./node_modules/d3-timer/src/interval.js", "index": 507, "index2": 503, "size": 403, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-timer/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "name": "./node_modules/d3-timer/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 98, "building": 72, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./interval.js", "loc": "11:0-13:23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-timer/src/index.js", "module": "./node_modules/d3-timer/src/index.js", "moduleName": "./node_modules/d3-timer/src/index.js", "type": "harmony export imported specifier", "userRequest": "./interval.js", "loc": "11:0-13:23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {Timer, now} from \"./timer.js\";\n\nexport default function(callback, delay, time) {\n var t = new Timer, total = delay;\n if (delay == null) return t.restart(callback, delay, time), t;\n delay = +delay, time = time == null ? now() : +time;\n t.restart(function tick(elapsed) {\n elapsed += total;\n t.restart(tick, total += delay, time);\n callback(elapsed);\n }, delay, time);\n return t;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "index": 509, "index2": 513, "size": 1420, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 174, "building": 44 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "module": "./node_modules/d3-voronoi/src/index.js", "moduleName": "./node_modules/d3-voronoi/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./voronoi", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "module": "./node_modules/d3-voronoi/src/index.js", "moduleName": "./node_modules/d3-voronoi/src/index.js", "type": "harmony export imported specifier", "userRequest": "./voronoi", "loc": "1:0-45" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import constant from \"./constant\";\nimport {x as pointX, y as pointY} from \"./point\";\nimport Diagram, {epsilon} from \"./Diagram\";\n\nexport default function() {\n var x = pointX,\n y = pointY,\n extent = null;\n\n function voronoi(data) {\n return new Diagram(data.map(function(d, i) {\n var s = [Math.round(x(d, i, data) / epsilon) * epsilon, Math.round(y(d, i, data) / epsilon) * epsilon];\n s.index = i;\n s.data = d;\n return s;\n }), extent);\n }\n\n voronoi.polygons = function(data) {\n return voronoi(data).polygons();\n };\n\n voronoi.links = function(data) {\n return voronoi(data).links();\n };\n\n voronoi.triangles = function(data) {\n return voronoi(data).triangles();\n };\n\n voronoi.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), voronoi) : x;\n };\n\n voronoi.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), voronoi) : y;\n };\n\n voronoi.extent = function(_) {\n return arguments.length ? (extent = _ == null ? null : [[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]], voronoi) : extent && [[extent[0][0], extent[0][1]], [extent[1][0], extent[1][1]]];\n };\n\n voronoi.size = function(_) {\n return arguments.length ? (extent = _ == null ? null : [[0, 0], [+_[0], +_[1]]], voronoi) : extent && [extent[1][0] - extent[0][0], extent[1][1] - extent[0][1]];\n };\n\n return voronoi;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/transform.js", "name": "./node_modules/d3-zoom/src/transform.js", "index": 522, "index2": 517, "size": 1395, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-zoom/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 67, "building": 95, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "module": "./node_modules/d3-zoom/src/index.js", "moduleName": "./node_modules/d3-zoom/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./transform.js", "loc": "2:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "module": "./node_modules/d3-zoom/src/index.js", "moduleName": "./node_modules/d3-zoom/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform.js", "loc": "2:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "module": "./node_modules/d3-zoom/src/index.js", "moduleName": "./node_modules/d3-zoom/src/index.js", "type": "harmony export imported specifier", "userRequest": "./transform.js", "loc": "2:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "./transform.js", "loc": "8:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./transform.js", "loc": "30:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./transform.js", "loc": "131:23-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./transform.js", "loc": "140:47-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./transform.js", "loc": "145:68-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./transform.js", "loc": "168:55-64" } ], "usedExports": [ "identity", "Transform", "default" ], "providedExports": [ "Transform", "identity", "default" ], "optimizationBailout": [], "depth": 4, "source": "export function Transform(k, x, y) {\n this.k = k;\n this.x = x;\n this.y = y;\n}\n\nTransform.prototype = {\n constructor: Transform,\n scale: function(k) {\n return k === 1 ? this : new Transform(this.k * k, this.x, this.y);\n },\n translate: function(x, y) {\n return x === 0 & y === 0 ? this : new Transform(this.k, this.x + this.k * x, this.y + this.k * y);\n },\n apply: function(point) {\n return [point[0] * this.k + this.x, point[1] * this.k + this.y];\n },\n applyX: function(x) {\n return x * this.k + this.x;\n },\n applyY: function(y) {\n return y * this.k + this.y;\n },\n invert: function(location) {\n return [(location[0] - this.x) / this.k, (location[1] - this.y) / this.k];\n },\n invertX: function(x) {\n return (x - this.x) / this.k;\n },\n invertY: function(y) {\n return (y - this.y) / this.k;\n },\n rescaleX: function(x) {\n return x.copy().domain(x.range().map(this.invertX, this).map(x.invert, x));\n },\n rescaleY: function(y) {\n return y.copy().domain(y.range().map(this.invertY, this).map(y.invert, y));\n },\n toString: function() {\n return \"translate(\" + this.x + \",\" + this.y + \") scale(\" + this.k + \")\";\n }\n};\n\nexport var identity = new Transform(1, 0, 0);\n\ntransform.prototype = Transform.prototype;\n\nexport default function transform(node) {\n while (!node.__zoom) if (!(node = node.parentNode)) return identity;\n return node.__zoom;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "name": "./node_modules/d3-zoom/src/zoom.js", "index": 519, "index2": 519, "size": 14591, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "issuerId": null, "issuerName": "./node_modules/d3-zoom/src/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } } ], "profile": { "factory": 67, "building": 95, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "module": "./node_modules/d3-zoom/src/index.js", "moduleName": "./node_modules/d3-zoom/src/index.js", "type": "harmony side effect evaluation", "userRequest": "./zoom.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "module": "./node_modules/d3-zoom/src/index.js", "moduleName": "./node_modules/d3-zoom/src/index.js", "type": "harmony export imported specifier", "userRequest": "./zoom.js", "loc": "1:0-42" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "import {dispatch} from \"d3-dispatch\";\nimport {dragDisable, dragEnable} from \"d3-drag\";\nimport {interpolateZoom} from \"d3-interpolate\";\nimport {event, customEvent, select, mouse, touch} from \"d3-selection\";\nimport {interrupt} from \"d3-transition\";\nimport constant from \"./constant.js\";\nimport ZoomEvent from \"./event.js\";\nimport {Transform, identity} from \"./transform.js\";\nimport noevent, {nopropagation} from \"./noevent.js\";\n\n// Ignore right-click, since that should open the context menu.\nfunction defaultFilter() {\n return !event.ctrlKey && !event.button;\n}\n\nfunction defaultExtent() {\n var e = this;\n if (e instanceof SVGElement) {\n e = e.ownerSVGElement || e;\n if (e.hasAttribute(\"viewBox\")) {\n e = e.viewBox.baseVal;\n return [[e.x, e.y], [e.x + e.width, e.y + e.height]];\n }\n return [[0, 0], [e.width.baseVal.value, e.height.baseVal.value]];\n }\n return [[0, 0], [e.clientWidth, e.clientHeight]];\n}\n\nfunction defaultTransform() {\n return this.__zoom || identity;\n}\n\nfunction defaultWheelDelta() {\n return -event.deltaY * (event.deltaMode === 1 ? 0.05 : event.deltaMode ? 1 : 0.002);\n}\n\nfunction defaultTouchable() {\n return navigator.maxTouchPoints || (\"ontouchstart\" in this);\n}\n\nfunction defaultConstrain(transform, extent, translateExtent) {\n var dx0 = transform.invertX(extent[0][0]) - translateExtent[0][0],\n dx1 = transform.invertX(extent[1][0]) - translateExtent[1][0],\n dy0 = transform.invertY(extent[0][1]) - translateExtent[0][1],\n dy1 = transform.invertY(extent[1][1]) - translateExtent[1][1];\n return transform.translate(\n dx1 > dx0 ? (dx0 + dx1) / 2 : Math.min(0, dx0) || Math.max(0, dx1),\n dy1 > dy0 ? (dy0 + dy1) / 2 : Math.min(0, dy0) || Math.max(0, dy1)\n );\n}\n\nexport default function() {\n var filter = defaultFilter,\n extent = defaultExtent,\n constrain = defaultConstrain,\n wheelDelta = defaultWheelDelta,\n touchable = defaultTouchable,\n scaleExtent = [0, Infinity],\n translateExtent = [[-Infinity, -Infinity], [Infinity, Infinity]],\n duration = 250,\n interpolate = interpolateZoom,\n listeners = dispatch(\"start\", \"zoom\", \"end\"),\n touchstarting,\n touchending,\n touchDelay = 500,\n wheelDelay = 150,\n clickDistance2 = 0;\n\n function zoom(selection) {\n selection\n .property(\"__zoom\", defaultTransform)\n .on(\"wheel.zoom\", wheeled)\n .on(\"mousedown.zoom\", mousedowned)\n .on(\"dblclick.zoom\", dblclicked)\n .filter(touchable)\n .on(\"touchstart.zoom\", touchstarted)\n .on(\"touchmove.zoom\", touchmoved)\n .on(\"touchend.zoom touchcancel.zoom\", touchended)\n .style(\"touch-action\", \"none\")\n .style(\"-webkit-tap-highlight-color\", \"rgba(0,0,0,0)\");\n }\n\n zoom.transform = function(collection, transform, point) {\n var selection = collection.selection ? collection.selection() : collection;\n selection.property(\"__zoom\", defaultTransform);\n if (collection !== selection) {\n schedule(collection, transform, point);\n } else {\n selection.interrupt().each(function() {\n gesture(this, arguments)\n .start()\n .zoom(null, typeof transform === \"function\" ? transform.apply(this, arguments) : transform)\n .end();\n });\n }\n };\n\n zoom.scaleBy = function(selection, k, p) {\n zoom.scaleTo(selection, function() {\n var k0 = this.__zoom.k,\n k1 = typeof k === \"function\" ? k.apply(this, arguments) : k;\n return k0 * k1;\n }, p);\n };\n\n zoom.scaleTo = function(selection, k, p) {\n zoom.transform(selection, function() {\n var e = extent.apply(this, arguments),\n t0 = this.__zoom,\n p0 = p == null ? centroid(e) : typeof p === \"function\" ? p.apply(this, arguments) : p,\n p1 = t0.invert(p0),\n k1 = typeof k === \"function\" ? k.apply(this, arguments) : k;\n return constrain(translate(scale(t0, k1), p0, p1), e, translateExtent);\n }, p);\n };\n\n zoom.translateBy = function(selection, x, y) {\n zoom.transform(selection, function() {\n return constrain(this.__zoom.translate(\n typeof x === \"function\" ? x.apply(this, arguments) : x,\n typeof y === \"function\" ? y.apply(this, arguments) : y\n ), extent.apply(this, arguments), translateExtent);\n });\n };\n\n zoom.translateTo = function(selection, x, y, p) {\n zoom.transform(selection, function() {\n var e = extent.apply(this, arguments),\n t = this.__zoom,\n p0 = p == null ? centroid(e) : typeof p === \"function\" ? p.apply(this, arguments) : p;\n return constrain(identity.translate(p0[0], p0[1]).scale(t.k).translate(\n typeof x === \"function\" ? -x.apply(this, arguments) : -x,\n typeof y === \"function\" ? -y.apply(this, arguments) : -y\n ), e, translateExtent);\n }, p);\n };\n\n function scale(transform, k) {\n k = Math.max(scaleExtent[0], Math.min(scaleExtent[1], k));\n return k === transform.k ? transform : new Transform(k, transform.x, transform.y);\n }\n\n function translate(transform, p0, p1) {\n var x = p0[0] - p1[0] * transform.k, y = p0[1] - p1[1] * transform.k;\n return x === transform.x && y === transform.y ? transform : new Transform(transform.k, x, y);\n }\n\n function centroid(extent) {\n return [(+extent[0][0] + +extent[1][0]) / 2, (+extent[0][1] + +extent[1][1]) / 2];\n }\n\n function schedule(transition, transform, point) {\n transition\n .on(\"start.zoom\", function() { gesture(this, arguments).start(); })\n .on(\"interrupt.zoom end.zoom\", function() { gesture(this, arguments).end(); })\n .tween(\"zoom\", function() {\n var that = this,\n args = arguments,\n g = gesture(that, args),\n e = extent.apply(that, args),\n p = point == null ? centroid(e) : typeof point === \"function\" ? point.apply(that, args) : point,\n w = Math.max(e[1][0] - e[0][0], e[1][1] - e[0][1]),\n a = that.__zoom,\n b = typeof transform === \"function\" ? transform.apply(that, args) : transform,\n i = interpolate(a.invert(p).concat(w / a.k), b.invert(p).concat(w / b.k));\n return function(t) {\n if (t === 1) t = b; // Avoid rounding error on end.\n else { var l = i(t), k = w / l[2]; t = new Transform(k, p[0] - l[0] * k, p[1] - l[1] * k); }\n g.zoom(null, t);\n };\n });\n }\n\n function gesture(that, args, clean) {\n return (!clean && that.__zooming) || new Gesture(that, args);\n }\n\n function Gesture(that, args) {\n this.that = that;\n this.args = args;\n this.active = 0;\n this.extent = extent.apply(that, args);\n this.taps = 0;\n }\n\n Gesture.prototype = {\n start: function() {\n if (++this.active === 1) {\n this.that.__zooming = this;\n this.emit(\"start\");\n }\n return this;\n },\n zoom: function(key, transform) {\n if (this.mouse && key !== \"mouse\") this.mouse[1] = transform.invert(this.mouse[0]);\n if (this.touch0 && key !== \"touch\") this.touch0[1] = transform.invert(this.touch0[0]);\n if (this.touch1 && key !== \"touch\") this.touch1[1] = transform.invert(this.touch1[0]);\n this.that.__zoom = transform;\n this.emit(\"zoom\");\n return this;\n },\n end: function() {\n if (--this.active === 0) {\n delete this.that.__zooming;\n this.emit(\"end\");\n }\n return this;\n },\n emit: function(type) {\n customEvent(new ZoomEvent(zoom, type, this.that.__zoom), listeners.apply, listeners, [type, this.that, this.args]);\n }\n };\n\n function wheeled() {\n if (!filter.apply(this, arguments)) return;\n var g = gesture(this, arguments),\n t = this.__zoom,\n k = Math.max(scaleExtent[0], Math.min(scaleExtent[1], t.k * Math.pow(2, wheelDelta.apply(this, arguments)))),\n p = mouse(this);\n\n // If the mouse is in the same location as before, reuse it.\n // If there were recent wheel events, reset the wheel idle timeout.\n if (g.wheel) {\n if (g.mouse[0][0] !== p[0] || g.mouse[0][1] !== p[1]) {\n g.mouse[1] = t.invert(g.mouse[0] = p);\n }\n clearTimeout(g.wheel);\n }\n\n // If this wheel event won’t trigger a transform change, ignore it.\n else if (t.k === k) return;\n\n // Otherwise, capture the mouse point and location at the start.\n else {\n g.mouse = [p, t.invert(p)];\n interrupt(this);\n g.start();\n }\n\n noevent();\n g.wheel = setTimeout(wheelidled, wheelDelay);\n g.zoom(\"mouse\", constrain(translate(scale(t, k), g.mouse[0], g.mouse[1]), g.extent, translateExtent));\n\n function wheelidled() {\n g.wheel = null;\n g.end();\n }\n }\n\n function mousedowned() {\n if (touchending || !filter.apply(this, arguments)) return;\n var g = gesture(this, arguments, true),\n v = select(event.view).on(\"mousemove.zoom\", mousemoved, true).on(\"mouseup.zoom\", mouseupped, true),\n p = mouse(this),\n x0 = event.clientX,\n y0 = event.clientY;\n\n dragDisable(event.view);\n nopropagation();\n g.mouse = [p, this.__zoom.invert(p)];\n interrupt(this);\n g.start();\n\n function mousemoved() {\n noevent();\n if (!g.moved) {\n var dx = event.clientX - x0, dy = event.clientY - y0;\n g.moved = dx * dx + dy * dy > clickDistance2;\n }\n g.zoom(\"mouse\", constrain(translate(g.that.__zoom, g.mouse[0] = mouse(g.that), g.mouse[1]), g.extent, translateExtent));\n }\n\n function mouseupped() {\n v.on(\"mousemove.zoom mouseup.zoom\", null);\n dragEnable(event.view, g.moved);\n noevent();\n g.end();\n }\n }\n\n function dblclicked() {\n if (!filter.apply(this, arguments)) return;\n var t0 = this.__zoom,\n p0 = mouse(this),\n p1 = t0.invert(p0),\n k1 = t0.k * (event.shiftKey ? 0.5 : 2),\n t1 = constrain(translate(scale(t0, k1), p0, p1), extent.apply(this, arguments), translateExtent);\n\n noevent();\n if (duration > 0) select(this).transition().duration(duration).call(schedule, t1, p0);\n else select(this).call(zoom.transform, t1);\n }\n\n function touchstarted() {\n if (!filter.apply(this, arguments)) return;\n var touches = event.touches,\n n = touches.length,\n g = gesture(this, arguments, event.changedTouches.length === n),\n started, i, t, p;\n\n nopropagation();\n for (i = 0; i < n; ++i) {\n t = touches[i], p = touch(this, touches, t.identifier);\n p = [p, this.__zoom.invert(p), t.identifier];\n if (!g.touch0) g.touch0 = p, started = true, g.taps = 1 + !!touchstarting;\n else if (!g.touch1 && g.touch0[2] !== p[2]) g.touch1 = p, g.taps = 0;\n }\n\n if (touchstarting) touchstarting = clearTimeout(touchstarting);\n\n if (started) {\n if (g.taps < 2) touchstarting = setTimeout(function() { touchstarting = null; }, touchDelay);\n interrupt(this);\n g.start();\n }\n }\n\n function touchmoved() {\n if (!this.__zooming) return;\n var g = gesture(this, arguments),\n touches = event.changedTouches,\n n = touches.length, i, t, p, l;\n\n noevent();\n if (touchstarting) touchstarting = clearTimeout(touchstarting);\n g.taps = 0;\n for (i = 0; i < n; ++i) {\n t = touches[i], p = touch(this, touches, t.identifier);\n if (g.touch0 && g.touch0[2] === t.identifier) g.touch0[0] = p;\n else if (g.touch1 && g.touch1[2] === t.identifier) g.touch1[0] = p;\n }\n t = g.that.__zoom;\n if (g.touch1) {\n var p0 = g.touch0[0], l0 = g.touch0[1],\n p1 = g.touch1[0], l1 = g.touch1[1],\n dp = (dp = p1[0] - p0[0]) * dp + (dp = p1[1] - p0[1]) * dp,\n dl = (dl = l1[0] - l0[0]) * dl + (dl = l1[1] - l0[1]) * dl;\n t = scale(t, Math.sqrt(dp / dl));\n p = [(p0[0] + p1[0]) / 2, (p0[1] + p1[1]) / 2];\n l = [(l0[0] + l1[0]) / 2, (l0[1] + l1[1]) / 2];\n }\n else if (g.touch0) p = g.touch0[0], l = g.touch0[1];\n else return;\n g.zoom(\"touch\", constrain(translate(t, p, l), g.extent, translateExtent));\n }\n\n function touchended() {\n if (!this.__zooming) return;\n var g = gesture(this, arguments),\n touches = event.changedTouches,\n n = touches.length, i, t;\n\n nopropagation();\n if (touchending) clearTimeout(touchending);\n touchending = setTimeout(function() { touchending = null; }, touchDelay);\n for (i = 0; i < n; ++i) {\n t = touches[i];\n if (g.touch0 && g.touch0[2] === t.identifier) delete g.touch0;\n else if (g.touch1 && g.touch1[2] === t.identifier) delete g.touch1;\n }\n if (g.touch1 && !g.touch0) g.touch0 = g.touch1, delete g.touch1;\n if (g.touch0) g.touch0[1] = this.__zoom.invert(g.touch0[0]);\n else {\n g.end();\n // If this was a dbltap, reroute to the (optional) dblclick.zoom handler.\n if (g.taps === 2) {\n var p = select(this).on(\"dblclick.zoom\");\n if (p) p.apply(this, arguments);\n }\n }\n }\n\n zoom.wheelDelta = function(_) {\n return arguments.length ? (wheelDelta = typeof _ === \"function\" ? _ : constant(+_), zoom) : wheelDelta;\n };\n\n zoom.filter = function(_) {\n return arguments.length ? (filter = typeof _ === \"function\" ? _ : constant(!!_), zoom) : filter;\n };\n\n zoom.touchable = function(_) {\n return arguments.length ? (touchable = typeof _ === \"function\" ? _ : constant(!!_), zoom) : touchable;\n };\n\n zoom.extent = function(_) {\n return arguments.length ? (extent = typeof _ === \"function\" ? _ : constant([[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]]), zoom) : extent;\n };\n\n zoom.scaleExtent = function(_) {\n return arguments.length ? (scaleExtent[0] = +_[0], scaleExtent[1] = +_[1], zoom) : [scaleExtent[0], scaleExtent[1]];\n };\n\n zoom.translateExtent = function(_) {\n return arguments.length ? (translateExtent[0][0] = +_[0][0], translateExtent[1][0] = +_[1][0], translateExtent[0][1] = +_[0][1], translateExtent[1][1] = +_[1][1], zoom) : [[translateExtent[0][0], translateExtent[0][1]], [translateExtent[1][0], translateExtent[1][1]]];\n };\n\n zoom.constrain = function(_) {\n return arguments.length ? (constrain = _, zoom) : constrain;\n };\n\n zoom.duration = function(_) {\n return arguments.length ? (duration = +_, zoom) : duration;\n };\n\n zoom.interpolate = function(_) {\n return arguments.length ? (interpolate = _, zoom) : interpolate;\n };\n\n zoom.on = function() {\n var value = listeners.on.apply(listeners, arguments);\n return value === listeners ? zoom : value;\n };\n\n zoom.clickDistance = function(_) {\n return arguments.length ? (clickDistance2 = (_ = +_) * _, zoom) : Math.sqrt(clickDistance2);\n };\n\n return zoom;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/number.js", "name": "./node_modules/d3-array/src/number.js", "index": 14, "index2": 8, "size": 63, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/mean.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "name": "./node_modules/d3-array/src/mean.js", "profile": { "factory": 198, "building": 41, "dependencies": 117 } } ], "profile": { "factory": 117, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "module": "./node_modules/d3-array/src/mean.js", "moduleName": "./node_modules/d3-array/src/mean.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/quantile.js", "module": "./node_modules/d3-array/src/quantile.js", "moduleName": "./node_modules/d3-array/src/quantile.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/variance.js", "module": "./node_modules/d3-array/src/variance.js", "moduleName": "./node_modules/d3-array/src/variance.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony side effect evaluation", "userRequest": "../number", "loc": "3:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/quantile.js", "module": "./node_modules/d3-array/src/quantile.js", "moduleName": "./node_modules/d3-array/src/quantile.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "4:33-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony import specifier", "userRequest": "../number", "loc": "7:28-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "module": "./node_modules/d3-array/src/mean.js", "moduleName": "./node_modules/d3-array/src/mean.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "12:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "13:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/variance.js", "module": "./node_modules/d3-array/src/variance.js", "moduleName": "./node_modules/d3-array/src/variance.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "14:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/mean.js", "module": "./node_modules/d3-array/src/mean.js", "moduleName": "./node_modules/d3-array/src/mean.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "19:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/median.js", "module": "./node_modules/d3-array/src/median.js", "moduleName": "./node_modules/d3-array/src/median.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "21:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/variance.js", "module": "./node_modules/d3-array/src/variance.js", "moduleName": "./node_modules/d3-array/src/variance.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "24:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return x === null ? NaN : +x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/array.js", "name": "./node_modules/d3-array/src/array.js", "index": 17, "index2": 12, "size": 90, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/histogram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "name": "./node_modules/d3-array/src/histogram.js", "profile": { "factory": 198, "building": 41, "dependencies": 117 } } ], "profile": { "factory": 119, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony side effect evaluation", "userRequest": "../array", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/threshold/freedmanDiaconis.js", "module": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "moduleName": "./node_modules/d3-array/src/threshold/freedmanDiaconis.js", "type": "harmony import specifier", "userRequest": "../array", "loc": "7:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "71:101-106" } ], "usedExports": [ "map", "slice" ], "providedExports": [ "slice", "map" ], "optimizationBailout": [], "depth": 5, "source": "var array = Array.prototype;\n\nexport var slice = array.slice;\nexport var map = array.map;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/constant.js", "name": "./node_modules/d3-array/src/constant.js", "index": 18, "index2": 13, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/histogram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "name": "./node_modules/d3-array/src/histogram.js", "profile": { "factory": 198, "building": 41, "dependencies": 117 } } ], "profile": { "factory": 119, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "63:69-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "67:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "71:92-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "71:118-126" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/identity.js", "name": "./node_modules/d3-array/src/identity.js", "index": 19, "index2": 14, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "issuerId": null, "issuerName": "./node_modules/d3-array/src/histogram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/index.js", "name": "./node_modules/d3-array/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "name": "./node_modules/d3-array/src/histogram.js", "profile": { "factory": 198, "building": 41, "dependencies": 117 } } ], "profile": { "factory": 119, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony side effect evaluation", "userRequest": "./identity", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-array/src/histogram.js", "module": "./node_modules/d3-array/src/histogram.js", "moduleName": "./node_modules/d3-array/src/histogram.js", "type": "harmony import specifier", "userRequest": "./identity", "loc": "11:14-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/array.js", "name": "./node_modules/d3-axis/src/array.js", "index": 39, "index2": 34, "size": 42, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "issuerId": null, "issuerName": "./node_modules/d3-axis/src/axis.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "name": "./node_modules/d3-axis/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "name": "./node_modules/d3-axis/src/axis.js", "profile": { "factory": 187, "building": 33 } } ], "profile": { "factory": 124, "building": 39 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "126:27-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "130:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "134:63-68" } ], "usedExports": [ "slice" ], "providedExports": [ "slice" ], "optimizationBailout": [], "depth": 5, "source": "export var slice = Array.prototype.slice;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/identity.js", "name": "./node_modules/d3-axis/src/identity.js", "index": 40, "index2": 35, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "issuerId": null, "issuerName": "./node_modules/d3-axis/src/axis.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/index.js", "name": "./node_modules/d3-axis/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "name": "./node_modules/d3-axis/src/axis.js", "profile": { "factory": 187, "building": 33 } } ], "profile": { "factory": 124, "building": 39 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony side effect evaluation", "userRequest": "./identity", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-axis/src/axis.js", "module": "./node_modules/d3-axis/src/axis.js", "moduleName": "./node_modules/d3-axis/src/axis.js", "type": "harmony import specifier", "userRequest": "./identity", "loc": "49:105-113" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/select.js", "name": "./node_modules/d3-selection/src/selection/select.js", "index": 85, "index2": 74, "size": 653, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./select", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./select", "loc": "46:10-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\nimport selector from \"../selector\";\n\nexport default function(select) {\n if (typeof select !== \"function\") select = selector(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {\n if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {\n if (\"__data__\" in node) subnode.__data__ = node.__data__;\n subgroup[i] = subnode;\n }\n }\n }\n\n return new Selection(subgroups, this._parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/selectAll.js", "name": "./node_modules/d3-selection/src/selection/selectAll.js", "index": 86, "index2": 75, "size": 550, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./selectAll", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./selectAll", "loc": "47:13-32" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\nimport selectorAll from \"../selectorAll\";\n\nexport default function(select) {\n if (typeof select !== \"function\") select = selectorAll(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n subgroups.push(select.call(node, node.__data__, i, group));\n parents.push(node);\n }\n }\n }\n\n return new Selection(subgroups, parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/filter.js", "name": "./node_modules/d3-selection/src/selection/filter.js", "index": 87, "index2": 76, "size": 546, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./filter", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./filter", "loc": "48:10-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\nimport matcher from \"../matcher\";\n\nexport default function(match) {\n if (typeof match !== \"function\") match = matcher(match);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {\n if ((node = group[i]) && match.call(node, node.__data__, i, group)) {\n subgroup.push(node);\n }\n }\n }\n\n return new Selection(subgroups, this._parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/enter.js", "name": "./node_modules/d3-selection/src/selection/enter.js", "index": 89, "index2": 78, "size": 792, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony side effect evaluation", "userRequest": "./enter", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./enter", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony import specifier", "userRequest": "./enter", "loc": "21:21-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./enter", "loc": "50:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony import specifier", "userRequest": "./enter", "loc": "65:21-30" } ], "usedExports": [ "default", "EnterNode" ], "providedExports": [ "default", "EnterNode" ], "optimizationBailout": [], "depth": 5, "source": "import sparse from \"./sparse\";\nimport {Selection} from \"./index\";\n\nexport default function() {\n return new Selection(this._enter || this._groups.map(sparse), this._parents);\n}\n\nexport function EnterNode(parent, datum) {\n this.ownerDocument = parent.ownerDocument;\n this.namespaceURI = parent.namespaceURI;\n this._next = null;\n this._parent = parent;\n this.__data__ = datum;\n}\n\nEnterNode.prototype = {\n constructor: EnterNode,\n appendChild: function(child) { return this._parent.insertBefore(child, this._next); },\n insertBefore: function(child, next) { return this._parent.insertBefore(child, next); },\n querySelector: function(selector) { return this._parent.querySelector(selector); },\n querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "name": "./node_modules/d3-selection/src/selection/data.js", "index": 88, "index2": 80, "size": 3597, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./data", "loc": "4:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./data", "loc": "49:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\nimport {EnterNode} from \"./enter\";\nimport constant from \"../constant\";\n\nvar keyPrefix = \"$\"; // Protect against keys like “__proto__”.\n\nfunction bindIndex(parent, group, enter, update, exit, data) {\n var i = 0,\n node,\n groupLength = group.length,\n dataLength = data.length;\n\n // Put any non-null nodes that fit into update.\n // Put any null nodes into enter.\n // Put any remaining data into enter.\n for (; i < dataLength; ++i) {\n if (node = group[i]) {\n node.__data__ = data[i];\n update[i] = node;\n } else {\n enter[i] = new EnterNode(parent, data[i]);\n }\n }\n\n // Put any non-null nodes that don’t fit into exit.\n for (; i < groupLength; ++i) {\n if (node = group[i]) {\n exit[i] = node;\n }\n }\n}\n\nfunction bindKey(parent, group, enter, update, exit, data, key) {\n var i,\n node,\n nodeByKeyValue = {},\n groupLength = group.length,\n dataLength = data.length,\n keyValues = new Array(groupLength),\n keyValue;\n\n // Compute the key for each node.\n // If multiple nodes have the same key, the duplicates are added to exit.\n for (i = 0; i < groupLength; ++i) {\n if (node = group[i]) {\n keyValues[i] = keyValue = keyPrefix + key.call(node, node.__data__, i, group);\n if (keyValue in nodeByKeyValue) {\n exit[i] = node;\n } else {\n nodeByKeyValue[keyValue] = node;\n }\n }\n }\n\n // Compute the key for each datum.\n // If there a node associated with this key, join and add it to update.\n // If there is not (or the key is a duplicate), add it to enter.\n for (i = 0; i < dataLength; ++i) {\n keyValue = keyPrefix + key.call(parent, data[i], i, data);\n if (node = nodeByKeyValue[keyValue]) {\n update[i] = node;\n node.__data__ = data[i];\n nodeByKeyValue[keyValue] = null;\n } else {\n enter[i] = new EnterNode(parent, data[i]);\n }\n }\n\n // Add any remaining nodes that were not bound to data to exit.\n for (i = 0; i < groupLength; ++i) {\n if ((node = group[i]) && (nodeByKeyValue[keyValues[i]] === node)) {\n exit[i] = node;\n }\n }\n}\n\nexport default function(value, key) {\n if (!value) {\n data = new Array(this.size()), j = -1;\n this.each(function(d) { data[++j] = d; });\n return data;\n }\n\n var bind = key ? bindKey : bindIndex,\n parents = this._parents,\n groups = this._groups;\n\n if (typeof value !== \"function\") value = constant(value);\n\n for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) {\n var parent = parents[j],\n group = groups[j],\n groupLength = group.length,\n data = value.call(parent, parent && parent.__data__, j, parents),\n dataLength = data.length,\n enterGroup = enter[j] = new Array(dataLength),\n updateGroup = update[j] = new Array(dataLength),\n exitGroup = exit[j] = new Array(groupLength);\n\n bind(parent, group, enterGroup, updateGroup, exitGroup, data, key);\n\n // Now connect the enter nodes to their following update node, such that\n // appendChild can insert the materialized enter node before this node,\n // rather than at the end of the parent node.\n for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {\n if (previous = enterGroup[i0]) {\n if (i0 >= i1) i1 = i0 + 1;\n while (!(next = updateGroup[i1]) && ++i1 < dataLength);\n previous._next = next || null;\n }\n }\n }\n\n update = new Selection(update, parents);\n update._enter = enter;\n update._exit = exit;\n return update;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "name": "./node_modules/d3-selection/src/selection/exit.js", "index": 92, "index2": 81, "size": 176, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./exit", "loc": "6:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./exit", "loc": "51:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import sparse from \"./sparse\";\nimport {Selection} from \"./index\";\n\nexport default function() {\n return new Selection(this._exit || this._groups.map(sparse), this._parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/join.js", "name": "./node_modules/d3-selection/src/selection/join.js", "index": 93, "index2": 82, "size": 377, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./join", "loc": "7:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./join", "loc": "52:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(onenter, onupdate, onexit) {\n var enter = this.enter(), update = this, exit = this.exit();\n enter = typeof onenter === \"function\" ? onenter(enter) : enter.append(onenter + \"\");\n if (onupdate != null) update = onupdate(update);\n if (onexit == null) exit.remove(); else onexit(exit);\n return enter && update ? enter.merge(update).order() : update;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/merge.js", "name": "./node_modules/d3-selection/src/selection/merge.js", "index": 94, "index2": 83, "size": 575, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./merge", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./merge", "loc": "53:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\n\nexport default function(selection) {\n\n for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {\n for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {\n if (node = group0[i] || group1[i]) {\n merge[i] = node;\n }\n }\n }\n\n for (; j < m0; ++j) {\n merges[j] = groups0[j];\n }\n\n return new Selection(merges, this._parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/order.js", "name": "./node_modules/d3-selection/src/selection/order.js", "index": 95, "index2": 84, "size": 380, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./order", "loc": "9:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./order", "loc": "54:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n\n for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {\n for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {\n if (node = group[i]) {\n if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);\n next = node;\n }\n }\n }\n\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/sort.js", "name": "./node_modules/d3-selection/src/selection/sort.js", "index": 96, "index2": 85, "size": 681, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./sort", "loc": "10:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./sort", "loc": "55:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Selection} from \"./index\";\n\nexport default function(compare) {\n if (!compare) compare = ascending;\n\n function compareNode(a, b) {\n return a && b ? compare(a.__data__, b.__data__) : !a - !b;\n }\n\n for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n sortgroup[i] = node;\n }\n }\n sortgroup.sort(compareNode);\n }\n\n return new Selection(sortgroups, this._parents).order();\n}\n\nfunction ascending(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/call.js", "name": "./node_modules/d3-selection/src/selection/call.js", "index": 97, "index2": 86, "size": 134, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./call", "loc": "11:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./call", "loc": "56:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var callback = arguments[0];\n arguments[0] = this;\n callback.apply(null, arguments);\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/nodes.js", "name": "./node_modules/d3-selection/src/selection/nodes.js", "index": 98, "index2": 87, "size": 140, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./nodes", "loc": "12:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "57:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var nodes = new Array(this.size()), i = -1;\n this.each(function() { nodes[++i] = this; });\n return nodes;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/node.js", "name": "./node_modules/d3-selection/src/selection/node.js", "index": 99, "index2": 88, "size": 258, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./node", "loc": "13:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./node", "loc": "58:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n\n for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {\n var node = group[i];\n if (node) return node;\n }\n }\n\n return null;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/size.js", "name": "./node_modules/d3-selection/src/selection/size.js", "index": 100, "index2": 89, "size": 98, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./size", "loc": "14:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./size", "loc": "59:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var size = 0;\n this.each(function() { ++size; });\n return size;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/empty.js", "name": "./node_modules/d3-selection/src/selection/empty.js", "index": 101, "index2": 90, "size": 53, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./empty", "loc": "15:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./empty", "loc": "60:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n return !this.node();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/each.js", "name": "./node_modules/d3-selection/src/selection/each.js", "index": 102, "index2": 91, "size": 289, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./each", "loc": "16:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./each", "loc": "61:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(callback) {\n\n for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {\n if (node = group[i]) callback.call(node, node.__data__, i, group);\n }\n }\n\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/attr.js", "name": "./node_modules/d3-selection/src/selection/attr.js", "index": 103, "index2": 92, "size": 1460, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./attr", "loc": "17:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./attr", "loc": "62:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import namespace from \"../namespace\";\n\nfunction attrRemove(name) {\n return function() {\n this.removeAttribute(name);\n };\n}\n\nfunction attrRemoveNS(fullname) {\n return function() {\n this.removeAttributeNS(fullname.space, fullname.local);\n };\n}\n\nfunction attrConstant(name, value) {\n return function() {\n this.setAttribute(name, value);\n };\n}\n\nfunction attrConstantNS(fullname, value) {\n return function() {\n this.setAttributeNS(fullname.space, fullname.local, value);\n };\n}\n\nfunction attrFunction(name, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.removeAttribute(name);\n else this.setAttribute(name, v);\n };\n}\n\nfunction attrFunctionNS(fullname, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) this.removeAttributeNS(fullname.space, fullname.local);\n else this.setAttributeNS(fullname.space, fullname.local, v);\n };\n}\n\nexport default function(name, value) {\n var fullname = namespace(name);\n\n if (arguments.length < 2) {\n var node = this.node();\n return fullname.local\n ? node.getAttributeNS(fullname.space, fullname.local)\n : node.getAttribute(fullname);\n }\n\n return this.each((value == null\n ? (fullname.local ? attrRemoveNS : attrRemove) : (typeof value === \"function\"\n ? (fullname.local ? attrFunctionNS : attrFunction)\n : (fullname.local ? attrConstantNS : attrConstant)))(fullname, value));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/property.js", "name": "./node_modules/d3-selection/src/selection/property.js", "index": 106, "index2": 95, "size": 617, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./property", "loc": "19:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./property", "loc": "64:12-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function propertyRemove(name) {\n return function() {\n delete this[name];\n };\n}\n\nfunction propertyConstant(name, value) {\n return function() {\n this[name] = value;\n };\n}\n\nfunction propertyFunction(name, value) {\n return function() {\n var v = value.apply(this, arguments);\n if (v == null) delete this[name];\n else this[name] = v;\n };\n}\n\nexport default function(name, value) {\n return arguments.length > 1\n ? this.each((value == null\n ? propertyRemove : typeof value === \"function\"\n ? propertyFunction\n : propertyConstant)(name, value))\n : this.node()[name];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/classed.js", "name": "./node_modules/d3-selection/src/selection/classed.js", "index": 107, "index2": 96, "size": 1740, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./classed", "loc": "20:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./classed", "loc": "65:11-28" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function classArray(string) {\n return string.trim().split(/^|\\s+/);\n}\n\nfunction classList(node) {\n return node.classList || new ClassList(node);\n}\n\nfunction ClassList(node) {\n this._node = node;\n this._names = classArray(node.getAttribute(\"class\") || \"\");\n}\n\nClassList.prototype = {\n add: function(name) {\n var i = this._names.indexOf(name);\n if (i < 0) {\n this._names.push(name);\n this._node.setAttribute(\"class\", this._names.join(\" \"));\n }\n },\n remove: function(name) {\n var i = this._names.indexOf(name);\n if (i >= 0) {\n this._names.splice(i, 1);\n this._node.setAttribute(\"class\", this._names.join(\" \"));\n }\n },\n contains: function(name) {\n return this._names.indexOf(name) >= 0;\n }\n};\n\nfunction classedAdd(node, names) {\n var list = classList(node), i = -1, n = names.length;\n while (++i < n) list.add(names[i]);\n}\n\nfunction classedRemove(node, names) {\n var list = classList(node), i = -1, n = names.length;\n while (++i < n) list.remove(names[i]);\n}\n\nfunction classedTrue(names) {\n return function() {\n classedAdd(this, names);\n };\n}\n\nfunction classedFalse(names) {\n return function() {\n classedRemove(this, names);\n };\n}\n\nfunction classedFunction(names, value) {\n return function() {\n (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names);\n };\n}\n\nexport default function(name, value) {\n var names = classArray(name + \"\");\n\n if (arguments.length < 2) {\n var list = classList(this.node()), i = -1, n = names.length;\n while (++i < n) if (!list.contains(names[i])) return false;\n return true;\n }\n\n return this.each((typeof value === \"function\"\n ? classedFunction : value\n ? classedTrue\n : classedFalse)(names, value));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/text.js", "name": "./node_modules/d3-selection/src/selection/text.js", "index": 108, "index2": 97, "size": 528, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./text", "loc": "21:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./text", "loc": "66:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function textRemove() {\n this.textContent = \"\";\n}\n\nfunction textConstant(value) {\n return function() {\n this.textContent = value;\n };\n}\n\nfunction textFunction(value) {\n return function() {\n var v = value.apply(this, arguments);\n this.textContent = v == null ? \"\" : v;\n };\n}\n\nexport default function(value) {\n return arguments.length\n ? this.each(value == null\n ? textRemove : (typeof value === \"function\"\n ? textFunction\n : textConstant)(value))\n : this.node().textContent;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/html.js", "name": "./node_modules/d3-selection/src/selection/html.js", "index": 109, "index2": 98, "size": 520, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./html", "loc": "22:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./html", "loc": "67:8-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function htmlRemove() {\n this.innerHTML = \"\";\n}\n\nfunction htmlConstant(value) {\n return function() {\n this.innerHTML = value;\n };\n}\n\nfunction htmlFunction(value) {\n return function() {\n var v = value.apply(this, arguments);\n this.innerHTML = v == null ? \"\" : v;\n };\n}\n\nexport default function(value) {\n return arguments.length\n ? this.each(value == null\n ? htmlRemove : (typeof value === \"function\"\n ? htmlFunction\n : htmlConstant)(value))\n : this.node().innerHTML;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/raise.js", "name": "./node_modules/d3-selection/src/selection/raise.js", "index": 110, "index2": 99, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./raise", "loc": "23:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./raise", "loc": "68:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function raise() {\n if (this.nextSibling) this.parentNode.appendChild(this);\n}\n\nexport default function() {\n return this.each(raise);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/lower.js", "name": "./node_modules/d3-selection/src/selection/lower.js", "index": 111, "index2": 100, "size": 171, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./lower", "loc": "24:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./lower", "loc": "69:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function lower() {\n if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild);\n}\n\nexport default function() {\n return this.each(lower);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/append.js", "name": "./node_modules/d3-selection/src/selection/append.js", "index": 112, "index2": 102, "size": 235, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./append", "loc": "25:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./append", "loc": "70:10-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import creator from \"../creator\";\n\nexport default function(name) {\n var create = typeof name === \"function\" ? name : creator(name);\n return this.select(function() {\n return this.appendChild(create.apply(this, arguments));\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/insert.js", "name": "./node_modules/d3-selection/src/selection/insert.js", "index": 114, "index2": 103, "size": 468, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./insert", "loc": "26:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./insert", "loc": "71:10-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import creator from \"../creator\";\nimport selector from \"../selector\";\n\nfunction constantNull() {\n return null;\n}\n\nexport default function(name, before) {\n var create = typeof name === \"function\" ? name : creator(name),\n select = before == null ? constantNull : typeof before === \"function\" ? before : selector(before);\n return this.select(function() {\n return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null);\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/remove.js", "name": "./node_modules/d3-selection/src/selection/remove.js", "index": 115, "index2": 104, "size": 153, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./remove", "loc": "27:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./remove", "loc": "72:10-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function remove() {\n var parent = this.parentNode;\n if (parent) parent.removeChild(this);\n}\n\nexport default function() {\n return this.each(remove);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/clone.js", "name": "./node_modules/d3-selection/src/selection/clone.js", "index": 116, "index2": 105, "size": 453, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./clone", "loc": "28:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./clone", "loc": "73:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function selection_cloneShallow() {\n var clone = this.cloneNode(false), parent = this.parentNode;\n return parent ? parent.insertBefore(clone, this.nextSibling) : clone;\n}\n\nfunction selection_cloneDeep() {\n var clone = this.cloneNode(true), parent = this.parentNode;\n return parent ? parent.insertBefore(clone, this.nextSibling) : clone;\n}\n\nexport default function(deep) {\n return this.select(deep ? selection_cloneDeep : selection_cloneShallow);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/datum.js", "name": "./node_modules/d3-selection/src/selection/datum.js", "index": 117, "index2": 106, "size": 132, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./datum", "loc": "29:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./datum", "loc": "74:9-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(value) {\n return arguments.length\n ? this.property(\"__data__\", value)\n : this.node().__data__;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/dispatch.js", "name": "./node_modules/d3-selection/src/selection/dispatch.js", "index": 119, "index2": 108, "size": 891, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } } ], "profile": { "factory": 138, "building": 29, "dependencies": 78 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./dispatch", "loc": "31:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "module": "./node_modules/d3-selection/src/selection/index.js", "moduleName": "./node_modules/d3-selection/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./dispatch", "loc": "76:12-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import defaultView from \"../window\";\n\nfunction dispatchEvent(node, type, params) {\n var window = defaultView(node),\n event = window.CustomEvent;\n\n if (typeof event === \"function\") {\n event = new event(type, params);\n } else {\n event = window.document.createEvent(\"Event\");\n if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail;\n else event.initEvent(type, false, false);\n }\n\n node.dispatchEvent(event);\n}\n\nfunction dispatchConstant(type, params) {\n return function() {\n return dispatchEvent(this, type, params);\n };\n}\n\nfunction dispatchFunction(type, params) {\n return function() {\n return dispatchEvent(this, type, params.apply(this, arguments));\n };\n}\n\nexport default function(type, params) {\n return this.each((typeof params === \"function\"\n ? dispatchFunction\n : dispatchConstant)(type, params));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/noevent.js", "name": "./node_modules/d3-drag/src/noevent.js", "index": 142, "index2": 136, "size": 202, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "issuerId": null, "issuerName": "./node_modules/d3-drag/src/nodrag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "name": "./node_modules/d3-drag/src/nodrag.js", "profile": { "factory": 77, "building": 60, "dependencies": 58 } } ], "profile": { "factory": 57, "building": 43, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony side effect evaluation", "userRequest": "./noevent.js", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "./noevent.js", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "6:52-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "8:37-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/nodrag.js", "module": "./node_modules/d3-drag/src/nodrag.js", "moduleName": "./node_modules/d3-drag/src/nodrag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "19:31-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "56:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "64:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "75:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "87:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "99:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "113:8-21" } ], "usedExports": [ "default", "nopropagation" ], "providedExports": [ "nopropagation", "default" ], "optimizationBailout": [], "depth": 5, "source": "import {event} from \"d3-selection\";\n\nexport function nopropagation() {\n event.stopImmediatePropagation();\n}\n\nexport default function() {\n event.preventDefault();\n event.stopImmediatePropagation();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/define.js", "name": "./node_modules/d3-color/src/define.js", "index": 58, "index2": 46, "size": 340, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "issuerId": null, "issuerName": "./node_modules/d3-color/src/color.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "name": "./node_modules/d3-color/src/color.js", "profile": { "factory": 78, "building": 55, "dependencies": 61 } } ], "profile": { "factory": 63, "building": 43 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./define.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "39:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "39:29-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "45:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "45:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "113:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "113:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "170:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "242:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "242:17-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "328:0-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/color.js", "module": "./node_modules/d3-color/src/color.js", "moduleName": "./node_modules/d3-color/src/color.js", "type": "harmony import specifier", "userRequest": "./define.js", "loc": "328:17-23" } ], "usedExports": [ "default", "extend" ], "providedExports": [ "default", "extend" ], "optimizationBailout": [], "depth": 5, "source": "export default function(constructor, factory, prototype) {\n constructor.prototype = factory.prototype = prototype;\n prototype.constructor = constructor;\n}\n\nexport function extend(parent, definition) {\n var prototype = Object.create(parent.prototype);\n for (var key in definition) prototype[key] = definition[key];\n return prototype;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/constant.js", "name": "./node_modules/d3-interpolate/src/constant.js", "index": 61, "index2": 48, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/value.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 113, "building": 47, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/color.js", "module": "./node_modules/d3-interpolate/src/color.js", "moduleName": "./node_modules/d3-interpolate/src/color.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "8:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "module": "./node_modules/d3-interpolate/src/value.js", "moduleName": "./node_modules/d3-interpolate/src/value.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "13:40-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/color.js", "module": "./node_modules/d3-interpolate/src/color.js", "moduleName": "./node_modules/d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "17:82-90" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/color.js", "module": "./node_modules/d3-interpolate/src/color.js", "moduleName": "./node_modules/d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "22:42-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/color.js", "module": "./node_modules/d3-interpolate/src/color.js", "moduleName": "./node_modules/d3-interpolate/src/color.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "28:28-36" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/color.js", "name": "./node_modules/d3-interpolate/src/color.js", "index": 60, "index2": 49, "size": 700, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/rgb.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/value.js", "name": "./node_modules/d3-interpolate/src/value.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "name": "./node_modules/d3-interpolate/src/rgb.js", "profile": { "factory": 113, "building": 47, "dependencies": 0 } } ], "profile": { "factory": 28, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hue.js", "module": "./node_modules/d3-interpolate/src/hue.js", "moduleName": "./node_modules/d3-interpolate/src/hue.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony side effect evaluation", "userRequest": "./color.js", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hue.js", "module": "./node_modules/d3-interpolate/src/hue.js", "moduleName": "./node_modules/d3-interpolate/src/hue.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "4:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "5:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "6:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "7:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "8:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "8:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/lab.js", "module": "./node_modules/d3-interpolate/src/lab.js", "moduleName": "./node_modules/d3-interpolate/src/lab.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "8:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "9:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "9:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "10:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "11:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "12:20-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/rgb.js", "module": "./node_modules/d3-interpolate/src/rgb.js", "moduleName": "./node_modules/d3-interpolate/src/rgb.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "13:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "20:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "20:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hcl.js", "module": "./node_modules/d3-interpolate/src/hcl.js", "moduleName": "./node_modules/d3-interpolate/src/hcl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "21:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/hsl.js", "module": "./node_modules/d3-interpolate/src/hsl.js", "moduleName": "./node_modules/d3-interpolate/src/hsl.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "21:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "28:25-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/cubehelix.js", "module": "./node_modules/d3-interpolate/src/cubehelix.js", "moduleName": "./node_modules/d3-interpolate/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./color.js", "loc": "29:37-42" } ], "usedExports": [ "gamma", "default", "hue" ], "providedExports": [ "hue", "gamma", "default" ], "optimizationBailout": [], "depth": 5, "source": "import constant from \"./constant.js\";\n\nfunction linear(a, d) {\n return function(t) {\n return a + t * d;\n };\n}\n\nfunction exponential(a, b, y) {\n return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {\n return Math.pow(a + t * b, y);\n };\n}\n\nexport function hue(a, b) {\n var d = b - a;\n return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);\n}\n\nexport function gamma(y) {\n return (y = +y) === 1 ? nogamma : function(a, b) {\n return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);\n };\n}\n\nexport default function nogamma(a, b) {\n var d = b - a;\n return d ? linear(a, d) : constant(isNaN(a) ? b : a);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/sourceEvent.js", "name": "./node_modules/d3-selection/src/sourceEvent.js", "index": 132, "index2": 126, "size": 175, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/touches.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "name": "./node_modules/d3-selection/src/touches.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } } ], "profile": { "factory": 95, "building": 17, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "module": "./node_modules/d3-selection/src/touches.js", "moduleName": "./node_modules/d3-selection/src/touches.js", "type": "harmony side effect evaluation", "userRequest": "./sourceEvent", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touch.js", "module": "./node_modules/d3-selection/src/touch.js", "moduleName": "./node_modules/d3-selection/src/touch.js", "type": "harmony side effect evaluation", "userRequest": "./sourceEvent", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/mouse.js", "module": "./node_modules/d3-selection/src/mouse.js", "moduleName": "./node_modules/d3-selection/src/mouse.js", "type": "harmony side effect evaluation", "userRequest": "./sourceEvent", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/mouse.js", "module": "./node_modules/d3-selection/src/mouse.js", "moduleName": "./node_modules/d3-selection/src/mouse.js", "type": "harmony import specifier", "userRequest": "./sourceEvent", "loc": "5:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touches.js", "module": "./node_modules/d3-selection/src/touches.js", "moduleName": "./node_modules/d3-selection/src/touches.js", "type": "harmony import specifier", "userRequest": "./sourceEvent", "loc": "5:33-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/touch.js", "module": "./node_modules/d3-selection/src/touch.js", "moduleName": "./node_modules/d3-selection/src/touch.js", "type": "harmony import specifier", "userRequest": "./sourceEvent", "loc": "5:60-71" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {event} from \"./selection/on\";\n\nexport default function() {\n var current = event, source;\n while (source = current.sourceEvent) current = source;\n return current;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/schedule.js", "name": "./node_modules/d3-transition/src/transition/schedule.js", "index": 47, "index2": 41, "size": 4617, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/interrupt.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "name": "./node_modules/d3-transition/src/interrupt.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } } ], "profile": { "factory": 39, "building": 57, "dependencies": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "module": "./node_modules/d3-transition/src/interrupt.js", "moduleName": "./node_modules/d3-transition/src/interrupt.js", "type": "harmony side effect evaluation", "userRequest": "./transition/schedule.js", "loc": "1:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/end.js", "module": "./node_modules/d3-transition/src/transition/end.js", "moduleName": "./node_modules/d3-transition/src/transition/end.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/on.js", "module": "./node_modules/d3-transition/src/transition/on.js", "moduleName": "./node_modules/d3-transition/src/transition/on.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/ease.js", "module": "./node_modules/d3-transition/src/transition/ease.js", "moduleName": "./node_modules/d3-transition/src/transition/ease.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/duration.js", "module": "./node_modules/d3-transition/src/transition/duration.js", "moduleName": "./node_modules/d3-transition/src/transition/duration.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/delay.js", "module": "./node_modules/d3-transition/src/transition/delay.js", "moduleName": "./node_modules/d3-transition/src/transition/delay.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony side effect evaluation", "userRequest": "../transition/schedule.js", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/active.js", "module": "./node_modules/d3-transition/src/active.js", "moduleName": "./node_modules/d3-transition/src/active.js", "type": "harmony side effect evaluation", "userRequest": "./transition/schedule.js", "loc": "2:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "2:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony side effect evaluation", "userRequest": "./schedule.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/duration.js", "module": "./node_modules/d3-transition/src/transition/duration.js", "moduleName": "./node_modules/d3-transition/src/transition/duration.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "5:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/delay.js", "module": "./node_modules/d3-transition/src/transition/delay.js", "moduleName": "./node_modules/d3-transition/src/transition/delay.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "5:4-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/ease.js", "module": "./node_modules/d3-transition/src/transition/ease.js", "moduleName": "./node_modules/d3-transition/src/transition/ease.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "6:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "6:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/end.js", "module": "./node_modules/d3-transition/src/transition/end.js", "moduleName": "./node_modules/d3-transition/src/transition/end.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "10:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/duration.js", "module": "./node_modules/d3-transition/src/transition/duration.js", "moduleName": "./node_modules/d3-transition/src/transition/duration.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "11:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/delay.js", "module": "./node_modules/d3-transition/src/transition/delay.js", "moduleName": "./node_modules/d3-transition/src/transition/delay.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "11:4-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "12:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/on.js", "module": "./node_modules/d3-transition/src/transition/on.js", "moduleName": "./node_modules/d3-transition/src/transition/on.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "12:36-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/on.js", "module": "./node_modules/d3-transition/src/transition/on.js", "moduleName": "./node_modules/d3-transition/src/transition/on.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "12:43-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "module": "./node_modules/d3-transition/src/transition/transition.js", "moduleName": "./node_modules/d3-transition/src/transition/transition.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "13:8-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/active.js", "module": "./node_modules/d3-transition/src/active.js", "moduleName": "./node_modules/d3-transition/src/active.js", "type": "harmony import specifier", "userRequest": "./transition/schedule.js", "loc": "14:44-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "14:89-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/ease.js", "module": "./node_modules/d3-transition/src/transition/ease.js", "moduleName": "./node_modules/d3-transition/src/transition/ease.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "15:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "16:8-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "module": "./node_modules/d3-transition/src/transition/selectAll.js", "moduleName": "./node_modules/d3-transition/src/transition/selectAll.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "16:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "module": "./node_modules/d3-transition/src/interrupt.js", "moduleName": "./node_modules/d3-transition/src/interrupt.js", "type": "harmony import specifier", "userRequest": "./transition/schedule.js", "loc": "16:30-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "module": "./node_modules/d3-transition/src/transition/select.js", "moduleName": "./node_modules/d3-transition/src/transition/select.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "16:53-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "module": "./node_modules/d3-transition/src/interrupt.js", "moduleName": "./node_modules/d3-transition/src/interrupt.js", "type": "harmony import specifier", "userRequest": "./transition/schedule.js", "loc": "16:59-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/interrupt.js", "module": "./node_modules/d3-transition/src/interrupt.js", "moduleName": "./node_modules/d3-transition/src/interrupt.js", "type": "harmony import specifier", "userRequest": "./transition/schedule.js", "loc": "17:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/duration.js", "module": "./node_modules/d3-transition/src/transition/duration.js", "moduleName": "./node_modules/d3-transition/src/transition/duration.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "22:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/delay.js", "module": "./node_modules/d3-transition/src/transition/delay.js", "moduleName": "./node_modules/d3-transition/src/transition/delay.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "22:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/on.js", "module": "./node_modules/d3-transition/src/transition/on.js", "moduleName": "./node_modules/d3-transition/src/transition/on.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "30:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "31:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "module": "./node_modules/d3-transition/src/selection/transition.js", "moduleName": "./node_modules/d3-transition/src/selection/transition.js", "type": "harmony import specifier", "userRequest": "../transition/schedule.js", "loc": "36:8-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "56:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "58:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "74:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "module": "./node_modules/d3-transition/src/transition/tween.js", "moduleName": "./node_modules/d3-transition/src/transition/tween.js", "type": "harmony import specifier", "userRequest": "./schedule.js", "loc": "79:11-14" } ], "usedExports": [ "STARTING", "ENDING", "ENDED", "SCHEDULED", "set", "get", "init", "default" ], "providedExports": [ "CREATED", "SCHEDULED", "STARTING", "STARTED", "RUNNING", "ENDING", "ENDED", "default", "init", "set", "get" ], "optimizationBailout": [], "depth": 5, "source": "import {dispatch} from \"d3-dispatch\";\nimport {timer, timeout} from \"d3-timer\";\n\nvar emptyOn = dispatch(\"start\", \"end\", \"cancel\", \"interrupt\");\nvar emptyTween = [];\n\nexport var CREATED = 0;\nexport var SCHEDULED = 1;\nexport var STARTING = 2;\nexport var STARTED = 3;\nexport var RUNNING = 4;\nexport var ENDING = 5;\nexport var ENDED = 6;\n\nexport default function(node, name, id, index, group, timing) {\n var schedules = node.__transition;\n if (!schedules) node.__transition = {};\n else if (id in schedules) return;\n create(node, id, {\n name: name,\n index: index, // For context during callback.\n group: group, // For context during callback.\n on: emptyOn,\n tween: emptyTween,\n time: timing.time,\n delay: timing.delay,\n duration: timing.duration,\n ease: timing.ease,\n timer: null,\n state: CREATED\n });\n}\n\nexport function init(node, id) {\n var schedule = get(node, id);\n if (schedule.state > CREATED) throw new Error(\"too late; already scheduled\");\n return schedule;\n}\n\nexport function set(node, id) {\n var schedule = get(node, id);\n if (schedule.state > STARTED) throw new Error(\"too late; already running\");\n return schedule;\n}\n\nexport function get(node, id) {\n var schedule = node.__transition;\n if (!schedule || !(schedule = schedule[id])) throw new Error(\"transition not found\");\n return schedule;\n}\n\nfunction create(node, id, self) {\n var schedules = node.__transition,\n tween;\n\n // Initialize the self timer when the transition is created.\n // Note the actual delay is not known until the first callback!\n schedules[id] = self;\n self.timer = timer(schedule, 0, self.time);\n\n function schedule(elapsed) {\n self.state = SCHEDULED;\n self.timer.restart(start, self.delay, self.time);\n\n // If the elapsed delay is less than our first sleep, start immediately.\n if (self.delay <= elapsed) start(elapsed - self.delay);\n }\n\n function start(elapsed) {\n var i, j, n, o;\n\n // If the state is not SCHEDULED, then we previously errored on start.\n if (self.state !== SCHEDULED) return stop();\n\n for (i in schedules) {\n o = schedules[i];\n if (o.name !== self.name) continue;\n\n // While this element already has a starting transition during this frame,\n // defer starting an interrupting transition until that transition has a\n // chance to tick (and possibly end); see d3/d3-transition#54!\n if (o.state === STARTED) return timeout(start);\n\n // Interrupt the active transition, if any.\n if (o.state === RUNNING) {\n o.state = ENDED;\n o.timer.stop();\n o.on.call(\"interrupt\", node, node.__data__, o.index, o.group);\n delete schedules[i];\n }\n\n // Cancel any pre-empted transitions.\n else if (+i < id) {\n o.state = ENDED;\n o.timer.stop();\n o.on.call(\"cancel\", node, node.__data__, o.index, o.group);\n delete schedules[i];\n }\n }\n\n // Defer the first tick to end of the current frame; see d3/d3#1576.\n // Note the transition may be canceled after start and before the first tick!\n // Note this must be scheduled before the start event; see d3/d3-transition#16!\n // Assuming this is successful, subsequent callbacks go straight to tick.\n timeout(function() {\n if (self.state === STARTED) {\n self.state = RUNNING;\n self.timer.restart(tick, self.delay, self.time);\n tick(elapsed);\n }\n });\n\n // Dispatch the start event.\n // Note this must be done before the tween are initialized.\n self.state = STARTING;\n self.on.call(\"start\", node, node.__data__, self.index, self.group);\n if (self.state !== STARTING) return; // interrupted\n self.state = STARTED;\n\n // Initialize the tween, deleting null tween.\n tween = new Array(n = self.tween.length);\n for (i = 0, j = -1; i < n; ++i) {\n if (o = self.tween[i].value.call(node, node.__data__, self.index, self.group)) {\n tween[++j] = o;\n }\n }\n tween.length = j + 1;\n }\n\n function tick(elapsed) {\n var t = elapsed < self.duration ? self.ease.call(null, elapsed / self.duration) : (self.timer.restart(stop), self.state = ENDING, 1),\n i = -1,\n n = tween.length;\n\n while (++i < n) {\n tween[i].call(node, t);\n }\n\n // Dispatch the end event.\n if (self.state === ENDING) {\n self.on.call(\"end\", node, node.__data__, self.index, self.group);\n stop();\n }\n }\n\n function stop() {\n self.state = ENDED;\n self.timer.stop();\n delete schedules[id];\n for (var i in schedules) return; // eslint-disable-line no-unused-vars\n delete node.__transition;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/interrupt.js", "name": "./node_modules/d3-transition/src/selection/interrupt.js", "index": 45, "index2": 43, "size": 141, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } } ], "profile": { "factory": 18, "building": 56, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./interrupt.js", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./interrupt.js", "loc": "5:32-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import interrupt from \"../interrupt.js\";\n\nexport default function(name) {\n return this.each(function() {\n interrupt(this, name);\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "name": "./node_modules/d3-interpolate/src/transform/parse.js", "index": 68, "index2": 58, "size": 983, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/transform/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "name": "./node_modules/d3-interpolate/src/transform/index.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } } ], "profile": { "factory": 54, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony side effect evaluation", "userRequest": "./parse.js", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "./parse.js", "loc": "62:58-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "module": "./node_modules/d3-interpolate/src/transform/index.js", "moduleName": "./node_modules/d3-interpolate/src/transform/index.js", "type": "harmony import specifier", "userRequest": "./parse.js", "loc": "63:58-66" } ], "usedExports": [ "parseCss", "parseSvg" ], "providedExports": [ "parseCss", "parseSvg" ], "optimizationBailout": [], "depth": 5, "source": "import decompose, {identity} from \"./decompose.js\";\n\nvar cssNode,\n cssRoot,\n cssView,\n svgNode;\n\nexport function parseCss(value) {\n if (value === \"none\") return identity;\n if (!cssNode) cssNode = document.createElement(\"DIV\"), cssRoot = document.documentElement, cssView = document.defaultView;\n cssNode.style.transform = value;\n value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue(\"transform\");\n cssRoot.removeChild(cssNode);\n value = value.slice(7, -1).split(\",\");\n return decompose(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5]);\n}\n\nexport function parseSvg(value) {\n if (value == null) return identity;\n if (!svgNode) svgNode = document.createElementNS(\"http://www.w3.org/2000/svg\", \"g\");\n svgNode.setAttribute(\"transform\", value);\n if (!(value = svgNode.transform.baseVal.consolidate())) return identity;\n value = value.matrix;\n return decompose(value.a, value.b, value.c, value.d, value.e, value.f);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/tween.js", "name": "./node_modules/d3-transition/src/transition/tween.js", "index": 54, "index2": 44, "size": 2029, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/text.js", "module": "./node_modules/d3-transition/src/transition/text.js", "moduleName": "./node_modules/d3-transition/src/transition/text.js", "type": "harmony side effect evaluation", "userRequest": "./tween.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony side effect evaluation", "userRequest": "./tween.js", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony side effect evaluation", "userRequest": "./tween.js", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/text.js", "module": "./node_modules/d3-transition/src/transition/text.js", "moduleName": "./node_modules/d3-transition/src/transition/text.js", "type": "harmony import specifier", "userRequest": "./tween.js", "loc": "18:21-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./tween.js", "loc": "19:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./tween.js", "loc": "63:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "userRequest": "./tween.js", "loc": "75:47-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony import specifier", "userRequest": "./tween.js", "loc": "75:70-80" } ], "usedExports": [ "default", "tweenValue" ], "providedExports": [ "default", "tweenValue" ], "optimizationBailout": [], "depth": 5, "source": "import {get, set} from \"./schedule.js\";\n\nfunction tweenRemove(id, name) {\n var tween0, tween1;\n return function() {\n var schedule = set(this, id),\n tween = schedule.tween;\n\n // If this node shared tween with the previous node,\n // just assign the updated shared tween and we’re done!\n // Otherwise, copy-on-write.\n if (tween !== tween0) {\n tween1 = tween0 = tween;\n for (var i = 0, n = tween1.length; i < n; ++i) {\n if (tween1[i].name === name) {\n tween1 = tween1.slice();\n tween1.splice(i, 1);\n break;\n }\n }\n }\n\n schedule.tween = tween1;\n };\n}\n\nfunction tweenFunction(id, name, value) {\n var tween0, tween1;\n if (typeof value !== \"function\") throw new Error;\n return function() {\n var schedule = set(this, id),\n tween = schedule.tween;\n\n // If this node shared tween with the previous node,\n // just assign the updated shared tween and we’re done!\n // Otherwise, copy-on-write.\n if (tween !== tween0) {\n tween1 = (tween0 = tween).slice();\n for (var t = {name: name, value: value}, i = 0, n = tween1.length; i < n; ++i) {\n if (tween1[i].name === name) {\n tween1[i] = t;\n break;\n }\n }\n if (i === n) tween1.push(t);\n }\n\n schedule.tween = tween1;\n };\n}\n\nexport default function(name, value) {\n var id = this._id;\n\n name += \"\";\n\n if (arguments.length < 2) {\n var tween = get(this.node(), id).tween;\n for (var i = 0, n = tween.length, t; i < n; ++i) {\n if ((t = tween[i]).name === name) {\n return t.value;\n }\n }\n return null;\n }\n\n return this.each((value == null ? tweenRemove : tweenFunction)(id, name, value));\n}\n\nexport function tweenValue(transition, name, value) {\n var id = transition._id;\n\n transition.each(function() {\n var schedule = set(this, id);\n (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments);\n });\n\n return function(node) {\n return get(node, id).value[name];\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "name": "./node_modules/d3-transition/src/transition/attr.js", "index": 53, "index2": 60, "size": 2673, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./attr.js", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./attr.js", "loc": "56:8-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {interpolateTransformSvg as interpolateTransform} from \"d3-interpolate\";\nimport {namespace} from \"d3-selection\";\nimport {tweenValue} from \"./tween.js\";\nimport interpolate from \"./interpolate.js\";\n\nfunction attrRemove(name) {\n return function() {\n this.removeAttribute(name);\n };\n}\n\nfunction attrRemoveNS(fullname) {\n return function() {\n this.removeAttributeNS(fullname.space, fullname.local);\n };\n}\n\nfunction attrConstant(name, interpolate, value1) {\n var string00,\n string1 = value1 + \"\",\n interpolate0;\n return function() {\n var string0 = this.getAttribute(name);\n return string0 === string1 ? null\n : string0 === string00 ? interpolate0\n : interpolate0 = interpolate(string00 = string0, value1);\n };\n}\n\nfunction attrConstantNS(fullname, interpolate, value1) {\n var string00,\n string1 = value1 + \"\",\n interpolate0;\n return function() {\n var string0 = this.getAttributeNS(fullname.space, fullname.local);\n return string0 === string1 ? null\n : string0 === string00 ? interpolate0\n : interpolate0 = interpolate(string00 = string0, value1);\n };\n}\n\nfunction attrFunction(name, interpolate, value) {\n var string00,\n string10,\n interpolate0;\n return function() {\n var string0, value1 = value(this), string1;\n if (value1 == null) return void this.removeAttribute(name);\n string0 = this.getAttribute(name);\n string1 = value1 + \"\";\n return string0 === string1 ? null\n : string0 === string00 && string1 === string10 ? interpolate0\n : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));\n };\n}\n\nfunction attrFunctionNS(fullname, interpolate, value) {\n var string00,\n string10,\n interpolate0;\n return function() {\n var string0, value1 = value(this), string1;\n if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local);\n string0 = this.getAttributeNS(fullname.space, fullname.local);\n string1 = value1 + \"\";\n return string0 === string1 ? null\n : string0 === string00 && string1 === string10 ? interpolate0\n : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));\n };\n}\n\nexport default function(name, value) {\n var fullname = namespace(name), i = fullname === \"transform\" ? interpolateTransform : interpolate;\n return this.attrTween(name, typeof value === \"function\"\n ? (fullname.local ? attrFunctionNS : attrFunction)(fullname, i, tweenValue(this, \"attr.\" + name, value))\n : value == null ? (fullname.local ? attrRemoveNS : attrRemove)(fullname)\n : (fullname.local ? attrConstantNS : attrConstant)(fullname, i, value));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attrTween.js", "name": "./node_modules/d3-transition/src/transition/attrTween.js", "index": 70, "index2": 61, "size": 1148, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./attrTween.js", "loc": "3:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./attrTween.js", "loc": "57:13-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {namespace} from \"d3-selection\";\n\nfunction attrInterpolate(name, i) {\n return function(t) {\n this.setAttribute(name, i.call(this, t));\n };\n}\n\nfunction attrInterpolateNS(fullname, i) {\n return function(t) {\n this.setAttributeNS(fullname.space, fullname.local, i.call(this, t));\n };\n}\n\nfunction attrTweenNS(fullname, value) {\n var t0, i0;\n function tween() {\n var i = value.apply(this, arguments);\n if (i !== i0) t0 = (i0 = i) && attrInterpolateNS(fullname, i);\n return t0;\n }\n tween._value = value;\n return tween;\n}\n\nfunction attrTween(name, value) {\n var t0, i0;\n function tween() {\n var i = value.apply(this, arguments);\n if (i !== i0) t0 = (i0 = i) && attrInterpolate(name, i);\n return t0;\n }\n tween._value = value;\n return tween;\n}\n\nexport default function(name, value) {\n var key = \"attr.\" + name;\n if (arguments.length < 2) return (key = this.tween(key)) && key._value;\n if (value == null) return this.tween(key, null);\n if (typeof value !== \"function\") throw new Error;\n var fullname = namespace(name);\n return this.tween(key, (fullname.local ? attrTweenNS : attrTween)(fullname, value));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/delay.js", "name": "./node_modules/d3-transition/src/transition/delay.js", "index": 71, "index2": 62, "size": 513, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./delay.js", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./delay.js", "loc": "64:9-25" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {get, init} from \"./schedule.js\";\n\nfunction delayFunction(id, value) {\n return function() {\n init(this, id).delay = +value.apply(this, arguments);\n };\n}\n\nfunction delayConstant(id, value) {\n return value = +value, function() {\n init(this, id).delay = value;\n };\n}\n\nexport default function(value) {\n var id = this._id;\n\n return arguments.length\n ? this.each((typeof value === \"function\"\n ? delayFunction\n : delayConstant)(id, value))\n : get(this.node(), id).delay;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/duration.js", "name": "./node_modules/d3-transition/src/transition/duration.js", "index": 72, "index2": 63, "size": 531, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "5:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "65:12-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {get, set} from \"./schedule.js\";\n\nfunction durationFunction(id, value) {\n return function() {\n set(this, id).duration = +value.apply(this, arguments);\n };\n}\n\nfunction durationConstant(id, value) {\n return value = +value, function() {\n set(this, id).duration = value;\n };\n}\n\nexport default function(value) {\n var id = this._id;\n\n return arguments.length\n ? this.each((typeof value === \"function\"\n ? durationFunction\n : durationConstant)(id, value))\n : get(this.node(), id).duration;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/ease.js", "name": "./node_modules/d3-transition/src/transition/ease.js", "index": 73, "index2": 64, "size": 351, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./ease.js", "loc": "6:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./ease.js", "loc": "66:8-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {get, set} from \"./schedule.js\";\n\nfunction easeConstant(id, value) {\n if (typeof value !== \"function\") throw new Error;\n return function() {\n set(this, id).ease = value;\n };\n}\n\nexport default function(value) {\n var id = this._id;\n\n return arguments.length\n ? this.each(easeConstant(id, value))\n : get(this.node(), id).ease;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/filter.js", "name": "./node_modules/d3-transition/src/transition/filter.js", "index": 74, "index2": 66, "size": 577, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./filter.js", "loc": "7:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./filter.js", "loc": "45:10-27" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {matcher} from \"d3-selection\";\nimport {Transition} from \"./index.js\";\n\nexport default function(match) {\n if (typeof match !== \"function\") match = matcher(match);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {\n if ((node = group[i]) && match.call(node, node.__data__, i, group)) {\n subgroup.push(node);\n }\n }\n }\n\n return new Transition(subgroups, this._parents, this._name, this._id);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/merge.js", "name": "./node_modules/d3-transition/src/transition/merge.js", "index": 76, "index2": 67, "size": 656, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./merge.js", "loc": "8:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./merge.js", "loc": "46:9-25" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Transition} from \"./index.js\";\n\nexport default function(transition) {\n if (transition._id !== this._id) throw new Error;\n\n for (var groups0 = this._groups, groups1 = transition._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {\n for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {\n if (node = group0[i] || group1[i]) {\n merge[i] = node;\n }\n }\n }\n\n for (; j < m0; ++j) {\n merges[j] = groups0[j];\n }\n\n return new Transition(merges, this._parents, this._name, this._id);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/on.js", "name": "./node_modules/d3-transition/src/transition/on.js", "index": 77, "index2": 68, "size": 856, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./on.js", "loc": "9:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./on.js", "loc": "55:6-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {get, set, init} from \"./schedule.js\";\n\nfunction start(name) {\n return (name + \"\").trim().split(/^|\\s+/).every(function(t) {\n var i = t.indexOf(\".\");\n if (i >= 0) t = t.slice(0, i);\n return !t || t === \"start\";\n });\n}\n\nfunction onFunction(id, name, listener) {\n var on0, on1, sit = start(name) ? init : set;\n return function() {\n var schedule = sit(this, id),\n on = schedule.on;\n\n // If this node shared a dispatch with the previous node,\n // just assign the updated shared dispatch and we’re done!\n // Otherwise, copy-on-write.\n if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener);\n\n schedule.on = on1;\n };\n}\n\nexport default function(name, listener) {\n var id = this._id;\n\n return arguments.length < 2\n ? get(this.node(), id).on.on(name)\n : this.each(onFunction(id, name, listener));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/remove.js", "name": "./node_modules/d3-transition/src/transition/remove.js", "index": 78, "index2": 69, "size": 284, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./remove.js", "loc": "10:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./remove.js", "loc": "62:10-27" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function removeFunction(id) {\n return function() {\n var parent = this.parentNode;\n for (var i in this.__transition) if (+i !== id) return;\n if (parent) parent.removeChild(this);\n };\n}\n\nexport default function() {\n return this.on(\"end.remove\", removeFunction(this._id));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/select.js", "name": "./node_modules/d3-transition/src/transition/select.js", "index": 79, "index2": 71, "size": 832, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./select.js", "loc": "11:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./select.js", "loc": "43:10-27" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {selector} from \"d3-selection\";\nimport {Transition} from \"./index.js\";\nimport schedule, {get} from \"./schedule.js\";\n\nexport default function(select) {\n var name = this._name,\n id = this._id;\n\n if (typeof select !== \"function\") select = selector(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {\n if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {\n if (\"__data__\" in node) subnode.__data__ = node.__data__;\n subgroup[i] = subnode;\n schedule(subgroup[i], name, id, i, subgroup, get(node, id));\n }\n }\n }\n\n return new Transition(subgroups, this._parents, name, id);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selectAll.js", "name": "./node_modules/d3-transition/src/transition/selectAll.js", "index": 81, "index2": 73, "size": 889, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./selectAll.js", "loc": "12:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./selectAll.js", "loc": "44:13-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {selectorAll} from \"d3-selection\";\nimport {Transition} from \"./index.js\";\nimport schedule, {get} from \"./schedule.js\";\n\nexport default function(select) {\n var name = this._name,\n id = this._id;\n\n if (typeof select !== \"function\") select = selectorAll(select);\n\n for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n for (var children = select.call(node, node.__data__, i, group), child, inherit = get(node, id), k = 0, l = children.length; k < l; ++k) {\n if (child = children[k]) {\n schedule(child, name, id, k, children, inherit);\n }\n }\n subgroups.push(children);\n parents.push(node);\n }\n }\n }\n\n return new Transition(subgroups, parents, name, id);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/selection.js", "name": "./node_modules/d3-transition/src/transition/selection.js", "index": 83, "index2": 110, "size": 174, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./selection.js", "loc": "13:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./selection.js", "loc": "47:13-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {selection} from \"d3-selection\";\n\nvar Selection = selection.prototype.constructor;\n\nexport default function() {\n return new Selection(this._groups, this._parents);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "name": "./node_modules/d3-transition/src/transition/style.js", "index": 120, "index2": 111, "size": 2748, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./style.js", "loc": "14:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./style.js", "loc": "58:9-25" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {interpolateTransformCss as interpolateTransform} from \"d3-interpolate\";\nimport {style} from \"d3-selection\";\nimport {set} from \"./schedule.js\";\nimport {tweenValue} from \"./tween.js\";\nimport interpolate from \"./interpolate.js\";\n\nfunction styleNull(name, interpolate) {\n var string00,\n string10,\n interpolate0;\n return function() {\n var string0 = style(this, name),\n string1 = (this.style.removeProperty(name), style(this, name));\n return string0 === string1 ? null\n : string0 === string00 && string1 === string10 ? interpolate0\n : interpolate0 = interpolate(string00 = string0, string10 = string1);\n };\n}\n\nfunction styleRemove(name) {\n return function() {\n this.style.removeProperty(name);\n };\n}\n\nfunction styleConstant(name, interpolate, value1) {\n var string00,\n string1 = value1 + \"\",\n interpolate0;\n return function() {\n var string0 = style(this, name);\n return string0 === string1 ? null\n : string0 === string00 ? interpolate0\n : interpolate0 = interpolate(string00 = string0, value1);\n };\n}\n\nfunction styleFunction(name, interpolate, value) {\n var string00,\n string10,\n interpolate0;\n return function() {\n var string0 = style(this, name),\n value1 = value(this),\n string1 = value1 + \"\";\n if (value1 == null) string1 = value1 = (this.style.removeProperty(name), style(this, name));\n return string0 === string1 ? null\n : string0 === string00 && string1 === string10 ? interpolate0\n : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));\n };\n}\n\nfunction styleMaybeRemove(id, name) {\n var on0, on1, listener0, key = \"style.\" + name, event = \"end.\" + key, remove;\n return function() {\n var schedule = set(this, id),\n on = schedule.on,\n listener = schedule.value[key] == null ? remove || (remove = styleRemove(name)) : undefined;\n\n // If this node shared a dispatch with the previous node,\n // just assign the updated shared dispatch and we’re done!\n // Otherwise, copy-on-write.\n if (on !== on0 || listener0 !== listener) (on1 = (on0 = on).copy()).on(event, listener0 = listener);\n\n schedule.on = on1;\n };\n}\n\nexport default function(name, value, priority) {\n var i = (name += \"\") === \"transform\" ? interpolateTransform : interpolate;\n return value == null ? this\n .styleTween(name, styleNull(name, i))\n .on(\"end.style.\" + name, styleRemove(name))\n : typeof value === \"function\" ? this\n .styleTween(name, styleFunction(name, i, tweenValue(this, \"style.\" + name, value)))\n .each(styleMaybeRemove(this._id, name))\n : this\n .styleTween(name, styleConstant(name, i, value), priority)\n .on(\"end.style.\" + name, null);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/styleTween.js", "name": "./node_modules/d3-transition/src/transition/styleTween.js", "index": 121, "index2": 112, "size": 742, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./styleTween.js", "loc": "15:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./styleTween.js", "loc": "59:14-35" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function styleInterpolate(name, i, priority) {\n return function(t) {\n this.style.setProperty(name, i.call(this, t), priority);\n };\n}\n\nfunction styleTween(name, value, priority) {\n var t, i0;\n function tween() {\n var i = value.apply(this, arguments);\n if (i !== i0) t = (i0 = i) && styleInterpolate(name, i, priority);\n return t;\n }\n tween._value = value;\n return tween;\n}\n\nexport default function(name, value, priority) {\n var key = \"style.\" + (name += \"\");\n if (arguments.length < 2) return (key = this.tween(key)) && key._value;\n if (value == null) return this.tween(key, null);\n if (typeof value !== \"function\") throw new Error;\n return this.tween(key, styleTween(name, value, priority == null ? \"\" : priority));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/text.js", "name": "./node_modules/d3-transition/src/transition/text.js", "index": 122, "index2": 113, "size": 476, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./text.js", "loc": "16:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./text.js", "loc": "60:8-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {tweenValue} from \"./tween.js\";\n\nfunction textConstant(value) {\n return function() {\n this.textContent = value;\n };\n}\n\nfunction textFunction(value) {\n return function() {\n var value1 = value(this);\n this.textContent = value1 == null ? \"\" : value1;\n };\n}\n\nexport default function(value) {\n return this.tween(\"text\", typeof value === \"function\"\n ? textFunction(tweenValue(this, \"text\", value))\n : textConstant(value == null ? \"\" : value + \"\"));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/textTween.js", "name": "./node_modules/d3-transition/src/transition/textTween.js", "index": 123, "index2": 114, "size": 599, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./textTween.js", "loc": "17:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./textTween.js", "loc": "61:13-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function textInterpolate(i) {\n return function(t) {\n this.textContent = i.call(this, t);\n };\n}\n\nfunction textTween(value) {\n var t0, i0;\n function tween() {\n var i = value.apply(this, arguments);\n if (i !== i0) t0 = (i0 = i) && textInterpolate(i);\n return t0;\n }\n tween._value = value;\n return tween;\n}\n\nexport default function(value) {\n var key = \"text\";\n if (arguments.length < 1) return (key = this.tween(key)) && key._value;\n if (value == null) return this.tween(key, null);\n if (typeof value !== \"function\") throw new Error;\n return this.tween(key, textTween(value));\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/transition.js", "name": "./node_modules/d3-transition/src/transition/transition.js", "index": 124, "index2": 115, "size": 697, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./transition.js", "loc": "18:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./transition.js", "loc": "48:14-35" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Transition, newId} from \"./index.js\";\nimport schedule, {get} from \"./schedule.js\";\n\nexport default function() {\n var name = this._name,\n id0 = this._id,\n id1 = newId();\n\n for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n var inherit = get(node, id0);\n schedule(node, name, id1, i, group, {\n time: inherit.time + inherit.delay + inherit.duration,\n delay: 0,\n duration: inherit.duration,\n ease: inherit.ease\n });\n }\n }\n }\n\n return new Transition(groups, this._parents, name, id1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/end.js", "name": "./node_modules/d3-transition/src/transition/end.js", "index": 125, "index2": 116, "size": 747, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } } ], "profile": { "factory": 65, "building": 36, "dependencies": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony side effect evaluation", "userRequest": "./end.js", "loc": "20:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "module": "./node_modules/d3-transition/src/transition/index.js", "moduleName": "./node_modules/d3-transition/src/transition/index.js", "type": "harmony import specifier", "userRequest": "./end.js", "loc": "67:7-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {set} from \"./schedule.js\";\n\nexport default function() {\n var on0, on1, that = this, id = that._id, size = that.size();\n return new Promise(function(resolve, reject) {\n var cancel = {value: reject},\n end = {value: function() { if (--size === 0) resolve(); }};\n\n that.each(function() {\n var schedule = set(this, id),\n on = schedule.on;\n\n // If this node shared a dispatch with the previous node,\n // just assign the updated shared dispatch and we’re done!\n // Otherwise, copy-on-write.\n if (on !== on0) {\n on1 = (on0 = on).copy();\n on1._.cancel.push(cancel);\n on1._.interrupt.push(cancel);\n on1._.end.push(end);\n }\n\n schedule.on = on1;\n });\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "index": 51, "index2": 119, "size": 1096, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/selection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } } ], "profile": { "factory": 18, "building": 56, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony side effect evaluation", "userRequest": "./transition.js", "loc": "3:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "module": "./node_modules/d3-transition/src/selection/index.js", "moduleName": "./node_modules/d3-transition/src/selection/index.js", "type": "harmony import specifier", "userRequest": "./transition.js", "loc": "6:33-53" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {Transition, newId} from \"../transition/index.js\";\nimport schedule from \"../transition/schedule.js\";\nimport {easeCubicInOut} from \"d3-ease\";\nimport {now} from \"d3-timer\";\n\nvar defaultTiming = {\n time: null, // Set on use.\n delay: 0,\n duration: 250,\n ease: easeCubicInOut\n};\n\nfunction inherit(node, id) {\n var timing;\n while (!(timing = node.__transition) || !(timing = timing[id])) {\n if (!(node = node.parentNode)) {\n return defaultTiming.time = now(), defaultTiming;\n }\n }\n return timing;\n}\n\nexport default function(name) {\n var id,\n timing;\n\n if (name instanceof Transition) {\n id = name._id, name = name._name;\n } else {\n id = newId(), (timing = defaultTiming).time = now(), name = name == null ? null : name + \"\";\n }\n\n for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {\n for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n if (node = group[i]) {\n schedule(node, name, id, i, group, timing || inherit(node, id));\n }\n }\n }\n\n return new Transition(groups, this._parents, name, id);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/constant.js", "name": "./node_modules/d3-brush/src/constant.js", "index": 128, "index2": 123, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "issuerId": null, "issuerName": "./node_modules/d3-brush/src/brush.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "name": "./node_modules/d3-brush/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "name": "./node_modules/d3-brush/src/brush.js", "profile": { "factory": 73, "building": 72, "dependencies": 57 } } ], "profile": { "factory": 107, "building": 43, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "6:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "564:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "568:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "572:73-81" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/event.js", "name": "./node_modules/d3-brush/src/event.js", "index": 129, "index2": 124, "size": 127, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "issuerId": null, "issuerName": "./node_modules/d3-brush/src/brush.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "name": "./node_modules/d3-brush/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "name": "./node_modules/d3-brush/src/brush.js", "profile": { "factory": 73, "building": 72, "dependencies": 57 } } ], "profile": { "factory": 107, "building": 43, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "./event.js", "loc": "7:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./event.js", "loc": "320:22-32" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(target, type, selection) {\n this.target = target;\n this.type = type;\n this.selection = selection;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/noevent.js", "name": "./node_modules/d3-brush/src/noevent.js", "index": 130, "index2": 125, "size": 202, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "issuerId": null, "issuerName": "./node_modules/d3-brush/src/brush.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/index.js", "name": "./node_modules/d3-brush/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "name": "./node_modules/d3-brush/src/brush.js", "profile": { "factory": 73, "building": 72, "dependencies": 57 } } ], "profile": { "factory": 107, "building": 43, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony side effect evaluation", "userRequest": "./noevent.js", "loc": "8:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "389:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "402:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "462:6-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "505:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-brush/src/brush.js", "module": "./node_modules/d3-brush/src/brush.js", "moduleName": "./node_modules/d3-brush/src/brush.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "544:6-13" } ], "usedExports": [ "nopropagation", "default" ], "providedExports": [ "nopropagation", "default" ], "optimizationBailout": [], "depth": 5, "source": "import {event} from \"d3-selection\";\n\nexport function nopropagation() {\n event.stopImmediatePropagation();\n}\n\nexport default function() {\n event.preventDefault();\n event.stopImmediatePropagation();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/math.js", "name": "./node_modules/d3-chord/src/math.js", "index": 145, "index2": 140, "size": 159, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "issuerId": null, "issuerName": "./node_modules/d3-chord/src/ribbon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "name": "./node_modules/d3-chord/src/ribbon.js", "profile": { "factory": 188, "building": 35, "dependencies": 120 } } ], "profile": { "factory": 120, "building": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony side effect evaluation", "userRequest": "./math", "loc": "2:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony side effect evaluation", "userRequest": "./math", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "40:45-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "41:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "42:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "43:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "45:45-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "46:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "53:42-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "53:57-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "59:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "59:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "60:24-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/chord.js", "module": "./node_modules/d3-chord/src/chord.js", "moduleName": "./node_modules/d3-chord/src/chord.js", "type": "harmony import specifier", "userRequest": "./math", "loc": "105:42-45" } ], "usedExports": [ "halfPi", "cos", "sin", "max", "tau" ], "providedExports": [ "cos", "sin", "pi", "halfPi", "tau", "max" ], "optimizationBailout": [], "depth": 5, "source": "export var cos = Math.cos;\nexport var sin = Math.sin;\nexport var pi = Math.PI;\nexport var halfPi = pi / 2;\nexport var tau = pi * 2;\nexport var max = Math.max;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/array.js", "name": "./node_modules/d3-chord/src/array.js", "index": 147, "index2": 142, "size": 42, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "issuerId": null, "issuerName": "./node_modules/d3-chord/src/ribbon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "name": "./node_modules/d3-chord/src/ribbon.js", "profile": { "factory": 188, "building": 35, "dependencies": 120 } } ], "profile": { "factory": 120, "building": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "36:15-20" } ], "usedExports": [ "slice" ], "providedExports": [ "slice" ], "optimizationBailout": [], "depth": 5, "source": "export var slice = Array.prototype.slice;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/constant.js", "name": "./node_modules/d3-chord/src/constant.js", "index": 148, "index2": 143, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "issuerId": null, "issuerName": "./node_modules/d3-chord/src/ribbon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/index.js", "name": "./node_modules/d3-chord/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "name": "./node_modules/d3-chord/src/ribbon.js", "profile": { "factory": 188, "building": 35, "dependencies": 120 } } ], "profile": { "factory": 120, "building": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "63:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "67:74-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-chord/src/ribbon.js", "module": "./node_modules/d3-chord/src/ribbon.js", "moduleName": "./node_modules/d3-chord/src/ribbon.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "71:72-80" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/math.js", "name": "./node_modules/d3-color/src/math.js", "index": 159, "index2": 154, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "issuerId": null, "issuerName": "./node_modules/d3-color/src/cubehelix.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/index.js", "name": "./node_modules/d3-color/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "name": "./node_modules/d3-color/src/cubehelix.js", "profile": { "factory": 78, "building": 55, "dependencies": 61 } } ], "profile": { "factory": 61, "building": 43 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "24:34-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/cubehelix.js", "module": "./node_modules/d3-color/src/cubehelix.js", "moduleName": "./node_modules/d3-color/src/cubehelix.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:49-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "88:33-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-color/src/lab.js", "module": "./node_modules/d3-color/src/lab.js", "moduleName": "./node_modules/d3-color/src/lab.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "109:16-23" } ], "usedExports": [ "rad2deg", "deg2rad" ], "providedExports": [ "deg2rad", "rad2deg" ], "optimizationBailout": [], "depth": 5, "source": "export var deg2rad = Math.PI / 180;\nexport var rad2deg = 180 / Math.PI;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/array.js", "name": "./node_modules/d3-contour/src/array.js", "index": 163, "index2": 158, "size": 62, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/density.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "name": "./node_modules/d3-contour/src/density.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 107, "building": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "123:101-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "195:101-106" } ], "usedExports": [ "slice" ], "providedExports": [ "slice" ], "optimizationBailout": [], "depth": 5, "source": "var array = Array.prototype;\n\nexport var slice = array.slice;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/ascending.js", "name": "./node_modules/d3-contour/src/ascending.js", "index": 164, "index2": 159, "size": 50, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/contours.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "name": "./node_modules/d3-contour/src/contours.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 116, "building": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./ascending", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./ascending", "loc": "43:27-36" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(a, b) {\n return a - b;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/area.js", "name": "./node_modules/d3-contour/src/area.js", "index": 165, "index2": 160, "size": 230, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/contours.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "name": "./node_modules/d3-contour/src/contours.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 116, "building": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./area", "loc": "4:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./area", "loc": "59:10-14" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(ring) {\n var i = 0, n = ring.length, area = ring[n - 1][1] * ring[0][0] - ring[n - 1][0] * ring[0][1];\n while (++i < n) area += ring[i - 1][1] * ring[i][0] - ring[i - 1][0] * ring[i][1];\n return area;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/constant.js", "name": "./node_modules/d3-contour/src/constant.js", "index": 166, "index2": 161, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/density.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "name": "./node_modules/d3-contour/src/density.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 107, "building": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "4:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "30:18-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "98:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "102:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "106:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "123:92-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "123:118-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "195:92-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "195:118-126" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contains.js", "name": "./node_modules/d3-contour/src/contains.js", "index": 167, "index2": 162, "size": 871, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/contours.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "name": "./node_modules/d3-contour/src/contours.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 116, "building": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./contains", "loc": "6:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./contains", "loc": "65:12-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(ring, hole) {\n var i = -1, n = hole.length, c;\n while (++i < n) if (c = ringContains(ring, hole[i])) return c;\n return 0;\n}\n\nfunction ringContains(ring, point) {\n var x = point[0], y = point[1], contains = -1;\n for (var i = 0, n = ring.length, j = n - 1; i < n; j = i++) {\n var pi = ring[i], xi = pi[0], yi = pi[1], pj = ring[j], xj = pj[0], yj = pj[1];\n if (segmentContains(pi, pj, point)) return 0;\n if (((yi > y) !== (yj > y)) && ((x < (xj - xi) * (y - yi) / (yj - yi) + xi))) contains = -contains;\n }\n return contains;\n}\n\nfunction segmentContains(a, b, c) {\n var i; return collinear(a, b, c) && within(a[i = +(a[0] === b[0])], c[i], b[i]);\n}\n\nfunction collinear(a, b, c) {\n return (b[0] - a[0]) * (c[1] - a[1]) === (c[0] - a[0]) * (b[1] - a[1]);\n}\n\nfunction within(p, q, r) {\n return p <= q && q <= r || r <= q && q <= p;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/noop.js", "name": "./node_modules/d3-contour/src/noop.js", "index": 168, "index2": 163, "size": 29, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/contours.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "name": "./node_modules/d3-contour/src/contours.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 116, "building": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony side effect evaluation", "userRequest": "./noop", "loc": "7:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/contours.js", "module": "./node_modules/d3-contour/src/contours.js", "moduleName": "./node_modules/d3-contour/src/contours.js", "type": "harmony import specifier", "userRequest": "./noop", "loc": "199:59-63" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/blur.js", "name": "./node_modules/d3-contour/src/blur.js", "index": 170, "index2": 165, "size": 1095, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "issuerId": null, "issuerName": "./node_modules/d3-contour/src/density.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/index.js", "name": "./node_modules/d3-contour/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "name": "./node_modules/d3-contour/src/density.js", "profile": { "factory": 187, "building": 41, "dependencies": 113 } } ], "profile": { "factory": 107, "building": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony side effect evaluation", "userRequest": "./blur", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "46:4-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "47:4-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "48:4-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "49:4-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "50:4-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-contour/src/density.js", "module": "./node_modules/d3-contour/src/density.js", "moduleName": "./node_modules/d3-contour/src/density.js", "type": "harmony import specifier", "userRequest": "./blur", "loc": "51:4-9" } ], "usedExports": [ "blurX", "blurY" ], "providedExports": [ "blurX", "blurY" ], "optimizationBailout": [], "depth": 5, "source": "// TODO Optimize edge cases.\n// TODO Optimize index calculation.\n// TODO Optimize arguments.\nexport function blurX(source, target, r) {\n var n = source.width,\n m = source.height,\n w = (r << 1) + 1;\n for (var j = 0; j < m; ++j) {\n for (var i = 0, sr = 0; i < n + r; ++i) {\n if (i < n) {\n sr += source.data[i + j * n];\n }\n if (i >= r) {\n if (i >= w) {\n sr -= source.data[i - w + j * n];\n }\n target.data[i - r + j * n] = sr / Math.min(i + 1, n - 1 + w - i, w);\n }\n }\n }\n}\n\n// TODO Optimize edge cases.\n// TODO Optimize index calculation.\n// TODO Optimize arguments.\nexport function blurY(source, target, r) {\n var n = source.width,\n m = source.height,\n w = (r << 1) + 1;\n for (var i = 0; i < n; ++i) {\n for (var j = 0, sr = 0; j < m + r; ++j) {\n if (j < m) {\n sr += source.data[i + j * n];\n }\n if (j >= r) {\n if (j >= w) {\n sr -= source.data[i + (j - w) * n];\n }\n target.data[i + (j - r) * n] = sr / Math.min(j + 1, m - 1 + w - j, w);\n }\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/constant.js", "name": "./node_modules/d3-drag/src/constant.js", "index": 175, "index2": 170, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "issuerId": null, "issuerName": "./node_modules/d3-drag/src/drag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "name": "./node_modules/d3-drag/src/drag.js", "profile": { "factory": 77, "building": 60, "dependencies": 58 } } ], "profile": { "factory": 58, "building": 43 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "5:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "142:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "146:73-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "150:71-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "154:73-81" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/event.js", "name": "./node_modules/d3-drag/src/event.js", "index": 174, "index2": 169, "size": 430, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "issuerId": null, "issuerName": "./node_modules/d3-drag/src/drag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/index.js", "name": "./node_modules/d3-drag/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "name": "./node_modules/d3-drag/src/drag.js", "profile": { "factory": 77, "building": 60, "dependencies": 58 } } ], "profile": { "factory": 58, "building": 43 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony side effect evaluation", "userRequest": "./event.js", "loc": "6:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./event.js", "loc": "123:25-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-drag/src/drag.js", "module": "./node_modules/d3-drag/src/drag.js", "moduleName": "./node_modules/d3-drag/src/drag.js", "type": "harmony import specifier", "userRequest": "./event.js", "loc": "137:22-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function DragEvent(target, type, subject, id, active, x, y, dx, dy, dispatch) {\n this.target = target;\n this.type = type;\n this.subject = subject;\n this.identifier = id;\n this.active = active;\n this.x = x;\n this.y = y;\n this.dx = dx;\n this.dy = dy;\n this._ = dispatch;\n}\n\nDragEvent.prototype.on = function() {\n var value = this._.on.apply(this._, arguments);\n return value === this._ ? this : value;\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/constant.js", "name": "./node_modules/d3-force/src/constant.js", "index": 202, "index2": 197, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/y.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "name": "./node_modules/d3-force/src/y.js", "profile": { "factory": 893, "building": 18, "dependencies": 16 } } ], "profile": { "factory": 17, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "module": "./node_modules/d3-force/src/y.js", "moduleName": "./node_modules/d3-force/src/y.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "module": "./node_modules/d3-force/src/x.js", "moduleName": "./node_modules/d3-force/src/x.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "module": "./node_modules/d3-force/src/radial.js", "moduleName": "./node_modules/d3-force/src/radial.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "module": "./node_modules/d3-force/src/y.js", "moduleName": "./node_modules/d3-force/src/y.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "4:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "module": "./node_modules/d3-force/src/x.js", "moduleName": "./node_modules/d3-force/src/x.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "4:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "module": "./node_modules/d3-force/src/radial.js", "moduleName": "./node_modules/d3-force/src/radial.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "5:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "module": "./node_modules/d3-force/src/y.js", "moduleName": "./node_modules/d3-force/src/y.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "9:35-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "module": "./node_modules/d3-force/src/x.js", "moduleName": "./node_modules/d3-force/src/x.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "9:35-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "module": "./node_modules/d3-force/src/radial.js", "moduleName": "./node_modules/d3-force/src/radial.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "9:45-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "10:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "19:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "19:45-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "module": "./node_modules/d3-force/src/y.js", "moduleName": "./node_modules/d3-force/src/y.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "33:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "module": "./node_modules/d3-force/src/x.js", "moduleName": "./node_modules/d3-force/src/x.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "33:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/y.js", "module": "./node_modules/d3-force/src/y.js", "moduleName": "./node_modules/d3-force/src/y.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "37:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/x.js", "module": "./node_modules/d3-force/src/x.js", "moduleName": "./node_modules/d3-force/src/x.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "37:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "module": "./node_modules/d3-force/src/radial.js", "moduleName": "./node_modules/d3-force/src/radial.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "41:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/radial.js", "module": "./node_modules/d3-force/src/radial.js", "moduleName": "./node_modules/d3-force/src/radial.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "45:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "94:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "98:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "108:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "112:72-80" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/jiggle.js", "name": "./node_modules/d3-force/src/jiggle.js", "index": 203, "index2": 198, "size": 69, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "issuerId": null, "issuerName": "./node_modules/d3-force/src/manyBody.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/index.js", "name": "./node_modules/d3-force/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "name": "./node_modules/d3-force/src/manyBody.js", "profile": { "factory": 893, "building": 18, "dependencies": 16 } } ], "profile": { "factory": 11, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony side effect evaluation", "userRequest": "./jiggle", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony side effect evaluation", "userRequest": "./jiggle", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony side effect evaluation", "userRequest": "./jiggle", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "36:59-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/link.js", "module": "./node_modules/d3-force/src/link.js", "moduleName": "./node_modules/d3-force/src/link.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "37:59-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "49:29-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/collide.js", "module": "./node_modules/d3-force/src/collide.js", "moduleName": "./node_modules/d3-force/src/collide.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "50:29-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "66:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "67:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "80:23-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-force/src/manyBody.js", "module": "./node_modules/d3-force/src/manyBody.js", "moduleName": "./node_modules/d3-force/src/manyBody.js", "type": "harmony import specifier", "userRequest": "./jiggle", "loc": "81:23-29" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n return (Math.random() - 0.5) * 1e-6;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/add.js", "name": "./node_modules/d3-quadtree/src/add.js", "index": 207, "index2": 201, "size": 2368, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./add.js", "loc": "1:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./add.js", "loc": "60:16-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./add.js", "loc": "61:19-30" } ], "usedExports": [ "default", "addAll" ], "providedExports": [ "default", "addAll" ], "optimizationBailout": [], "depth": 5, "source": "export default function(d) {\n var x = +this._x.call(null, d),\n y = +this._y.call(null, d);\n return add(this.cover(x, y), x, y, d);\n}\n\nfunction add(tree, x, y, d) {\n if (isNaN(x) || isNaN(y)) return tree; // ignore invalid points\n\n var parent,\n node = tree._root,\n leaf = {data: d},\n x0 = tree._x0,\n y0 = tree._y0,\n x1 = tree._x1,\n y1 = tree._y1,\n xm,\n ym,\n xp,\n yp,\n right,\n bottom,\n i,\n j;\n\n // If the tree is empty, initialize the root as a leaf.\n if (!node) return tree._root = leaf, tree;\n\n // Find the existing leaf for the new point, or add it.\n while (node.length) {\n if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n if (parent = node, !(node = node[i = bottom << 1 | right])) return parent[i] = leaf, tree;\n }\n\n // Is the new point is exactly coincident with the existing point?\n xp = +tree._x.call(null, node.data);\n yp = +tree._y.call(null, node.data);\n if (x === xp && y === yp) return leaf.next = node, parent ? parent[i] = leaf : tree._root = leaf, tree;\n\n // Otherwise, split the leaf node until the old and new point are separated.\n do {\n parent = parent ? parent[i] = new Array(4) : tree._root = new Array(4);\n if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n } while ((i = bottom << 1 | right) === (j = (yp >= ym) << 1 | (xp >= xm)));\n return parent[j] = node, parent[i] = leaf, tree;\n}\n\nexport function addAll(data) {\n var d, i, n = data.length,\n x,\n y,\n xz = new Array(n),\n yz = new Array(n),\n x0 = Infinity,\n y0 = Infinity,\n x1 = -Infinity,\n y1 = -Infinity;\n\n // Compute the points and their extent.\n for (i = 0; i < n; ++i) {\n if (isNaN(x = +this._x.call(null, d = data[i])) || isNaN(y = +this._y.call(null, d))) continue;\n xz[i] = x;\n yz[i] = y;\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n }\n\n // If there were no (valid) points, abort.\n if (x0 > x1 || y0 > y1) return this;\n\n // Expand the tree to cover the new points.\n this.cover(x0, y0).cover(x1, y1);\n\n // Add the new points.\n for (i = 0; i < n; ++i) {\n add(this, xz[i], yz[i], data[i]);\n }\n\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/cover.js", "name": "./node_modules/d3-quadtree/src/cover.js", "index": 208, "index2": 202, "size": 1164, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./cover.js", "loc": "2:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./cover.js", "loc": "62:18-28" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x, y) {\n if (isNaN(x = +x) || isNaN(y = +y)) return this; // ignore invalid points\n\n var x0 = this._x0,\n y0 = this._y0,\n x1 = this._x1,\n y1 = this._y1;\n\n // If the quadtree has no extent, initialize them.\n // Integer extent are necessary so that if we later double the extent,\n // the existing quadrant boundaries don’t change due to floating point error!\n if (isNaN(x0)) {\n x1 = (x0 = Math.floor(x)) + 1;\n y1 = (y0 = Math.floor(y)) + 1;\n }\n\n // Otherwise, double repeatedly to cover.\n else {\n var z = x1 - x0,\n node = this._root,\n parent,\n i;\n\n while (x0 > x || x >= x1 || y0 > y || y >= y1) {\n i = (y < y0) << 1 | (x < x0);\n parent = new Array(4), parent[i] = node, node = parent, z *= 2;\n switch (i) {\n case 0: x1 = x0 + z, y1 = y0 + z; break;\n case 1: x0 = x1 - z, y1 = y0 + z; break;\n case 2: x1 = x0 + z, y0 = y1 - z; break;\n case 3: x0 = x1 - z, y0 = y1 - z; break;\n }\n }\n\n if (this._root && this._root.length) this._root = node;\n }\n\n this._x0 = x0;\n this._y0 = y0;\n this._x1 = x1;\n this._y1 = y1;\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/data.js", "name": "./node_modules/d3-quadtree/src/data.js", "index": 209, "index2": 203, "size": 170, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./data.js", "loc": "3:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./data.js", "loc": "63:17-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var data = [];\n this.visit(function(node) {\n if (!node.length) do data.push(node.data); while (node = node.next)\n });\n return data;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/extent.js", "name": "./node_modules/d3-quadtree/src/extent.js", "index": 210, "index2": 204, "size": 206, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./extent.js", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./extent.js", "loc": "64:19-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(_) {\n return arguments.length\n ? this.cover(+_[0][0], +_[0][1]).cover(+_[1][0], +_[1][1])\n : isNaN(this._x0) ? undefined : [[this._x0, this._y0], [this._x1, this._y1]];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "name": "./node_modules/d3-quadtree/src/find.js", "index": 211, "index2": 206, "size": 1699, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./find.js", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./find.js", "loc": "65:17-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import Quad from \"./quad.js\";\n\nexport default function(x, y, radius) {\n var data,\n x0 = this._x0,\n y0 = this._y0,\n x1,\n y1,\n x2,\n y2,\n x3 = this._x1,\n y3 = this._y1,\n quads = [],\n node = this._root,\n q,\n i;\n\n if (node) quads.push(new Quad(node, x0, y0, x3, y3));\n if (radius == null) radius = Infinity;\n else {\n x0 = x - radius, y0 = y - radius;\n x3 = x + radius, y3 = y + radius;\n radius *= radius;\n }\n\n while (q = quads.pop()) {\n\n // Stop searching if this quadrant can’t contain a closer node.\n if (!(node = q.node)\n || (x1 = q.x0) > x3\n || (y1 = q.y0) > y3\n || (x2 = q.x1) < x0\n || (y2 = q.y1) < y0) continue;\n\n // Bisect the current quadrant.\n if (node.length) {\n var xm = (x1 + x2) / 2,\n ym = (y1 + y2) / 2;\n\n quads.push(\n new Quad(node[3], xm, ym, x2, y2),\n new Quad(node[2], x1, ym, xm, y2),\n new Quad(node[1], xm, y1, x2, ym),\n new Quad(node[0], x1, y1, xm, ym)\n );\n\n // Visit the closest quadrant first.\n if (i = (y >= ym) << 1 | (x >= xm)) {\n q = quads[quads.length - 1];\n quads[quads.length - 1] = quads[quads.length - 1 - i];\n quads[quads.length - 1 - i] = q;\n }\n }\n\n // Visit this point. (Visiting coincident points isn’t necessary!)\n else {\n var dx = x - +this._x.call(null, node.data),\n dy = y - +this._y.call(null, node.data),\n d2 = dx * dx + dy * dy;\n if (d2 < radius) {\n var d = Math.sqrt(radius = d2);\n x0 = x - d, y0 = y - d;\n x3 = x + d, y3 = y + d;\n data = node.data;\n }\n }\n }\n\n return data;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/remove.js", "name": "./node_modules/d3-quadtree/src/remove.js", "index": 213, "index2": 207, "size": 1898, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./remove.js", "loc": "6:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./remove.js", "loc": "66:19-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./remove.js", "loc": "67:22-36" } ], "usedExports": [ "default", "removeAll" ], "providedExports": [ "default", "removeAll" ], "optimizationBailout": [], "depth": 5, "source": "export default function(d) {\n if (isNaN(x = +this._x.call(null, d)) || isNaN(y = +this._y.call(null, d))) return this; // ignore invalid points\n\n var parent,\n node = this._root,\n retainer,\n previous,\n next,\n x0 = this._x0,\n y0 = this._y0,\n x1 = this._x1,\n y1 = this._y1,\n x,\n y,\n xm,\n ym,\n right,\n bottom,\n i,\n j;\n\n // If the tree is empty, initialize the root as a leaf.\n if (!node) return this;\n\n // Find the leaf node for the point.\n // While descending, also retain the deepest parent with a non-removed sibling.\n if (node.length) while (true) {\n if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n if (!(parent = node, node = node[i = bottom << 1 | right])) return this;\n if (!node.length) break;\n if (parent[(i + 1) & 3] || parent[(i + 2) & 3] || parent[(i + 3) & 3]) retainer = parent, j = i;\n }\n\n // Find the point to remove.\n while (node.data !== d) if (!(previous = node, node = node.next)) return this;\n if (next = node.next) delete node.next;\n\n // If there are multiple coincident points, remove just the point.\n if (previous) return (next ? previous.next = next : delete previous.next), this;\n\n // If this is the root point, remove it.\n if (!parent) return this._root = next, this;\n\n // Remove this leaf.\n next ? parent[i] = next : delete parent[i];\n\n // If the parent now contains exactly one leaf, collapse superfluous parents.\n if ((node = parent[0] || parent[1] || parent[2] || parent[3])\n && node === (parent[3] || parent[2] || parent[1] || parent[0])\n && !node.length) {\n if (retainer) retainer[j] = node;\n else this._root = node;\n }\n\n return this;\n}\n\nexport function removeAll(data) {\n for (var i = 0, n = data.length; i < n; ++i) this.remove(data[i]);\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/root.js", "name": "./node_modules/d3-quadtree/src/root.js", "index": 214, "index2": 208, "size": 51, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./root.js", "loc": "7:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./root.js", "loc": "68:17-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n return this._root;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/size.js", "name": "./node_modules/d3-quadtree/src/size.js", "index": 215, "index2": 209, "size": 155, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./size.js", "loc": "8:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./size.js", "loc": "69:17-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var size = 0;\n this.visit(function(node) {\n if (!node.length) do ++size; while (node = node.next)\n });\n return size;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "name": "./node_modules/d3-quadtree/src/visit.js", "index": 216, "index2": 210, "size": 698, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./visit.js", "loc": "9:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./visit.js", "loc": "70:18-28" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import Quad from \"./quad.js\";\n\nexport default function(callback) {\n var quads = [], q, node = this._root, child, x0, y0, x1, y1;\n if (node) quads.push(new Quad(node, this._x0, this._y0, this._x1, this._y1));\n while (q = quads.pop()) {\n if (!callback(node = q.node, x0 = q.x0, y0 = q.y0, x1 = q.x1, y1 = q.y1) && node.length) {\n var xm = (x0 + x1) / 2, ym = (y0 + y1) / 2;\n if (child = node[3]) quads.push(new Quad(child, xm, ym, x1, y1));\n if (child = node[2]) quads.push(new Quad(child, x0, ym, xm, y1));\n if (child = node[1]) quads.push(new Quad(child, xm, y0, x1, ym));\n if (child = node[0]) quads.push(new Quad(child, x0, y0, xm, ym));\n }\n }\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "name": "./node_modules/d3-quadtree/src/visitAfter.js", "index": 217, "index2": 211, "size": 776, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./visitAfter.js", "loc": "10:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./visitAfter.js", "loc": "71:23-38" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import Quad from \"./quad.js\";\n\nexport default function(callback) {\n var quads = [], next = [], q;\n if (this._root) quads.push(new Quad(this._root, this._x0, this._y0, this._x1, this._y1));\n while (q = quads.pop()) {\n var node = q.node;\n if (node.length) {\n var child, x0 = q.x0, y0 = q.y0, x1 = q.x1, y1 = q.y1, xm = (x0 + x1) / 2, ym = (y0 + y1) / 2;\n if (child = node[0]) quads.push(new Quad(child, x0, y0, xm, ym));\n if (child = node[1]) quads.push(new Quad(child, xm, y0, x1, ym));\n if (child = node[2]) quads.push(new Quad(child, x0, ym, xm, y1));\n if (child = node[3]) quads.push(new Quad(child, xm, ym, x1, y1));\n }\n next.push(q);\n }\n while (q = next.pop()) {\n callback(q.node, q.x0, q.y0, q.x1, q.y1);\n }\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/x.js", "name": "./node_modules/d3-quadtree/src/x.js", "index": 205, "index2": 199, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./x.js", "loc": "11:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./x.js", "loc": "15:38-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./x.js", "loc": "72:14-20" } ], "usedExports": [ "defaultX", "default" ], "providedExports": [ "defaultX", "default" ], "optimizationBailout": [], "depth": 5, "source": "export function defaultX(d) {\n return d[0];\n}\n\nexport default function(_) {\n return arguments.length ? (this._x = _, this) : this._x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/y.js", "name": "./node_modules/d3-quadtree/src/y.js", "index": 206, "index2": 200, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/quadtree.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } } ], "profile": { "factory": 105, "building": 41, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony side effect evaluation", "userRequest": "./y.js", "loc": "12:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./y.js", "loc": "15:64-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "module": "./node_modules/d3-quadtree/src/quadtree.js", "moduleName": "./node_modules/d3-quadtree/src/quadtree.js", "type": "harmony import specifier", "userRequest": "./y.js", "loc": "73:14-20" } ], "usedExports": [ "defaultY", "default" ], "providedExports": [ "defaultY", "default" ], "optimizationBailout": [], "depth": 5, "source": "export function defaultY(d) {\n return d[1];\n}\n\nexport default function(_) {\n return arguments.length ? (this._y = _, this) : this._y;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/exponent.js", "name": "./node_modules/d3-format/src/exponent.js", "index": 236, "index2": 230, "size": 137, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./exponent.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionRound.js", "module": "./node_modules/d3-format/src/precisionRound.js", "moduleName": "./node_modules/d3-format/src/precisionRound.js", "type": "harmony side effect evaluation", "userRequest": "./exponent.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionPrefix.js", "module": "./node_modules/d3-format/src/precisionPrefix.js", "moduleName": "./node_modules/d3-format/src/precisionPrefix.js", "type": "harmony side effect evaluation", "userRequest": "./exponent.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionFixed.js", "module": "./node_modules/d3-format/src/precisionFixed.js", "moduleName": "./node_modules/d3-format/src/precisionFixed.js", "type": "harmony side effect evaluation", "userRequest": "./exponent.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionFixed.js", "module": "./node_modules/d3-format/src/precisionFixed.js", "moduleName": "./node_modules/d3-format/src/precisionFixed.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "4:22-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionPrefix.js", "module": "./node_modules/d3-format/src/precisionPrefix.js", "moduleName": "./node_modules/d3-format/src/precisionPrefix.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "4:57-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionPrefix.js", "module": "./node_modules/d3-format/src/precisionPrefix.js", "moduleName": "./node_modules/d3-format/src/precisionPrefix.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "4:86-94" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionRound.js", "module": "./node_modules/d3-format/src/precisionRound.js", "moduleName": "./node_modules/d3-format/src/precisionRound.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "5:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/precisionRound.js", "module": "./node_modules/d3-format/src/precisionRound.js", "moduleName": "./node_modules/d3-format/src/precisionRound.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "5:37-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./exponent.js", "loc": "135:48-56" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import formatDecimal from \"./formatDecimal.js\";\n\nexport default function(x) {\n return x = formatDecimal(Math.abs(x)), x ? x[1] : NaN;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatGroup.js", "name": "./node_modules/d3-format/src/formatGroup.js", "index": 228, "index2": 222, "size": 475, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatGroup.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatGroup.js", "loc": "14:91-102" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(grouping, thousands) {\n return function(value, width) {\n var i = value.length,\n t = [],\n j = 0,\n g = grouping[0],\n length = 0;\n\n while (i > 0 && g > 0) {\n if (length + g + 1 > width) g = Math.max(1, width - length);\n t.push(value.substring(i -= g, i + g));\n if ((length += g + 1) > width) break;\n g = grouping[j = (j + 1) % grouping.length];\n }\n\n return t.reverse().join(thousands);\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatNumerals.js", "name": "./node_modules/d3-format/src/formatNumerals.js", "index": 229, "index2": 223, "size": 154, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatNumerals.js", "loc": "3:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatNumerals.js", "loc": "18:60-74" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(numerals) {\n return function(value) {\n return value.replace(/[0-9]/g, function(i) {\n return numerals[+i];\n });\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTrim.js", "name": "./node_modules/d3-format/src/formatTrim.js", "index": 235, "index2": 229, "size": 399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatTrim.js", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatTrim.js", "loc": "81:26-36" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "// Trims insignificant zeros, e.g., replaces 1.2000k with 1.2k.\nexport default function(s) {\n out: for (var n = s.length, i = 1, i0 = -1, i1; i < n; ++i) {\n switch (s[i]) {\n case \".\": i0 = i1 = i; break;\n case \"0\": if (i0 === 0) i0 = i; i1 = i; break;\n default: if (!+s[i]) break out; if (i0 > 0) i0 = 0; break;\n }\n }\n return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatPrefixAuto.js", "name": "./node_modules/d3-format/src/formatPrefixAuto.js", "index": 234, "index2": 227, "size": 614, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "module": "./node_modules/d3-format/src/formatTypes.js", "moduleName": "./node_modules/d3-format/src/formatTypes.js", "type": "harmony side effect evaluation", "userRequest": "./formatPrefixAuto.js", "loc": "1:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatPrefixAuto.js", "loc": "7:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "module": "./node_modules/d3-format/src/formatTypes.js", "moduleName": "./node_modules/d3-format/src/formatTypes.js", "type": "harmony import specifier", "userRequest": "./formatPrefixAuto.js", "loc": "15:7-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatPrefixAuto.js", "loc": "89:51-65" } ], "usedExports": [ "prefixExponent", "default" ], "providedExports": [ "prefixExponent", "default" ], "optimizationBailout": [], "depth": 5, "source": "import formatDecimal from \"./formatDecimal.js\";\n\nexport var prefixExponent;\n\nexport default function(x, p) {\n var d = formatDecimal(x, p);\n if (!d) return x + \"\";\n var coefficient = d[0],\n exponent = d[1],\n i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,\n n = coefficient.length;\n return i === n ? coefficient\n : i > n ? coefficient + new Array(i - n + 1).join(\"0\")\n : i > 0 ? coefficient.slice(0, i) + \".\" + coefficient.slice(i)\n : \"0.\" + new Array(1 - i).join(\"0\") + formatDecimal(x, Math.max(0, p + i - 1))[0]; // less than 1y!\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "name": "./node_modules/d3-format/src/formatTypes.js", "index": 231, "index2": 228, "size": 786, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./formatTypes.js", "loc": "6:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatTypes.js", "loc": "41:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./formatTypes.js", "loc": "54:21-32" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import formatPrefixAuto from \"./formatPrefixAuto.js\";\nimport formatRounded from \"./formatRounded.js\";\n\nexport default {\n \"%\": function(x, p) { return (x * 100).toFixed(p); },\n \"b\": function(x) { return Math.round(x).toString(2); },\n \"c\": function(x) { return x + \"\"; },\n \"d\": function(x) { return Math.round(x).toString(10); },\n \"e\": function(x, p) { return x.toExponential(p); },\n \"f\": function(x, p) { return x.toFixed(p); },\n \"g\": function(x, p) { return x.toPrecision(p); },\n \"o\": function(x) { return Math.round(x).toString(8); },\n \"p\": function(x, p) { return formatRounded(x * 100, p); },\n \"r\": formatRounded,\n \"s\": formatPrefixAuto,\n \"X\": function(x) { return Math.round(x).toString(16).toUpperCase(); },\n \"x\": function(x) { return Math.round(x).toString(16); }\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/identity.js", "name": "./node_modules/d3-format/src/identity.js", "index": 227, "index2": 221, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/locale.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } } ], "profile": { "factory": 47, "building": 35, "dependencies": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony side effect evaluation", "userRequest": "./identity.js", "loc": "8:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./identity.js", "loc": "14:80-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "module": "./node_modules/d3-format/src/locale.js", "moduleName": "./node_modules/d3-format/src/locale.js", "type": "harmony import specifier", "userRequest": "./identity.js", "loc": "18:49-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/adder.js", "name": "./node_modules/d3-geo/src/adder.js", "index": 242, "index2": 237, "size": 906, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/area.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "name": "./node_modules/d3-geo/src/area.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 114, "building": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./adder.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony side effect evaluation", "userRequest": "./adder.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony side effect evaluation", "userRequest": "./adder.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony side effect evaluation", "userRequest": "./adder.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony side effect evaluation", "userRequest": "../adder.js", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony side effect evaluation", "userRequest": "../adder.js", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./adder.js", "loc": "5:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../adder.js", "loc": "5:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony import specifier", "userRequest": "../adder.js", "loc": "5:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./adder.js", "loc": "6:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../adder.js", "loc": "6:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./adder.js", "loc": "6:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./adder.js", "loc": "8:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./adder.js", "loc": "11:15-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "// Adds floating point numbers with twice the normal precision.\n// Reference: J. R. Shewchuk, Adaptive Precision Floating-Point Arithmetic and\n// Fast Robust Geometric Predicates, Discrete & Computational Geometry 18(3)\n// 305–363 (1997).\n// Code adapted from GeographicLib by Charles F. F. Karney,\n// http://geographiclib.sourceforge.net/\n\nexport default function() {\n return new Adder;\n}\n\nfunction Adder() {\n this.reset();\n}\n\nAdder.prototype = {\n constructor: Adder,\n reset: function() {\n this.s = // rounded value\n this.t = 0; // exact error\n },\n add: function(y) {\n add(temp, y, this.t);\n add(this, temp.s, this.s);\n if (this.s) this.t += temp.t;\n else this.s = temp.t;\n },\n valueOf: function() {\n return this.s;\n }\n};\n\nvar temp = new Adder;\n\nfunction add(adder, a, b) {\n var x = adder.s = a + b,\n bv = x - a,\n av = x - bv;\n adder.t = (a - av) + (b - bv);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/math.js", "name": "./node_modules/d3-geo/src/math.js", "index": 244, "index2": 239, "size": 880, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/area.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "name": "./node_modules/d3-geo/src/area.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 114, "building": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/context.js", "module": "./node_modules/d3-geo/src/path/context.js", "moduleName": "./node_modules/d3-geo/src/path/context.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "module": "./node_modules/d3-geo/src/pointEqual.js", "moduleName": "./node_modules/d3-geo/src/pointEqual.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "1:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/centroid.js", "module": "./node_modules/d3-geo/src/path/centroid.js", "moduleName": "./node_modules/d3-geo/src/path/centroid.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "2:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "2:0-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "2:0-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "module": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "moduleName": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "3:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "4:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "module": "./node_modules/d3-geo/src/pointEqual.js", "moduleName": "./node_modules/d3-geo/src/pointEqual.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:9-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "4:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "module": "./node_modules/d3-geo/src/pointEqual.js", "moduleName": "./node_modules/d3-geo/src/pointEqual.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "module": "./node_modules/d3-geo/src/pointEqual.js", "moduleName": "./node_modules/d3-geo/src/pointEqual.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:39-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:45-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "module": "./node_modules/d3-geo/src/pointEqual.js", "moduleName": "./node_modules/d3-geo/src/pointEqual.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "4:58-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:14-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:19-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:24-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:59-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "5:66-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "6:0-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:9-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:13-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "6:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:27-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:27-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:27-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:32-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "7:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:27-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:27-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:39-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "8:4-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "8:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "8:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "8:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "8:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "8:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "8:23-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "8:58-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:18-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/transverseMercator.js", "module": "./node_modules/d3-geo/src/projection/transverseMercator.js", "moduleName": "./node_modules/d3-geo/src/projection/transverseMercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:33-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "9:41-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:41-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "9:54-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "10:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "10:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "10:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:32-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:37-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:25-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:25-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:32-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:32-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:40-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:42-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:46-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:46-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:52-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:53-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:58-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:69-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:88-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "module": "./node_modules/d3-geo/src/projection/conic.js", "moduleName": "./node_modules/d3-geo/src/projection/conic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "11:104-111" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "12:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "12:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "12:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "12:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "13:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "13:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "14:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:22-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:26-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:29-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:35-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "14:39-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "15:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "15:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "15:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "15:38-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "16:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "16:19-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "16:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "16:56-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "17:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "17:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:35-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:49-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:58-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "module": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "moduleName": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "18:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:19-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/naturalEarth1.js", "module": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "moduleName": "./node_modules/d3-geo/src/projection/naturalEarth1.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:24-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:25-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "18:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:41-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "18:50-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "18:61-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:36-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "19:44-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:50-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "19:58-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "19:60-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "19:74-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "19:88-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "20:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:36-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:37-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "20:48-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "21:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "21:47-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "21:68-71" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "22:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "22:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "module": "./node_modules/d3-geo/src/projection/azimuthal.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "23:6-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "24:24-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "24:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "24:34-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "24:35-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:12-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "25:33-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:36-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "25:42-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:50-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:55-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "25:76-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "26:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "26:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "26:20-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "26:31-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "26:32-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "26:38-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "27:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "27:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "27:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "27:22-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "27:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "28:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "28:22-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "28:22-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "28:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "28:63-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "28:78-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "28:92-99" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "29:4-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/equalEarth.js", "module": "./node_modules/d3-geo/src/projection/equalEarth.js", "moduleName": "./node_modules/d3-geo/src/projection/equalEarth.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "29:9-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:22-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "29:61-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "29:71-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:78-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:92-99" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:20-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/interpolate.js", "module": "./node_modules/d3-geo/src/interpolate.js", "moduleName": "./node_modules/d3-geo/src/interpolate.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "30:31-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "module": "./node_modules/d3-geo/src/cartesian.js", "moduleName": "./node_modules/d3-geo/src/cartesian.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "31:11-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "31:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:20-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "31:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:34-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:47-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:50-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:53-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:56-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:64-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "31:69-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "32:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "32:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "32:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "32:24-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "32:27-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:20-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "33:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:24-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "33:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:27-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "33:31-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:49-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:74-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "33:110-115" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "34:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "35:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "36:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "36:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "36:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "36:45-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "37:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "37:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "37:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "37:35-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "37:63-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "38:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "38:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "38:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "38:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "38:35-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "38:63-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "39:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "39:14-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "39:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/context.js", "module": "./node_modules/d3-geo/src/path/context.js", "moduleName": "./node_modules/d3-geo/src/path/context.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "39:49-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "40:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "40:33-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "41:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "41:16-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "41:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "41:20-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "42:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "42:20-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "42:48-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "42:54-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "43:6-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/mercator.js", "module": "./node_modules/d3-geo/src/projection/mercator.js", "moduleName": "./node_modules/d3-geo/src/projection/mercator.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "43:12-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "44:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "44:29-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "45:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "45:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "45:22-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "45:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:36-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:50-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "46:72-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "47:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "48:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "48:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "48:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "48:45-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "49:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:31-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:44-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "49:70-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:7-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "50:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:45-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "50:47-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "51:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "51:18-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "52:35-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "52:52-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "54:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "55:6-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "56:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "56:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "57:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "57:34-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "58:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "59:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "59:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "59:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "59:60-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "60:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "60:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/centroid.js", "module": "./node_modules/d3-geo/src/path/centroid.js", "moduleName": "./node_modules/d3-geo/src/path/centroid.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "60:36-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "61:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "61:16-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "61:29-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "62:26-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "62:33-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "63:9-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "63:25-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "63:34-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "63:37-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "63:58-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "63:99-106" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "64:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "64:14-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "64:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "64:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "64:37-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "64:50-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "65:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "65:35-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "65:48-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "66:42-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "66:68-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "67:29-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "67:56-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "71:49-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "71:75-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "72:29-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "72:56-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "72:61-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "73:22-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "74:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "76:17-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "76:45-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "76:65-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "77:17-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "78:17-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "78:19-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "78:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "78:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "78:56-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "78:63-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "78:90-97" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "78:115-122" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "80:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "81:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "81:32-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "81:52-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "82:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:36-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:63-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:90-97" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "83:115-122" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "84:35-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "84:41-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "86:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "86:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/centroid.js", "module": "./node_modules/d3-geo/src/path/centroid.js", "moduleName": "./node_modules/d3-geo/src/path/centroid.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "87:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "88:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "89:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "90:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "90:21-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "90:41-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "91:7-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "96:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "96:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "97:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "97:69-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "97:133-140" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "98:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "99:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "99:33-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "99:54-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "100:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "100:33-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/graticule.js", "module": "./node_modules/d3-geo/src/graticule.js", "moduleName": "./node_modules/d3-geo/src/graticule.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "100:54-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "104:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "105:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "109:17-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "113:53-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "113:81-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "113:114-121" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "113:129-136" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:58-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:91-98" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:141-148" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:183-190" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:203-210" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "117:225-232" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "121:49-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "121:80-87" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "124:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "124:22-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "125:104-108" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "129:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "129:45-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "129:55-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "130:10-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "130:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "130:45-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "130:55-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "133:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "135:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "136:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "139:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "139:24-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "139:33-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "139:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "139:53-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "152:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "152:28-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "152:34-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "153:36-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "160:38-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "160:60-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "162:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "172:35-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "181:77-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "181:90-92" } ], "usedExports": [ "abs", "pi", "tau", "cos", "sin", "atan2", "asin", "radians", "degrees", "log", "tan", "halfPi", "atan", "exp", "sqrt", "epsilon", "epsilon2", "sign", "pow", "acos", "haversin", "ceil", "quarterPi" ], "providedExports": [ "epsilon", "epsilon2", "pi", "halfPi", "quarterPi", "tau", "degrees", "radians", "abs", "atan", "atan2", "cos", "ceil", "exp", "floor", "log", "pow", "sin", "sign", "sqrt", "tan", "acos", "asin", "haversin" ], "optimizationBailout": [], "depth": 5, "source": "export var epsilon = 1e-6;\nexport var epsilon2 = 1e-12;\nexport var pi = Math.PI;\nexport var halfPi = pi / 2;\nexport var quarterPi = pi / 4;\nexport var tau = pi * 2;\n\nexport var degrees = 180 / pi;\nexport var radians = pi / 180;\n\nexport var abs = Math.abs;\nexport var atan = Math.atan;\nexport var atan2 = Math.atan2;\nexport var cos = Math.cos;\nexport var ceil = Math.ceil;\nexport var exp = Math.exp;\nexport var floor = Math.floor;\nexport var log = Math.log;\nexport var pow = Math.pow;\nexport var sin = Math.sin;\nexport var sign = Math.sign || function(x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\nexport var sqrt = Math.sqrt;\nexport var tan = Math.tan;\n\nexport function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n}\n\nexport function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n}\n\nexport function haversin(x) {\n return (x = sin(x / 2)) * x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/noop.js", "name": "./node_modules/d3-geo/src/noop.js", "index": 243, "index2": 238, "size": 34, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/area.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "name": "./node_modules/d3-geo/src/area.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 114, "building": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/buffer.js", "module": "./node_modules/d3-geo/src/clip/buffer.js", "moduleName": "./node_modules/d3-geo/src/clip/buffer.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "module": "./node_modules/d3-geo/src/path/bounds.js", "moduleName": "./node_modules/d3-geo/src/path/bounds.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony side effect evaluation", "userRequest": "./noop.js", "loc": "2:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/context.js", "module": "./node_modules/d3-geo/src/path/context.js", "moduleName": "./node_modules/d3-geo/src/path/context.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./noop.js", "loc": "3:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony side effect evaluation", "userRequest": "./noop.js", "loc": "3:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "module": "./node_modules/d3-geo/src/path/bounds.js", "moduleName": "./node_modules/d3-geo/src/path/bounds.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "10:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "module": "./node_modules/d3-geo/src/path/bounds.js", "moduleName": "./node_modules/d3-geo/src/path/bounds.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "11:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "12:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "module": "./node_modules/d3-geo/src/path/bounds.js", "moduleName": "./node_modules/d3-geo/src/path/bounds.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "12:16-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "13:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "13:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "13:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/centroid.js", "module": "./node_modules/d3-geo/src/centroid.js", "moduleName": "./node_modules/d3-geo/src/centroid.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "13:10-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/buffer.js", "module": "./node_modules/d3-geo/src/clip/buffer.js", "moduleName": "./node_modules/d3-geo/src/clip/buffer.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "13:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "module": "./node_modules/d3-geo/src/path/bounds.js", "moduleName": "./node_modules/d3-geo/src/path/bounds.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "13:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "14:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "15:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "15:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "16:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "16:16-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "17:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "17:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "18:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "module": "./node_modules/d3-geo/src/path/measure.js", "moduleName": "./node_modules/d3-geo/src/path/measure.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "19:25-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "module": "./node_modules/d3-geo/src/path/area.js", "moduleName": "./node_modules/d3-geo/src/path/area.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "21:67-71" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/length.js", "module": "./node_modules/d3-geo/src/length.js", "moduleName": "./node_modules/d3-geo/src/length.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "26:46-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/area.js", "module": "./node_modules/d3-geo/src/area.js", "moduleName": "./node_modules/d3-geo/src/area.js", "type": "harmony import specifier", "userRequest": "./noop.js", "loc": "27:49-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/context.js", "module": "./node_modules/d3-geo/src/path/context.js", "moduleName": "./node_modules/d3-geo/src/path/context.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "44:10-14" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function noop() {}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/cartesian.js", "name": "./node_modules/d3-geo/src/cartesian.js", "index": 247, "index2": 242, "size": 932, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/circle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "name": "./node_modules/d3-geo/src/clip/circle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 15, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony side effect evaluation", "userRequest": "../cartesian.js", "loc": "1:0-120" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony side effect evaluation", "userRequest": "./cartesian.js", "loc": "1:0-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony side effect evaluation", "userRequest": "../cartesian.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony side effect evaluation", "userRequest": "./cartesian.js", "loc": "2:0-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony side effect evaluation", "userRequest": "./cartesian.js", "loc": "3:0-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "21:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "28:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "29:2-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "48:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "50:17-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "52:21-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "53:4-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/bounds.js", "module": "./node_modules/d3-geo/src/bounds.js", "moduleName": "./node_modules/d3-geo/src/bounds.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "54:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "55:18-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "55:33-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "55:52-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "56:8-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "57:27-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "module": "./node_modules/d3-geo/src/polygonContains.js", "moduleName": "./node_modules/d3-geo/src/polygonContains.js", "type": "harmony import specifier", "userRequest": "./cartesian.js", "loc": "58:8-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "module": "./node_modules/d3-geo/src/projection/resample.js", "moduleName": "./node_modules/d3-geo/src/projection/resample.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "73:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "106:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "107:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "112:13-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "113:15-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "122:16-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "123:12-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "124:12-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "125:4-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "129:12-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "130:13-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "131:27-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "136:12-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "137:4-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "138:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "163:15-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "164:6-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../cartesian.js", "loc": "165:17-26" } ], "usedExports": [ "cartesian", "cartesianCross", "cartesianNormalizeInPlace", "cartesianDot", "cartesianScale", "cartesianAddInPlace", "spherical" ], "providedExports": [ "spherical", "cartesian", "cartesianDot", "cartesianCross", "cartesianAddInPlace", "cartesianScale", "cartesianNormalizeInPlace" ], "optimizationBailout": [], "depth": 5, "source": "import {asin, atan2, cos, sin, sqrt} from \"./math.js\";\n\nexport function spherical(cartesian) {\n return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];\n}\n\nexport function cartesian(spherical) {\n var lambda = spherical[0], phi = spherical[1], cosPhi = cos(phi);\n return [cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi)];\n}\n\nexport function cartesianDot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n}\n\nexport function cartesianCross(a, b) {\n return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n}\n\n// TODO return a\nexport function cartesianAddInPlace(a, b) {\n a[0] += b[0], a[1] += b[1], a[2] += b[2];\n}\n\nexport function cartesianScale(vector, k) {\n return [vector[0] * k, vector[1] * k, vector[2] * k];\n}\n\n// TODO return d\nexport function cartesianNormalizeInPlace(d) {\n var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);\n d[0] /= l, d[1] /= l, d[2] /= l;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/constant.js", "name": "./node_modules/d3-geo/src/constant.js", "index": 250, "index2": 245, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/circle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "name": "./node_modules/d3-geo/src/circle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 15, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "35:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "36:15-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "37:18-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "60:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "64:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/circle.js", "module": "./node_modules/d3-geo/src/circle.js", "moduleName": "./node_modules/d3-geo/src/circle.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "68:73-81" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/compose.js", "name": "./node_modules/d3-geo/src/compose.js", "index": 252, "index2": 246, "size": 250, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/rotation.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "name": "./node_modules/d3-geo/src/rotation.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 47, "building": 21 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony side effect evaluation", "userRequest": "./compose.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../compose.js", "loc": "4:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/rotation.js", "module": "./node_modules/d3-geo/src/rotation.js", "moduleName": "./node_modules/d3-geo/src/rotation.js", "type": "harmony import specifier", "userRequest": "./compose.js", "loc": "11:58-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../compose.js", "loc": "148:23-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../compose.js", "loc": "149:29-36" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(a, b) {\n\n function compose(x, y) {\n return x = a(x, y), b(x[0], x[1]);\n }\n\n if (a.invert && b.invert) compose.invert = function(x, y) {\n return x = b.invert(x, y), x && a.invert(x[0], x[1]);\n };\n\n return compose;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/buffer.js", "name": "./node_modules/d3-geo/src/clip/buffer.js", "index": 255, "index2": 249, "size": 473, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/rectangle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "name": "./node_modules/d3-geo/src/clip/rectangle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 18, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony side effect evaluation", "userRequest": "./buffer.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony side effect evaluation", "userRequest": "./buffer.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "./buffer.js", "loc": "10:21-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "./buffer.js", "loc": "53:23-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import noop from \"../noop.js\";\n\nexport default function() {\n var lines = [],\n line;\n return {\n point: function(x, y) {\n line.push([x, y]);\n },\n lineStart: function() {\n lines.push(line = []);\n },\n lineEnd: noop,\n rejoin: function() {\n if (lines.length > 1) lines.push(lines.pop().concat(lines.shift()));\n },\n result: function() {\n var result = lines;\n lines = [];\n line = null;\n return result;\n }\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/pointEqual.js", "name": "./node_modules/d3-geo/src/pointEqual.js", "index": 258, "index2": 251, "size": 142, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/circle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "name": "./node_modules/d3-geo/src/clip/circle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 15, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rejoin.js", "module": "./node_modules/d3-geo/src/clip/rejoin.js", "moduleName": "./node_modules/d3-geo/src/clip/rejoin.js", "type": "harmony side effect evaluation", "userRequest": "../pointEqual.js", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony side effect evaluation", "userRequest": "../pointEqual.js", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rejoin.js", "module": "./node_modules/d3-geo/src/clip/rejoin.js", "moduleName": "./node_modules/d3-geo/src/clip/rejoin.js", "type": "harmony import specifier", "userRequest": "../pointEqual.js", "loc": "28:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../pointEqual.js", "loc": "48:25-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../pointEqual.js", "loc": "48:55-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "../pointEqual.js", "loc": "87:30-40" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {abs, epsilon} from \"./math.js\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rejoin.js", "name": "./node_modules/d3-geo/src/clip/rejoin.js", "index": 257, "index2": 252, "size": 2805, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/rectangle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "name": "./node_modules/d3-geo/src/clip/rectangle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 18, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony side effect evaluation", "userRequest": "./rejoin.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony side effect evaluation", "userRequest": "./rejoin.js", "loc": "4:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "./rejoin.js", "loc": "36:10-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "./rejoin.js", "loc": "105:10-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import pointEqual from \"../pointEqual.js\";\n\nfunction Intersection(point, points, other, entry) {\n this.x = point;\n this.z = points;\n this.o = other; // another intersection\n this.e = entry; // is an entry?\n this.v = false; // visited\n this.n = this.p = null; // next & previous\n}\n\n// A generalized polygon clipping algorithm: given a polygon that has been cut\n// into its visible line segments, and rejoins the segments by interpolating\n// along the clip edge.\nexport default function(segments, compareIntersection, startInside, interpolate, stream) {\n var subject = [],\n clip = [],\n i,\n n;\n\n segments.forEach(function(segment) {\n if ((n = segment.length - 1) <= 0) return;\n var n, p0 = segment[0], p1 = segment[n], x;\n\n // If the first and last points of a segment are coincident, then treat as a\n // closed ring. TODO if all rings are closed, then the winding order of the\n // exterior ring should be checked.\n if (pointEqual(p0, p1)) {\n stream.lineStart();\n for (i = 0; i < n; ++i) stream.point((p0 = segment[i])[0], p0[1]);\n stream.lineEnd();\n return;\n }\n\n subject.push(x = new Intersection(p0, segment, null, true));\n clip.push(x.o = new Intersection(p0, null, x, false));\n subject.push(x = new Intersection(p1, segment, null, false));\n clip.push(x.o = new Intersection(p1, null, x, true));\n });\n\n if (!subject.length) return;\n\n clip.sort(compareIntersection);\n link(subject);\n link(clip);\n\n for (i = 0, n = clip.length; i < n; ++i) {\n clip[i].e = startInside = !startInside;\n }\n\n var start = subject[0],\n points,\n point;\n\n while (1) {\n // Find first unvisited intersection.\n var current = start,\n isSubject = true;\n while (current.v) if ((current = current.n) === start) return;\n points = current.z;\n stream.lineStart();\n do {\n current.v = current.o.v = true;\n if (current.e) {\n if (isSubject) {\n for (i = 0, n = points.length; i < n; ++i) stream.point((point = points[i])[0], point[1]);\n } else {\n interpolate(current.x, current.n.x, 1, stream);\n }\n current = current.n;\n } else {\n if (isSubject) {\n points = current.p.z;\n for (i = points.length - 1; i >= 0; --i) stream.point((point = points[i])[0], point[1]);\n } else {\n interpolate(current.x, current.p.x, -1, stream);\n }\n current = current.p;\n }\n current = current.o;\n points = current.z;\n isSubject = !isSubject;\n } while (!current.v);\n stream.lineEnd();\n }\n}\n\nfunction link(array) {\n if (!(n = array.length)) return;\n var n,\n i = 0,\n a = array[0],\n b;\n while (++i < n) {\n a.n = b = array[i];\n b.p = a;\n a = b;\n }\n a.n = b = array[0];\n b.p = a;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/polygonContains.js", "name": "./node_modules/d3-geo/src/polygonContains.js", "index": 256, "index2": 250, "size": 2813, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/contains.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "name": "./node_modules/d3-geo/src/contains.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 19, "building": 19, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony side effect evaluation", "userRequest": "./polygonContains.js", "loc": "1:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony side effect evaluation", "userRequest": "../polygonContains.js", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "module": "./node_modules/d3-geo/src/clip/index.js", "moduleName": "./node_modules/d3-geo/src/clip/index.js", "type": "harmony import specifier", "userRequest": "../polygonContains.js", "loc": "33:26-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/contains.js", "module": "./node_modules/d3-geo/src/contains.js", "moduleName": "./node_modules/d3-geo/src/contains.js", "type": "harmony import specifier", "userRequest": "./polygonContains.js", "loc": "82:11-26" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import adder from \"./adder.js\";\nimport {cartesian, cartesianCross, cartesianNormalizeInPlace} from \"./cartesian.js\";\nimport {abs, asin, atan2, cos, epsilon, halfPi, pi, quarterPi, sign, sin, tau} from \"./math.js\";\n\nvar sum = adder();\n\nfunction longitude(point) {\n if (abs(point[0]) <= pi)\n return point[0];\n else\n return sign(point[0]) * ((abs(point[0]) + pi) % tau - pi);\n}\n\nexport default function(polygon, point) {\n var lambda = longitude(point),\n phi = point[1],\n sinPhi = sin(phi),\n normal = [sin(lambda), -cos(lambda), 0],\n angle = 0,\n winding = 0;\n\n sum.reset();\n\n if (sinPhi === 1) phi = halfPi + epsilon;\n else if (sinPhi === -1) phi = -halfPi - epsilon;\n\n for (var i = 0, n = polygon.length; i < n; ++i) {\n if (!(m = (ring = polygon[i]).length)) continue;\n var ring,\n m,\n point0 = ring[m - 1],\n lambda0 = longitude(point0),\n phi0 = point0[1] / 2 + quarterPi,\n sinPhi0 = sin(phi0),\n cosPhi0 = cos(phi0);\n\n for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {\n var point1 = ring[j],\n lambda1 = longitude(point1),\n phi1 = point1[1] / 2 + quarterPi,\n sinPhi1 = sin(phi1),\n cosPhi1 = cos(phi1),\n delta = lambda1 - lambda0,\n sign = delta >= 0 ? 1 : -1,\n absDelta = sign * delta,\n antimeridian = absDelta > pi,\n k = sinPhi0 * sinPhi1;\n\n sum.add(atan2(k * sign * sin(absDelta), cosPhi0 * cosPhi1 + k * cos(absDelta)));\n angle += antimeridian ? delta + sign * tau : delta;\n\n // Are the longitudes either side of the point’s meridian (lambda),\n // and are the latitudes smaller than the parallel (phi)?\n if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {\n var arc = cartesianCross(cartesian(point0), cartesian(point1));\n cartesianNormalizeInPlace(arc);\n var intersection = cartesianCross(normal, arc);\n cartesianNormalizeInPlace(intersection);\n var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);\n if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {\n winding += antimeridian ^ delta >= 0 ? 1 : -1;\n }\n }\n }\n }\n\n // First, determine whether the South pole is inside or outside:\n //\n // It is inside if:\n // * the polygon winds around it in a clockwise direction.\n // * the polygon does not (cumulatively) wind around it, but has a negative\n // (counter-clockwise) area.\n //\n // Second, count the (signed) number of times a segment crosses a lambda\n // from the point to the South pole. If it is zero, then the point is the\n // same side as the South pole.\n\n return (angle < -epsilon || angle < epsilon && sum < -epsilon) ^ (winding & 1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/index.js", "name": "./node_modules/d3-geo/src/clip/index.js", "index": 254, "index2": 253, "size": 3596, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/circle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "name": "./node_modules/d3-geo/src/clip/circle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 15, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/antimeridian.js", "module": "./node_modules/d3-geo/src/clip/antimeridian.js", "moduleName": "./node_modules/d3-geo/src/clip/antimeridian.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "4:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony side effect evaluation", "userRequest": "./index.js", "loc": "5:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/circle.js", "module": "./node_modules/d3-geo/src/clip/circle.js", "moduleName": "./node_modules/d3-geo/src/clip/circle.js", "type": "harmony import specifier", "userRequest": "./index.js", "loc": "181:9-13" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import clipBuffer from \"./buffer.js\";\nimport clipRejoin from \"./rejoin.js\";\nimport {epsilon, halfPi} from \"../math.js\";\nimport polygonContains from \"../polygonContains.js\";\nimport {merge} from \"d3-array\";\n\nexport default function(pointVisible, clipLine, interpolate, start) {\n return function(sink) {\n var line = clipLine(sink),\n ringBuffer = clipBuffer(),\n ringSink = clipLine(ringBuffer),\n polygonStarted = false,\n polygon,\n segments,\n ring;\n\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function() {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = merge(segments);\n var startInside = polygonContains(polygon, start);\n if (segments.length) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n clipRejoin(segments, compareIntersection, startInside, interpolate, sink);\n } else if (startInside) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function() {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n\n function point(lambda, phi) {\n if (pointVisible(lambda, phi)) sink.point(lambda, phi);\n }\n\n function pointLine(lambda, phi) {\n line.point(lambda, phi);\n }\n\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n ringSink.point(lambda, phi);\n }\n\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n\n var clean = ringSink.clean(),\n ringSegments = ringBuffer.result(),\n i, n = ringSegments.length, m,\n segment,\n point;\n\n ring.pop();\n polygon.push(ring);\n ring = null;\n\n if (!n) return;\n\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n segments.push(ringSegments.filter(validSegment));\n }\n\n return clip;\n };\n}\n\nfunction validSegment(segment) {\n return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/line.js", "name": "./node_modules/d3-geo/src/clip/line.js", "index": 262, "index2": 256, "size": 1099, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/clip/rectangle.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "name": "./node_modules/d3-geo/src/clip/rectangle.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 18, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony side effect evaluation", "userRequest": "./line.js", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/clip/rectangle.js", "module": "./node_modules/d3-geo/src/clip/rectangle.js", "moduleName": "./node_modules/d3-geo/src/clip/rectangle.js", "type": "harmony import specifier", "userRequest": "./line.js", "loc": "148:14-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(a, b, x0, y0, x1, y1) {\n var ax = a[0],\n ay = a[1],\n bx = b[0],\n by = b[1],\n t0 = 0,\n t1 = 1,\n dx = bx - ax,\n dy = by - ay,\n r;\n\n r = x0 - ax;\n if (!dx && r > 0) return;\n r /= dx;\n if (dx < 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n } else if (dx > 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n }\n\n r = x1 - ax;\n if (!dx && r < 0) return;\n r /= dx;\n if (dx < 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n } else if (dx > 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n }\n\n r = y0 - ay;\n if (!dy && r > 0) return;\n r /= dy;\n if (dy < 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n } else if (dy > 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n }\n\n r = y1 - ay;\n if (!dy && r < 0) return;\n r /= dy;\n if (dy < 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n } else if (dy > 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n }\n\n if (t0 > 0) a[0] = ax + t0 * dx, a[1] = ay + t0 * dy;\n if (t1 < 1) b[0] = ax + t1 * dx, b[1] = ay + t1 * dy;\n return true;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/identity.js", "name": "./node_modules/d3-geo/src/identity.js", "index": 273, "index2": 268, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/identity.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "name": "./node_modules/d3-geo/src/projection/identity.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 24, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "../identity.js", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony side effect evaluation", "userRequest": "../identity.js", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "../identity.js", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "7:56-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "15:57-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "17:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "35:83-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "44:82-90" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "67:40-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "../identity.js", "loc": "101:81-89" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/area.js", "name": "./node_modules/d3-geo/src/path/area.js", "index": 269, "index2": 264, "size": 954, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./area.js", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "24:36-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./area.js", "loc": "25:11-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import adder from \"../adder.js\";\nimport {abs} from \"../math.js\";\nimport noop from \"../noop.js\";\n\nvar areaSum = adder(),\n areaRingSum = adder(),\n x00,\n y00,\n x0,\n y0;\n\nvar areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function() {\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function() {\n areaStream.lineStart = areaStream.lineEnd = areaStream.point = noop;\n areaSum.add(abs(areaRingSum));\n areaRingSum.reset();\n },\n result: function() {\n var area = areaSum / 2;\n areaSum.reset();\n return area;\n }\n};\n\nfunction areaRingStart() {\n areaStream.point = areaPointFirst;\n}\n\nfunction areaPointFirst(x, y) {\n areaStream.point = areaPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction areaPoint(x, y) {\n areaRingSum.add(y0 * x - x0 * y);\n x0 = x, y0 = y;\n}\n\nfunction areaRingEnd() {\n areaPoint(x00, y00);\n}\n\nexport default areaStream;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/bounds.js", "name": "./node_modules/d3-geo/src/path/bounds.js", "index": 271, "index2": 266, "size": 488, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "module": "./node_modules/d3-geo/src/projection/fit.js", "moduleName": "./node_modules/d3-geo/src/projection/fit.js", "type": "harmony side effect evaluation", "userRequest": "../path/bounds.js", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./bounds.js", "loc": "4:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "module": "./node_modules/d3-geo/src/projection/fit.js", "moduleName": "./node_modules/d3-geo/src/projection/fit.js", "type": "harmony import specifier", "userRequest": "../path/bounds.js", "loc": "8:38-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "module": "./node_modules/d3-geo/src/projection/fit.js", "moduleName": "./node_modules/d3-geo/src/projection/fit.js", "type": "harmony import specifier", "userRequest": "../path/bounds.js", "loc": "9:12-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./bounds.js", "loc": "34:36-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./bounds.js", "loc": "35:11-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import noop from \"../noop.js\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/centroid.js", "name": "./node_modules/d3-geo/src/path/centroid.js", "index": 272, "index2": 267, "size": 2036, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./centroid.js", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./centroid.js", "loc": "39:36-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./centroid.js", "loc": "40:11-23" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {sqrt} from \"../math.js\";\n\n// TODO Enforce positive area for exterior, negative area for interior?\n\nvar X0 = 0,\n Y0 = 0,\n Z0 = 0,\n X1 = 0,\n Y1 = 0,\n Z1 = 0,\n X2 = 0,\n Y2 = 0,\n Z2 = 0,\n x00,\n y00,\n x0,\n y0;\n\nvar centroidStream = {\n point: centroidPoint,\n lineStart: centroidLineStart,\n lineEnd: centroidLineEnd,\n polygonStart: function() {\n centroidStream.lineStart = centroidRingStart;\n centroidStream.lineEnd = centroidRingEnd;\n },\n polygonEnd: function() {\n centroidStream.point = centroidPoint;\n centroidStream.lineStart = centroidLineStart;\n centroidStream.lineEnd = centroidLineEnd;\n },\n result: function() {\n var centroid = Z2 ? [X2 / Z2, Y2 / Z2]\n : Z1 ? [X1 / Z1, Y1 / Z1]\n : Z0 ? [X0 / Z0, Y0 / Z0]\n : [NaN, NaN];\n X0 = Y0 = Z0 =\n X1 = Y1 = Z1 =\n X2 = Y2 = Z2 = 0;\n return centroid;\n }\n};\n\nfunction centroidPoint(x, y) {\n X0 += x;\n Y0 += y;\n ++Z0;\n}\n\nfunction centroidLineStart() {\n centroidStream.point = centroidPointFirstLine;\n}\n\nfunction centroidPointFirstLine(x, y) {\n centroidStream.point = centroidPointLine;\n centroidPoint(x0 = x, y0 = y);\n}\n\nfunction centroidPointLine(x, y) {\n var dx = x - x0, dy = y - y0, z = sqrt(dx * dx + dy * dy);\n X1 += z * (x0 + x) / 2;\n Y1 += z * (y0 + y) / 2;\n Z1 += z;\n centroidPoint(x0 = x, y0 = y);\n}\n\nfunction centroidLineEnd() {\n centroidStream.point = centroidPoint;\n}\n\nfunction centroidRingStart() {\n centroidStream.point = centroidPointFirstRing;\n}\n\nfunction centroidRingEnd() {\n centroidPointRing(x00, y00);\n}\n\nfunction centroidPointFirstRing(x, y) {\n centroidStream.point = centroidPointRing;\n centroidPoint(x00 = x0 = x, y00 = y0 = y);\n}\n\nfunction centroidPointRing(x, y) {\n var dx = x - x0,\n dy = y - y0,\n z = sqrt(dx * dx + dy * dy);\n\n X1 += z * (x0 + x) / 2;\n Y1 += z * (y0 + y) / 2;\n Z1 += z;\n\n z = y0 * x - x0 * y;\n X2 += z * (x0 + x);\n Y2 += z * (y0 + y);\n Z2 += z * 3;\n centroidPoint(x0 = x, y0 = y);\n}\n\nexport default centroidStream;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/context.js", "name": "./node_modules/d3-geo/src/path/context.js", "index": 275, "index2": 270, "size": 920, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./context.js", "loc": "6:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./context.js", "loc": "49:71-82" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {tau} from \"../math.js\";\nimport noop from \"../noop.js\";\n\nexport default function PathContext(context) {\n this._context = context;\n}\n\nPathContext.prototype = {\n _radius: 4.5,\n pointRadius: function(_) {\n return this._radius = _, this;\n },\n polygonStart: function() {\n this._line = 0;\n },\n polygonEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line === 0) this._context.closePath();\n this._point = NaN;\n },\n point: function(x, y) {\n switch (this._point) {\n case 0: {\n this._context.moveTo(x, y);\n this._point = 1;\n break;\n }\n case 1: {\n this._context.lineTo(x, y);\n break;\n }\n default: {\n this._context.moveTo(x + this._radius, y);\n this._context.arc(x, y, this._radius, 0, tau);\n break;\n }\n }\n },\n result: noop\n};\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/measure.js", "name": "./node_modules/d3-geo/src/path/measure.js", "index": 270, "index2": 265, "size": 845, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./measure.js", "loc": "7:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./measure.js", "loc": "29:36-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./measure.js", "loc": "30:11-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import adder from \"../adder.js\";\nimport {sqrt} from \"../math.js\";\nimport noop from \"../noop.js\";\n\nvar lengthSum = adder(),\n lengthRing,\n x00,\n y00,\n x0,\n y0;\n\nvar lengthStream = {\n point: noop,\n lineStart: function() {\n lengthStream.point = lengthPointFirst;\n },\n lineEnd: function() {\n if (lengthRing) lengthPoint(x00, y00);\n lengthStream.point = noop;\n },\n polygonStart: function() {\n lengthRing = true;\n },\n polygonEnd: function() {\n lengthRing = null;\n },\n result: function() {\n var length = +lengthSum;\n lengthSum.reset();\n return length;\n }\n};\n\nfunction lengthPointFirst(x, y) {\n lengthStream.point = lengthPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction lengthPoint(x, y) {\n x0 -= x, y0 -= y;\n lengthSum.add(sqrt(x0 * x0 + y0 * y0));\n x0 = x, y0 = y;\n}\n\nexport default lengthStream;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/string.js", "name": "./node_modules/d3-geo/src/path/string.js", "index": 274, "index2": 269, "size": 1316, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/path/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "name": "./node_modules/d3-geo/src/path/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 22, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony side effect evaluation", "userRequest": "./string.js", "loc": "8:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/path/index.js", "module": "./node_modules/d3-geo/src/path/index.js", "moduleName": "./node_modules/d3-geo/src/path/index.js", "type": "harmony import specifier", "userRequest": "./string.js", "loc": "49:53-63" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function PathString() {\n this._string = [];\n}\n\nPathString.prototype = {\n _radius: 4.5,\n _circle: circle(4.5),\n pointRadius: function(_) {\n if ((_ = +_) !== this._radius) this._radius = _, this._circle = null;\n return this;\n },\n polygonStart: function() {\n this._line = 0;\n },\n polygonEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line === 0) this._string.push(\"Z\");\n this._point = NaN;\n },\n point: function(x, y) {\n switch (this._point) {\n case 0: {\n this._string.push(\"M\", x, \",\", y);\n this._point = 1;\n break;\n }\n case 1: {\n this._string.push(\"L\", x, \",\", y);\n break;\n }\n default: {\n if (this._circle == null) this._circle = circle(this._radius);\n this._string.push(\"M\", x, \",\", y, this._circle);\n break;\n }\n }\n },\n result: function() {\n if (this._string.length) {\n var result = this._string.join(\"\");\n this._string = [];\n return result;\n } else {\n return null;\n }\n }\n};\n\nfunction circle(radius) {\n return \"m0,\" + radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + -2 * radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + 2 * radius\n + \"z\";\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/fit.js", "name": "./node_modules/d3-geo/src/projection/fit.js", "index": 283, "index2": 275, "size": 1594, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/identity.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "name": "./node_modules/d3-geo/src/projection/identity.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 24, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony side effect evaluation", "userRequest": "./fit.js", "loc": "4:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony side effect evaluation", "userRequest": "./fit.js", "loc": "4:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "./fit.js", "loc": "9:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "50:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "53:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "56:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/identity.js", "module": "./node_modules/d3-geo/src/projection/identity.js", "moduleName": "./node_modules/d3-geo/src/projection/identity.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "59:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "90:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "94:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "98:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/albersUsa.js", "module": "./node_modules/d3-geo/src/projection/albersUsa.js", "moduleName": "./node_modules/d3-geo/src/projection/albersUsa.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "102:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "129:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "133:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "137:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./fit.js", "loc": "141:11-20" } ], "usedExports": [ "fitExtent", "fitSize", "fitWidth", "fitHeight" ], "providedExports": [ "fitExtent", "fitSize", "fitWidth", "fitHeight" ], "optimizationBailout": [], "depth": 5, "source": "import {default as geoStream} from \"../stream.js\";\nimport boundsStream from \"../path/bounds.js\";\n\nfunction fit(projection, fitBounds, object) {\n var clip = projection.clipExtent && projection.clipExtent();\n projection.scale(150).translate([0, 0]);\n if (clip != null) projection.clipExtent(null);\n geoStream(object, projection.stream(boundsStream));\n fitBounds(boundsStream.result());\n if (clip != null) projection.clipExtent(clip);\n return projection;\n}\n\nexport function fitExtent(projection, extent, object) {\n return fit(projection, function(b) {\n var w = extent[1][0] - extent[0][0],\n h = extent[1][1] - extent[0][1],\n k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])),\n x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2,\n y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2;\n projection.scale(150 * k).translate([x, y]);\n }, object);\n}\n\nexport function fitSize(projection, size, object) {\n return fitExtent(projection, [[0, 0], size], object);\n}\n\nexport function fitWidth(projection, width, object) {\n return fit(projection, function(b) {\n var w = +width,\n k = w / (b[1][0] - b[0][0]),\n x = (w - k * (b[1][0] + b[0][0])) / 2,\n y = -k * b[0][1];\n projection.scale(150 * k).translate([x, y]);\n }, object);\n}\n\nexport function fitHeight(projection, height, object) {\n return fit(projection, function(b) {\n var h = +height,\n k = h / (b[1][1] - b[0][1]),\n x = -k * b[0][0],\n y = (h - k * (b[1][1] + b[0][1])) / 2;\n projection.scale(150 * k).translate([x, y]);\n }, object);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/resample.js", "name": "./node_modules/d3-geo/src/projection/resample.js", "index": 282, "index2": 274, "size": 3284, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "name": "./node_modules/d3-geo/src/projection/index.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 25, "building": 22, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony side effect evaluation", "userRequest": "./resample.js", "loc": "10:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./resample.js", "loc": "125:49-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/index.js", "module": "./node_modules/d3-geo/src/projection/index.js", "moduleName": "./node_modules/d3-geo/src/projection/index.js", "type": "harmony import specifier", "userRequest": "./resample.js", "loc": "150:22-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {cartesian} from \"../cartesian.js\";\nimport {abs, asin, atan2, cos, epsilon, radians, sqrt} from \"../math.js\";\nimport {transformer} from \"../transform.js\";\n\nvar maxDepth = 16, // maximum depth of subdivision\n cosMinDistance = cos(30 * radians); // cos(minimum angular distance)\n\nexport default function(project, delta2) {\n return +delta2 ? resample(project, delta2) : resampleNone(project);\n}\n\nfunction resampleNone(project) {\n return transformer({\n point: function(x, y) {\n x = project(x, y);\n this.stream.point(x[0], x[1]);\n }\n });\n}\n\nfunction resample(project, delta2) {\n\n function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) {\n var dx = x1 - x0,\n dy = y1 - y0,\n d2 = dx * dx + dy * dy;\n if (d2 > 4 * delta2 && depth--) {\n var a = a0 + a1,\n b = b0 + b1,\n c = c0 + c1,\n m = sqrt(a * a + b * b + c * c),\n phi2 = asin(c /= m),\n lambda2 = abs(abs(c) - 1) < epsilon || abs(lambda0 - lambda1) < epsilon ? (lambda0 + lambda1) / 2 : atan2(b, a),\n p = project(lambda2, phi2),\n x2 = p[0],\n y2 = p[1],\n dx2 = x2 - x0,\n dy2 = y2 - y0,\n dz = dy * dx2 - dx * dy2;\n if (dz * dz / d2 > delta2 // perpendicular projected distance\n || abs((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 // midpoint close to an end\n || a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) { // angular distance\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x2, y2, lambda2, a /= m, b /= m, c, depth, stream);\n stream.point(x2, y2);\n resampleLineTo(x2, y2, lambda2, a, b, c, x1, y1, lambda1, a1, b1, c1, depth, stream);\n }\n }\n }\n return function(stream) {\n var lambda00, x00, y00, a00, b00, c00, // first point\n lambda0, x0, y0, a0, b0, c0; // previous point\n\n var resampleStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() { stream.polygonStart(); resampleStream.lineStart = ringStart; },\n polygonEnd: function() { stream.polygonEnd(); resampleStream.lineStart = lineStart; }\n };\n\n function point(x, y) {\n x = project(x, y);\n stream.point(x[0], x[1]);\n }\n\n function lineStart() {\n x0 = NaN;\n resampleStream.point = linePoint;\n stream.lineStart();\n }\n\n function linePoint(lambda, phi) {\n var c = cartesian([lambda, phi]), p = project(lambda, phi);\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x0 = p[0], y0 = p[1], lambda0 = lambda, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream);\n stream.point(x0, y0);\n }\n\n function lineEnd() {\n resampleStream.point = point;\n stream.lineEnd();\n }\n\n function ringStart() {\n lineStart();\n resampleStream.point = ringPoint;\n resampleStream.lineEnd = ringEnd;\n }\n\n function ringPoint(lambda, phi) {\n linePoint(lambda00 = lambda, phi), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;\n resampleStream.point = linePoint;\n }\n\n function ringEnd() {\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x00, y00, lambda00, a00, b00, c00, maxDepth, stream);\n resampleStream.lineEnd = lineEnd;\n lineEnd();\n }\n\n return resampleStream;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conic.js", "name": "./node_modules/d3-geo/src/projection/conic.js", "index": 279, "index2": 277, "size": 408, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "name": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 21, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "./conic.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony side effect evaluation", "userRequest": "./conic.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "./conic.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEquidistant.js", "module": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEquidistant.js", "type": "harmony import specifier", "userRequest": "./conic.js", "loc": "26:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "./conic.js", "loc": "27:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicConformal.js", "module": "./node_modules/d3-geo/src/projection/conicConformal.js", "moduleName": "./node_modules/d3-geo/src/projection/conicConformal.js", "type": "harmony import specifier", "userRequest": "./conic.js", "loc": "32:9-24" } ], "usedExports": [ "conicProjection" ], "providedExports": [ "conicProjection" ], "optimizationBailout": [], "depth": 5, "source": "import {degrees, pi, radians} from \"../math.js\";\nimport {projectionMutator} from \"./index.js\";\n\nexport function conicProjection(projectAt) {\n var phi0 = 0,\n phi1 = pi / 3,\n m = projectionMutator(projectAt),\n p = m(phi0, phi1);\n\n p.parallels = function(_) {\n return arguments.length ? m(phi0 = _[0] * radians, phi1 = _[1] * radians) : [phi0 * degrees, phi1 * degrees];\n };\n\n return p;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "name": "./node_modules/d3-geo/src/projection/cylindricalEqualArea.js", "index": 278, "index2": 272, "size": 317, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "name": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 19, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "./cylindricalEqualArea.js", "loc": "3:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/conicEqualArea.js", "module": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/conicEqualArea.js", "type": "harmony import specifier", "userRequest": "./cylindricalEqualArea.js", "loc": "9:31-54" } ], "usedExports": [ "cylindricalEqualAreaRaw" ], "providedExports": [ "cylindricalEqualAreaRaw" ], "optimizationBailout": [], "depth": 5, "source": "import {asin, cos, sin} from \"../math.js\";\n\nexport function cylindricalEqualAreaRaw(phi0) {\n var cosPhi0 = cos(phi0);\n\n function forward(lambda, phi) {\n return [lambda * cosPhi0, sin(phi) / cosPhi0];\n }\n\n forward.invert = function(x, y) {\n return [x / cosPhi0, asin(y * cosPhi0)];\n };\n\n return forward;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthal.js", "name": "./node_modules/d3-geo/src/projection/azimuthal.js", "index": 286, "index2": 281, "size": 505, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "issuerId": null, "issuerName": "./node_modules/d3-geo/src/projection/stereographic.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/index.js", "name": "./node_modules/d3-geo/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "name": "./node_modules/d3-geo/src/projection/stereographic.js", "profile": { "factory": 818, "building": 55, "dependencies": 29 } } ], "profile": { "factory": 29, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony side effect evaluation", "userRequest": "./azimuthal.js", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony side effect evaluation", "userRequest": "./azimuthal.js", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony side effect evaluation", "userRequest": "./azimuthal.js", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony side effect evaluation", "userRequest": "./azimuthal.js", "loc": "2:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony side effect evaluation", "userRequest": "./azimuthal.js", "loc": "2:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "5:35-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "5:37-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/orthographic.js", "module": "./node_modules/d3-geo/src/projection/orthographic.js", "moduleName": "./node_modules/d3-geo/src/projection/orthographic.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "9:25-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEqualArea.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "9:31-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "module": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "moduleName": "./node_modules/d3-geo/src/projection/azimuthalEquidistant.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "9:33-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/gnomonic.js", "module": "./node_modules/d3-geo/src/projection/gnomonic.js", "moduleName": "./node_modules/d3-geo/src/projection/gnomonic.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "10:21-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-geo/src/projection/stereographic.js", "module": "./node_modules/d3-geo/src/projection/stereographic.js", "moduleName": "./node_modules/d3-geo/src/projection/stereographic.js", "type": "harmony import specifier", "userRequest": "./azimuthal.js", "loc": "10:26-41" } ], "usedExports": [ "azimuthalInvert", "azimuthalRaw" ], "providedExports": [ "azimuthalRaw", "azimuthalInvert" ], "optimizationBailout": [], "depth": 5, "source": "import {asin, atan2, cos, sin, sqrt} from \"../math.js\";\n\nexport function azimuthalRaw(scale) {\n return function(x, y) {\n var cx = cos(x),\n cy = cos(y),\n k = scale(cx * cy);\n return [\n k * cy * sin(x),\n k * sin(y)\n ];\n }\n}\n\nexport function azimuthalInvert(angle) {\n return function(x, y) {\n var z = sqrt(x * x + y * y),\n c = angle(z),\n sc = sin(c),\n cc = cos(c);\n return [\n atan2(x * sc, z * cc),\n asin(z && y * sc / z)\n ];\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/count.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/count.js", "index": 302, "index2": 297, "size": 263, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./count.js", "loc": "1:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./count.js", "loc": "67:9-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "function count(node) {\n var sum = 0,\n children = node.children,\n i = children && children.length;\n if (!i) sum = 1;\n else while (--i >= 0) sum += children[i].value;\n node.value = sum;\n}\n\nexport default function() {\n return this.eachAfter(count);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/each.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/each.js", "index": 303, "index2": 298, "size": 381, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./each.js", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./each.js", "loc": "68:8-17" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(callback) {\n var node = this, current, next = [node], children, i, n;\n do {\n current = next.reverse(), next = [];\n while (node = current.pop()) {\n callback(node), children = node.children;\n if (children) for (i = 0, n = children.length; i < n; ++i) {\n next.push(children[i]);\n }\n }\n } while (next.length);\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/eachBefore.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/eachBefore.js", "index": 305, "index2": 300, "size": 282, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./eachBefore.js", "loc": "3:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./eachBefore.js", "loc": "70:14-29" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(callback) {\n var node = this, nodes = [node], children, i;\n while (node = nodes.pop()) {\n callback(node), children = node.children;\n if (children) for (i = children.length - 1; i >= 0; --i) {\n nodes.push(children[i]);\n }\n }\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/eachAfter.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/eachAfter.js", "index": 304, "index2": 299, "size": 353, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./eachAfter.js", "loc": "4:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./eachAfter.js", "loc": "69:13-27" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(callback) {\n var node = this, nodes = [node], next = [], children, i, n;\n while (node = nodes.pop()) {\n next.push(node), children = node.children;\n if (children) for (i = 0, n = children.length; i < n; ++i) {\n nodes.push(children[i]);\n }\n }\n while (node = next.pop()) {\n callback(node);\n }\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/sum.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/sum.js", "index": 306, "index2": 301, "size": 264, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./sum.js", "loc": "5:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./sum.js", "loc": "71:7-15" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(value) {\n return this.eachAfter(function(node) {\n var sum = +value(node.data) || 0,\n children = node.children,\n i = children && children.length;\n while (--i >= 0) sum += children[i].value;\n node.value = sum;\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/sort.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/sort.js", "index": 307, "index2": 302, "size": 151, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./sort.js", "loc": "6:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./sort.js", "loc": "72:8-17" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(compare) {\n return this.eachBefore(function(node) {\n if (node.children) {\n node.children.sort(compare);\n }\n });\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/path.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/path.js", "index": 308, "index2": 303, "size": 606, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./path.js", "loc": "7:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./path.js", "loc": "73:8-17" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(end) {\n var start = this,\n ancestor = leastCommonAncestor(start, end),\n nodes = [start];\n while (start !== ancestor) {\n start = start.parent;\n nodes.push(start);\n }\n var k = nodes.length;\n while (end !== ancestor) {\n nodes.splice(k, 0, end);\n end = end.parent;\n }\n return nodes;\n}\n\nfunction leastCommonAncestor(a, b) {\n if (a === b) return a;\n var aNodes = a.ancestors(),\n bNodes = b.ancestors(),\n c = null;\n a = aNodes.pop();\n b = bNodes.pop();\n while (a === b) {\n c = a;\n a = aNodes.pop();\n b = bNodes.pop();\n }\n return c;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/ancestors.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/ancestors.js", "index": 309, "index2": 304, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./ancestors.js", "loc": "8:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./ancestors.js", "loc": "74:13-27" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var node = this, nodes = [node];\n while (node = node.parent) {\n nodes.push(node);\n }\n return nodes;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/descendants.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/descendants.js", "index": 310, "index2": 305, "size": 121, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./descendants.js", "loc": "9:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./descendants.js", "loc": "75:15-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var nodes = [];\n this.each(function(node) {\n nodes.push(node);\n });\n return nodes;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/leaves.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/leaves.js", "index": 311, "index2": 306, "size": 164, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./leaves.js", "loc": "10:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./leaves.js", "loc": "76:10-21" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var leaves = [];\n this.eachBefore(function(node) {\n if (!node.children) {\n leaves.push(node);\n }\n });\n return leaves;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/links.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/links.js", "index": 312, "index2": 307, "size": 246, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "name": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 48, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony side effect evaluation", "userRequest": "./links.js", "loc": "11:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/hierarchy/index.js", "module": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "moduleName": "./node_modules/d3-hierarchy/src/hierarchy/index.js", "type": "harmony import specifier", "userRequest": "./links.js", "loc": "77:9-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n var root = this, links = [];\n root.each(function(node) {\n if (node !== root) { // Don’t include the root’s parent, if any.\n links.push({source: node.parent, target: node});\n }\n });\n return links;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/array.js", "name": "./node_modules/d3-hierarchy/src/array.js", "index": 318, "index2": 311, "size": 250, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/pack/enclose.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "name": "./node_modules/d3-hierarchy/src/pack/enclose.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 37, "building": 21 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "module": "./node_modules/d3-hierarchy/src/pack/enclose.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/enclose.js", "type": "harmony side effect evaluation", "userRequest": "../array.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "module": "./node_modules/d3-hierarchy/src/pack/enclose.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/enclose.js", "type": "harmony import specifier", "userRequest": "../array.js", "loc": "4:28-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/enclose.js", "module": "./node_modules/d3-hierarchy/src/pack/enclose.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/enclose.js", "type": "harmony import specifier", "userRequest": "../array.js", "loc": "4:36-41" } ], "usedExports": [ "shuffle", "slice" ], "providedExports": [ "slice", "shuffle" ], "optimizationBailout": [], "depth": 5, "source": "export var slice = Array.prototype.slice;\n\nexport function shuffle(array) {\n var m = array.length,\n t,\n i;\n\n while (m) {\n i = Math.random() * m-- | 0;\n t = array[m];\n array[m] = array[i];\n array[i] = t;\n }\n\n return array;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/accessors.js", "name": "./node_modules/d3-hierarchy/src/accessors.js", "index": 315, "index2": 310, "size": 166, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/stratify.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "name": "./node_modules/d3-hierarchy/src/stratify.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 49, "building": 17 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony side effect evaluation", "userRequest": "./accessors.js", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony side effect evaluation", "userRequest": "../accessors.js", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony side effect evaluation", "userRequest": "../accessors.js", "loc": "3:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony import specifier", "userRequest": "../accessors.js", "loc": "31:40-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../accessors.js", "loc": "62:38-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony import specifier", "userRequest": "./accessors.js", "loc": "65:36-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/stratify.js", "module": "./node_modules/d3-hierarchy/src/stratify.js", "moduleName": "./node_modules/d3-hierarchy/src/stratify.js", "type": "harmony import specifier", "userRequest": "./accessors.js", "loc": "69:42-50" } ], "usedExports": [ "required", "optional" ], "providedExports": [ "optional", "required" ], "optimizationBailout": [], "depth": 5, "source": "export function optional(f) {\n return f == null ? null : required(f);\n}\n\nexport function required(f) {\n if (typeof f !== \"function\") throw new Error;\n return f;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/constant.js", "name": "./node_modules/d3-hierarchy/src/constant.js", "index": 314, "index2": 309, "size": 120, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/treemap/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "name": "./node_modules/d3-hierarchy/src/treemap/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 52, "building": 17 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony side effect evaluation", "userRequest": "../constant.js", "loc": "3:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony side effect evaluation", "userRequest": "../constant.js", "loc": "4:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "12:21-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "13:16-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "13:19-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "14:21-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "15:22-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "16:20-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "23:34-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/pack/index.js", "module": "./node_modules/d3-hierarchy/src/pack/index.js", "moduleName": "./node_modules/d3-hierarchy/src/pack/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "39:71-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "70:76-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "78:74-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "82:76-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "86:77-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "90:75-83" } ], "usedExports": [ "constantZero", "default" ], "providedExports": [ "constantZero", "default" ], "optimizationBailout": [], "depth": 5, "source": "export function constantZero() {\n return 0;\n}\n\nexport default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/round.js", "name": "./node_modules/d3-hierarchy/src/treemap/round.js", "index": 320, "index2": 315, "size": 166, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "issuerId": null, "issuerName": "./node_modules/d3-hierarchy/src/treemap/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/index.js", "name": "./node_modules/d3-hierarchy/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "name": "./node_modules/d3-hierarchy/src/treemap/index.js", "profile": { "factory": 783, "building": 53, "dependencies": 52 } } ], "profile": { "factory": 52, "building": 17 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony side effect evaluation", "userRequest": "./round.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/partition.js", "module": "./node_modules/d3-hierarchy/src/partition.js", "moduleName": "./node_modules/d3-hierarchy/src/partition.js", "type": "harmony side effect evaluation", "userRequest": "./treemap/round.js", "loc": "1:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/partition.js", "module": "./node_modules/d3-hierarchy/src/partition.js", "moduleName": "./node_modules/d3-hierarchy/src/partition.js", "type": "harmony import specifier", "userRequest": "./treemap/round.js", "loc": "17:31-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-hierarchy/src/treemap/index.js", "module": "./node_modules/d3-hierarchy/src/treemap/index.js", "moduleName": "./node_modules/d3-hierarchy/src/treemap/index.js", "type": "harmony import specifier", "userRequest": "./round.js", "loc": "25:31-40" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(node) {\n node.x0 = Math.round(node.x0);\n node.y0 = Math.round(node.y0);\n node.x1 = Math.round(node.x1);\n node.y1 = Math.round(node.y1);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/cross.js", "name": "./node_modules/d3-polygon/src/cross.js", "index": 346, "index2": 341, "size": 402, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/hull.js", "issuerId": null, "issuerName": "./node_modules/d3-polygon/src/hull.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/index.js", "name": "./node_modules/d3-polygon/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/hull.js", "name": "./node_modules/d3-polygon/src/hull.js", "profile": { "factory": 765, "building": 20 } } ], "profile": { "factory": 32, "building": 53 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/hull.js", "module": "./node_modules/d3-polygon/src/hull.js", "moduleName": "./node_modules/d3-polygon/src/hull.js", "type": "harmony side effect evaluation", "userRequest": "./cross.js", "loc": "1:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-polygon/src/hull.js", "module": "./node_modules/d3-polygon/src/hull.js", "moduleName": "./node_modules/d3-polygon/src/hull.js", "type": "harmony import specifier", "userRequest": "./cross.js", "loc": "16:23-28" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "// Returns the 2D cross product of AB and AC vectors, i.e., the z-component of\n// the 3D cross product in a quadrant I Cartesian coordinate system (+x is\n// right, +y is up). Returns a positive value if ABC is counter-clockwise,\n// negative if clockwise, and zero if the points are collinear.\nexport default function(a, b, c) {\n return (b[0] - a[0]) * (c[1] - a[1]) - (b[1] - a[1]) * (c[0] - a[0]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/defaultSource.js", "name": "./node_modules/d3-random/src/defaultSource.js", "index": 352, "index2": 347, "size": 54, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/uniform.js", "issuerId": null, "issuerName": "./node_modules/d3-random/src/uniform.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/index.js", "name": "./node_modules/d3-random/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/uniform.js", "name": "./node_modules/d3-random/src/uniform.js", "profile": { "factory": 795, "building": 62, "dependencies": 0 } } ], "profile": { "factory": 97, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/uniform.js", "module": "./node_modules/d3-random/src/uniform.js", "moduleName": "./node_modules/d3-random/src/uniform.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/exponential.js", "module": "./node_modules/d3-random/src/exponential.js", "moduleName": "./node_modules/d3-random/src/exponential.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/irwinHall.js", "module": "./node_modules/d3-random/src/irwinHall.js", "moduleName": "./node_modules/d3-random/src/irwinHall.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/bates.js", "module": "./node_modules/d3-random/src/bates.js", "moduleName": "./node_modules/d3-random/src/bates.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/logNormal.js", "module": "./node_modules/d3-random/src/logNormal.js", "moduleName": "./node_modules/d3-random/src/logNormal.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/normal.js", "module": "./node_modules/d3-random/src/normal.js", "moduleName": "./node_modules/d3-random/src/normal.js", "type": "harmony side effect evaluation", "userRequest": "./defaultSource", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/exponential.js", "module": "./node_modules/d3-random/src/exponential.js", "moduleName": "./node_modules/d3-random/src/exponential.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "13:3-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/irwinHall.js", "module": "./node_modules/d3-random/src/irwinHall.js", "moduleName": "./node_modules/d3-random/src/irwinHall.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "14:3-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/bates.js", "module": "./node_modules/d3-random/src/bates.js", "moduleName": "./node_modules/d3-random/src/bates.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "15:3-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/logNormal.js", "module": "./node_modules/d3-random/src/logNormal.js", "moduleName": "./node_modules/d3-random/src/logNormal.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "15:3-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/uniform.js", "module": "./node_modules/d3-random/src/uniform.js", "moduleName": "./node_modules/d3-random/src/uniform.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "17:3-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-random/src/normal.js", "module": "./node_modules/d3-random/src/normal.js", "moduleName": "./node_modules/d3-random/src/normal.js", "type": "harmony import specifier", "userRequest": "./defaultSource", "loc": "28:3-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {\n return Math.random();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/init.js", "name": "./node_modules/d3-scale/src/init.js", "index": 360, "index2": 355, "size": 448, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/band.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "name": "./node_modules/d3-scale/src/band.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } } ], "profile": { "factory": 104, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "2:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "2:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "3:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "4:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "4:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "5:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "./init", "loc": "6:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/utcTime.js", "module": "./node_modules/d3-scale/src/utcTime.js", "moduleName": "./node_modules/d3-scale/src/utcTime.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "7:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "29:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "34:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "39:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "42:2-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "43:2-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "56:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "56:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "57:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "60:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "66:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "69:2-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "70:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "76:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "80:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "module": "./node_modules/d3-scale/src/band.js", "moduleName": "./node_modules/d3-scale/src/band.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "81:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "86:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "90:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "134:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "userRequest": "./init", "loc": "142:2-11" } ], "usedExports": [ "initInterpolator", "initRange" ], "providedExports": [ "initRange", "initInterpolator" ], "optimizationBailout": [], "depth": 5, "source": "export function initRange(domain, range) {\n switch (arguments.length) {\n case 0: break;\n case 1: this.range(domain); break;\n default: this.range(range).domain(domain); break;\n }\n return this;\n}\n\nexport function initInterpolator(domain, interpolator) {\n switch (arguments.length) {\n case 0: break;\n case 1: this.interpolator(domain); break;\n default: this.interpolator(interpolator).domain(domain); break;\n }\n return this;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/array.js", "name": "./node_modules/d3-scale/src/array.js", "index": 362, "index2": 356, "size": 90, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/ordinal.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/band.js", "name": "./node_modules/d3-scale/src/band.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "name": "./node_modules/d3-scale/src/ordinal.js", "profile": { "factory": 104, "building": 33, "dependencies": 0 } } ], "profile": { "factory": 74, "building": 33 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "1:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "./array", "loc": "4:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "15:40-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "16:40-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/threshold.js", "module": "./node_modules/d3-scale/src/threshold.js", "moduleName": "./node_modules/d3-scale/src/threshold.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "20:39-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "26:30-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantize.js", "module": "./node_modules/d3-scale/src/quantize.js", "moduleName": "./node_modules/d3-scale/src/quantize.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "30:44-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/ordinal.js", "module": "./node_modules/d3-scale/src/ordinal.js", "moduleName": "./node_modules/d3-scale/src/ordinal.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "31:39-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/quantile.js", "module": "./node_modules/d3-scale/src/quantile.js", "moduleName": "./node_modules/d3-scale/src/quantile.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "39:39-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "93:40-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "97:39-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "100:37-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "./array", "loc": "101:19-24" } ], "usedExports": [ "map", "slice" ], "providedExports": [ "map", "slice" ], "optimizationBailout": [], "depth": 5, "source": "var array = Array.prototype;\n\nexport var map = array.map;\nexport var slice = array.slice;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/number.js", "name": "./node_modules/d3-scale/src/number.js", "index": 367, "index2": 360, "size": 44, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/identity.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "name": "./node_modules/d3-scale/src/identity.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } } ], "profile": { "factory": 69, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony side effect evaluation", "userRequest": "./number", "loc": "5:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "15:52-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/identity.js", "module": "./node_modules/d3-scale/src/identity.js", "moduleName": "./node_modules/d3-scale/src/identity.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "26:47-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "./number", "loc": "93:52-58" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return +x;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "name": "./node_modules/d3-scale/src/continuous.js", "index": 365, "index2": 361, "size": 3528, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/diverging.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "name": "./node_modules/d3-scale/src/diverging.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } } ], "profile": { "factory": 89, "building": 20, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "2:0-57" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "2:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "4:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "./continuous", "loc": "5:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequentialQuantile.js", "module": "./node_modules/d3-scale/src/sequentialQuantile.js", "moduleName": "./node_modules/d3-scale/src/sequentialQuantile.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "7:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "15:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "18:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "20:24-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "20:34-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "24:38-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "24:48-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "26:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "26:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "26:35-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "28:24-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/symlog.js", "module": "./node_modules/d3-scale/src/symlog.js", "moduleName": "./node_modules/d3-scale/src/symlog.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "31:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "37:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/pow.js", "module": "./node_modules/d3-scale/src/pow.js", "moduleName": "./node_modules/d3-scale/src/pow.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "40:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "module": "./node_modules/d3-scale/src/diverging.js", "moduleName": "./node_modules/d3-scale/src/diverging.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "50:38-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/sequential.js", "module": "./node_modules/d3-scale/src/sequential.js", "moduleName": "./node_modules/d3-scale/src/sequential.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "54:38-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "63:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "63:25-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "63:35-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/linear.js", "module": "./node_modules/d3-scale/src/linear.js", "moduleName": "./node_modules/d3-scale/src/linear.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "66:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "127:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "136:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "userRequest": "./continuous", "loc": "139:11-15" } ], "usedExports": [ "identity", "transformer", "copy", "default" ], "providedExports": [ "identity", "copy", "transformer", "default" ], "optimizationBailout": [], "depth": 5, "source": "import {bisect} from \"d3-array\";\nimport {interpolate as interpolateValue, interpolateNumber, interpolateRound} from \"d3-interpolate\";\nimport {map, slice} from \"./array\";\nimport constant from \"./constant\";\nimport number from \"./number\";\n\nvar unit = [0, 1];\n\nexport function identity(x) {\n return x;\n}\n\nfunction normalize(a, b) {\n return (b -= (a = +a))\n ? function(x) { return (x - a) / b; }\n : constant(isNaN(b) ? NaN : 0.5);\n}\n\nfunction clamper(domain) {\n var a = domain[0], b = domain[domain.length - 1], t;\n if (a > b) t = a, a = b, b = t;\n return function(x) { return Math.max(a, Math.min(b, x)); };\n}\n\n// normalize(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1].\n// interpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding range value x in [a,b].\nfunction bimap(domain, range, interpolate) {\n var d0 = domain[0], d1 = domain[1], r0 = range[0], r1 = range[1];\n if (d1 < d0) d0 = normalize(d1, d0), r0 = interpolate(r1, r0);\n else d0 = normalize(d0, d1), r0 = interpolate(r0, r1);\n return function(x) { return r0(d0(x)); };\n}\n\nfunction polymap(domain, range, interpolate) {\n var j = Math.min(domain.length, range.length) - 1,\n d = new Array(j),\n r = new Array(j),\n i = -1;\n\n // Reverse descending domains.\n if (domain[j] < domain[0]) {\n domain = domain.slice().reverse();\n range = range.slice().reverse();\n }\n\n while (++i < j) {\n d[i] = normalize(domain[i], domain[i + 1]);\n r[i] = interpolate(range[i], range[i + 1]);\n }\n\n return function(x) {\n var i = bisect(domain, x, 1, j) - 1;\n return r[i](d[i](x));\n };\n}\n\nexport function copy(source, target) {\n return target\n .domain(source.domain())\n .range(source.range())\n .interpolate(source.interpolate())\n .clamp(source.clamp())\n .unknown(source.unknown());\n}\n\nexport function transformer() {\n var domain = unit,\n range = unit,\n interpolate = interpolateValue,\n transform,\n untransform,\n unknown,\n clamp = identity,\n piecewise,\n output,\n input;\n\n function rescale() {\n piecewise = Math.min(domain.length, range.length) > 2 ? polymap : bimap;\n output = input = null;\n return scale;\n }\n\n function scale(x) {\n return isNaN(x = +x) ? unknown : (output || (output = piecewise(domain.map(transform), range, interpolate)))(transform(clamp(x)));\n }\n\n scale.invert = function(y) {\n return clamp(untransform((input || (input = piecewise(range, domain.map(transform), interpolateNumber)))(y)));\n };\n\n scale.domain = function(_) {\n return arguments.length ? (domain = map.call(_, number), clamp === identity || (clamp = clamper(domain)), rescale()) : domain.slice();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), rescale()) : range.slice();\n };\n\n scale.rangeRound = function(_) {\n return range = slice.call(_), interpolate = interpolateRound, rescale();\n };\n\n scale.clamp = function(_) {\n return arguments.length ? (clamp = _ ? clamper(domain) : identity, scale) : clamp !== identity;\n };\n\n scale.interpolate = function(_) {\n return arguments.length ? (interpolate = _, rescale()) : interpolate;\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n return function(t, u) {\n transform = t, untransform = u;\n return rescale();\n };\n}\n\nexport default function continuous(transform, untransform) {\n return transformer()(transform, untransform);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/nice.js", "name": "./node_modules/d3-scale/src/nice.js", "index": 370, "index2": 365, "size": 340, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/time.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "name": "./node_modules/d3-scale/src/time.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } } ], "profile": { "factory": 83, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony side effect evaluation", "userRequest": "./nice", "loc": "3:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony side effect evaluation", "userRequest": "./nice", "loc": "7:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/time.js", "module": "./node_modules/d3-scale/src/time.js", "moduleName": "./node_modules/d3-scale/src/time.js", "type": "harmony import specifier", "userRequest": "./nice", "loc": "122:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/log.js", "module": "./node_modules/d3-scale/src/log.js", "moduleName": "./node_modules/d3-scale/src/log.js", "type": "harmony import specifier", "userRequest": "./nice", "loc": "126:18-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(domain, interval) {\n domain = domain.slice();\n\n var i0 = 0,\n i1 = domain.length - 1,\n x0 = domain[i0],\n x1 = domain[i1],\n t;\n\n if (x1 < x0) {\n t = i0, i0 = i1, i1 = t;\n t = x0, x0 = x1, x1 = t;\n }\n\n domain[i0] = interval.floor(x0);\n domain[i1] = interval.ceil(x1);\n return domain;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/duration.js", "name": "./node_modules/d3-time/src/duration.js", "index": 381, "index2": 375, "size": 164, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "issuerId": null, "issuerName": "./node_modules/d3-time/src/utcWeek.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/index.js", "name": "./node_modules/d3-time/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "name": "./node_modules/d3-time/src/utcWeek.js", "profile": { "factory": 483, "building": 34, "dependencies": 26 } } ], "profile": { "factory": 26, "building": 21 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "module": "./node_modules/d3-time/src/utcWeek.js", "moduleName": "./node_modules/d3-time/src/utcWeek.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcDay.js", "module": "./node_modules/d3-time/src/utcDay.js", "moduleName": "./node_modules/d3-time/src/utcDay.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "module": "./node_modules/d3-time/src/utcHour.js", "moduleName": "./node_modules/d3-time/src/utcHour.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "module": "./node_modules/d3-time/src/utcMinute.js", "moduleName": "./node_modules/d3-time/src/utcMinute.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "module": "./node_modules/d3-time/src/week.js", "moduleName": "./node_modules/d3-time/src/week.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "module": "./node_modules/d3-time/src/day.js", "moduleName": "./node_modules/d3-time/src/day.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "module": "./node_modules/d3-time/src/second.js", "moduleName": "./node_modules/d3-time/src/second.js", "type": "harmony side effect evaluation", "userRequest": "./duration.js", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "5:67-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "5:67-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "5:104-118" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "module": "./node_modules/d3-time/src/utcHour.js", "moduleName": "./node_modules/d3-time/src/utcHour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "7:30-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "module": "./node_modules/d3-time/src/utcMinute.js", "moduleName": "./node_modules/d3-time/src/utcMinute.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "7:30-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "7:30-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "7:30-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "module": "./node_modules/d3-time/src/second.js", "moduleName": "./node_modules/d3-time/src/second.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "7:30-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcDay.js", "module": "./node_modules/d3-time/src/utcDay.js", "moduleName": "./node_modules/d3-time/src/utcDay.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcHour.js", "module": "./node_modules/d3-time/src/utcHour.js", "moduleName": "./node_modules/d3-time/src/utcHour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcMinute.js", "module": "./node_modules/d3-time/src/utcMinute.js", "moduleName": "./node_modules/d3-time/src/utcMinute.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/hour.js", "module": "./node_modules/d3-time/src/hour.js", "moduleName": "./node_modules/d3-time/src/hour.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/minute.js", "module": "./node_modules/d3-time/src/minute.js", "moduleName": "./node_modules/d3-time/src/minute.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/second.js", "module": "./node_modules/d3-time/src/second.js", "moduleName": "./node_modules/d3-time/src/second.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:25-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "module": "./node_modules/d3-time/src/day.js", "moduleName": "./node_modules/d3-time/src/day.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:80-94" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/day.js", "module": "./node_modules/d3-time/src/day.js", "moduleName": "./node_modules/d3-time/src/day.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "9:98-109" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/utcWeek.js", "module": "./node_modules/d3-time/src/utcWeek.js", "moduleName": "./node_modules/d3-time/src/utcWeek.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "11:27-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "module": "./node_modules/d3-time/src/week.js", "moduleName": "./node_modules/d3-time/src/week.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "11:82-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-time/src/week.js", "module": "./node_modules/d3-time/src/week.js", "moduleName": "./node_modules/d3-time/src/week.js", "type": "harmony import specifier", "userRequest": "./duration.js", "loc": "11:100-112" } ], "usedExports": [ "durationWeek", "durationMinute", "durationDay", "durationSecond", "durationHour" ], "providedExports": [ "durationSecond", "durationMinute", "durationHour", "durationDay", "durationWeek" ], "optimizationBailout": [], "depth": 5, "source": "export var durationSecond = 1e3;\nexport var durationMinute = 6e4;\nexport var durationHour = 36e5;\nexport var durationDay = 864e5;\nexport var durationWeek = 6048e5;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/colors.js", "name": "./node_modules/d3-scale-chromatic/src/colors.js", "index": 401, "index2": 396, "size": 189, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/category10.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/category10.js", "name": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "profile": { "factory": 735, "building": 26, "dependencies": 20 } } ], "profile": { "factory": 19, "building": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/category10.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set3.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set3.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set3.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set2.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set1.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set1.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set1.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Paired.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Paired.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Paired.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Accent.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Accent.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Accent.js", "type": "harmony side effect evaluation", "userRequest": "../colors.js", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/category10.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/category10.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Tableau10.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set3.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set3.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set3.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set2.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Set1.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Set1.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Set1.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Pastel2.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Pastel1.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Paired.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Paired.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Paired.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Dark2.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/categorical/Accent.js", "module": "./node_modules/d3-scale-chromatic/src/categorical/Accent.js", "moduleName": "./node_modules/d3-scale-chromatic/src/categorical/Accent.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "3:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "10:20-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "12:24-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "14:26-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/viridis.js", "type": "harmony import specifier", "userRequest": "../colors.js", "loc": "16:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(specifier) {\n var n = specifier.length / 6 | 0, colors = new Array(n), i = 0;\n while (i < n) colors[i] = \"#\" + specifier.slice(i * 6, ++i * 6);\n return colors;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/ramp.js", "name": "./node_modules/d3-scale-chromatic/src/ramp.js", "index": 412, "index2": 407, "size": 146, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "issuerId": null, "issuerName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/index.js", "name": "./node_modules/d3-scale-chromatic/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "name": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "profile": { "factory": 735, "building": 26, "dependencies": 20 } } ], "profile": { "factory": 22, "building": 19, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "type": "harmony side effect evaluation", "userRequest": "../ramp.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrRd.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlOrBr.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGn.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/YlGnBu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/RdPu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuRd.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Oranges.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Reds.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Purples.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greys.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Greens.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-single/Blues.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/PuBuGn.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/OrRd.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/GnBu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuPu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "module": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/sequential-multi/BuGn.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "14:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/Spectral.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlGn.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdYlBu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdGy.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/RdBu.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PuOr.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PiYG.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/PRGn.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "module": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "moduleName": "./node_modules/d3-scale-chromatic/src/diverging/BrBG.js", "type": "harmony import specifier", "userRequest": "../ramp.js", "loc": "16:15-19" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import {interpolateRgbBasis} from \"d3-interpolate\";\n\nexport default function(scheme) {\n return interpolateRgbBasis(scheme[scheme.length - 1]);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/constant.js", "name": "./node_modules/d3-shape/src/constant.js", "index": 453, "index2": 448, "size": 81, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/arc.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "name": "./node_modules/d3-shape/src/arc.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 34, "building": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "1:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony side effect evaluation", "userRequest": "../constant.js", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "9:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "9:16-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "10:11-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "10:19-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "11:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "11:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "12:16-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "12:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "22:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "23:13-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "34:68-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "35:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "38:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol.js", "module": "./node_modules/d3-shape/src/symbol.js", "moduleName": "./node_modules/d3-shape/src/symbol.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "38:68-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "39:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "41:68-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../constant.js", "loc": "42:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "43:71-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "45:69-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "49:93-101" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "55:69-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "60:66-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "64:66-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "67:74-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "68:85-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "71:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "72:66-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "75:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "76:66-74" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "80:21-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "80:85-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "97:71-79" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "229:75-83" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "233:75-83" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "237:76-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "241:92-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "245:74-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "249:72-80" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "253:72-80" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function constant() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/math.js", "name": "./node_modules/d3-shape/src/math.js", "index": 452, "index2": 447, "size": 470, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/arc.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "name": "./node_modules/d3-shape/src/arc.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 34, "building": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "module": "./node_modules/d3-shape/src/curve/catmullRom.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRom.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/circle.js", "module": "./node_modules/d3-shape/src/symbol/circle.js", "moduleName": "./node_modules/d3-shape/src/symbol/circle.js", "type": "harmony side effect evaluation", "userRequest": "../math.js", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "3:0-101" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony side effect evaluation", "userRequest": "./math.js", "loc": "4:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "4:18-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "4:42-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/circle.js", "module": "./node_modules/d3-shape/src/symbol/circle.js", "moduleName": "./node_modules/d3-shape/src/symbol/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "5:29-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "6:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/circle.js", "module": "./node_modules/d3-shape/src/symbol/circle.js", "moduleName": "./node_modules/d3-shape/src/symbol/circle.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "7:28-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "module": "./node_modules/d3-shape/src/curve/catmullRom.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRom.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "10:20-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "11:26-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/symbol/star.js", "module": "./node_modules/d3-shape/src/symbol/star.js", "moduleName": "./node_modules/d3-shape/src/symbol/star.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "16:14-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRom.js", "module": "./node_modules/d3-shape/src/curve/catmullRom.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRom.js", "type": "harmony import specifier", "userRequest": "../math.js", "loc": "17:20-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "23:22-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "23:37-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "29:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "39:29-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "53:30-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "53:35-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "92:49-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "93:47-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "94:13-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "103:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "106:18-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "106:24-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "107:26-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "107:40-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "109:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "110:28-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "110:42-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "124:21-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "124:82-86" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "125:15-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "125:19-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "132:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "133:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "133:32-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "134:17-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "134:32-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "135:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "137:30-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "141:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "142:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "143:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "144:21-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "147:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "148:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "149:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "150:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "151:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "155:17-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "160:23-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "160:27-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "160:55-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "160:81-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "161:19-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "162:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "163:16-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "168:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "171:21-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "178:53-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "178:76-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "182:41-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "182:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "183:32-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "183:71-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "184:41-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "184:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "193:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "193:37-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "196:21-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "203:53-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "203:76-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "207:41-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "207:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "208:32-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "208:71-76" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "209:41-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "209:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "224:90-92" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "225:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/arc.js", "module": "./node_modules/d3-shape/src/arc.js", "moduleName": "./node_modules/d3-shape/src/arc.js", "type": "harmony import specifier", "userRequest": "./math.js", "loc": "225:24-27" } ], "usedExports": [ "epsilon", "sqrt", "max", "halfPi", "abs", "tau", "cos", "sin", "min", "asin", "pi", "acos", "atan2" ], "providedExports": [ "abs", "atan2", "cos", "max", "min", "sin", "sqrt", "epsilon", "pi", "halfPi", "tau", "acos", "asin" ], "optimizationBailout": [], "depth": 5, "source": "export var abs = Math.abs;\nexport var atan2 = Math.atan2;\nexport var cos = Math.cos;\nexport var max = Math.max;\nexport var min = Math.min;\nexport var sin = Math.sin;\nexport var sqrt = Math.sqrt;\n\nexport var epsilon = 1e-12;\nexport var pi = Math.PI;\nexport var halfPi = pi / 2;\nexport var tau = 2 * pi;\n\nexport function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n}\n\nexport function asin(x) {\n return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/point.js", "name": "./node_modules/d3-shape/src/point.js", "index": 455, "index2": 450, "size": 81, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/line.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "name": "./node_modules/d3-shape/src/line.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 22, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony side effect evaluation", "userRequest": "./point.js", "loc": "4:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony side effect evaluation", "userRequest": "../point.js", "loc": "4:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony side effect evaluation", "userRequest": "./point.js", "loc": "5:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./point.js", "loc": "7:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/line.js", "module": "./node_modules/d3-shape/src/line.js", "moduleName": "./node_modules/d3-shape/src/line.js", "type": "harmony import specifier", "userRequest": "./point.js", "loc": "8:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./point.js", "loc": "8:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/area.js", "module": "./node_modules/d3-shape/src/area.js", "moduleName": "./node_modules/d3-shape/src/area.js", "type": "harmony import specifier", "userRequest": "./point.js", "loc": "11:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../point.js", "loc": "18:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../point.js", "loc": "19:10-16" } ], "usedExports": [ "x", "y" ], "providedExports": [ "x", "y" ], "optimizationBailout": [], "depth": 5, "source": "export function x(p) {\n return p[0];\n}\n\nexport function y(p) {\n return p[1];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/descending.js", "name": "./node_modules/d3-shape/src/descending.js", "index": 460, "index2": 455, "size": 86, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/pie.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "name": "./node_modules/d3-shape/src/pie.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 26, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony side effect evaluation", "userRequest": "./descending.js", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./descending.js", "loc": "8:19-29" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/identity.js", "name": "./node_modules/d3-shape/src/identity.js", "index": 459, "index2": 454, "size": 43, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/pie.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "name": "./node_modules/d3-shape/src/pie.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 26, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony side effect evaluation", "userRequest": "./identity.js", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/pie.js", "module": "./node_modules/d3-shape/src/pie.js", "moduleName": "./node_modules/d3-shape/src/pie.js", "type": "harmony import specifier", "userRequest": "./identity.js", "loc": "7:14-22" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(d) {\n return d;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/radial.js", "name": "./node_modules/d3-shape/src/curve/radial.js", "index": 462, "index2": 457, "size": 658, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/lineRadial.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "name": "./node_modules/d3-shape/src/lineRadial.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 24, "building": 28, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "module": "./node_modules/d3-shape/src/lineRadial.js", "moduleName": "./node_modules/d3-shape/src/lineRadial.js", "type": "harmony side effect evaluation", "userRequest": "./curve/radial.js", "loc": "1:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony side effect evaluation", "userRequest": "./curve/radial.js", "loc": "1:0-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./curve/radial.js", "loc": "6:23-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "module": "./node_modules/d3-shape/src/lineRadial.js", "moduleName": "./node_modules/d3-shape/src/lineRadial.js", "type": "harmony import specifier", "userRequest": "./curve/radial.js", "loc": "11:32-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/lineRadial.js", "module": "./node_modules/d3-shape/src/lineRadial.js", "moduleName": "./node_modules/d3-shape/src/lineRadial.js", "type": "harmony import specifier", "userRequest": "./curve/radial.js", "loc": "18:33-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/areaRadial.js", "module": "./node_modules/d3-shape/src/areaRadial.js", "moduleName": "./node_modules/d3-shape/src/areaRadial.js", "type": "harmony import specifier", "userRequest": "./curve/radial.js", "loc": "25:32-43" } ], "usedExports": [ "default", "curveRadialLinear" ], "providedExports": [ "curveRadialLinear", "default" ], "optimizationBailout": [], "depth": 5, "source": "import curveLinear from \"./linear.js\";\n\nexport var curveRadialLinear = curveRadial(curveLinear);\n\nfunction Radial(curve) {\n this._curve = curve;\n}\n\nRadial.prototype = {\n areaStart: function() {\n this._curve.areaStart();\n },\n areaEnd: function() {\n this._curve.areaEnd();\n },\n lineStart: function() {\n this._curve.lineStart();\n },\n lineEnd: function() {\n this._curve.lineEnd();\n },\n point: function(a, r) {\n this._curve.point(r * Math.sin(a), r * -Math.cos(a));\n }\n};\n\nexport default function curveRadial(curve) {\n\n function radial(context) {\n return new Radial(curve(context));\n }\n\n radial._curve = curve;\n\n return radial;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/array.js", "name": "./node_modules/d3-shape/src/array.js", "index": 466, "index2": 461, "size": 42, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "name": "./node_modules/d3-shape/src/stack.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 32, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony side effect evaluation", "userRequest": "./array.js", "loc": "1:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony side effect evaluation", "userRequest": "../array.js", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/link/index.js", "module": "./node_modules/d3-shape/src/link/index.js", "moduleName": "./node_modules/d3-shape/src/link/index.js", "type": "harmony import specifier", "userRequest": "../array.js", "loc": "23:23-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./array.js", "loc": "41:77-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/stack.js", "module": "./node_modules/d3-shape/src/stack.js", "moduleName": "./node_modules/d3-shape/src/stack.js", "type": "harmony import specifier", "userRequest": "./array.js", "loc": "49:102-107" } ], "usedExports": [ "slice" ], "providedExports": [ "slice" ], "optimizationBailout": [], "depth": 5, "source": "export var slice = Array.prototype.slice;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/noop.js", "name": "./node_modules/d3-shape/src/noop.js", "index": 476, "index2": 471, "size": 29, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "issuerId": null, "issuerName": "./node_modules/d3-shape/src/curve/linearClosed.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/index.js", "name": "./node_modules/d3-shape/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "name": "./node_modules/d3-shape/src/curve/linearClosed.js", "profile": { "factory": 677, "building": 44, "dependencies": 23 } } ], "profile": { "factory": 27, "building": 34 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "module": "./node_modules/d3-shape/src/curve/linearClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/linearClosed.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "module": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "module": "./node_modules/d3-shape/src/curve/basisClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/basisClosed.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony side effect evaluation", "userRequest": "../noop.js", "loc": "2:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "module": "./node_modules/d3-shape/src/curve/linearClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/linearClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "8:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/linearClosed.js", "module": "./node_modules/d3-shape/src/curve/linearClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/linearClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "9:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "module": "./node_modules/d3-shape/src/curve/basisClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/basisClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "9:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/basisClosed.js", "module": "./node_modules/d3-shape/src/curve/basisClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/basisClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "10:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "module": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "10:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/cardinalClosed.js", "module": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/cardinalClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "11:11-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "11:13-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-shape/src/curve/catmullRomClosed.js", "module": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "moduleName": "./node_modules/d3-shape/src/curve/catmullRomClosed.js", "type": "harmony import specifier", "userRequest": "../noop.js", "loc": "12:11-15" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function() {}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/constant.js", "name": "./node_modules/d3-voronoi/src/constant.js", "index": 510, "index2": 505, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/voronoi.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } } ], "profile": { "factory": 100, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "1:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "32:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "36:65-73" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/point.js", "name": "./node_modules/d3-voronoi/src/point.js", "index": 511, "index2": 506, "size": 81, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/voronoi.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } } ], "profile": { "factory": 100, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony side effect evaluation", "userRequest": "./point", "loc": "2:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./point", "loc": "6:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./point", "loc": "7:10-16" } ], "usedExports": [ "x", "y" ], "providedExports": [ "x", "y" ], "optimizationBailout": [], "depth": 5, "source": "export function x(d) {\n return d[0];\n}\n\nexport function y(d) {\n return d[1];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "index": 512, "index2": 512, "size": 3567, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/voronoi.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } } ], "profile": { "factory": 100, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony side effect evaluation", "userRequest": "./Diagram", "loc": "1:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony side effect evaluation", "userRequest": "./Diagram", "loc": "2:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony side effect evaluation", "userRequest": "./Diagram", "loc": "2:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony side effect evaluation", "userRequest": "./Diagram", "loc": "3:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony side effect evaluation", "userRequest": "./Diagram", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "5:9-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "5:14-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "10:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "11:2-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "11:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "12:42-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "12:53-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "12:89-96" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "module": "./node_modules/d3-voronoi/src/voronoi.js", "moduleName": "./node_modules/d3-voronoi/src/voronoi.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "12:100-107" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "24:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "31:22-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "32:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "35:79-84" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "37:12-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "42:39-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "43:40-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "44:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "53:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "55:39-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "56:40-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "60:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "65:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "67:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "73:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "75:36-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "76:40-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "77:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "77:75-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "78:41-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "79:36-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "79:59-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "79:98-105" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "80:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "80:61-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "80:96-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "81:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "81:61-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "81:100-107" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "82:38-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "82:61-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "82:96-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "89:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "93:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "95:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "98:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "102:19-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "105:26-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "110:8-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "111:8-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "112:8-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "113:8-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "118:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "120:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "122:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "125:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "157:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "161:28-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "163:49-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "164:51-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "module": "./node_modules/d3-voronoi/src/Edge.js", "moduleName": "./node_modules/d3-voronoi/src/Edge.js", "type": "harmony import specifier", "userRequest": "./Diagram", "loc": "165:13-18" } ], "usedExports": [ "default", "epsilon", "cells", "edges", "beaches", "epsilon2", "circles" ], "providedExports": [ "epsilon", "epsilon2", "beaches", "cells", "circles", "edges", "default" ], "optimizationBailout": [], "depth": 5, "source": "import {addBeach, removeBeach} from \"./Beach\";\nimport {sortCellHalfedges, cellHalfedgeStart, clipCells} from \"./Cell\";\nimport {firstCircle} from \"./Circle\";\nimport {clipEdges} from \"./Edge\";\nimport RedBlackTree from \"./RedBlackTree\";\n\nexport var epsilon = 1e-6;\nexport var epsilon2 = 1e-12;\nexport var beaches;\nexport var cells;\nexport var circles;\nexport var edges;\n\nfunction triangleArea(a, b, c) {\n return (a[0] - c[0]) * (b[1] - a[1]) - (a[0] - b[0]) * (c[1] - a[1]);\n}\n\nfunction lexicographic(a, b) {\n return b[1] - a[1]\n || b[0] - a[0];\n}\n\nexport default function Diagram(sites, extent) {\n var site = sites.sort(lexicographic).pop(),\n x,\n y,\n circle;\n\n edges = [];\n cells = new Array(sites.length);\n beaches = new RedBlackTree;\n circles = new RedBlackTree;\n\n while (true) {\n circle = firstCircle;\n if (site && (!circle || site[1] < circle.y || (site[1] === circle.y && site[0] < circle.x))) {\n if (site[0] !== x || site[1] !== y) {\n addBeach(site);\n x = site[0], y = site[1];\n }\n site = sites.pop();\n } else if (circle) {\n removeBeach(circle.arc);\n } else {\n break;\n }\n }\n\n sortCellHalfedges();\n\n if (extent) {\n var x0 = +extent[0][0],\n y0 = +extent[0][1],\n x1 = +extent[1][0],\n y1 = +extent[1][1];\n clipEdges(x0, y0, x1, y1);\n clipCells(x0, y0, x1, y1);\n }\n\n this.edges = edges;\n this.cells = cells;\n\n beaches =\n circles =\n edges =\n cells = null;\n}\n\nDiagram.prototype = {\n constructor: Diagram,\n\n polygons: function() {\n var edges = this.edges;\n\n return this.cells.map(function(cell) {\n var polygon = cell.halfedges.map(function(i) { return cellHalfedgeStart(cell, edges[i]); });\n polygon.data = cell.site.data;\n return polygon;\n });\n },\n\n triangles: function() {\n var triangles = [],\n edges = this.edges;\n\n this.cells.forEach(function(cell, i) {\n if (!(m = (halfedges = cell.halfedges).length)) return;\n var site = cell.site,\n halfedges,\n j = -1,\n m,\n s0,\n e1 = edges[halfedges[m - 1]],\n s1 = e1.left === site ? e1.right : e1.left;\n\n while (++j < m) {\n s0 = s1;\n e1 = edges[halfedges[j]];\n s1 = e1.left === site ? e1.right : e1.left;\n if (s0 && s1 && i < s0.index && i < s1.index && triangleArea(site, s0, s1) < 0) {\n triangles.push([site.data, s0.data, s1.data]);\n }\n }\n });\n\n return triangles;\n },\n\n links: function() {\n return this.edges.filter(function(edge) {\n return edge.right;\n }).map(function(edge) {\n return {\n source: edge.left.data,\n target: edge.right.data\n };\n });\n },\n\n find: function(x, y, radius) {\n var that = this, i0, i1 = that._found || 0, n = that.cells.length, cell;\n\n // Use the previously-found cell, or start with an arbitrary one.\n while (!(cell = that.cells[i1])) if (++i1 >= n) return null;\n var dx = x - cell.site[0], dy = y - cell.site[1], d2 = dx * dx + dy * dy;\n\n // Traverse the half-edges to find a closer cell, if any.\n do {\n cell = that.cells[i0 = i1], i1 = null;\n cell.halfedges.forEach(function(e) {\n var edge = that.edges[e], v = edge.left;\n if ((v === cell.site || !v) && !(v = edge.right)) return;\n var vx = x - v[0], vy = y - v[1], v2 = vx * vx + vy * vy;\n if (v2 < d2) d2 = v2, i1 = v.index;\n });\n } while (i1 !== null);\n\n that._found = i0;\n\n return radius == null || d2 <= radius * radius ? cell.site : null;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/constant.js", "name": "./node_modules/d3-zoom/src/constant.js", "index": 520, "index2": 515, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "issuerId": null, "issuerName": "./node_modules/d3-zoom/src/zoom.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "name": "./node_modules/d3-zoom/src/zoom.js", "profile": { "factory": 67, "building": 95, "dependencies": 6 } } ], "profile": { "factory": 24, "building": 53, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "./constant.js", "loc": "6:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "374:74-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "378:70-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "382:73-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./constant.js", "loc": "386:70-78" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/event.js", "name": "./node_modules/d3-zoom/src/event.js", "index": 521, "index2": 516, "size": 137, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "issuerId": null, "issuerName": "./node_modules/d3-zoom/src/zoom.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "name": "./node_modules/d3-zoom/src/zoom.js", "profile": { "factory": 67, "building": 95, "dependencies": 6 } } ], "profile": { "factory": 24, "building": 53, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "./event.js", "loc": "7:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./event.js", "loc": "210:22-31" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "export default function ZoomEvent(target, type, transform) {\n this.target = target;\n this.type = type;\n this.transform = transform;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/noevent.js", "name": "./node_modules/d3-zoom/src/noevent.js", "index": 523, "index2": 518, "size": 202, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "issuerId": null, "issuerName": "./node_modules/d3-zoom/src/zoom.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/index.js", "name": "./node_modules/d3-zoom/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "name": "./node_modules/d3-zoom/src/zoom.js", "profile": { "factory": 67, "building": 95, "dependencies": 6 } } ], "profile": { "factory": 24, "building": 53, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony side effect evaluation", "userRequest": "./noevent.js", "loc": "9:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "240:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "259:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "265:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "276:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "289:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "301:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "324:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-zoom/src/zoom.js", "module": "./node_modules/d3-zoom/src/zoom.js", "moduleName": "./node_modules/d3-zoom/src/zoom.js", "type": "harmony import specifier", "userRequest": "./noevent.js", "loc": "353:4-17" } ], "usedExports": [ "default", "nopropagation" ], "providedExports": [ "nopropagation", "default" ], "optimizationBailout": [], "depth": 5, "source": "import {event} from \"d3-selection\";\n\nexport function nopropagation() {\n event.stopImmediatePropagation();\n}\n\nexport default function() {\n event.preventDefault();\n event.stopImmediatePropagation();\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/sparse.js", "name": "./node_modules/d3-selection/src/selection/sparse.js", "index": 90, "index2": 77, "size": 71, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/exit.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "name": "./node_modules/d3-selection/src/selection/exit.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 79, "building": 34 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "module": "./node_modules/d3-selection/src/selection/exit.js", "moduleName": "./node_modules/d3-selection/src/selection/exit.js", "type": "harmony side effect evaluation", "userRequest": "./sparse", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/enter.js", "module": "./node_modules/d3-selection/src/selection/enter.js", "moduleName": "./node_modules/d3-selection/src/selection/enter.js", "type": "harmony side effect evaluation", "userRequest": "./sparse", "loc": "1:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/exit.js", "module": "./node_modules/d3-selection/src/selection/exit.js", "moduleName": "./node_modules/d3-selection/src/selection/exit.js", "type": "harmony import specifier", "userRequest": "./sparse", "loc": "5:54-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/enter.js", "module": "./node_modules/d3-selection/src/selection/enter.js", "moduleName": "./node_modules/d3-selection/src/selection/enter.js", "type": "harmony import specifier", "userRequest": "./sparse", "loc": "5:55-61" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "export default function(update) {\n return new Array(update.length);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/constant.js", "name": "./node_modules/d3-selection/src/constant.js", "index": 91, "index2": 79, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "issuerId": null, "issuerName": "./node_modules/d3-selection/src/selection/data.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/index.js", "name": "./node_modules/d3-selection/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/create.js", "name": "./node_modules/d3-selection/src/create.js", "profile": { "factory": 736, "building": 29, "dependencies": 94 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/select.js", "name": "./node_modules/d3-selection/src/select.js", "profile": { "factory": 102, "building": 30 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/index.js", "name": "./node_modules/d3-selection/src/selection/index.js", "profile": { "factory": 81, "building": 37 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "name": "./node_modules/d3-selection/src/selection/data.js", "profile": { "factory": 138, "building": 29, "dependencies": 78 } } ], "profile": { "factory": 77, "building": 34 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony side effect evaluation", "userRequest": "../constant", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-selection/src/selection/data.js", "module": "./node_modules/d3-selection/src/selection/data.js", "moduleName": "./node_modules/d3-selection/src/selection/data.js", "type": "harmony import specifier", "userRequest": "../constant", "loc": "88:43-51" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/decompose.js", "name": "./node_modules/d3-interpolate/src/transform/decompose.js", "index": 69, "index2": 57, "size": 672, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "issuerId": null, "issuerName": "./node_modules/d3-interpolate/src/transform/parse.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/index.js", "name": "./node_modules/d3-interpolate/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/index.js", "name": "./node_modules/d3-interpolate/src/transform/index.js", "profile": { "factory": 777, "building": 27, "dependencies": 32 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "name": "./node_modules/d3-interpolate/src/transform/parse.js", "profile": { "factory": 54, "building": 20 } } ], "profile": { "factory": 16, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony side effect evaluation", "userRequest": "./decompose.js", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "9:31-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "15:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "19:28-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "22:65-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-interpolate/src/transform/parse.js", "module": "./node_modules/d3-interpolate/src/transform/parse.js", "moduleName": "./node_modules/d3-interpolate/src/transform/parse.js", "type": "harmony import specifier", "userRequest": "./decompose.js", "loc": "24:9-18" } ], "usedExports": [ "identity", "default" ], "providedExports": [ "identity", "default" ], "optimizationBailout": [], "depth": 6, "source": "var degrees = 180 / Math.PI;\n\nexport var identity = {\n translateX: 0,\n translateY: 0,\n rotate: 0,\n skewX: 0,\n scaleX: 1,\n scaleY: 1\n};\n\nexport default function(a, b, c, d, e, f) {\n var scaleX, scaleY, skewX;\n if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;\n if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;\n if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;\n if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;\n return {\n translateX: e,\n translateY: f,\n rotate: Math.atan2(b, a) * degrees,\n skewX: Math.atan(skewX) * degrees,\n scaleX: scaleX,\n scaleY: scaleY\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/interpolate.js", "name": "./node_modules/d3-transition/src/transition/interpolate.js", "index": 55, "index2": 54, "size": 340, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "issuerId": null, "issuerName": "./node_modules/d3-transition/src/transition/style.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/index.js", "name": "./node_modules/d3-transition/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/index.js", "name": "./node_modules/d3-transition/src/selection/index.js", "profile": { "factory": 285, "building": 41, "dependencies": 7 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/selection/transition.js", "name": "./node_modules/d3-transition/src/selection/transition.js", "profile": { "factory": 18, "building": 56, "dependencies": 1 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/index.js", "name": "./node_modules/d3-transition/src/transition/index.js", "profile": { "factory": 38, "building": 36, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "name": "./node_modules/d3-transition/src/transition/style.js", "profile": { "factory": 65, "building": 36, "dependencies": 19 } } ], "profile": { "factory": 27, "building": 22, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony side effect evaluation", "userRequest": "./interpolate.js", "loc": "4:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony side effect evaluation", "userRequest": "./interpolate.js", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/style.js", "module": "./node_modules/d3-transition/src/transition/style.js", "moduleName": "./node_modules/d3-transition/src/transition/style.js", "type": "harmony import specifier", "userRequest": "./interpolate.js", "loc": "70:64-75" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-transition/src/transition/attr.js", "module": "./node_modules/d3-transition/src/transition/attr.js", "moduleName": "./node_modules/d3-transition/src/transition/attr.js", "type": "harmony import specifier", "userRequest": "./interpolate.js", "loc": "73:88-99" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "import {color} from \"d3-color\";\nimport {interpolateNumber, interpolateRgb, interpolateString} from \"d3-interpolate\";\n\nexport default function(a, b) {\n var c;\n return (typeof b === \"number\" ? interpolateNumber\n : b instanceof color ? interpolateRgb\n : (c = color(b)) ? (b = c, interpolateRgb)\n : interpolateString)(a, b);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quad.js", "name": "./node_modules/d3-quadtree/src/quad.js", "index": 212, "index2": 205, "size": 134, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "issuerId": null, "issuerName": "./node_modules/d3-quadtree/src/visitAfter.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/index.js", "name": "./node_modules/d3-quadtree/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/quadtree.js", "name": "./node_modules/d3-quadtree/src/quadtree.js", "profile": { "factory": 73, "building": 74 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "name": "./node_modules/d3-quadtree/src/visitAfter.js", "profile": { "factory": 105, "building": 41, "dependencies": 38 } } ], "profile": { "factory": 39, "building": 35 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony side effect evaluation", "userRequest": "./quad.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony side effect evaluation", "userRequest": "./quad.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony side effect evaluation", "userRequest": "./quad.js", "loc": "1:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "5:27-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "5:33-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "9:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "10:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "10:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "11:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "11:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "12:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visit.js", "module": "./node_modules/d3-quadtree/src/visit.js", "moduleName": "./node_modules/d3-quadtree/src/visit.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "12:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/visitAfter.js", "module": "./node_modules/d3-quadtree/src/visitAfter.js", "moduleName": "./node_modules/d3-quadtree/src/visitAfter.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "13:42-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "18:27-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "41:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "42:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "43:12-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-quadtree/src/find.js", "module": "./node_modules/d3-quadtree/src/find.js", "moduleName": "./node_modules/d3-quadtree/src/find.js", "type": "harmony import specifier", "userRequest": "./quad.js", "loc": "44:12-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "export default function(node, x0, y0, x1, y1) {\n this.node = node;\n this.x0 = x0;\n this.y0 = y0;\n this.x1 = x1;\n this.y1 = y1;\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatDecimal.js", "name": "./node_modules/d3-format/src/formatDecimal.js", "index": 233, "index2": 225, "size": 656, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/exponent.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/exponent.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/exponent.js", "name": "./node_modules/d3-format/src/exponent.js", "profile": { "factory": 47, "building": 35, "dependencies": 28 } } ], "profile": { "factory": 29, "building": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/exponent.js", "module": "./node_modules/d3-format/src/exponent.js", "moduleName": "./node_modules/d3-format/src/exponent.js", "type": "harmony side effect evaluation", "userRequest": "./formatDecimal.js", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatPrefixAuto.js", "module": "./node_modules/d3-format/src/formatPrefixAuto.js", "moduleName": "./node_modules/d3-format/src/formatPrefixAuto.js", "type": "harmony side effect evaluation", "userRequest": "./formatDecimal.js", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatRounded.js", "module": "./node_modules/d3-format/src/formatRounded.js", "moduleName": "./node_modules/d3-format/src/formatRounded.js", "type": "harmony side effect evaluation", "userRequest": "./formatDecimal.js", "loc": "1:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatRounded.js", "module": "./node_modules/d3-format/src/formatRounded.js", "moduleName": "./node_modules/d3-format/src/formatRounded.js", "type": "harmony import specifier", "userRequest": "./formatDecimal.js", "loc": "4:10-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/exponent.js", "module": "./node_modules/d3-format/src/exponent.js", "moduleName": "./node_modules/d3-format/src/exponent.js", "type": "harmony import specifier", "userRequest": "./formatDecimal.js", "loc": "4:13-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatPrefixAuto.js", "module": "./node_modules/d3-format/src/formatPrefixAuto.js", "moduleName": "./node_modules/d3-format/src/formatPrefixAuto.js", "type": "harmony import specifier", "userRequest": "./formatDecimal.js", "loc": "6:10-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatPrefixAuto.js", "module": "./node_modules/d3-format/src/formatPrefixAuto.js", "moduleName": "./node_modules/d3-format/src/formatPrefixAuto.js", "type": "harmony import specifier", "userRequest": "./formatDecimal.js", "loc": "15:44-57" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "// Computes the decimal coefficient and exponent of the specified number x with\n// significant digits p, where x is positive and p is in [1, 21] or undefined.\n// For example, formatDecimal(1.23) returns [\"123\", 0].\nexport default function(x, p) {\n if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf(\"e\")) < 0) return null; // NaN, ±Infinity\n var i, coefficient = x.slice(0, i);\n\n // The string returned by toExponential either has the form \\d\\.\\d+e[-+]\\d+\n // (e.g., 1.2e+3) or the form \\de[-+]\\d+ (e.g., 1e+3).\n return [\n coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient,\n +x.slice(i + 1)\n ];\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatRounded.js", "name": "./node_modules/d3-format/src/formatRounded.js", "index": 232, "index2": 226, "size": 461, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "issuerId": null, "issuerName": "./node_modules/d3-format/src/formatTypes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/index.js", "name": "./node_modules/d3-format/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/defaultLocale.js", "name": "./node_modules/d3-format/src/defaultLocale.js", "profile": { "factory": 828, "building": 47, "dependencies": 0 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/locale.js", "name": "./node_modules/d3-format/src/locale.js", "profile": { "factory": 50, "building": 45 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "name": "./node_modules/d3-format/src/formatTypes.js", "profile": { "factory": 47, "building": 35, "dependencies": 28 } } ], "profile": { "factory": 28, "building": 38, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "module": "./node_modules/d3-format/src/formatTypes.js", "moduleName": "./node_modules/d3-format/src/formatTypes.js", "type": "harmony side effect evaluation", "userRequest": "./formatRounded.js", "loc": "2:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "module": "./node_modules/d3-format/src/formatTypes.js", "moduleName": "./node_modules/d3-format/src/formatTypes.js", "type": "harmony import specifier", "userRequest": "./formatRounded.js", "loc": "13:31-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-format/src/formatTypes.js", "module": "./node_modules/d3-format/src/formatTypes.js", "moduleName": "./node_modules/d3-format/src/formatTypes.js", "type": "harmony import specifier", "userRequest": "./formatRounded.js", "loc": "14:7-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "import formatDecimal from \"./formatDecimal.js\";\n\nexport default function(x, p) {\n var d = formatDecimal(x, p);\n if (!d) return x + \"\";\n var coefficient = d[0],\n exponent = d[1];\n return exponent < 0 ? \"0.\" + new Array(-exponent).join(\"0\") + coefficient\n : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + \".\" + coefficient.slice(exponent + 1)\n : coefficient + new Array(exponent - coefficient.length + 2).join(\"0\");\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/constant.js", "name": "./node_modules/d3-scale/src/constant.js", "index": 366, "index2": 359, "size": 72, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "issuerId": null, "issuerName": "./node_modules/d3-scale/src/continuous.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/index.js", "name": "./node_modules/d3-scale/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/diverging.js", "name": "./node_modules/d3-scale/src/diverging.js", "profile": { "factory": 778, "building": 45, "dependencies": 89 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "name": "./node_modules/d3-scale/src/continuous.js", "profile": { "factory": 89, "building": 20, "dependencies": 0 } } ], "profile": { "factory": 7, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony side effect evaluation", "userRequest": "./constant", "loc": "4:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-scale/src/continuous.js", "module": "./node_modules/d3-scale/src/continuous.js", "moduleName": "./node_modules/d3-scale/src/continuous.js", "type": "harmony import specifier", "userRequest": "./constant", "loc": "16:8-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "export default function(x) {\n return function() {\n return x;\n };\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/RedBlackTree.js", "name": "./node_modules/d3-voronoi/src/RedBlackTree.js", "index": 514, "index2": 507, "size": 5302, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/Diagram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "profile": { "factory": 100, "building": 31 } } ], "profile": { "factory": 79, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony side effect evaluation", "userRequest": "./RedBlackTree", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony side effect evaluation", "userRequest": "./RedBlackTree", "loc": "1:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony side effect evaluation", "userRequest": "./RedBlackTree", "loc": "5:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "9:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "10:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "26:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "31:16-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "32:16-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "module": "./node_modules/d3-voronoi/src/Circle.js", "moduleName": "./node_modules/d3-voronoi/src/Circle.js", "type": "harmony import specifier", "userRequest": "./RedBlackTree", "loc": "75:4-16" } ], "usedExports": [ "default", "RedBlackNode" ], "providedExports": [ "RedBlackNode", "default" ], "optimizationBailout": [], "depth": 6, "source": "function RedBlackTree() {\n this._ = null; // root node\n}\n\nexport function RedBlackNode(node) {\n node.U = // parent node\n node.C = // color - true for red, false for black\n node.L = // left node\n node.R = // right node\n node.P = // previous node\n node.N = null; // next node\n}\n\nRedBlackTree.prototype = {\n constructor: RedBlackTree,\n\n insert: function(after, node) {\n var parent, grandpa, uncle;\n\n if (after) {\n node.P = after;\n node.N = after.N;\n if (after.N) after.N.P = node;\n after.N = node;\n if (after.R) {\n after = after.R;\n while (after.L) after = after.L;\n after.L = node;\n } else {\n after.R = node;\n }\n parent = after;\n } else if (this._) {\n after = RedBlackFirst(this._);\n node.P = null;\n node.N = after;\n after.P = after.L = node;\n parent = after;\n } else {\n node.P = node.N = null;\n this._ = node;\n parent = null;\n }\n node.L = node.R = null;\n node.U = parent;\n node.C = true;\n\n after = node;\n while (parent && parent.C) {\n grandpa = parent.U;\n if (parent === grandpa.L) {\n uncle = grandpa.R;\n if (uncle && uncle.C) {\n parent.C = uncle.C = false;\n grandpa.C = true;\n after = grandpa;\n } else {\n if (after === parent.R) {\n RedBlackRotateLeft(this, parent);\n after = parent;\n parent = after.U;\n }\n parent.C = false;\n grandpa.C = true;\n RedBlackRotateRight(this, grandpa);\n }\n } else {\n uncle = grandpa.L;\n if (uncle && uncle.C) {\n parent.C = uncle.C = false;\n grandpa.C = true;\n after = grandpa;\n } else {\n if (after === parent.L) {\n RedBlackRotateRight(this, parent);\n after = parent;\n parent = after.U;\n }\n parent.C = false;\n grandpa.C = true;\n RedBlackRotateLeft(this, grandpa);\n }\n }\n parent = after.U;\n }\n this._.C = false;\n },\n\n remove: function(node) {\n if (node.N) node.N.P = node.P;\n if (node.P) node.P.N = node.N;\n node.N = node.P = null;\n\n var parent = node.U,\n sibling,\n left = node.L,\n right = node.R,\n next,\n red;\n\n if (!left) next = right;\n else if (!right) next = left;\n else next = RedBlackFirst(right);\n\n if (parent) {\n if (parent.L === node) parent.L = next;\n else parent.R = next;\n } else {\n this._ = next;\n }\n\n if (left && right) {\n red = next.C;\n next.C = node.C;\n next.L = left;\n left.U = next;\n if (next !== right) {\n parent = next.U;\n next.U = node.U;\n node = next.R;\n parent.L = node;\n next.R = right;\n right.U = next;\n } else {\n next.U = parent;\n parent = next;\n node = next.R;\n }\n } else {\n red = node.C;\n node = next;\n }\n\n if (node) node.U = parent;\n if (red) return;\n if (node && node.C) { node.C = false; return; }\n\n do {\n if (node === this._) break;\n if (node === parent.L) {\n sibling = parent.R;\n if (sibling.C) {\n sibling.C = false;\n parent.C = true;\n RedBlackRotateLeft(this, parent);\n sibling = parent.R;\n }\n if ((sibling.L && sibling.L.C)\n || (sibling.R && sibling.R.C)) {\n if (!sibling.R || !sibling.R.C) {\n sibling.L.C = false;\n sibling.C = true;\n RedBlackRotateRight(this, sibling);\n sibling = parent.R;\n }\n sibling.C = parent.C;\n parent.C = sibling.R.C = false;\n RedBlackRotateLeft(this, parent);\n node = this._;\n break;\n }\n } else {\n sibling = parent.L;\n if (sibling.C) {\n sibling.C = false;\n parent.C = true;\n RedBlackRotateRight(this, parent);\n sibling = parent.L;\n }\n if ((sibling.L && sibling.L.C)\n || (sibling.R && sibling.R.C)) {\n if (!sibling.L || !sibling.L.C) {\n sibling.R.C = false;\n sibling.C = true;\n RedBlackRotateLeft(this, sibling);\n sibling = parent.L;\n }\n sibling.C = parent.C;\n parent.C = sibling.L.C = false;\n RedBlackRotateRight(this, parent);\n node = this._;\n break;\n }\n }\n sibling.C = true;\n node = parent;\n parent = parent.U;\n } while (!node.C);\n\n if (node) node.C = false;\n }\n};\n\nfunction RedBlackRotateLeft(tree, node) {\n var p = node,\n q = node.R,\n parent = p.U;\n\n if (parent) {\n if (parent.L === p) parent.L = q;\n else parent.R = q;\n } else {\n tree._ = q;\n }\n\n q.U = parent;\n p.U = q;\n p.R = q.L;\n if (p.R) p.R.U = p;\n q.L = p;\n}\n\nfunction RedBlackRotateRight(tree, node) {\n var p = node,\n q = node.L,\n parent = p.U;\n\n if (parent) {\n if (parent.L === p) parent.L = q;\n else parent.R = q;\n } else {\n tree._ = q;\n }\n\n q.U = parent;\n p.U = q;\n p.L = q.R;\n if (p.L) p.L.U = p;\n q.R = p;\n}\n\nfunction RedBlackFirst(node) {\n while (node.L) node = node.L;\n return node;\n}\n\nexport default RedBlackTree;\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Edge.js", "name": "./node_modules/d3-voronoi/src/Edge.js", "index": 516, "index2": 508, "size": 3634, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/Diagram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "profile": { "factory": 100, "building": 31 } } ], "profile": { "factory": 79, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony side effect evaluation", "userRequest": "./Edge", "loc": "1:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony side effect evaluation", "userRequest": "./Edge", "loc": "4:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony side effect evaluation", "userRequest": "./Edge", "loc": "4:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "56:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "71:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "76:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "78:52-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "110:19-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "111:19-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "112:19-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "module": "./node_modules/d3-voronoi/src/Cell.js", "moduleName": "./node_modules/d3-voronoi/src/Cell.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "113:19-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "126:30-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "133:18-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "154:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "155:16-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Edge", "loc": "156:14-24" } ], "usedExports": [ "clipEdges", "createBorderEdge", "setEdgeEnd", "createEdge" ], "providedExports": [ "createEdge", "createBorderEdge", "setEdgeEnd", "clipEdges" ], "optimizationBailout": [], "depth": 6, "source": "import {cells, edges, epsilon} from \"./Diagram\";\n\nexport function createEdge(left, right, v0, v1) {\n var edge = [null, null],\n index = edges.push(edge) - 1;\n edge.left = left;\n edge.right = right;\n if (v0) setEdgeEnd(edge, left, right, v0);\n if (v1) setEdgeEnd(edge, right, left, v1);\n cells[left.index].halfedges.push(index);\n cells[right.index].halfedges.push(index);\n return edge;\n}\n\nexport function createBorderEdge(left, v0, v1) {\n var edge = [v0, v1];\n edge.left = left;\n return edge;\n}\n\nexport function setEdgeEnd(edge, left, right, vertex) {\n if (!edge[0] && !edge[1]) {\n edge[0] = vertex;\n edge.left = left;\n edge.right = right;\n } else if (edge.left === right) {\n edge[1] = vertex;\n } else {\n edge[0] = vertex;\n }\n}\n\n// Liang–Barsky line clipping.\nfunction clipEdge(edge, x0, y0, x1, y1) {\n var a = edge[0],\n b = edge[1],\n ax = a[0],\n ay = a[1],\n bx = b[0],\n by = b[1],\n t0 = 0,\n t1 = 1,\n dx = bx - ax,\n dy = by - ay,\n r;\n\n r = x0 - ax;\n if (!dx && r > 0) return;\n r /= dx;\n if (dx < 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n } else if (dx > 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n }\n\n r = x1 - ax;\n if (!dx && r < 0) return;\n r /= dx;\n if (dx < 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n } else if (dx > 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n }\n\n r = y0 - ay;\n if (!dy && r > 0) return;\n r /= dy;\n if (dy < 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n } else if (dy > 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n }\n\n r = y1 - ay;\n if (!dy && r < 0) return;\n r /= dy;\n if (dy < 0) {\n if (r > t1) return;\n if (r > t0) t0 = r;\n } else if (dy > 0) {\n if (r < t0) return;\n if (r < t1) t1 = r;\n }\n\n if (!(t0 > 0) && !(t1 < 1)) return true; // TODO Better check?\n\n if (t0 > 0) edge[0] = [ax + t0 * dx, ay + t0 * dy];\n if (t1 < 1) edge[1] = [ax + t1 * dx, ay + t1 * dy];\n return true;\n}\n\nfunction connectEdge(edge, x0, y0, x1, y1) {\n var v1 = edge[1];\n if (v1) return true;\n\n var v0 = edge[0],\n left = edge.left,\n right = edge.right,\n lx = left[0],\n ly = left[1],\n rx = right[0],\n ry = right[1],\n fx = (lx + rx) / 2,\n fy = (ly + ry) / 2,\n fm,\n fb;\n\n if (ry === ly) {\n if (fx < x0 || fx >= x1) return;\n if (lx > rx) {\n if (!v0) v0 = [fx, y0];\n else if (v0[1] >= y1) return;\n v1 = [fx, y1];\n } else {\n if (!v0) v0 = [fx, y1];\n else if (v0[1] < y0) return;\n v1 = [fx, y0];\n }\n } else {\n fm = (lx - rx) / (ry - ly);\n fb = fy - fm * fx;\n if (fm < -1 || fm > 1) {\n if (lx > rx) {\n if (!v0) v0 = [(y0 - fb) / fm, y0];\n else if (v0[1] >= y1) return;\n v1 = [(y1 - fb) / fm, y1];\n } else {\n if (!v0) v0 = [(y1 - fb) / fm, y1];\n else if (v0[1] < y0) return;\n v1 = [(y0 - fb) / fm, y0];\n }\n } else {\n if (ly < ry) {\n if (!v0) v0 = [x0, fm * x0 + fb];\n else if (v0[0] >= x1) return;\n v1 = [x1, fm * x1 + fb];\n } else {\n if (!v0) v0 = [x1, fm * x1 + fb];\n else if (v0[0] < x0) return;\n v1 = [x0, fm * x0 + fb];\n }\n }\n }\n\n edge[0] = v0;\n edge[1] = v1;\n return true;\n}\n\nexport function clipEdges(x0, y0, x1, y1) {\n var i = edges.length,\n edge;\n\n while (i--) {\n if (!connectEdge(edge = edges[i], x0, y0, x1, y1)\n || !clipEdge(edge, x0, y0, x1, y1)\n || !(Math.abs(edge[0][0] - edge[1][0]) > epsilon\n || Math.abs(edge[0][1] - edge[1][1]) > epsilon)) {\n delete edges[i];\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Cell.js", "name": "./node_modules/d3-voronoi/src/Cell.js", "index": 515, "index2": 509, "size": 4087, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/Diagram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "profile": { "factory": 100, "building": 31 } } ], "profile": { "factory": 79, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony side effect evaluation", "userRequest": "./Cell", "loc": "2:0-71" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony side effect evaluation", "userRequest": "./Cell", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Cell", "loc": "49:2-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Cell", "loc": "57:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Cell", "loc": "76:60-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Cell", "loc": "116:2-12" } ], "usedExports": [ "sortCellHalfedges", "clipCells", "cellHalfedgeStart", "createCell" ], "providedExports": [ "createCell", "cellHalfedgeStart", "cellHalfedgeEnd", "sortCellHalfedges", "clipCells" ], "optimizationBailout": [], "depth": 6, "source": "import {createBorderEdge} from \"./Edge\";\nimport {cells, edges, epsilon} from \"./Diagram\";\n\nexport function createCell(site) {\n return cells[site.index] = {\n site: site,\n halfedges: []\n };\n}\n\nfunction cellHalfedgeAngle(cell, edge) {\n var site = cell.site,\n va = edge.left,\n vb = edge.right;\n if (site === vb) vb = va, va = site;\n if (vb) return Math.atan2(vb[1] - va[1], vb[0] - va[0]);\n if (site === va) va = edge[1], vb = edge[0];\n else va = edge[0], vb = edge[1];\n return Math.atan2(va[0] - vb[0], vb[1] - va[1]);\n}\n\nexport function cellHalfedgeStart(cell, edge) {\n return edge[+(edge.left !== cell.site)];\n}\n\nexport function cellHalfedgeEnd(cell, edge) {\n return edge[+(edge.left === cell.site)];\n}\n\nexport function sortCellHalfedges() {\n for (var i = 0, n = cells.length, cell, halfedges, j, m; i < n; ++i) {\n if ((cell = cells[i]) && (m = (halfedges = cell.halfedges).length)) {\n var index = new Array(m),\n array = new Array(m);\n for (j = 0; j < m; ++j) index[j] = j, array[j] = cellHalfedgeAngle(cell, edges[halfedges[j]]);\n index.sort(function(i, j) { return array[j] - array[i]; });\n for (j = 0; j < m; ++j) array[j] = halfedges[index[j]];\n for (j = 0; j < m; ++j) halfedges[j] = array[j];\n }\n }\n}\n\nexport function clipCells(x0, y0, x1, y1) {\n var nCells = cells.length,\n iCell,\n cell,\n site,\n iHalfedge,\n halfedges,\n nHalfedges,\n start,\n startX,\n startY,\n end,\n endX,\n endY,\n cover = true;\n\n for (iCell = 0; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n site = cell.site;\n halfedges = cell.halfedges;\n iHalfedge = halfedges.length;\n\n // Remove any dangling clipped edges.\n while (iHalfedge--) {\n if (!edges[halfedges[iHalfedge]]) {\n halfedges.splice(iHalfedge, 1);\n }\n }\n\n // Insert any border edges as necessary.\n iHalfedge = 0, nHalfedges = halfedges.length;\n while (iHalfedge < nHalfedges) {\n end = cellHalfedgeEnd(cell, edges[halfedges[iHalfedge]]), endX = end[0], endY = end[1];\n start = cellHalfedgeStart(cell, edges[halfedges[++iHalfedge % nHalfedges]]), startX = start[0], startY = start[1];\n if (Math.abs(endX - startX) > epsilon || Math.abs(endY - startY) > epsilon) {\n halfedges.splice(iHalfedge, 0, edges.push(createBorderEdge(site, end,\n Math.abs(endX - x0) < epsilon && y1 - endY > epsilon ? [x0, Math.abs(startX - x0) < epsilon ? startY : y1]\n : Math.abs(endY - y1) < epsilon && x1 - endX > epsilon ? [Math.abs(startY - y1) < epsilon ? startX : x1, y1]\n : Math.abs(endX - x1) < epsilon && endY - y0 > epsilon ? [x1, Math.abs(startX - x1) < epsilon ? startY : y0]\n : Math.abs(endY - y0) < epsilon && endX - x0 > epsilon ? [Math.abs(startY - y0) < epsilon ? startX : x0, y0]\n : null)) - 1);\n ++nHalfedges;\n }\n }\n\n if (nHalfedges) cover = false;\n }\n }\n\n // If there weren’t any edges, have the closest site cover the extent.\n // It doesn’t matter which corner of the extent we measure!\n if (cover) {\n var dx, dy, d2, dc = Infinity;\n\n for (iCell = 0, cover = null; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n site = cell.site;\n dx = site[0] - x0;\n dy = site[1] - y0;\n d2 = dx * dx + dy * dy;\n if (d2 < dc) dc = d2, cover = cell;\n }\n }\n\n if (cover) {\n var v00 = [x0, y0], v01 = [x0, y1], v11 = [x1, y1], v10 = [x1, y0];\n cover.halfedges.push(\n edges.push(createBorderEdge(site = cover.site, v00, v01)) - 1,\n edges.push(createBorderEdge(site, v01, v11)) - 1,\n edges.push(createBorderEdge(site, v11, v10)) - 1,\n edges.push(createBorderEdge(site, v10, v00)) - 1\n );\n }\n }\n\n // Lastly delete any cells with no edges; these were entirely clipped.\n for (iCell = 0; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n if (!cell.halfedges.length) {\n delete cells[iCell];\n }\n }\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Circle.js", "name": "./node_modules/d3-voronoi/src/Circle.js", "index": 517, "index2": 510, "size": 1632, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/Diagram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "profile": { "factory": 100, "building": 31 } } ], "profile": { "factory": 79, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony side effect evaluation", "userRequest": "./Circle", "loc": "3:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony side effect evaluation", "userRequest": "./Circle", "loc": "3:0-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "23:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "35:13-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "51:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "64:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "78:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "79:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "123:4-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "127:4-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "128:4-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "138:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "139:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "157:2-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "module": "./node_modules/d3-voronoi/src/Beach.js", "moduleName": "./node_modules/d3-voronoi/src/Beach.js", "type": "harmony import specifier", "userRequest": "./Circle", "loc": "158:2-14" } ], "usedExports": [ "firstCircle", "detachCircle", "attachCircle" ], "providedExports": [ "firstCircle", "attachCircle", "detachCircle" ], "optimizationBailout": [], "depth": 6, "source": "import {RedBlackNode} from \"./RedBlackTree\";\nimport {circles, epsilon2} from \"./Diagram\";\n\nvar circlePool = [];\n\nexport var firstCircle;\n\nfunction Circle() {\n RedBlackNode(this);\n this.x =\n this.y =\n this.arc =\n this.site =\n this.cy = null;\n}\n\nexport function attachCircle(arc) {\n var lArc = arc.P,\n rArc = arc.N;\n\n if (!lArc || !rArc) return;\n\n var lSite = lArc.site,\n cSite = arc.site,\n rSite = rArc.site;\n\n if (lSite === rSite) return;\n\n var bx = cSite[0],\n by = cSite[1],\n ax = lSite[0] - bx,\n ay = lSite[1] - by,\n cx = rSite[0] - bx,\n cy = rSite[1] - by;\n\n var d = 2 * (ax * cy - ay * cx);\n if (d >= -epsilon2) return;\n\n var ha = ax * ax + ay * ay,\n hc = cx * cx + cy * cy,\n x = (cy * ha - ay * hc) / d,\n y = (ax * hc - cx * ha) / d;\n\n var circle = circlePool.pop() || new Circle;\n circle.arc = arc;\n circle.site = cSite;\n circle.x = x + bx;\n circle.y = (circle.cy = y + by) + Math.sqrt(x * x + y * y); // y bottom\n\n arc.circle = circle;\n\n var before = null,\n node = circles._;\n\n while (node) {\n if (circle.y < node.y || (circle.y === node.y && circle.x <= node.x)) {\n if (node.L) node = node.L;\n else { before = node.P; break; }\n } else {\n if (node.R) node = node.R;\n else { before = node; break; }\n }\n }\n\n circles.insert(before, circle);\n if (!before) firstCircle = circle;\n}\n\nexport function detachCircle(arc) {\n var circle = arc.circle;\n if (circle) {\n if (!circle.P) firstCircle = circle.N;\n circles.remove(circle);\n circlePool.push(circle);\n RedBlackNode(circle);\n arc.circle = null;\n }\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Beach.js", "name": "./node_modules/d3-voronoi/src/Beach.js", "index": 513, "index2": 511, "size": 4381, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "issuerId": null, "issuerName": "./node_modules/d3-voronoi/src/Diagram.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3/index.js", "name": "./node_modules/d3/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/index.js", "name": "./node_modules/d3-voronoi/src/index.js", "profile": { "factory": 1934, "building": 39, "dependencies": 790 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/voronoi.js", "name": "./node_modules/d3-voronoi/src/voronoi.js", "profile": { "factory": 174, "building": 44 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "name": "./node_modules/d3-voronoi/src/Diagram.js", "profile": { "factory": 100, "building": 31 } } ], "profile": { "factory": 79, "building": 32, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony side effect evaluation", "userRequest": "./Beach", "loc": "1:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Beach", "loc": "38:8-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/d3-voronoi/src/Diagram.js", "module": "./node_modules/d3-voronoi/src/Diagram.js", "moduleName": "./node_modules/d3-voronoi/src/Diagram.js", "type": "harmony import specifier", "userRequest": "./Beach", "loc": "43:6-17" } ], "usedExports": [ "addBeach", "removeBeach" ], "providedExports": [ "removeBeach", "addBeach" ], "optimizationBailout": [], "depth": 6, "source": "import {RedBlackNode} from \"./RedBlackTree\";\nimport {createCell} from \"./Cell\";\nimport {attachCircle, detachCircle} from \"./Circle\";\nimport {createEdge, setEdgeEnd} from \"./Edge\";\nimport {beaches, epsilon} from \"./Diagram\";\n\nvar beachPool = [];\n\nfunction Beach() {\n RedBlackNode(this);\n this.edge =\n this.site =\n this.circle = null;\n}\n\nfunction createBeach(site) {\n var beach = beachPool.pop() || new Beach;\n beach.site = site;\n return beach;\n}\n\nfunction detachBeach(beach) {\n detachCircle(beach);\n beaches.remove(beach);\n beachPool.push(beach);\n RedBlackNode(beach);\n}\n\nexport function removeBeach(beach) {\n var circle = beach.circle,\n x = circle.x,\n y = circle.cy,\n vertex = [x, y],\n previous = beach.P,\n next = beach.N,\n disappearing = [beach];\n\n detachBeach(beach);\n\n var lArc = previous;\n while (lArc.circle\n && Math.abs(x - lArc.circle.x) < epsilon\n && Math.abs(y - lArc.circle.cy) < epsilon) {\n previous = lArc.P;\n disappearing.unshift(lArc);\n detachBeach(lArc);\n lArc = previous;\n }\n\n disappearing.unshift(lArc);\n detachCircle(lArc);\n\n var rArc = next;\n while (rArc.circle\n && Math.abs(x - rArc.circle.x) < epsilon\n && Math.abs(y - rArc.circle.cy) < epsilon) {\n next = rArc.N;\n disappearing.push(rArc);\n detachBeach(rArc);\n rArc = next;\n }\n\n disappearing.push(rArc);\n detachCircle(rArc);\n\n var nArcs = disappearing.length,\n iArc;\n for (iArc = 1; iArc < nArcs; ++iArc) {\n rArc = disappearing[iArc];\n lArc = disappearing[iArc - 1];\n setEdgeEnd(rArc.edge, lArc.site, rArc.site, vertex);\n }\n\n lArc = disappearing[0];\n rArc = disappearing[nArcs - 1];\n rArc.edge = createEdge(lArc.site, rArc.site, null, vertex);\n\n attachCircle(lArc);\n attachCircle(rArc);\n}\n\nexport function addBeach(site) {\n var x = site[0],\n directrix = site[1],\n lArc,\n rArc,\n dxl,\n dxr,\n node = beaches._;\n\n while (node) {\n dxl = leftBreakPoint(node, directrix) - x;\n if (dxl > epsilon) node = node.L; else {\n dxr = x - rightBreakPoint(node, directrix);\n if (dxr > epsilon) {\n if (!node.R) {\n lArc = node;\n break;\n }\n node = node.R;\n } else {\n if (dxl > -epsilon) {\n lArc = node.P;\n rArc = node;\n } else if (dxr > -epsilon) {\n lArc = node;\n rArc = node.N;\n } else {\n lArc = rArc = node;\n }\n break;\n }\n }\n }\n\n createCell(site);\n var newArc = createBeach(site);\n beaches.insert(lArc, newArc);\n\n if (!lArc && !rArc) return;\n\n if (lArc === rArc) {\n detachCircle(lArc);\n rArc = createBeach(lArc.site);\n beaches.insert(newArc, rArc);\n newArc.edge = rArc.edge = createEdge(lArc.site, newArc.site);\n attachCircle(lArc);\n attachCircle(rArc);\n return;\n }\n\n if (!rArc) { // && lArc\n newArc.edge = createEdge(lArc.site, newArc.site);\n return;\n }\n\n // else lArc !== rArc\n detachCircle(lArc);\n detachCircle(rArc);\n\n var lSite = lArc.site,\n ax = lSite[0],\n ay = lSite[1],\n bx = site[0] - ax,\n by = site[1] - ay,\n rSite = rArc.site,\n cx = rSite[0] - ax,\n cy = rSite[1] - ay,\n d = 2 * (bx * cy - by * cx),\n hb = bx * bx + by * by,\n hc = cx * cx + cy * cy,\n vertex = [(cy * hb - by * hc) / d + ax, (bx * hc - cx * hb) / d + ay];\n\n setEdgeEnd(rArc.edge, lSite, rSite, vertex);\n newArc.edge = createEdge(lSite, site, null, vertex);\n rArc.edge = createEdge(site, rSite, null, vertex);\n attachCircle(lArc);\n attachCircle(rArc);\n}\n\nfunction leftBreakPoint(arc, directrix) {\n var site = arc.site,\n rfocx = site[0],\n rfocy = site[1],\n pby2 = rfocy - directrix;\n\n if (!pby2) return rfocx;\n\n var lArc = arc.P;\n if (!lArc) return -Infinity;\n\n site = lArc.site;\n var lfocx = site[0],\n lfocy = site[1],\n plby2 = lfocy - directrix;\n\n if (!plby2) return lfocx;\n\n var hl = lfocx - rfocx,\n aby2 = 1 / pby2 - 1 / plby2,\n b = hl / plby2;\n\n if (aby2) return (-b + Math.sqrt(b * b - 2 * aby2 * (hl * hl / (-2 * plby2) - lfocy + plby2 / 2 + rfocy - pby2 / 2))) / aby2 + rfocx;\n\n return (rfocx + lfocx) / 2;\n}\n\nfunction rightBreakPoint(arc, directrix) {\n var rArc = arc.N;\n if (rArc) return leftBreakPoint(rArc, directrix);\n var site = arc.site;\n return site[1] === directrix ? site[0] : Infinity;\n}\n" } ], "filteredModules": 0 }, { "id": 1, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "name": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "index": 555, "index2": 553, "size": 32724, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/sequenceDiagram", "loc": "4:0-50" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "8:0-6" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/parser/sequenceDiagram", "loc": "26:0-72" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "84:12-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/parser/sequenceDiagram", "loc": "93:15-29" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:15-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:53-59" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:97-103" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "351:15-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "351:52-58" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "355:15-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "355:58-64" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "458:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "459:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "460:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "465:15-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "466:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "467:17-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "468:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "496:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "501:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "505:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "509:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "515:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "522:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "528:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "535:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "541:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "548:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "554:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "560:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "567:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "573:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "579:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:9-15" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:40-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:72-78" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:98-104" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:125-131" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:157-163" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "661:28-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "666:28-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "700:35-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "702:35-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "704:35-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "781:24-30" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "784:31-37" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:7-13" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:38-44" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:70-76" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:96-102" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:123-129" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:155-161" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "852:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "853:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "854:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "855:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "865:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "866:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "876:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "877:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "878:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "879:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "884:11-17" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "899:11-17" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,2],$V1=[1,3],$V2=[1,5],$V3=[1,7],$V4=[2,5],$V5=[1,15],$V6=[1,17],$V7=[1,18],$V8=[1,20],$V9=[1,21],$Va=[1,22],$Vb=[1,24],$Vc=[1,25],$Vd=[1,26],$Ve=[1,27],$Vf=[1,28],$Vg=[1,29],$Vh=[1,32],$Vi=[1,33],$Vj=[1,36],$Vk=[1,4,5,16,21,22,23,25,27,28,29,30,31,33,35,36,37,48,56],$Vl=[1,44],$Vm=[4,5,16,21,22,23,25,27,28,29,30,31,33,37,48,56],$Vn=[4,5,16,21,22,23,25,27,28,29,30,31,33,36,37,48,56],$Vo=[4,5,16,21,22,23,25,27,28,29,30,31,33,35,37,48,56],$Vp=[46,47,48],$Vq=[1,4,5,7,16,21,22,23,25,27,28,29,30,31,33,35,36,37,48,56];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"SPACE\":4,\"NL\":5,\"directive\":6,\"SD\":7,\"document\":8,\"line\":9,\"statement\":10,\"openDirective\":11,\"typeDirective\":12,\"closeDirective\":13,\":\":14,\"argDirective\":15,\"participant\":16,\"actor\":17,\"AS\":18,\"restOfLine\":19,\"signal\":20,\"autonumber\":21,\"activate\":22,\"deactivate\":23,\"note_statement\":24,\"title\":25,\"text2\":26,\"loop\":27,\"end\":28,\"rect\":29,\"opt\":30,\"alt\":31,\"else_sections\":32,\"par\":33,\"par_sections\":34,\"and\":35,\"else\":36,\"note\":37,\"placement\":38,\"over\":39,\"actor_pair\":40,\"spaceList\":41,\",\":42,\"left_of\":43,\"right_of\":44,\"signaltype\":45,\"+\":46,\"-\":47,\"ACTOR\":48,\"SOLID_OPEN_ARROW\":49,\"DOTTED_OPEN_ARROW\":50,\"SOLID_ARROW\":51,\"DOTTED_ARROW\":52,\"SOLID_CROSS\":53,\"DOTTED_CROSS\":54,\"TXT\":55,\"open_directive\":56,\"type_directive\":57,\"arg_directive\":58,\"close_directive\":59,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"SPACE\",5:\"NL\",7:\"SD\",14:\":\",16:\"participant\",18:\"AS\",19:\"restOfLine\",21:\"autonumber\",22:\"activate\",23:\"deactivate\",25:\"title\",27:\"loop\",28:\"end\",29:\"rect\",30:\"opt\",31:\"alt\",33:\"par\",35:\"and\",36:\"else\",37:\"note\",39:\"over\",42:\",\",43:\"left_of\",44:\"right_of\",46:\"+\",47:\"-\",48:\"ACTOR\",49:\"SOLID_OPEN_ARROW\",50:\"DOTTED_OPEN_ARROW\",51:\"SOLID_ARROW\",52:\"DOTTED_ARROW\",53:\"SOLID_CROSS\",54:\"DOTTED_CROSS\",55:\"TXT\",56:\"open_directive\",57:\"type_directive\",58:\"arg_directive\",59:\"close_directive\"},\nproductions_: [0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,2],[10,1],[10,3],[10,3],[10,2],[10,3],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[34,1],[34,4],[32,1],[32,4],[24,4],[24,4],[41,2],[41,1],[40,3],[40,1],[38,1],[38,1],[20,5],[20,5],[20,4],[17,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[26,1],[11,1],[12,1],[15,1],[13,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 4:\n yy.apply($$[$0]);return $$[$0]; \nbreak;\ncase 5:\n this.$ = [] \nbreak;\ncase 6:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 7: case 8:\n this.$ = $$[$0] \nbreak;\ncase 9:\n this.$=[]; \nbreak;\ncase 12:\n$$[$0-3].description=yy.parseMessage($$[$0-1]); this.$=$$[$0-3];\nbreak;\ncase 13:\nthis.$=$$[$0-1];\nbreak;\ncase 15:\nyy.enableSequenceNumbers()\nbreak;\ncase 16:\nthis.$={type: 'activeStart', signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0-1]};\nbreak;\ncase 17:\nthis.$={type: 'activeEnd', signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0-1]};\nbreak;\ncase 19:\nthis.$=[{type:'setTitle', text:$$[$0-1]}]\nbreak;\ncase 20:\n\n\t\t$$[$0-1].unshift({type: 'loopStart', loopText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.LOOP_START});\n\t\t$$[$0-1].push({type: 'loopEnd', loopText:$$[$0-2], signalType: yy.LINETYPE.LOOP_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 21:\n\n\t\t$$[$0-1].unshift({type: 'rectStart', color:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.RECT_START });\n\t\t$$[$0-1].push({type: 'rectEnd', color:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.RECT_END });\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 22:\n\n\t\t$$[$0-1].unshift({type: 'optStart', optText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.OPT_START});\n\t\t$$[$0-1].push({type: 'optEnd', optText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.OPT_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 23:\n\n\t\t// Alt start\n\t\t$$[$0-1].unshift({type: 'altStart', altText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.ALT_START});\n\t\t// Content in alt is already in $$[$0-1]\n\t\t// End\n\t\t$$[$0-1].push({type: 'altEnd', signalType: yy.LINETYPE.ALT_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 24:\n\n\t\t// Parallel start\n\t\t$$[$0-1].unshift({type: 'parStart', parText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.PAR_START});\n\t\t// Content in par is already in $$[$0-1]\n\t\t// End\n\t\t$$[$0-1].push({type: 'parEnd', signalType: yy.LINETYPE.PAR_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 27:\n this.$ = $$[$0-3].concat([{type: 'and', parText:yy.parseMessage($$[$0-1]), signalType: yy.LINETYPE.PAR_AND}, $$[$0]]); \nbreak;\ncase 29:\n this.$ = $$[$0-3].concat([{type: 'else', altText:yy.parseMessage($$[$0-1]), signalType: yy.LINETYPE.ALT_ELSE}, $$[$0]]); \nbreak;\ncase 30:\n\n\t\tthis.$ = [$$[$0-1], {type:'addNote', placement:$$[$0-2], actor:$$[$0-1].actor, text:$$[$0]}];\nbreak;\ncase 31:\n\n\t\t// Coerce actor_pair into a [to, from, ...] array\n\t\t$$[$0-2] = [].concat($$[$0-1], $$[$0-1]).slice(0, 2);\n\t\t$$[$0-2][0] = $$[$0-2][0].actor;\n\t\t$$[$0-2][1] = $$[$0-2][1].actor;\n\t\tthis.$ = [$$[$0-1], {type:'addNote', placement:yy.PLACEMENT.OVER, actor:$$[$0-2].slice(0, 2), text:$$[$0]}];\nbreak;\ncase 34:\n this.$ = [$$[$0-2], $$[$0]]; \nbreak;\ncase 35:\n this.$ = $$[$0]; \nbreak;\ncase 36:\n this.$ = yy.PLACEMENT.LEFTOF; \nbreak;\ncase 37:\n this.$ = yy.PLACEMENT.RIGHTOF; \nbreak;\ncase 38:\n this.$ = [$$[$0-4],$$[$0-1],{type: 'addMessage', from:$$[$0-4].actor, to:$$[$0-1].actor, signalType:$$[$0-3], msg:$$[$0]},\n\t {type: 'activeStart', signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0-1]}\n\t ]\nbreak;\ncase 39:\n this.$ = [$$[$0-4],$$[$0-1],{type: 'addMessage', from:$$[$0-4].actor, to:$$[$0-1].actor, signalType:$$[$0-3], msg:$$[$0]},\n\t {type: 'activeEnd', signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0-4]}\n\t ]\nbreak;\ncase 40:\n this.$ = [$$[$0-3],$$[$0-1],{type: 'addMessage', from:$$[$0-3].actor, to:$$[$0-1].actor, signalType:$$[$0-2], msg:$$[$0]}]\nbreak;\ncase 41:\nthis.$={type: 'addActor', actor:$$[$0]}\nbreak;\ncase 42:\n this.$ = yy.LINETYPE.SOLID_OPEN; \nbreak;\ncase 43:\n this.$ = yy.LINETYPE.DOTTED_OPEN; \nbreak;\ncase 44:\n this.$ = yy.LINETYPE.SOLID; \nbreak;\ncase 45:\n this.$ = yy.LINETYPE.DOTTED; \nbreak;\ncase 46:\n this.$ = yy.LINETYPE.SOLID_CROSS; \nbreak;\ncase 47:\n this.$ = yy.LINETYPE.DOTTED_CROSS; \nbreak;\ncase 48:\nthis.$ = yy.parseMessage($$[$0].trim().substring(1)) \nbreak;\ncase 49:\n yy.parseDirective('%%{', 'open_directive'); \nbreak;\ncase 50:\n yy.parseDirective($$[$0], 'type_directive'); \nbreak;\ncase 51:\n $$[$0] = $$[$0].trim().replace(/'/g, '\"'); yy.parseDirective($$[$0], 'arg_directive'); \nbreak;\ncase 52:\n yy.parseDirective('}%%', 'close_directive', 'sequence'); \nbreak;\n}\n},\ntable: [{3:1,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{1:[3]},{3:8,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{3:9,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{3:10,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},o([1,4,5,16,21,22,23,25,27,29,30,31,33,37,48,56],$V4,{8:11}),{12:12,57:[1,13]},{57:[2,49]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{13:34,14:[1,35],59:$Vj},o([14,59],[2,50]),o($Vk,[2,6]),{6:30,10:37,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},o($Vk,[2,8]),o($Vk,[2,9]),{17:38,48:$Vi},{5:[1,39]},o($Vk,[2,15]),{17:40,48:$Vi},{17:41,48:$Vi},{5:[1,42]},{26:43,55:$Vl},{19:[1,45]},{19:[1,46]},{19:[1,47]},{19:[1,48]},{19:[1,49]},o($Vk,[2,25]),{45:50,49:[1,51],50:[1,52],51:[1,53],52:[1,54],53:[1,55],54:[1,56]},{38:57,39:[1,58],43:[1,59],44:[1,60]},o([5,18,42,49,50,51,52,53,54,55],[2,41]),{5:[1,61]},{15:62,58:[1,63]},{5:[2,52]},o($Vk,[2,7]),{5:[1,65],18:[1,64]},o($Vk,[2,14]),{5:[1,66]},{5:[1,67]},o($Vk,[2,18]),{5:[1,68]},{5:[2,48]},o($Vm,$V4,{8:69}),o($Vm,$V4,{8:70}),o($Vm,$V4,{8:71}),o($Vn,$V4,{32:72,8:73}),o($Vo,$V4,{34:74,8:75}),{17:78,46:[1,76],47:[1,77],48:$Vi},o($Vp,[2,42]),o($Vp,[2,43]),o($Vp,[2,44]),o($Vp,[2,45]),o($Vp,[2,46]),o($Vp,[2,47]),{17:79,48:$Vi},{17:81,40:80,48:$Vi},{48:[2,36]},{48:[2,37]},o($Vq,[2,10]),{13:82,59:$Vj},{59:[2,51]},{19:[1,83]},o($Vk,[2,13]),o($Vk,[2,16]),o($Vk,[2,17]),o($Vk,[2,19]),{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,84],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,85],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,86],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{28:[1,87]},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[2,28],29:$Vd,30:$Ve,31:$Vf,33:$Vg,36:[1,88],37:$Vh,48:$Vi,56:$V3},{28:[1,89]},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[2,26],29:$Vd,30:$Ve,31:$Vf,33:$Vg,35:[1,90],37:$Vh,48:$Vi,56:$V3},{17:91,48:$Vi},{17:92,48:$Vi},{26:93,55:$Vl},{26:94,55:$Vl},{26:95,55:$Vl},{42:[1,96],55:[2,35]},{5:[1,97]},{5:[1,98]},o($Vk,[2,20]),o($Vk,[2,21]),o($Vk,[2,22]),o($Vk,[2,23]),{19:[1,99]},o($Vk,[2,24]),{19:[1,100]},{26:101,55:$Vl},{26:102,55:$Vl},{5:[2,40]},{5:[2,30]},{5:[2,31]},{17:103,48:$Vi},o($Vq,[2,11]),o($Vk,[2,12]),o($Vn,$V4,{8:73,32:104}),o($Vo,$V4,{8:75,34:105}),{5:[2,38]},{5:[2,39]},{55:[2,34]},{28:[2,29]},{28:[2,27]}],\ndefaultActions: {7:[2,49],8:[2,1],9:[2,2],10:[2,3],36:[2,52],44:[2,48],59:[2,36],60:[2,37],63:[2,51],93:[2,40],94:[2,30],95:[2,31],101:[2,38],102:[2,39],103:[2,34],104:[2,29],105:[2,27]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0: this.begin('OPEN_DIRECTIVE'); return 56; \nbreak;\ncase 1: this.begin('TYPE_DIRECTIVE'); return 57; \nbreak;\ncase 2: this.popState(); this.begin('ARG_DIRECTIVE'); return 14; \nbreak;\ncase 3: this.popState(); this.popState(); return 59; \nbreak;\ncase 4:return 58;\nbreak;\ncase 5:return 5;\nbreak;\ncase 6:/* skip all whitespace */\nbreak;\ncase 7:/* skip same-line whitespace */\nbreak;\ncase 8:/* skip comments */\nbreak;\ncase 9:/* skip comments */\nbreak;\ncase 10:/* skip comments */\nbreak;\ncase 11: this.begin('ID'); return 16; \nbreak;\ncase 12: yy_.yytext = yy_.yytext.trim(); this.begin('ALIAS'); return 48; \nbreak;\ncase 13: this.popState(); this.popState(); this.begin('LINE'); return 18; \nbreak;\ncase 14: this.popState(); this.popState(); return 5; \nbreak;\ncase 15: this.begin('LINE'); return 27; \nbreak;\ncase 16: this.begin('LINE'); return 29; \nbreak;\ncase 17: this.begin('LINE'); return 30; \nbreak;\ncase 18: this.begin('LINE'); return 31; \nbreak;\ncase 19: this.begin('LINE'); return 36; \nbreak;\ncase 20: this.begin('LINE'); return 33; \nbreak;\ncase 21: this.begin('LINE'); return 35; \nbreak;\ncase 22: this.popState(); return 19; \nbreak;\ncase 23:return 28;\nbreak;\ncase 24:return 43;\nbreak;\ncase 25:return 44;\nbreak;\ncase 26:return 39;\nbreak;\ncase 27:return 37;\nbreak;\ncase 28: this.begin('ID'); return 22; \nbreak;\ncase 29: this.begin('ID'); return 23; \nbreak;\ncase 30:return 25;\nbreak;\ncase 31:return 7;\nbreak;\ncase 32:return 21;\nbreak;\ncase 33:return 42;\nbreak;\ncase 34:return 5;\nbreak;\ncase 35: yy_.yytext = yy_.yytext.trim(); return 48; \nbreak;\ncase 36:return 51;\nbreak;\ncase 37:return 52;\nbreak;\ncase 38:return 49;\nbreak;\ncase 39:return 50;\nbreak;\ncase 40:return 53;\nbreak;\ncase 41:return 54;\nbreak;\ncase 42:return 55;\nbreak;\ncase 43:return 46;\nbreak;\ncase 44:return 47;\nbreak;\ncase 45:return 5;\nbreak;\ncase 46:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:%%\\{)/i,/^(?:((?:(?!\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\}%%)/i,/^(?:((?:(?!\\}%%).|\\n)*))/i,/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:((?!\\n)\\s)+)/i,/^(?:#[^\\n]*)/i,/^(?:%(?!\\{)[^\\n]*)/i,/^(?:[^\\}]%%[^\\n]*)/i,/^(?:participant\\b)/i,/^(?:[^\\->:\\n,;]+?(?=((?!\\n)\\s)+as(?!\\n)\\s|[#\\n;]|$))/i,/^(?:as\\b)/i,/^(?:(?:))/i,/^(?:loop\\b)/i,/^(?:rect\\b)/i,/^(?:opt\\b)/i,/^(?:alt\\b)/i,/^(?:else\\b)/i,/^(?:par\\b)/i,/^(?:and\\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\\n;]*)/i,/^(?:end\\b)/i,/^(?:left of\\b)/i,/^(?:right of\\b)/i,/^(?:over\\b)/i,/^(?:note\\b)/i,/^(?:activate\\b)/i,/^(?:deactivate\\b)/i,/^(?:title\\b)/i,/^(?:sequenceDiagram\\b)/i,/^(?:autonumber\\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\\+\\->:\\n,;]+)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?::(?:(?:no)?wrap)?[^#\\n;]+)/i,/^(?:\\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"LINE\":{\"rules\":[7,8,22],\"inclusive\":false},\"ARG_DIRECTIVE\":{\"rules\":[3,4,8],\"inclusive\":false},\"TYPE_DIRECTIVE\":{\"rules\":[2,3,8],\"inclusive\":false},\"OPEN_DIRECTIVE\":{\"rules\":[1,8],\"inclusive\":false},\"ALIAS\":{\"rules\":[7,8,13,14],\"inclusive\":false},\"ID\":{\"rules\":[7,8,12],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,5,6,8,9,10,11,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "index": 572, "index2": 783, "size": 1723, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 2701, "building": 33, "dependencies": 622 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 13, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/graphlib.js", "module": "./node_modules/dagre/lib/graphlib.js", "moduleName": "./node_modules/dagre/lib/graphlib.js", "type": "cjs require", "userRequest": "graphlib", "loc": "7:15-34" }, { "moduleId": 281, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/graphlib.js", "module": "./node_modules/dagre-d3/lib/graphlib.js", "moduleName": "./node_modules/dagre-d3/lib/graphlib.js", "type": "cjs require", "userRequest": "graphlib", "loc": "7:15-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "2:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "3:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "3:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "5:0-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "12:41-49" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "40:18-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "66:14-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "76:18-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "92:35-43" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "130:28-36" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "132:27-35" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "223:10-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "237:14-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "253:29-37" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "262:35-43" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "301:29-37" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "312:14-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "314:41-49" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "323:40-48" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "324:40-48" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "335:14-22" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "/**\n * Copyright (c) 2014, Chris Pettitt\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nvar lib = require(\"./lib\");\n\nmodule.exports = {\n Graph: lib.Graph,\n json: require(\"./lib/json\"),\n alg: require(\"./lib/alg\"),\n version: lib.version\n};\n" }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "index": 793, "index2": 830, "size": 1255, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/util.js", "module": "./node_modules/dagre/lib/util.js", "moduleName": "./node_modules/dagre/lib/util.js", "type": "cjs require", "userRequest": "./lodash", "loc": "5:8-27" }, { "moduleId": 62, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/util.js", "module": "./node_modules/dagre/lib/rank/util.js", "moduleName": "./node_modules/dagre/lib/rank/util.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 147, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/feasible-tree.js", "module": "./node_modules/dagre/lib/rank/feasible-tree.js", "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 315, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "module": "./node_modules/dagre/lib/acyclic.js", "moduleName": "./node_modules/dagre/lib/acyclic.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 316, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "module": "./node_modules/dagre/lib/greedy-fas.js", "moduleName": "./node_modules/dagre/lib/greedy-fas.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 318, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/normalize.js", "module": "./node_modules/dagre/lib/normalize.js", "moduleName": "./node_modules/dagre/lib/normalize.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 321, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/parent-dummy-chains.js", "module": "./node_modules/dagre/lib/parent-dummy-chains.js", "moduleName": "./node_modules/dagre/lib/parent-dummy-chains.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 322, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/nesting-graph.js", "module": "./node_modules/dagre/lib/nesting-graph.js", "moduleName": "./node_modules/dagre/lib/nesting-graph.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 323, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/add-border-segments.js", "module": "./node_modules/dagre/lib/add-border-segments.js", "moduleName": "./node_modules/dagre/lib/add-border-segments.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 324, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/coordinate-system.js", "module": "./node_modules/dagre/lib/coordinate-system.js", "moduleName": "./node_modules/dagre/lib/coordinate-system.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 326, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/init-order.js", "module": "./node_modules/dagre/lib/order/init-order.js", "moduleName": "./node_modules/dagre/lib/order/init-order.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 327, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/cross-count.js", "module": "./node_modules/dagre/lib/order/cross-count.js", "moduleName": "./node_modules/dagre/lib/order/cross-count.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 328, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "module": "./node_modules/dagre/lib/order/sort-subgraph.js", "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 329, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/barycenter.js", "module": "./node_modules/dagre/lib/order/barycenter.js", "moduleName": "./node_modules/dagre/lib/order/barycenter.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 330, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/resolve-conflicts.js", "module": "./node_modules/dagre/lib/order/resolve-conflicts.js", "moduleName": "./node_modules/dagre/lib/order/resolve-conflicts.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 331, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort.js", "module": "./node_modules/dagre/lib/order/sort.js", "moduleName": "./node_modules/dagre/lib/order/sort.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 332, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/build-layer-graph.js", "module": "./node_modules/dagre/lib/order/build-layer-graph.js", "moduleName": "./node_modules/dagre/lib/order/build-layer-graph.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 333, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/add-subgraph-constraints.js", "module": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", "moduleName": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 334, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "module": "./node_modules/dagre/lib/position/index.js", "moduleName": "./node_modules/dagre/lib/position/index.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 335, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/bk.js", "module": "./node_modules/dagre/lib/position/bk.js", "moduleName": "./node_modules/dagre/lib/position/bk.js", "type": "cjs require", "userRequest": "../lodash", "loc": "3:8-28" }, { "moduleId": 336, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/debug.js", "module": "./node_modules/dagre/lib/debug.js", "moduleName": "./node_modules/dagre/lib/debug.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n cloneDeep: require(\"lodash/cloneDeep\"),\n constant: require(\"lodash/constant\"),\n defaults: require(\"lodash/defaults\"),\n each: require(\"lodash/each\"),\n filter: require(\"lodash/filter\"),\n find: require(\"lodash/find\"),\n flatten: require(\"lodash/flatten\"),\n forEach: require(\"lodash/forEach\"),\n forIn: require(\"lodash/forIn\"),\n has: require(\"lodash/has\"),\n isUndefined: require(\"lodash/isUndefined\"),\n last: require(\"lodash/last\"),\n map: require(\"lodash/map\"),\n mapValues: require(\"lodash/mapValues\"),\n max: require(\"lodash/max\"),\n merge: require(\"lodash/merge\"),\n min: require(\"lodash/min\"),\n minBy: require(\"lodash/minBy\"),\n now: require(\"lodash/now\"),\n pick: require(\"lodash/pick\"),\n range: require(\"lodash/range\"),\n reduce: require(\"lodash/reduce\"),\n sortBy: require(\"lodash/sortBy\"),\n uniqueId: require(\"lodash/uniqueId\"),\n values: require(\"lodash/values\"),\n zipObject: require(\"lodash/zipObject\"),\n };\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n" }, { "id": 4, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArray.js", "name": "./node_modules/lodash/isArray.js", "index": 635, "index2": 623, "size": 488, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isArray", "loc": "13:15-40" }, { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "module": "./node_modules/lodash/_baseIteratee.js", "moduleName": "./node_modules/lodash/_baseIteratee.js", "type": "cjs require", "userRequest": "./isArray", "loc": "4:14-34" }, { "moduleId": 58, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "module": "./node_modules/lodash/_castPath.js", "moduleName": "./node_modules/lodash/_castPath.js", "type": "cjs require", "userRequest": "./isArray", "loc": "1:14-34" }, { "moduleId": 84, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isKey.js", "module": "./node_modules/lodash/_isKey.js", "moduleName": "./node_modules/lodash/_isKey.js", "type": "cjs require", "userRequest": "./isArray", "loc": "1:14-34" }, { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./isArray", "loc": "16:14-34" }, { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./isArray", "loc": "3:14-34" }, { "moduleId": 103, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetAllKeys.js", "module": "./node_modules/lodash/_baseGetAllKeys.js", "moduleName": "./node_modules/lodash/_baseGetAllKeys.js", "type": "cjs require", "userRequest": "./isArray", "loc": "2:14-34" }, { "moduleId": 109, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "module": "./node_modules/lodash/forEach.js", "moduleName": "./node_modules/lodash/forEach.js", "type": "cjs require", "userRequest": "./isArray", "loc": "4:14-34" }, { "moduleId": 111, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "module": "./node_modules/lodash/filter.js", "moduleName": "./node_modules/lodash/filter.js", "type": "cjs require", "userRequest": "./isArray", "loc": "4:14-34" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./isArray", "loc": "3:14-34" }, { "moduleId": 123, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "module": "./node_modules/lodash/map.js", "moduleName": "./node_modules/lodash/map.js", "type": "cjs require", "userRequest": "./isArray", "loc": "4:14-34" }, { "moduleId": 125, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "module": "./node_modules/lodash/reduce.js", "moduleName": "./node_modules/lodash/reduce.js", "type": "cjs require", "userRequest": "./isArray", "loc": "5:14-34" }, { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./isArray", "loc": "6:14-34" }, { "moduleId": 241, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseToString.js", "module": "./node_modules/lodash/_baseToString.js", "moduleName": "./node_modules/lodash/_baseToString.js", "type": "cjs require", "userRequest": "./isArray", "loc": "3:14-34" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./isArray", "loc": "4:14-34" }, { "moduleId": 250, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isString.js", "module": "./node_modules/lodash/isString.js", "moduleName": "./node_modules/lodash/isString.js", "type": "cjs require", "userRequest": "./isArray", "loc": "2:14-34" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./isArray", "loc": "6:14-34" }, { "moduleId": 257, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isFlattenable.js", "module": "./node_modules/lodash/_isFlattenable.js", "moduleName": "./node_modules/lodash/_isFlattenable.js", "type": "cjs require", "userRequest": "./isArray", "loc": "3:14-34" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isArray", "loc": "7:14-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n" }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "index": 787, "index2": 885, "size": 1374, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 2701, "building": 33, "dependencies": 622 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3", "loc": "1:0-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3", "loc": "6:0-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "23:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "56:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "84:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "109:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "134:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "159:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "184:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "212:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "224:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "267:11-18" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "282:14-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "349:15-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "357:4-11" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "/**\n * @license\n * Copyright (c) 2012-2013 Chris Pettitt\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nmodule.exports = {\n graphlib: require(\"./lib/graphlib\"),\n dagre: require(\"./lib/dagre\"),\n intersect: require(\"./lib/intersect\"),\n render: require(\"./lib/render\"),\n util: require(\"./lib/util\"),\n version: require(\"./lib/version\")\n};\n" }, { "id": 6, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/webpack/buildin/module.js", "name": "(webpack)/buildin/module.js", "index": 543, "index2": 538, "size": 497, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "issuerId": 18, "issuerName": "./node_modules/moment-mini/moment.min.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 18, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "name": "./node_modules/moment-mini/moment.min.js", "profile": { "factory": 1976, "building": 181 } } ], "profile": { "factory": 1415, "building": 30, "dependencies": 476 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 17, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "module": "./node_modules/moment-mini/moment.min.js", "moduleName": "./node_modules/moment-mini/moment.min.js", "type": "cjs require", "userRequest": "module", "loc": "1:0-41" }, { "moduleId": 22, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 23, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 24, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 34, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "module": "./node_modules/lodash/isBuffer.js", "moduleName": "./node_modules/lodash/isBuffer.js", "type": "cjs require", "userRequest": "module", "loc": "1:0-41" }, { "moduleId": 39, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 64, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 65, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 66, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 67, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 73, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nodeUtil.js", "module": "./node_modules/lodash/_nodeUtil.js", "moduleName": "./node_modules/lodash/_nodeUtil.js", "type": "cjs require", "userRequest": "module", "loc": "1:0-41" }, { "moduleId": 97, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneBuffer.js", "module": "./node_modules/lodash/_cloneBuffer.js", "moduleName": "./node_modules/lodash/_cloneBuffer.js", "type": "cjs require", "userRequest": "module", "loc": "1:0-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n" }, { "id": 7, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/util.js", "name": "./node_modules/dagre/lib/util.js", "index": 842, "index2": 834, "size": 5785, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "issuerId": 21, "issuerName": "./node_modules/dagre/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 98, "dependencies": 119 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/util", "loc": "29:10-31" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/util", "loc": "30:12-33" }, { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./util", "loc": "7:21-38" }, { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./util", "loc": "9:23-40" }, { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./util", "loc": "15:11-28" }, { "moduleId": 318, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/normalize.js", "module": "./node_modules/dagre/lib/normalize.js", "moduleName": "./node_modules/dagre/lib/normalize.js", "type": "cjs require", "userRequest": "./util", "loc": "4:11-28" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "../util", "loc": "9:15-33" }, { "moduleId": 322, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/nesting-graph.js", "module": "./node_modules/dagre/lib/nesting-graph.js", "moduleName": "./node_modules/dagre/lib/nesting-graph.js", "type": "cjs require", "userRequest": "./util", "loc": "2:11-28" }, { "moduleId": 323, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/add-border-segments.js", "module": "./node_modules/dagre/lib/add-border-segments.js", "moduleName": "./node_modules/dagre/lib/add-border-segments.js", "type": "cjs require", "userRequest": "./util", "loc": "2:11-28" }, { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "../util", "loc": "10:11-29" }, { "moduleId": 331, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort.js", "module": "./node_modules/dagre/lib/order/sort.js", "moduleName": "./node_modules/dagre/lib/order/sort.js", "type": "cjs require", "userRequest": "../util", "loc": "2:11-29" }, { "moduleId": 334, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "module": "./node_modules/dagre/lib/position/index.js", "moduleName": "./node_modules/dagre/lib/position/index.js", "type": "cjs require", "userRequest": "../util", "loc": "4:11-29" }, { "moduleId": 335, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/bk.js", "module": "./node_modules/dagre/lib/position/bk.js", "moduleName": "./node_modules/dagre/lib/position/bk.js", "type": "cjs require", "userRequest": "../util", "loc": "5:11-29" }, { "moduleId": 336, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/debug.js", "module": "./node_modules/dagre/lib/debug.js", "moduleName": "./node_modules/dagre/lib/debug.js", "type": "cjs require", "userRequest": "./util", "loc": "2:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "/* eslint \"no-console\": off */\n\n\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = {\n addDummyNode: addDummyNode,\n simplify: simplify,\n asNonCompoundGraph: asNonCompoundGraph,\n successorWeights: successorWeights,\n predecessorWeights: predecessorWeights,\n intersectRect: intersectRect,\n buildLayerMatrix: buildLayerMatrix,\n normalizeRanks: normalizeRanks,\n removeEmptyRanks: removeEmptyRanks,\n addBorderNode: addBorderNode,\n maxRank: maxRank,\n partition: partition,\n time: time,\n notime: notime\n};\n\n/*\n * Adds a dummy node to the graph and return v.\n */\nfunction addDummyNode(g, type, attrs, name) {\n var v;\n do {\n v = _.uniqueId(name);\n } while (g.hasNode(v));\n\n attrs.dummy = type;\n g.setNode(v, attrs);\n return v;\n}\n\n/*\n * Returns a new graph with only simple edges. Handles aggregation of data\n * associated with multi-edges.\n */\nfunction simplify(g) {\n var simplified = new Graph().setGraph(g.graph());\n _.forEach(g.nodes(), function(v) { simplified.setNode(v, g.node(v)); });\n _.forEach(g.edges(), function(e) {\n var simpleLabel = simplified.edge(e.v, e.w) || { weight: 0, minlen: 1 };\n var label = g.edge(e);\n simplified.setEdge(e.v, e.w, {\n weight: simpleLabel.weight + label.weight,\n minlen: Math.max(simpleLabel.minlen, label.minlen)\n });\n });\n return simplified;\n}\n\nfunction asNonCompoundGraph(g) {\n var simplified = new Graph({ multigraph: g.isMultigraph() }).setGraph(g.graph());\n _.forEach(g.nodes(), function(v) {\n if (!g.children(v).length) {\n simplified.setNode(v, g.node(v));\n }\n });\n _.forEach(g.edges(), function(e) {\n simplified.setEdge(e, g.edge(e));\n });\n return simplified;\n}\n\nfunction successorWeights(g) {\n var weightMap = _.map(g.nodes(), function(v) {\n var sucs = {};\n _.forEach(g.outEdges(v), function(e) {\n sucs[e.w] = (sucs[e.w] || 0) + g.edge(e).weight;\n });\n return sucs;\n });\n return _.zipObject(g.nodes(), weightMap);\n}\n\nfunction predecessorWeights(g) {\n var weightMap = _.map(g.nodes(), function(v) {\n var preds = {};\n _.forEach(g.inEdges(v), function(e) {\n preds[e.v] = (preds[e.v] || 0) + g.edge(e).weight;\n });\n return preds;\n });\n return _.zipObject(g.nodes(), weightMap);\n}\n\n/*\n * Finds where a line starting at point ({x, y}) would intersect a rectangle\n * ({x, y, width, height}) if it were pointing at the rectangle's center.\n */\nfunction intersectRect(rect, point) {\n var x = rect.x;\n var y = rect.y;\n\n // Rectangle intersection algorithm from:\n // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n var dx = point.x - x;\n var dy = point.y - y;\n var w = rect.width / 2;\n var h = rect.height / 2;\n\n if (!dx && !dy) {\n throw new Error(\"Not possible to find intersection inside of the rectangle\");\n }\n\n var sx, sy;\n if (Math.abs(dy) * w > Math.abs(dx) * h) {\n // Intersection is top or bottom of rect.\n if (dy < 0) {\n h = -h;\n }\n sx = h * dx / dy;\n sy = h;\n } else {\n // Intersection is left or right of rect.\n if (dx < 0) {\n w = -w;\n }\n sx = w;\n sy = w * dy / dx;\n }\n\n return { x: x + sx, y: y + sy };\n}\n\n/*\n * Given a DAG with each node assigned \"rank\" and \"order\" properties, this\n * function will produce a matrix with the ids of each node.\n */\nfunction buildLayerMatrix(g) {\n var layering = _.map(_.range(maxRank(g) + 1), function() { return []; });\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n var rank = node.rank;\n if (!_.isUndefined(rank)) {\n layering[rank][node.order] = v;\n }\n });\n return layering;\n}\n\n/*\n * Adjusts the ranks for all nodes in the graph such that all nodes v have\n * rank(v) >= 0 and at least one node w has rank(w) = 0.\n */\nfunction normalizeRanks(g) {\n var min = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (_.has(node, \"rank\")) {\n node.rank -= min;\n }\n });\n}\n\nfunction removeEmptyRanks(g) {\n // Ranks may not start at 0, so we need to offset them\n var offset = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));\n\n var layers = [];\n _.forEach(g.nodes(), function(v) {\n var rank = g.node(v).rank - offset;\n if (!layers[rank]) {\n layers[rank] = [];\n }\n layers[rank].push(v);\n });\n\n var delta = 0;\n var nodeRankFactor = g.graph().nodeRankFactor;\n _.forEach(layers, function(vs, i) {\n if (_.isUndefined(vs) && i % nodeRankFactor !== 0) {\n --delta;\n } else if (delta) {\n _.forEach(vs, function(v) { g.node(v).rank += delta; });\n }\n });\n}\n\nfunction addBorderNode(g, prefix, rank, order) {\n var node = {\n width: 0,\n height: 0\n };\n if (arguments.length >= 4) {\n node.rank = rank;\n node.order = order;\n }\n return addDummyNode(g, \"border\", node, prefix);\n}\n\nfunction maxRank(g) {\n return _.max(_.map(g.nodes(), function(v) {\n var rank = g.node(v).rank;\n if (!_.isUndefined(rank)) {\n return rank;\n }\n }));\n}\n\n/*\n * Partition a collection into two groups: `lhs` and `rhs`. If the supplied\n * function returns true for an entry it goes into `lhs`. Otherwise it goes\n * into `rhs.\n */\nfunction partition(collection, fn) {\n var result = { lhs: [], rhs: [] };\n _.forEach(collection, function(value) {\n if (fn(value)) {\n result.lhs.push(value);\n } else {\n result.rhs.push(value);\n }\n });\n return result;\n}\n\n/*\n * Returns a new function that wraps `fn` with a timer. The wrapper logs the\n * time it takes to execute the function.\n */\nfunction time(name, fn) {\n var start = _.now();\n try {\n return fn();\n } finally {\n console.log(name + \" time: \" + (_.now() - start) + \"ms\");\n }\n}\n\nfunction notime(name, fn) {\n return fn();\n}\n" }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "index": 575, "index2": 764, "size": 868, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "issuerId": 271, "issuerName": "./node_modules/graphlib/lib/json.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 106, "building": 76, "dependencies": 123 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 68, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/graph.js", "module": "./node_modules/graphlib/lib/graph.js", "moduleName": "./node_modules/graphlib/lib/graph.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 131, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra.js", "module": "./node_modules/graphlib/lib/alg/dijkstra.js", "moduleName": "./node_modules/graphlib/lib/alg/dijkstra.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 132, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/data/priority-queue.js", "module": "./node_modules/graphlib/lib/data/priority-queue.js", "moduleName": "./node_modules/graphlib/lib/data/priority-queue.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 133, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/tarjan.js", "module": "./node_modules/graphlib/lib/alg/tarjan.js", "moduleName": "./node_modules/graphlib/lib/alg/tarjan.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 134, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/topsort.js", "module": "./node_modules/graphlib/lib/alg/topsort.js", "moduleName": "./node_modules/graphlib/lib/alg/topsort.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 135, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dfs.js", "module": "./node_modules/graphlib/lib/alg/dfs.js", "moduleName": "./node_modules/graphlib/lib/alg/dfs.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 271, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "module": "./node_modules/graphlib/lib/json.js", "moduleName": "./node_modules/graphlib/lib/json.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 273, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/components.js", "module": "./node_modules/graphlib/lib/alg/components.js", "moduleName": "./node_modules/graphlib/lib/alg/components.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 274, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra-all.js", "module": "./node_modules/graphlib/lib/alg/dijkstra-all.js", "moduleName": "./node_modules/graphlib/lib/alg/dijkstra-all.js", "type": "cjs require", "userRequest": "../lodash", "loc": "2:8-28" }, { "moduleId": 275, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/find-cycles.js", "module": "./node_modules/graphlib/lib/alg/find-cycles.js", "moduleName": "./node_modules/graphlib/lib/alg/find-cycles.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 276, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/floyd-warshall.js", "module": "./node_modules/graphlib/lib/alg/floyd-warshall.js", "moduleName": "./node_modules/graphlib/lib/alg/floyd-warshall.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" }, { "moduleId": 280, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "module": "./node_modules/graphlib/lib/alg/prim.js", "moduleName": "./node_modules/graphlib/lib/alg/prim.js", "type": "cjs require", "userRequest": "../lodash", "loc": "1:8-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n clone: require(\"lodash/clone\"),\n constant: require(\"lodash/constant\"),\n each: require(\"lodash/each\"),\n filter: require(\"lodash/filter\"),\n has: require(\"lodash/has\"),\n isArray: require(\"lodash/isArray\"),\n isEmpty: require(\"lodash/isEmpty\"),\n isFunction: require(\"lodash/isFunction\"),\n isUndefined: require(\"lodash/isUndefined\"),\n keys: require(\"lodash/keys\"),\n map: require(\"lodash/map\"),\n reduce: require(\"lodash/reduce\"),\n size: require(\"lodash/size\"),\n transform: require(\"lodash/transform\"),\n union: require(\"lodash/union\"),\n values: require(\"lodash/values\")\n };\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n" }, { "id": 9, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isObject.js", "name": "./node_modules/lodash/isObject.js", "index": 603, "index2": 588, "size": 733, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isFunction.js", "issuerId": 32, "issuerName": "./node_modules/lodash/isFunction.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 32, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isFunction.js", "name": "./node_modules/lodash/isFunction.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 64, "building": 40 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 32, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isFunction.js", "module": "./node_modules/lodash/isFunction.js", "moduleName": "./node_modules/lodash/isFunction.js", "type": "cjs require", "userRequest": "./isObject", "loc": "2:15-36" }, { "moduleId": 61, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "module": "./node_modules/lodash/_isIterateeCall.js", "moduleName": "./node_modules/lodash/_isIterateeCall.js", "type": "cjs require", "userRequest": "./isObject", "loc": "4:15-36" }, { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./isObject", "loc": "19:15-36" }, { "moduleId": 108, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseCreate.js", "module": "./node_modules/lodash/_baseCreate.js", "moduleName": "./node_modules/lodash/_baseCreate.js", "type": "cjs require", "userRequest": "./isObject", "loc": "1:15-36" }, { "moduleId": 116, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isStrictComparable.js", "module": "./node_modules/lodash/_isStrictComparable.js", "moduleName": "./node_modules/lodash/_isStrictComparable.js", "type": "cjs require", "userRequest": "./isObject", "loc": "1:15-36" }, { "moduleId": 180, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "module": "./node_modules/lodash/_baseIsNative.js", "moduleName": "./node_modules/lodash/_baseIsNative.js", "type": "cjs require", "userRequest": "./isObject", "loc": "3:15-36" }, { "moduleId": 206, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "module": "./node_modules/lodash/_baseKeysIn.js", "moduleName": "./node_modules/lodash/_baseKeysIn.js", "type": "cjs require", "userRequest": "./isObject", "loc": "1:15-36" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./isObject", "loc": "9:15-36" }, { "moduleId": 288, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toNumber.js", "module": "./node_modules/lodash/toNumber.js", "moduleName": "./node_modules/lodash/toNumber.js", "type": "cjs require", "userRequest": "./isObject", "loc": "1:15-36" }, { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./isObject", "loc": "5:15-36" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isObject", "loc": "11:15-36" }, { "moduleId": 304, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "module": "./node_modules/lodash/_baseSet.js", "moduleName": "./node_modules/lodash/_baseSet.js", "type": "cjs require", "userRequest": "./isObject", "loc": "4:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n" }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "index": 877, "index2": 869, "size": 1124, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "issuerId": 44, "issuerName": "./node_modules/dagre-d3/lib/label/add-html-label.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 512, "building": 394 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/util", "loc": "28:8-29" }, { "moduleId": 44, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "module": "./node_modules/dagre-d3/lib/label/add-html-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-html-label.js", "type": "cjs require", "userRequest": "../util", "loc": "1:11-29" }, { "moduleId": 341, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-nodes.js", "module": "./node_modules/dagre-d3/lib/create-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/create-nodes.js", "type": "cjs require", "userRequest": "./util", "loc": "5:11-28" }, { "moduleId": 342, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-text-label.js", "module": "./node_modules/dagre-d3/lib/label/add-text-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-text-label.js", "type": "cjs require", "userRequest": "../util", "loc": "1:11-29" }, { "moduleId": 343, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-svg-label.js", "module": "./node_modules/dagre-d3/lib/label/add-svg-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-svg-label.js", "type": "cjs require", "userRequest": "../util", "loc": "1:11-29" }, { "moduleId": 344, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-clusters.js", "module": "./node_modules/dagre-d3/lib/create-clusters.js", "moduleName": "./node_modules/dagre-d3/lib/create-clusters.js", "type": "cjs require", "userRequest": "./util", "loc": "1:11-28" }, { "moduleId": 345, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "module": "./node_modules/dagre-d3/lib/create-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-labels.js", "type": "cjs require", "userRequest": "./util", "loc": "5:11-28" }, { "moduleId": 346, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-paths.js", "module": "./node_modules/dagre-d3/lib/create-edge-paths.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-paths.js", "type": "cjs require", "userRequest": "./util", "loc": "5:11-28" }, { "moduleId": 347, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-nodes.js", "module": "./node_modules/dagre-d3/lib/position-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/position-nodes.js", "type": "cjs require", "userRequest": "./util", "loc": "3:11-28" }, { "moduleId": 348, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-edge-labels.js", "module": "./node_modules/dagre-d3/lib/position-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/position-edge-labels.js", "type": "cjs require", "userRequest": "./util", "loc": "3:11-28" }, { "moduleId": 349, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-clusters.js", "module": "./node_modules/dagre-d3/lib/position-clusters.js", "moduleName": "./node_modules/dagre-d3/lib/position-clusters.js", "type": "cjs require", "userRequest": "./util", "loc": "3:11-28" }, { "moduleId": 351, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/arrows.js", "module": "./node_modules/dagre-d3/lib/arrows.js", "moduleName": "./node_modules/dagre-d3/lib/arrows.js", "type": "cjs require", "userRequest": "./util", "loc": "1:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "var _ = require(\"./lodash\");\n\n// Public utility functions\nmodule.exports = {\n isSubgraph: isSubgraph,\n edgeToId: edgeToId,\n applyStyle: applyStyle,\n applyClass: applyClass,\n applyTransition: applyTransition\n};\n\n/*\n * Returns true if the specified node in the graph is a subgraph node. A\n * subgraph node is one that contains other nodes.\n */\nfunction isSubgraph(g, v) {\n return !!g.children(v).length;\n}\n\nfunction edgeToId(e) {\n return escapeId(e.v) + \":\" + escapeId(e.w) + \":\" + escapeId(e.name);\n}\n\nvar ID_DELIM = /:/g;\nfunction escapeId(str) {\n return str ? String(str).replace(ID_DELIM, \"\\\\:\") : \"\";\n}\n\nfunction applyStyle(dom, styleFn) {\n if (styleFn) {\n dom.attr(\"style\", styleFn);\n }\n}\n\nfunction applyClass(dom, classFn, otherClasses) {\n if (classFn) {\n dom\n .attr(\"class\", classFn)\n .attr(\"class\", otherClasses + \" \" + dom.attr(\"class\"));\n }\n}\n\nfunction applyTransition(selection, g) {\n var graph = g.graph();\n\n if (_.isPlainObject(graph)) {\n var transition = graph.transition;\n if (_.isFunction(transition)) {\n return transition(selection);\n }\n }\n\n return selection;\n}\n" }, { "id": 11, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/process/browser.js", "name": "./node_modules/process/browser.js", "index": 548, "index2": 545, "size": 5418, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 22, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 22, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 704, "building": 367, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 15, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/path-browserify/index.js", "module": "./node_modules/path-browserify/index.js", "moduleName": "./node_modules/path-browserify/index.js", "type": "cjs require", "userRequest": "process", "loc": "1:0-34" }, { "moduleId": 17, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 22, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 23, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 24, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 39, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 64, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 65, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 66, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 67, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n" }, { "id": 12, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_root.js", "name": "./node_modules/lodash/_root.js", "index": 598, "index2": 583, "size": 300, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "issuerId": 301, "issuerName": "./node_modules/lodash/now.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 301, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "name": "./node_modules/lodash/now.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 76, "building": 25 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 33, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Symbol.js", "module": "./node_modules/lodash/_Symbol.js", "moduleName": "./node_modules/lodash/_Symbol.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" }, { "moduleId": 34, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "module": "./node_modules/lodash/isBuffer.js", "moduleName": "./node_modules/lodash/isBuffer.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" }, { "moduleId": 69, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Map.js", "module": "./node_modules/lodash/_Map.js", "moduleName": "./node_modules/lodash/_Map.js", "type": "cjs require", "userRequest": "./_root", "loc": "2:11-29" }, { "moduleId": 97, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneBuffer.js", "module": "./node_modules/lodash/_cloneBuffer.js", "moduleName": "./node_modules/lodash/_cloneBuffer.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" }, { "moduleId": 104, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Set.js", "module": "./node_modules/lodash/_Set.js", "moduleName": "./node_modules/lodash/_Set.js", "type": "cjs require", "userRequest": "./_root", "loc": "2:11-29" }, { "moduleId": 105, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Uint8Array.js", "module": "./node_modules/lodash/_Uint8Array.js", "moduleName": "./node_modules/lodash/_Uint8Array.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" }, { "moduleId": 185, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_coreJsData.js", "module": "./node_modules/lodash/_coreJsData.js", "moduleName": "./node_modules/lodash/_coreJsData.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" }, { "moduleId": 211, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_DataView.js", "module": "./node_modules/lodash/_DataView.js", "moduleName": "./node_modules/lodash/_DataView.js", "type": "cjs require", "userRequest": "./_root", "loc": "2:11-29" }, { "moduleId": 212, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Promise.js", "module": "./node_modules/lodash/_Promise.js", "moduleName": "./node_modules/lodash/_Promise.js", "type": "cjs require", "userRequest": "./_root", "loc": "2:11-29" }, { "moduleId": 213, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_WeakMap.js", "module": "./node_modules/lodash/_WeakMap.js", "moduleName": "./node_modules/lodash/_WeakMap.js", "type": "cjs require", "userRequest": "./_root", "loc": "2:11-29" }, { "moduleId": 301, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "module": "./node_modules/lodash/now.js", "moduleName": "./node_modules/lodash/now.js", "type": "cjs require", "userRequest": "./_root", "loc": "1:11-29" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n" }, { "id": 13, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/graphlib.js", "name": "./node_modules/dagre/lib/graphlib.js", "index": 791, "index2": 785, "size": 253, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "issuerId": 21, "issuerName": "./node_modules/dagre/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 98, "dependencies": 119 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 7, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/util.js", "module": "./node_modules/dagre/lib/util.js", "moduleName": "./node_modules/dagre/lib/util.js", "type": "cjs require", "userRequest": "./graphlib", "loc": "6:12-33" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/graphlib", "loc": "24:12-37" }, { "moduleId": 147, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/feasible-tree.js", "module": "./node_modules/dagre/lib/rank/feasible-tree.js", "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "4:12-34" }, { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./graphlib", "loc": "16:12-33" }, { "moduleId": 316, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "module": "./node_modules/dagre/lib/greedy-fas.js", "moduleName": "./node_modules/dagre/lib/greedy-fas.js", "type": "cjs require", "userRequest": "./graphlib", "loc": "2:12-33" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "7:15-37" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "8:16-38" }, { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "9:12-34" }, { "moduleId": 332, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/build-layer-graph.js", "module": "./node_modules/dagre/lib/order/build-layer-graph.js", "moduleName": "./node_modules/dagre/lib/order/build-layer-graph.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "2:12-34" }, { "moduleId": 335, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/bk.js", "module": "./node_modules/dagre/lib/position/bk.js", "moduleName": "./node_modules/dagre/lib/position/bk.js", "type": "cjs require", "userRequest": "../graphlib", "loc": "4:12-34" }, { "moduleId": 336, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/debug.js", "module": "./node_modules/dagre/lib/debug.js", "moduleName": "./node_modules/dagre/lib/debug.js", "type": "cjs require", "userRequest": "./graphlib", "loc": "3:12-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "/* global window */\n\nvar graphlib;\n\nif (typeof require === \"function\") {\n try {\n graphlib = require(\"graphlib\");\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!graphlib) {\n graphlib = window.graphlib;\n}\n\nmodule.exports = graphlib;\n" }, { "id": 14, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/node-libs-browser/mock/empty.js", "name": "./node_modules/node-libs-browser/mock/empty.js", "index": 549, "index2": 546, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 22, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 22, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 704, "building": 367, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "835:17-30" }, { "moduleId": 17, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "769:17-30" }, { "moduleId": 22, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "fs", "loc": "993:17-30" }, { "moduleId": 23, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "fs", "loc": "722:17-30" }, { "moduleId": 24, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "fs", "loc": "640:17-30" }, { "moduleId": 39, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "776:17-30" }, { "moduleId": 64, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "fs", "loc": "690:17-30" }, { "moduleId": 65, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "fs", "loc": "616:17-30" }, { "moduleId": 66, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "fs", "loc": "628:17-30" }, { "moduleId": 67, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "673:17-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "" }, { "id": 15, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/path-browserify/index.js", "name": "./node_modules/path-browserify/index.js", "index": 550, "index2": 547, "size": 8742, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 22, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 22, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 704, "building": 367, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "835:44-59" }, { "moduleId": 17, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "769:44-59" }, { "moduleId": 22, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "path", "loc": "993:44-59" }, { "moduleId": 23, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "path", "loc": "722:44-59" }, { "moduleId": 24, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "path", "loc": "640:44-59" }, { "moduleId": 39, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "776:44-59" }, { "moduleId": 64, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "path", "loc": "690:44-59" }, { "moduleId": 65, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "path", "loc": "616:44-59" }, { "moduleId": 66, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "path", "loc": "628:44-59" }, { "moduleId": 67, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "673:44-59" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,\n// backported and transplited with Babel, with backwards-compat fixes\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = parts.length - 1; i >= 0; i--) {\n var last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n var resolvedPath = '',\n resolvedAbsolute = false;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path = (i >= 0) ? arguments[i] : process.cwd();\n\n // Skip empty and invalid entries\n if (typeof path !== 'string') {\n throw new TypeError('Arguments to path.resolve must be strings');\n } else if (!path) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n return !!p;\n }), !resolvedAbsolute).join('/');\n\n return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n var isAbsolute = exports.isAbsolute(path),\n trailingSlash = substr(path, -1) === '/';\n\n // Normalize the path\n path = normalizeArray(filter(path.split('/'), function(p) {\n return !!p;\n }), !isAbsolute).join('/');\n\n if (!path && !isAbsolute) {\n path = '.';\n }\n if (path && trailingSlash) {\n path += '/';\n }\n\n return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n var paths = Array.prototype.slice.call(arguments, 0);\n return exports.normalize(filter(paths, function(p, index) {\n if (typeof p !== 'string') {\n throw new TypeError('Arguments to path.join must be strings');\n }\n return p;\n }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n from = exports.resolve(from).substr(1);\n to = exports.resolve(to).substr(1);\n\n function trim(arr) {\n var start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') break;\n }\n\n var end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') break;\n }\n\n if (start > end) return [];\n return arr.slice(start, end - start + 1);\n }\n\n var fromParts = trim(from.split('/'));\n var toParts = trim(to.split('/'));\n\n var length = Math.min(fromParts.length, toParts.length);\n var samePartsLength = length;\n for (var i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n var outputParts = [];\n for (var i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function (path) {\n if (typeof path !== 'string') path = path + '';\n if (path.length === 0) return '.';\n var code = path.charCodeAt(0);\n var hasRoot = code === 47 /*/*/;\n var end = -1;\n var matchedSlash = true;\n for (var i = path.length - 1; i >= 1; --i) {\n code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n if (!matchedSlash) {\n end = i;\n break;\n }\n } else {\n // We saw the first non-path separator\n matchedSlash = false;\n }\n }\n\n if (end === -1) return hasRoot ? '/' : '.';\n if (hasRoot && end === 1) {\n // return '//';\n // Backwards-compat fix:\n return '/';\n }\n return path.slice(0, end);\n};\n\nfunction basename(path) {\n if (typeof path !== 'string') path = path + '';\n\n var start = 0;\n var end = -1;\n var matchedSlash = true;\n var i;\n\n for (i = path.length - 1; i >= 0; --i) {\n if (path.charCodeAt(i) === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // path component\n matchedSlash = false;\n end = i + 1;\n }\n }\n\n if (end === -1) return '';\n return path.slice(start, end);\n}\n\n// Uses a mixed approach for backwards-compatibility, as ext behavior changed\n// in new Node.js versions, so only basename() above is backported here\nexports.basename = function (path, ext) {\n var f = basename(path);\n if (ext && f.substr(-1 * ext.length) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n return f;\n};\n\nexports.extname = function (path) {\n if (typeof path !== 'string') path = path + '';\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true;\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n var preDotState = 0;\n for (var i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n continue;\n }\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n if (code === 46 /*.*/) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1)\n startDot = i;\n else if (preDotState !== 1)\n preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 ||\n // We saw a non-dot character immediately before the dot\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n return '';\n }\n return path.slice(startDot, end);\n};\n\nfunction filter (xs, f) {\n if (xs.filter) return xs.filter(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n if (f(xs[i], i, xs)) res.push(xs[i]);\n }\n return res;\n}\n\n// String.prototype.substr - negative index don't work in IE8\nvar substr = 'ab'.substr(-1) === 'b'\n ? function (str, start, len) { return str.substr(start, len) }\n : function (str, start, len) {\n if (start < 0) start = str.length + start;\n return str.substr(start, len);\n }\n;\n" }, { "id": 16, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isObjectLike.js", "name": "./node_modules/lodash/isObjectLike.js", "index": 634, "index2": 620, "size": 614, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "issuerId": 141, "issuerName": "./node_modules/lodash/isPlainObject.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 67, "building": 39 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 37, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSymbol.js", "module": "./node_modules/lodash/isSymbol.js", "moduleName": "./node_modules/lodash/isSymbol.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 41, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArguments.js", "module": "./node_modules/lodash/isArguments.js", "moduleName": "./node_modules/lodash/isArguments.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 112, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "module": "./node_modules/lodash/_baseIsEqual.js", "moduleName": "./node_modules/lodash/_baseIsEqual.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 129, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArrayLikeObject.js", "module": "./node_modules/lodash/isArrayLikeObject.js", "moduleName": "./node_modules/lodash/isArrayLikeObject.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 141, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "module": "./node_modules/lodash/isPlainObject.js", "moduleName": "./node_modules/lodash/isPlainObject.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "3:19-44" }, { "moduleId": 201, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsArguments.js", "module": "./node_modules/lodash/_baseIsArguments.js", "moduleName": "./node_modules/lodash/_baseIsArguments.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 203, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsTypedArray.js", "module": "./node_modules/lodash/_baseIsTypedArray.js", "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "3:19-44" }, { "moduleId": 220, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMap.js", "module": "./node_modules/lodash/_baseIsMap.js", "moduleName": "./node_modules/lodash/_baseIsMap.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 222, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsSet.js", "module": "./node_modules/lodash/_baseIsSet.js", "moduleName": "./node_modules/lodash/_baseIsSet.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "2:19-44" }, { "moduleId": 250, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isString.js", "module": "./node_modules/lodash/isString.js", "moduleName": "./node_modules/lodash/isString.js", "type": "cjs require", "userRequest": "./isObjectLike", "loc": "3:19-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n" }, { "id": 17, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "name": "./src/diagrams/state/parser/stateDiagram.jison", "index": 561, "index2": 559, "size": 29755, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/stateDiagram", "loc": "4:0-42" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/stateDiagram", "loc": "7:0-47" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "11:0-6" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "25:15-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "33:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "34:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "36:0-63" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "108:15-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "113:15-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "217:15-20" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,2],$V1=[1,3],$V2=[1,4],$V3=[2,4],$V4=[1,9],$V5=[1,11],$V6=[1,13],$V7=[1,14],$V8=[1,15],$V9=[1,16],$Va=[1,21],$Vb=[1,17],$Vc=[1,18],$Vd=[1,19],$Ve=[1,20],$Vf=[1,22],$Vg=[1,4,5,13,14,16,18,19,21,22,23,24,25,28],$Vh=[1,4,5,11,12,13,14,16,18,19,21,22,23,24,25,28],$Vi=[4,5,13,14,16,18,19,21,22,23,24,25,28];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"SPACE\":4,\"NL\":5,\"SD\":6,\"document\":7,\"line\":8,\"statement\":9,\"idStatement\":10,\"DESCR\":11,\"-->\":12,\"HIDE_EMPTY\":13,\"scale\":14,\"WIDTH\":15,\"COMPOSIT_STATE\":16,\"STRUCT_START\":17,\"STRUCT_STOP\":18,\"STATE_DESCR\":19,\"AS\":20,\"ID\":21,\"FORK\":22,\"JOIN\":23,\"CONCURRENT\":24,\"note\":25,\"notePosition\":26,\"NOTE_TEXT\":27,\"EDGE_STATE\":28,\"left_of\":29,\"right_of\":30,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"SPACE\",5:\"NL\",6:\"SD\",11:\"DESCR\",12:\"-->\",13:\"HIDE_EMPTY\",14:\"scale\",15:\"WIDTH\",16:\"COMPOSIT_STATE\",17:\"STRUCT_START\",18:\"STRUCT_STOP\",19:\"STATE_DESCR\",20:\"AS\",21:\"ID\",22:\"FORK\",23:\"JOIN\",24:\"CONCURRENT\",25:\"note\",27:\"NOTE_TEXT\",28:\"EDGE_STATE\",29:\"left_of\",30:\"right_of\"},\nproductions_: [0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,4],[9,4],[10,1],[10,1],[26,1],[26,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 3:\n /*console.warn('Root document', $$[$0]);*/ yy.setRootDoc($$[$0]);return $$[$0]; \nbreak;\ncase 4:\n this.$ = [] \nbreak;\ncase 5:\n\n if($$[$0]!='nl'){\n $$[$0-1].push($$[$0]);this.$ = $$[$0-1]\n }\n // console.warn('Got document',$$[$0-1], $$[$0]);\n \nbreak;\ncase 6: case 7:\n this.$ = $$[$0] \nbreak;\ncase 8:\n this.$='nl';\nbreak;\ncase 9:\n /*console.warn('got id and descr', $$[$0]);*/this.$={ stmt: 'state', id: $$[$0], type: 'default', description: ''};\nbreak;\ncase 10:\n /*console.warn('got id and descr', $$[$0-1], $$[$0].trim());*/this.$={ stmt: 'state', id: $$[$0-1], type: 'default', description: yy.trimColon($$[$0])};\nbreak;\ncase 11:\n\n /*console.warn('got id', $$[$0-2]);yy.addRelation($$[$0-2], $$[$0]);*/\n this.$={ stmt: 'relation', state1: { stmt: 'state', id: $$[$0-2], type: 'default', description: '' }, state2:{ stmt: 'state', id: $$[$0] ,type: 'default', description: ''}};\n \nbreak;\ncase 12:\n\n /*yy.addRelation($$[$0-3], $$[$0-1], $$[$0].substr(1).trim());*/\n this.$={ stmt: 'relation', state1: { stmt: 'state', id: $$[$0-3], type: 'default', description: '' }, state2:{ stmt: 'state', id: $$[$0-1] ,type: 'default', description: ''}, description: $$[$0].substr(1).trim()};\n \nbreak;\ncase 16:\n\n\n /* console.warn('Adding document for state without id ', $$[$0-3]);*/\n this.$={ stmt: 'state', id: $$[$0-3], type: 'default', description: '', doc: $$[$0-1] }\n \nbreak;\ncase 17:\n\n var id=$$[$0];\n var description = $$[$0-2].trim();\n if($$[$0].match(':')){\n var parts = $$[$0].split(':');\n id=parts[0];\n description = [description, parts[1]];\n }\n this.$={stmt: 'state', id: id, type: 'default', description: description};\n\n \nbreak;\ncase 18:\n\n //console.warn('Adding document for state with id ', $$[$0-3], $$[$0-2]); yy.addDocument($$[$0-3]);\n this.$={ stmt: 'state', id: $$[$0-3], type: 'default', description: $$[$0-5], doc: $$[$0-1] }\n \nbreak;\ncase 19:\n\n this.$={ stmt: 'state', id: $$[$0], type: 'fork' }\n \nbreak;\ncase 20:\n\n this.$={ stmt: 'state', id: $$[$0], type: 'join' }\n \nbreak;\ncase 21:\n\n this.$={ stmt: 'state', id: yy.getDividerId(), type: 'divider' }\n \nbreak;\ncase 22:\n\n /*console.warn('got NOTE, position: ', $$[$0-2].trim(), 'id = ', $$[$0-1].trim(), 'note: ', $$[$0]);*/\n this.$={ stmt: 'state', id: $$[$0-1].trim(), note:{position: $$[$0-2].trim(), text: $$[$0].trim()}};\n \nbreak;\ncase 24: case 25:\nthis.$=$$[$0];\nbreak;\n}\n},\ntable: [{3:1,4:$V0,5:$V1,6:$V2},{1:[3]},{3:5,4:$V0,5:$V1,6:$V2},{3:6,4:$V0,5:$V1,6:$V2},o([1,4,5,13,14,16,19,21,22,23,24,25,28],$V3,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,5]),{9:23,10:12,13:$V6,14:$V7,16:$V8,19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,7]),o($Vg,[2,8]),o($Vg,[2,9],{11:[1,24],12:[1,25]}),o($Vg,[2,13]),{15:[1,26]},o($Vg,[2,15],{17:[1,27]}),{20:[1,28]},o($Vg,[2,19]),o($Vg,[2,20]),o($Vg,[2,21]),{26:29,27:[1,30],29:[1,31],30:[1,32]},o($Vh,[2,24]),o($Vh,[2,25]),o($Vg,[2,6]),o($Vg,[2,10]),{10:33,21:$Va,28:$Vf},o($Vg,[2,14]),o($Vi,$V3,{7:34}),{21:[1,35]},{21:[1,36]},{20:[1,37]},{21:[2,26]},{21:[2,27]},o($Vg,[2,11],{11:[1,38]}),{4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,18:[1,39],19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,17],{17:[1,40]}),{27:[1,41]},{21:[1,42]},o($Vg,[2,12]),o($Vg,[2,16]),o($Vi,$V3,{7:43}),o($Vg,[2,22]),o($Vg,[2,23]),{4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,18:[1,44],19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,18])],\ndefaultActions: {5:[2,1],6:[2,2],31:[2,26],32:[2,27]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 5;\nbreak;\ncase 1:/* skip all whitespace */\nbreak;\ncase 2:/* skip same-line whitespace */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:/* skip comments */\nbreak;\ncase 5: this.pushState('SCALE'); /* console.log('Got scale', yy_.yytext);*/ return 14; \nbreak;\ncase 6:return 15;\nbreak;\ncase 7:this.popState();\nbreak;\ncase 8: this.pushState('STATE'); \nbreak;\ncase 9:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim(); /*console.warn('Fork Fork: ',yy_.yytext);*/return 22;\nbreak;\ncase 10:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Join: ',yy_.yytext);*/return 23;\nbreak;\ncase 11:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Fork: ',yy_.yytext);*/return 22;\nbreak;\ncase 12:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Join: ',yy_.yytext);*/return 23;\nbreak;\ncase 13:this.begin(\"STATE_STRING\");\nbreak;\ncase 14:this.popState();this.pushState('STATE_ID');return \"AS\";\nbreak;\ncase 15:this.popState();/* console.log('STATE_ID', yy_.yytext);*/return \"ID\";\nbreak;\ncase 16:this.popState();\nbreak;\ncase 17: /*console.log('Long description:', yy_.yytext);*/return \"STATE_DESCR\";\nbreak;\ncase 18:/*console.log('COMPOSIT_STATE', yy_.yytext);*/return 16;\nbreak;\ncase 19:this.popState();\nbreak;\ncase 20:this.popState();this.pushState('struct'); /*console.log('begin struct', yy_.yytext);*/return 17;\nbreak;\ncase 21: /*console.log('Ending struct');*/ this.popState(); return 18;\nbreak;\ncase 22:/* nothing */\nbreak;\ncase 23: this.begin('NOTE'); return 25; \nbreak;\ncase 24: this.popState();this.pushState('NOTE_ID');return 29;\nbreak;\ncase 25: this.popState();this.pushState('NOTE_ID');return 30;\nbreak;\ncase 26: this.popState();this.pushState('FLOATING_NOTE');\nbreak;\ncase 27:this.popState();this.pushState('FLOATING_NOTE_ID');return \"AS\";\nbreak;\ncase 28:/**/\nbreak;\ncase 29: /*console.log('Floating note text: ', yy_.yytext);*/return \"NOTE_TEXT\";\nbreak;\ncase 30:this.popState();/*console.log('Floating note ID', yy_.yytext);*/return \"ID\";\nbreak;\ncase 31: this.popState();this.pushState('NOTE_TEXT');/*console.log('Got ID for note', yy_.yytext);*/return 21;\nbreak;\ncase 32: this.popState();/*console.log('Got NOTE_TEXT for note',yy_.yytext);*/yy_.yytext = yy_.yytext.substr(2).trim();return 27;\nbreak;\ncase 33: this.popState();/*console.log('Got NOTE_TEXT for note',yy_.yytext);*/yy_.yytext = yy_.yytext.slice(0,-8).trim();return 27;\nbreak;\ncase 34: /*console.log('Got state diagram', yy_.yytext,'#');*/return 6; \nbreak;\ncase 35: /*console.log('Got state diagram', yy_.yytext,'#');*/return 6; \nbreak;\ncase 36: /*console.log('HIDE_EMPTY', yy_.yytext,'#');*/return 13; \nbreak;\ncase 37: /*console.log('EDGE_STATE=',yy_.yytext);*/ return 28;\nbreak;\ncase 38: /*console.log('=>ID=',yy_.yytext);*/ return 21;\nbreak;\ncase 39: yy_.yytext = yy_.yytext.trim(); /*console.log('Descr = ', yy_.yytext);*/ return 11; \nbreak;\ncase 40:return 12;\nbreak;\ncase 41:return 24;\nbreak;\ncase 42:return 5;\nbreak;\ncase 43:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:((?!\\n)\\s)+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:scale\\s+)/i,/^(?:\\d+)/i,/^(?:\\s+width\\b)/i,/^(?:state\\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\\[\\[fork\\]\\])/i,/^(?:.*\\[\\[join\\]\\])/i,/^(?:[\"])/i,/^(?:\\s*as\\s+)/i,/^(?:[^\\n\\{]*)/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[^\\n\\s\\{]+)/i,/^(?:\\n)/i,/^(?:\\{)/i,/^(?:\\})/i,/^(?:[\\n])/i,/^(?:note\\s+)/i,/^(?:left of\\b)/i,/^(?:right of\\b)/i,/^(?:\")/i,/^(?:\\s*as\\s*)/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[^\\n]*)/i,/^(?:\\s*[^:\\n\\s\\-]+)/i,/^(?:\\s*:[^:\\n;]+)/i,/^(?:\\s*[^:;]+end note\\b)/i,/^(?:stateDiagram\\s+)/i,/^(?:stateDiagram-v2\\s+)/i,/^(?:hide empty description\\b)/i,/^(?:\\[\\*\\])/i,/^(?:[^:\\n\\s\\-\\{]+)/i,/^(?:\\s*:[^:\\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"LINE\":{\"rules\":[2,3],\"inclusive\":false},\"struct\":{\"rules\":[2,3,8,21,22,23,37,38,39,40,41],\"inclusive\":false},\"FLOATING_NOTE_ID\":{\"rules\":[30],\"inclusive\":false},\"FLOATING_NOTE\":{\"rules\":[27,28,29],\"inclusive\":false},\"NOTE_TEXT\":{\"rules\":[32,33],\"inclusive\":false},\"NOTE_ID\":{\"rules\":[31],\"inclusive\":false},\"NOTE\":{\"rules\":[24,25,26],\"inclusive\":false},\"SCALE\":{\"rules\":[6,7],\"inclusive\":false},\"ALIAS\":{\"rules\":[],\"inclusive\":false},\"STATE_ID\":{\"rules\":[15],\"inclusive\":false},\"STATE_STRING\":{\"rules\":[16,17],\"inclusive\":false},\"FORK_STATE\":{\"rules\":[],\"inclusive\":false},\"STATE\":{\"rules\":[2,3,9,10,11,12,13,14,18,19,20],\"inclusive\":false},\"ID\":{\"rules\":[2,3],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,3,4,5,8,20,23,34,35,36,37,38,39,40,42,43],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 18, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "name": "./node_modules/moment-mini/moment.min.js", "index": 542, "index2": 541, "size": 53324, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "issuerId": null, "issuerName": "./src/logger.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 1976, "building": 181 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "moment-mini", "loc": "1:0-33" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "moment-mini", "loc": "9:0-33" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "63:13-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "115:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "117:16-22" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "177:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "223:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "233:62-68" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "301:25-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "451:38-44" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){\"use strict\";var e,i;function c(){return e.apply(null,arguments)}function o(e){return e instanceof Array||\"[object Array]\"===Object.prototype.toString.call(e)}function u(e){return null!=e&&\"[object Object]\"===Object.prototype.toString.call(e)}function l(e){return void 0===e}function h(e){return\"number\"==typeof e||\"[object Number]\"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||\"[object Date]\"===Object.prototype.toString.call(e)}function f(e,t){var n,s=[];for(n=0;n>>0,s=0;sSe(e)?(r=e+1,o-Se(e)):(r=e,o),{year:r,dayOfYear:a}}function Ie(e,t,n){var s,i,r=Ve(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?s=a+Ae(i=e.year()-1,t,n):a>Ae(e.year(),t,n)?(s=a-Ae(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function Ae(e,t,n){var s=Ve(e,t,n),i=Ve(e+1,t,n);return(Se(e)-s+i)/7}I(\"w\",[\"ww\",2],\"wo\",\"week\"),I(\"W\",[\"WW\",2],\"Wo\",\"isoWeek\"),C(\"week\",\"w\"),C(\"isoWeek\",\"W\"),F(\"week\",5),F(\"isoWeek\",5),ue(\"w\",B),ue(\"ww\",B,z),ue(\"W\",B),ue(\"WW\",B,z),fe([\"w\",\"ww\",\"W\",\"WW\"],function(e,t,n,s){t[s.substr(0,1)]=D(e)});function je(e,t){return e.slice(t,7).concat(e.slice(0,t))}I(\"d\",0,\"do\",\"day\"),I(\"dd\",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),I(\"ddd\",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),I(\"dddd\",0,0,function(e){return this.localeData().weekdays(this,e)}),I(\"e\",0,0,\"weekday\"),I(\"E\",0,0,\"isoWeekday\"),C(\"day\",\"d\"),C(\"weekday\",\"e\"),C(\"isoWeekday\",\"E\"),F(\"day\",11),F(\"weekday\",11),F(\"isoWeekday\",11),ue(\"d\",B),ue(\"e\",B),ue(\"E\",B),ue(\"dd\",function(e,t){return t.weekdaysMinRegex(e)}),ue(\"ddd\",function(e,t){return t.weekdaysShortRegex(e)}),ue(\"dddd\",function(e,t){return t.weekdaysRegex(e)}),fe([\"dd\",\"ddd\",\"dddd\"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:g(n).invalidWeekday=e}),fe([\"d\",\"e\",\"E\"],function(e,t,n,s){t[s]=D(e)});var Ze=\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\");var ze=\"Sun_Mon_Tue_Wed_Thu_Fri_Sat\".split(\"_\");var $e=\"Su_Mo_Tu_We_Th_Fr_Sa\".split(\"_\");var qe=ae;var Je=ae;var Be=ae;function Qe(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=y([2e3,1]).day(t),s=this.weekdaysMin(n,\"\"),i=this.weekdaysShort(n,\"\"),r=this.weekdays(n,\"\"),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);for(a.sort(e),o.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)o[t]=he(o[t]),u[t]=he(u[t]),l[t]=he(l[t]);this._weekdaysRegex=new RegExp(\"^(\"+l.join(\"|\")+\")\",\"i\"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp(\"^(\"+u.join(\"|\")+\")\",\"i\"),this._weekdaysShortStrictRegex=new RegExp(\"^(\"+o.join(\"|\")+\")\",\"i\"),this._weekdaysMinStrictRegex=new RegExp(\"^(\"+a.join(\"|\")+\")\",\"i\")}function Xe(){return this.hours()%12||12}function Ke(e,t){I(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function et(e,t){return t._meridiemParse}I(\"H\",[\"HH\",2],0,\"hour\"),I(\"h\",[\"hh\",2],0,Xe),I(\"k\",[\"kk\",2],0,function(){return this.hours()||24}),I(\"hmm\",0,0,function(){return\"\"+Xe.apply(this)+L(this.minutes(),2)}),I(\"hmmss\",0,0,function(){return\"\"+Xe.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)}),I(\"Hmm\",0,0,function(){return\"\"+this.hours()+L(this.minutes(),2)}),I(\"Hmmss\",0,0,function(){return\"\"+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)}),Ke(\"a\",!0),Ke(\"A\",!1),C(\"hour\",\"h\"),F(\"hour\",13),ue(\"a\",et),ue(\"A\",et),ue(\"H\",B),ue(\"h\",B),ue(\"k\",B),ue(\"HH\",B,z),ue(\"hh\",B,z),ue(\"kk\",B,z),ue(\"hmm\",Q),ue(\"hmmss\",X),ue(\"Hmm\",Q),ue(\"Hmmss\",X),ce([\"H\",\"HH\"],ge),ce([\"k\",\"kk\"],function(e,t,n){var s=D(e);t[ge]=24===s?0:s}),ce([\"a\",\"A\"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ce([\"h\",\"hh\"],function(e,t,n){t[ge]=D(e),g(n).bigHour=!0}),ce(\"hmm\",function(e,t,n){var s=e.length-2;t[ge]=D(e.substr(0,s)),t[ve]=D(e.substr(s)),g(n).bigHour=!0}),ce(\"hmmss\",function(e,t,n){var s=e.length-4,i=e.length-2;t[ge]=D(e.substr(0,s)),t[ve]=D(e.substr(s,2)),t[pe]=D(e.substr(i)),g(n).bigHour=!0}),ce(\"Hmm\",function(e,t,n){var s=e.length-2;t[ge]=D(e.substr(0,s)),t[ve]=D(e.substr(s))}),ce(\"Hmmss\",function(e,t,n){var s=e.length-4,i=e.length-2;t[ge]=D(e.substr(0,s)),t[ve]=D(e.substr(s,2)),t[pe]=D(e.substr(i))});var tt,nt=Te(\"Hours\",!0),st={calendar:{sameDay:\"[Today at] LT\",nextDay:\"[Tomorrow at] LT\",nextWeek:\"dddd [at] LT\",lastDay:\"[Yesterday at] LT\",lastWeek:\"[Last] dddd [at] LT\",sameElse:\"L\"},longDateFormat:{LTS:\"h:mm:ss A\",LT:\"h:mm A\",L:\"MM/DD/YYYY\",LL:\"MMMM D, YYYY\",LLL:\"MMMM D, YYYY h:mm A\",LLLL:\"dddd, MMMM D, YYYY h:mm A\"},invalidDate:\"Invalid date\",ordinal:\"%d\",dayOfMonthOrdinalParse:/\\d{1,2}/,relativeTime:{future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",ss:\"%d seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"},months:Ce,monthsShort:He,week:{dow:0,doy:6},weekdays:Ze,weekdaysMin:$e,weekdaysShort:ze,meridiemParse:/[ap]\\.?m?\\.?/i},it={},rt={};function at(e){return e?e.toLowerCase().replace(\"_\",\"-\"):e}function ot(e){var t=null;if(!it[e]&&\"undefined\"!=typeof module&&module&&module.exports)try{t=tt._abbr,require(\"./locale/\"+e),ut(t)}catch(e){}return it[e]}function ut(e,t){var n;return e&&((n=l(t)?ht(e):lt(e,t))?tt=n:\"undefined\"!=typeof console&&console.warn&&console.warn(\"Locale \"+e+\" not found. Did you forget to load it?\")),tt._abbr}function lt(e,t){if(null===t)return delete it[e],null;var n,s=st;if(t.abbr=e,null!=it[e])T(\"defineLocaleOverride\",\"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.\"),s=it[e]._config;else if(null!=t.parentLocale)if(null!=it[t.parentLocale])s=it[t.parentLocale]._config;else{if(null==(n=ot(t.parentLocale)))return rt[t.parentLocale]||(rt[t.parentLocale]=[]),rt[t.parentLocale].push({name:e,config:t}),null;s=n._config}return it[e]=new P(x(s,t)),rt[e]&&rt[e].forEach(function(e){lt(e.name,e.config)}),ut(e),it[e]}function ht(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return tt;if(!o(e)){if(t=ot(e))return t;e=[e]}return function(e){for(var t,n,s,i,r=0;r=t&&a(i,n,!0)>=t-1)break;t--}r++}return tt}(e)}function dt(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[_e]<0||11Pe(n[me],n[_e])?ye:n[ge]<0||24Ae(n,r,a)?g(e)._overflowWeeks=!0:null!=u?g(e)._overflowWeekday=!0:(o=Ee(n,s,i,r,a),e._a[me]=o.year,e._dayOfYear=o.dayOfYear)}(e),null!=e._dayOfYear&&(r=ct(e._a[me],s[me]),(e._dayOfYear>Se(r)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=Ge(r,0,e._dayOfYear),e._a[_e]=n.getUTCMonth(),e._a[ye]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=s[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ge]&&0===e._a[ve]&&0===e._a[pe]&&0===e._a[we]&&(e._nextDay=!0,e._a[ge]=0),e._d=(e._useUTC?Ge:function(e,t,n,s,i,r,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}).apply(null,a),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ge]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}var mt=/^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,_t=/^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([\\+\\-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,yt=/Z|[+-]\\d\\d(?::?\\d\\d)?/,gt=[[\"YYYYYY-MM-DD\",/[+-]\\d{6}-\\d\\d-\\d\\d/],[\"YYYY-MM-DD\",/\\d{4}-\\d\\d-\\d\\d/],[\"GGGG-[W]WW-E\",/\\d{4}-W\\d\\d-\\d/],[\"GGGG-[W]WW\",/\\d{4}-W\\d\\d/,!1],[\"YYYY-DDD\",/\\d{4}-\\d{3}/],[\"YYYY-MM\",/\\d{4}-\\d\\d/,!1],[\"YYYYYYMMDD\",/[+-]\\d{10}/],[\"YYYYMMDD\",/\\d{8}/],[\"GGGG[W]WWE\",/\\d{4}W\\d{3}/],[\"GGGG[W]WW\",/\\d{4}W\\d{2}/,!1],[\"YYYYDDD\",/\\d{7}/]],vt=[[\"HH:mm:ss.SSSS\",/\\d\\d:\\d\\d:\\d\\d\\.\\d+/],[\"HH:mm:ss,SSSS\",/\\d\\d:\\d\\d:\\d\\d,\\d+/],[\"HH:mm:ss\",/\\d\\d:\\d\\d:\\d\\d/],[\"HH:mm\",/\\d\\d:\\d\\d/],[\"HHmmss.SSSS\",/\\d\\d\\d\\d\\d\\d\\.\\d+/],[\"HHmmss,SSSS\",/\\d\\d\\d\\d\\d\\d,\\d+/],[\"HHmmss\",/\\d\\d\\d\\d\\d\\d/],[\"HHmm\",/\\d\\d\\d\\d/],[\"HH\",/\\d\\d/]],pt=/^\\/?Date\\((\\-?\\d+)/i;function wt(e){var t,n,s,i,r,a,o=e._i,u=mt.exec(o)||_t.exec(o);if(u){for(g(e).iso=!0,t=0,n=gt.length;tn.valueOf():n.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},mn.isLocal=function(){return!!this.isValid()&&!this._isUTC},mn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},mn.isUtc=Et,mn.isUTC=Et,mn.zoneAbbr=function(){return this._isUTC?\"UTC\":\"\"},mn.zoneName=function(){return this._isUTC?\"Coordinated Universal Time\":\"\"},mn.dates=n(\"dates accessor is deprecated. Use date instead.\",un),mn.months=n(\"months accessor is deprecated. Use month instead\",Ue),mn.years=n(\"years accessor is deprecated. Use year instead\",Oe),mn.zone=n(\"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/\",function(e,t){return null!=e?(\"string\"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),mn.isDSTShifted=n(\"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information\",function(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e={};if(w(e,this),(e=Ot(e))._a){var t=e._isUTC?y(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&0 true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n" }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "index": 697, "index2": 725, "size": 895, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "issuerId": 125, "issuerName": "./node_modules/lodash/reduce.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 83, "building": 25, "dependencies": 4 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 111, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "module": "./node_modules/lodash/filter.js", "moduleName": "./node_modules/lodash/filter.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "3:19-45" }, { "moduleId": 123, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "module": "./node_modules/lodash/map.js", "moduleName": "./node_modules/lodash/map.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "2:19-45" }, { "moduleId": 125, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "module": "./node_modules/lodash/reduce.js", "moduleName": "./node_modules/lodash/reduce.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "3:19-45" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "4:19-45" }, { "moduleId": 285, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createFind.js", "module": "./node_modules/lodash/_createFind.js", "moduleName": "./node_modules/lodash/_createFind.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "1:19-45" }, { "moduleId": 286, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "module": "./node_modules/lodash/findIndex.js", "moduleName": "./node_modules/lodash/findIndex.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "2:19-45" }, { "moduleId": 291, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "module": "./node_modules/lodash/mapValues.js", "moduleName": "./node_modules/lodash/mapValues.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "3:19-45" }, { "moduleId": 300, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "module": "./node_modules/lodash/minBy.js", "moduleName": "./node_modules/lodash/minBy.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "2:19-45" }, { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_baseIteratee", "loc": "2:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n" }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "index": 790, "index2": 858, "size": 1329, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/class/classRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1912, "building": 395, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 136, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/dagre.js", "module": "./node_modules/dagre-d3/lib/dagre.js", "moduleName": "./node_modules/dagre-d3/lib/dagre.js", "type": "cjs require", "userRequest": "dagre", "loc": "7:12-28" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "1:0-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "2:0-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "2:0-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "5:0-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "91:2-7" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "98:2-7" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "201:2-7" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "243:2-7" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "/*\nCopyright (c) 2012-2014 Chris Pettitt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*/\n\nmodule.exports = {\n graphlib: require(\"./lib/graphlib\"),\n\n layout: require(\"./lib/layout\"),\n debug: require(\"./lib/debug\"),\n util: {\n time: require(\"./lib/util\").time,\n notime: require(\"./lib/util\").notime\n },\n version: require(\"./lib/version\")\n};\n" }, { "id": 22, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "index": 554, "index2": 552, "size": 57072, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/flow", "loc": "4:0-33" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/flow", "loc": "4:0-33" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "23:0-58" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "82:15-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "88:15-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "275:17-21" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "293:15-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "295:15-19" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "316:15-19" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,4],$V1=[1,3],$V2=[1,5],$V3=[1,8,9,10,11,26,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$V4=[2,2],$V5=[1,12],$V6=[1,13],$V7=[1,14],$V8=[1,15],$V9=[1,22],$Va=[1,46],$Vb=[1,24],$Vc=[1,25],$Vd=[1,26],$Ve=[1,27],$Vf=[1,28],$Vg=[1,40],$Vh=[1,35],$Vi=[1,37],$Vj=[1,32],$Vk=[1,36],$Vl=[1,39],$Vm=[1,43],$Vn=[1,44],$Vo=[1,45],$Vp=[1,34],$Vq=[1,38],$Vr=[1,41],$Vs=[1,42],$Vt=[1,33],$Vu=[1,51],$Vv=[1,8,9,10,11,26,30,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Vw=[1,55],$Vx=[1,54],$Vy=[1,56],$Vz=[8,9,11,57,58],$VA=[8,9,10,11,57,58],$VB=[8,9,10,11,35,57,58],$VC=[8,9,10,11,28,34,35,37,39,41,43,45,47,49,50,52,57,58,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VD=[8,9,11,34,57,58,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VE=[34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VF=[1,101],$VG=[1,122],$VH=[1,123],$VI=[1,124],$VJ=[1,125],$VK=[1,105],$VL=[1,96],$VM=[1,97],$VN=[1,93],$VO=[1,117],$VP=[1,118],$VQ=[1,119],$VR=[1,120],$VS=[1,121],$VT=[1,126],$VU=[1,127],$VV=[1,99],$VW=[1,107],$VX=[1,110],$VY=[1,108],$VZ=[1,109],$V_=[1,102],$V$=[1,115],$V01=[1,114],$V11=[1,98],$V21=[1,95],$V31=[1,104],$V41=[1,106],$V51=[1,111],$V61=[1,112],$V71=[1,113],$V81=[1,116],$V91=[8,9,10,11,26,30,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Va1=[1,130],$Vb1=[1,134],$Vc1=[1,136],$Vd1=[1,137],$Ve1=[8,9,10,11,12,13,26,28,29,30,34,38,40,42,44,46,48,49,51,53,57,58,59,63,64,65,66,67,68,69,72,78,79,82,83,84,86,87,88,89,93,94,95,96,97,98],$Vf1=[8,9,10,11,13,34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Vg1=[10,79],$Vh1=[1,204],$Vi1=[1,208],$Vj1=[1,205],$Vk1=[1,202],$Vl1=[1,199],$Vm1=[1,200],$Vn1=[1,201],$Vo1=[1,203],$Vp1=[1,206],$Vq1=[1,207],$Vr1=[1,209],$Vs1=[8,9,11],$Vt1=[1,225],$Vu1=[8,9,11,79],$Vv1=[8,9,10,11,63,75,78,79,82,83,84,85,86,87,88];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"mermaidDoc\":3,\"graphConfig\":4,\"document\":5,\"line\":6,\"statement\":7,\"SEMI\":8,\"NEWLINE\":9,\"SPACE\":10,\"EOF\":11,\"GRAPH\":12,\"DIR\":13,\"FirstStmtSeperator\":14,\"ending\":15,\"endToken\":16,\"spaceList\":17,\"spaceListNewline\":18,\"verticeStatement\":19,\"separator\":20,\"styleStatement\":21,\"linkStyleStatement\":22,\"classDefStatement\":23,\"classStatement\":24,\"clickStatement\":25,\"subgraph\":26,\"text\":27,\"SQS\":28,\"SQE\":29,\"end\":30,\"link\":31,\"node\":32,\"vertex\":33,\"AMP\":34,\"STYLE_SEPARATOR\":35,\"idString\":36,\"PS\":37,\"PE\":38,\"(-\":39,\"-)\":40,\"STADIUMSTART\":41,\"STADIUMEND\":42,\"SUBROUTINESTART\":43,\"SUBROUTINEEND\":44,\"CYLINDERSTART\":45,\"CYLINDEREND\":46,\"DIAMOND_START\":47,\"DIAMOND_STOP\":48,\"TAGEND\":49,\"TRAPSTART\":50,\"TRAPEND\":51,\"INVTRAPSTART\":52,\"INVTRAPEND\":53,\"linkStatement\":54,\"arrowText\":55,\"TESTSTR\":56,\"START_LINK\":57,\"LINK\":58,\"PIPE\":59,\"textToken\":60,\"STR\":61,\"keywords\":62,\"STYLE\":63,\"LINKSTYLE\":64,\"CLASSDEF\":65,\"CLASS\":66,\"CLICK\":67,\"DOWN\":68,\"UP\":69,\"textNoTags\":70,\"textNoTagsToken\":71,\"DEFAULT\":72,\"stylesOpt\":73,\"alphaNum\":74,\"HEX\":75,\"numList\":76,\"INTERPOLATE\":77,\"NUM\":78,\"COMMA\":79,\"style\":80,\"styleComponent\":81,\"ALPHA\":82,\"COLON\":83,\"MINUS\":84,\"UNIT\":85,\"BRKT\":86,\"DOT\":87,\"PCT\":88,\"TAGSTART\":89,\"alphaNumToken\":90,\"idStringToken\":91,\"alphaNumStatement\":92,\"PUNCTUATION\":93,\"UNICODE_TEXT\":94,\"PLUS\":95,\"EQUALS\":96,\"MULT\":97,\"UNDERSCORE\":98,\"graphCodeTokens\":99,\"ARROW_CROSS\":100,\"ARROW_POINT\":101,\"ARROW_CIRCLE\":102,\"ARROW_OPEN\":103,\"QUOTE\":104,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",8:\"SEMI\",9:\"NEWLINE\",10:\"SPACE\",11:\"EOF\",12:\"GRAPH\",13:\"DIR\",26:\"subgraph\",28:\"SQS\",29:\"SQE\",30:\"end\",34:\"AMP\",35:\"STYLE_SEPARATOR\",37:\"PS\",38:\"PE\",39:\"(-\",40:\"-)\",41:\"STADIUMSTART\",42:\"STADIUMEND\",43:\"SUBROUTINESTART\",44:\"SUBROUTINEEND\",45:\"CYLINDERSTART\",46:\"CYLINDEREND\",47:\"DIAMOND_START\",48:\"DIAMOND_STOP\",49:\"TAGEND\",50:\"TRAPSTART\",51:\"TRAPEND\",52:\"INVTRAPSTART\",53:\"INVTRAPEND\",56:\"TESTSTR\",57:\"START_LINK\",58:\"LINK\",59:\"PIPE\",61:\"STR\",63:\"STYLE\",64:\"LINKSTYLE\",65:\"CLASSDEF\",66:\"CLASS\",67:\"CLICK\",68:\"DOWN\",69:\"UP\",72:\"DEFAULT\",75:\"HEX\",77:\"INTERPOLATE\",78:\"NUM\",79:\"COMMA\",82:\"ALPHA\",83:\"COLON\",84:\"MINUS\",85:\"UNIT\",86:\"BRKT\",87:\"DOT\",88:\"PCT\",89:\"TAGSTART\",93:\"PUNCTUATION\",94:\"UNICODE_TEXT\",95:\"PLUS\",96:\"EQUALS\",97:\"MULT\",98:\"UNDERSCORE\",100:\"ARROW_CROSS\",101:\"ARROW_POINT\",102:\"ARROW_CIRCLE\",103:\"ARROW_OPEN\",104:\"QUOTE\"},\nproductions_: [0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,3],[15,2],[15,1],[16,1],[16,1],[16,1],[14,1],[14,1],[14,2],[18,2],[18,2],[18,1],[18,1],[17,2],[17,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[20,1],[20,1],[20,1],[19,3],[19,4],[19,2],[19,1],[32,1],[32,5],[32,3],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,1],[31,2],[31,3],[31,3],[31,1],[31,3],[54,1],[55,3],[27,1],[27,2],[27,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[70,1],[70,2],[23,5],[23,5],[24,5],[25,5],[25,7],[25,5],[25,7],[21,5],[21,5],[22,5],[22,5],[22,9],[22,9],[22,7],[22,7],[76,1],[76,3],[73,1],[73,3],[80,1],[80,2],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[71,1],[71,1],[71,1],[71,1],[36,1],[36,2],[74,1],[74,2],[92,1],[92,1],[92,1],[92,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 2:\n this.$ = [];\nbreak;\ncase 3:\n\n\t if($$[$0] !== []){\n\t $$[$0-1].push($$[$0]);\n\t }\n\t this.$=$$[$0-1];\nbreak;\ncase 4: case 67: case 69: case 81: case 127: case 129: case 130:\nthis.$=$$[$0];\nbreak;\ncase 11:\n yy.setDirection($$[$0-1]);this.$ = $$[$0-1];\nbreak;\ncase 26:\n /* console.warn('finat vs', $$[$0-1].nodes); */ this.$=$$[$0-1].nodes\nbreak;\ncase 27: case 28: case 29: case 30: case 31:\nthis.$=[];\nbreak;\ncase 32:\nthis.$=yy.addSubGraph($$[$0-6],$$[$0-1],$$[$0-4]);\nbreak;\ncase 33:\nthis.$=yy.addSubGraph($$[$0-3],$$[$0-1],$$[$0-3]);\nbreak;\ncase 34:\nthis.$=yy.addSubGraph(undefined,$$[$0-1],undefined);\nbreak;\ncase 38:\n /* console.warn('vs',$$[$0-2].stmt,$$[$0]); */ yy.addLink($$[$0-2].stmt,$$[$0],$$[$0-1]); this.$ = { stmt: $$[$0], nodes: $$[$0].concat($$[$0-2].nodes) } \nbreak;\ncase 39:\n /* console.warn('vs',$$[$0-3].stmt,$$[$0-1]); */ yy.addLink($$[$0-3].stmt,$$[$0-1],$$[$0-2]); this.$ = { stmt: $$[$0-1], nodes: $$[$0-1].concat($$[$0-3].nodes) } \nbreak;\ncase 40:\n/*console.warn('noda', $$[$0-1]);*/ this.$ = {stmt: $$[$0-1], nodes:$$[$0-1] }\nbreak;\ncase 41:\n /*console.warn('noda', $$[$0]);*/ this.$ = {stmt: $$[$0], nodes:$$[$0] }\nbreak;\ncase 42:\n /* console.warn('nod', $$[$0]); */ this.$ = [$$[$0]];\nbreak;\ncase 43:\n this.$ = $$[$0-4].concat($$[$0]); /* console.warn('pip', $$[$0-4][0], $$[$0], this.$); */ \nbreak;\ncase 44:\nthis.$ = [$$[$0-2]];yy.setClass($$[$0-2],$$[$0])\nbreak;\ncase 45:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'square');\nbreak;\ncase 46:\nthis.$ = $$[$0-5];yy.addVertex($$[$0-5],$$[$0-2],'circle');\nbreak;\ncase 47:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'ellipse');\nbreak;\ncase 48:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'stadium');\nbreak;\ncase 49:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'subroutine');\nbreak;\ncase 50:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'cylinder');\nbreak;\ncase 51:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'round');\nbreak;\ncase 52:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'diamond');\nbreak;\ncase 53:\nthis.$ = $$[$0-5];yy.addVertex($$[$0-5],$$[$0-2],'hexagon');\nbreak;\ncase 54:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'odd');\nbreak;\ncase 55:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'trapezoid');\nbreak;\ncase 56:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'inv_trapezoid');\nbreak;\ncase 57:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'lean_right');\nbreak;\ncase 58:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'lean_left');\nbreak;\ncase 59:\n /*console.warn('h: ', $$[$0]);*/this.$ = $$[$0];yy.addVertex($$[$0]);\nbreak;\ncase 60:\n$$[$0-1].text = $$[$0];this.$ = $$[$0-1];\nbreak;\ncase 61: case 62:\n$$[$0-2].text = $$[$0-1];this.$ = $$[$0-2];\nbreak;\ncase 63:\nthis.$ = $$[$0];\nbreak;\ncase 64:\nvar inf = yy.destructLink($$[$0], $$[$0-2]); this.$ = {\"type\":inf.type,\"stroke\":inf.stroke,\"text\":$$[$0-1]};\nbreak;\ncase 65:\nvar inf = yy.destructLink($$[$0]);this.$ = {\"type\":inf.type,\"stroke\":inf.stroke};\nbreak;\ncase 66:\nthis.$ = $$[$0-1];\nbreak;\ncase 68: case 82: case 128:\nthis.$=$$[$0-1]+''+$$[$0];\nbreak;\ncase 83: case 84:\nthis.$ = $$[$0-4];yy.addClass($$[$0-2],$$[$0]);\nbreak;\ncase 85:\nthis.$ = $$[$0-4];yy.setClass($$[$0-2], $$[$0]);\nbreak;\ncase 86:\nthis.$ = $$[$0-4];yy.setClickEvent($$[$0-2], $$[$0], undefined);\nbreak;\ncase 87:\nthis.$ = $$[$0-6];yy.setClickEvent($$[$0-4], $$[$0-2], $$[$0]) ;\nbreak;\ncase 88:\nthis.$ = $$[$0-4];yy.setLink($$[$0-2], $$[$0], undefined);\nbreak;\ncase 89:\nthis.$ = $$[$0-6];yy.setLink($$[$0-4], $$[$0-2], $$[$0] );\nbreak;\ncase 90:\nthis.$ = $$[$0-4];yy.addVertex($$[$0-2],undefined,undefined,$$[$0]);\nbreak;\ncase 91: case 93:\nthis.$ = $$[$0-4];yy.updateLink($$[$0-2],$$[$0]);\nbreak;\ncase 92:\nthis.$ = $$[$0-4];yy.updateLink([$$[$0-2]],$$[$0]);\nbreak;\ncase 94:\nthis.$ = $$[$0-8];yy.updateLinkInterpolate([$$[$0-6]],$$[$0-2]);yy.updateLink([$$[$0-6]],$$[$0]);\nbreak;\ncase 95:\nthis.$ = $$[$0-8];yy.updateLinkInterpolate($$[$0-6],$$[$0-2]);yy.updateLink($$[$0-6],$$[$0]);\nbreak;\ncase 96:\nthis.$ = $$[$0-6];yy.updateLinkInterpolate([$$[$0-4]],$$[$0]);\nbreak;\ncase 97:\nthis.$ = $$[$0-6];yy.updateLinkInterpolate($$[$0-4],$$[$0]);\nbreak;\ncase 98: case 100:\nthis.$ = [$$[$0]]\nbreak;\ncase 99: case 101:\n$$[$0-2].push($$[$0]);this.$ = $$[$0-2];\nbreak;\ncase 103:\nthis.$ = $$[$0-1] + $$[$0];\nbreak;\ncase 125:\nthis.$=$$[$0]\nbreak;\ncase 126:\nthis.$=$$[$0-1]+''+$$[$0]\nbreak;\ncase 131:\nthis.$='v';\nbreak;\ncase 132:\nthis.$='-';\nbreak;\n}\n},\ntable: [{3:1,4:2,9:$V0,10:$V1,12:$V2},{1:[3]},o($V3,$V4,{5:6}),{4:7,9:$V0,10:$V1,12:$V2},{4:8,9:$V0,10:$V1,12:$V2},{13:[1,9]},{1:[2,1],6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($V3,[2,9]),o($V3,[2,10]),{8:[1,48],9:[1,49],10:$Vu,14:47,17:50},o($Vv,[2,3]),o($Vv,[2,4]),o($Vv,[2,5]),o($Vv,[2,6]),o($Vv,[2,7]),o($Vv,[2,8]),{8:$Vw,9:$Vx,11:$Vy,20:52,31:53,54:57,57:[1,58],58:[1,59]},{8:$Vw,9:$Vx,11:$Vy,20:60},{8:$Vw,9:$Vx,11:$Vy,20:61},{8:$Vw,9:$Vx,11:$Vy,20:62},{8:$Vw,9:$Vx,11:$Vy,20:63},{8:$Vw,9:$Vx,11:$Vy,20:64},{8:$Vw,9:$Vx,10:[1,65],11:$Vy,20:66},o($Vz,[2,41],{17:67,10:$Vu}),{10:[1,68]},{10:[1,69]},{10:[1,70]},{10:[1,71]},{10:[1,72]},o($VA,[2,42],{35:[1,73]}),o($VB,[2,59],{91:84,28:[1,74],34:$Va,37:[1,75],39:[1,76],41:[1,77],43:[1,78],45:[1,79],47:[1,80],49:[1,81],50:[1,82],52:[1,83],68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt}),o($VC,[2,125]),o($VC,[2,146]),o($VC,[2,147]),o($VC,[2,148]),o($VC,[2,149]),o($VC,[2,150]),o($VC,[2,151]),o($VC,[2,152]),o($VC,[2,153]),o($VC,[2,154]),o($VC,[2,155]),o($VC,[2,156]),o($VC,[2,157]),o($VC,[2,158]),o($VC,[2,159]),o($VC,[2,160]),o($V3,[2,11]),o($V3,[2,17]),o($V3,[2,18]),{9:[1,85]},o($VD,[2,25],{17:86,10:$Vu}),o($Vv,[2,26]),{32:87,33:29,34:$Va,36:30,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($Vv,[2,35]),o($Vv,[2,36]),o($Vv,[2,37]),o($VE,[2,63],{55:88,56:[1,89],59:[1,90]}),{10:$VF,12:$VG,13:$VH,26:$VI,27:91,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o([34,56,59,68,78,79,82,83,84,86,87,93,94,95,96,97,98],[2,65]),o($Vv,[2,27]),o($Vv,[2,28]),o($Vv,[2,29]),o($Vv,[2,30]),o($Vv,[2,31]),{10:$VF,12:$VG,13:$VH,26:$VI,27:128,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($V91,$V4,{5:129}),o($Vz,[2,40],{34:$Va1}),{13:$Vb1,34:$VK,68:$Vc1,74:131,75:[1,132],78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{72:[1,138],76:139,78:[1,140]},{13:$Vb1,34:$VK,68:$Vc1,72:[1,141],74:142,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:143,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:144,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{34:$Va,36:145,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$VF,12:$VG,13:$VH,26:$VI,27:146,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:148,30:$VJ,34:$VK,37:[1,147],49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:149,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:150,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:151,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:152,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:153,30:$VJ,34:$VK,47:[1,154],49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:155,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:156,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:157,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VC,[2,126]),o($V3,[2,19]),o($VD,[2,24]),o($Vz,[2,38],{17:158,10:$Vu}),o($VE,[2,60],{10:[1,159]}),{10:[1,160]},{10:$VF,12:$VG,13:$VH,26:$VI,27:161,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,57:$VM,58:[1,162],60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($Ve1,[2,67]),o($Ve1,[2,69]),o($Ve1,[2,115]),o($Ve1,[2,116]),o($Ve1,[2,117]),o($Ve1,[2,118]),o($Ve1,[2,119]),o($Ve1,[2,120]),o($Ve1,[2,121]),o($Ve1,[2,122]),o($Ve1,[2,123]),o($Ve1,[2,124]),o($Ve1,[2,133]),o($Ve1,[2,134]),o($Ve1,[2,135]),o($Ve1,[2,136]),o($Ve1,[2,137]),o($Ve1,[2,138]),o($Ve1,[2,139]),o($Ve1,[2,140]),o($Ve1,[2,141]),o($Ve1,[2,142]),o($Ve1,[2,143]),o($Ve1,[2,144]),o($Ve1,[2,145]),o($Ve1,[2,70]),o($Ve1,[2,71]),o($Ve1,[2,72]),o($Ve1,[2,73]),o($Ve1,[2,74]),o($Ve1,[2,75]),o($Ve1,[2,76]),o($Ve1,[2,77]),o($Ve1,[2,78]),o($Ve1,[2,79]),o($Ve1,[2,80]),{8:$Vw,9:$Vx,10:$VF,11:$Vy,12:$VG,13:$VH,20:165,26:$VI,28:[1,164],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,166],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vu,17:167},{10:[1,168],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,170]},o($Vf1,[2,127]),o($Vf1,[2,129]),o($Vf1,[2,130]),o($Vf1,[2,131]),o($Vf1,[2,132]),{10:[1,171]},{10:[1,172],79:[1,173]},o($Vg1,[2,98]),{10:[1,174]},{10:[1,175],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,176],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,177],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VA,[2,44],{91:84,34:$Va,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt}),{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,178],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:179,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,38:[1,180],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,40:[1,181],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,42:[1,182],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,44:[1,183],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,46:[1,184],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,48:[1,185],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:186,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,187],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,51:[1,188],53:[1,189],57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,51:[1,191],53:[1,190],57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($Vz,[2,39],{34:$Va1}),o($VE,[2,62]),o($VE,[2,61]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,57:$VM,59:[1,192],60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VE,[2,64]),o($Ve1,[2,68]),{10:$VF,12:$VG,13:$VH,26:$VI,27:193,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($V91,$V4,{5:194}),o($Vv,[2,34]),{33:195,34:$Va,36:30,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vh1,63:$Vi1,73:196,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vf1,[2,128]),{10:$Vh1,63:$Vi1,73:210,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:211,75:$Vj1,77:[1,212],78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:213,75:$Vj1,77:[1,214],78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{78:[1,215]},{10:$Vh1,63:$Vi1,73:216,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:217,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{13:$Vb1,34:$VK,68:$Vc1,74:218,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,61:[1,220],68:$Vc1,74:219,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,45]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,38:[1,221],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,51]),o($VB,[2,47]),o($VB,[2,48]),o($VB,[2,49]),o($VB,[2,50]),o($VB,[2,52]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,48:[1,222],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,54]),o($VB,[2,55]),o($VB,[2,57]),o($VB,[2,56]),o($VB,[2,58]),o([10,34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],[2,66]),{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,223],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,224],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($VA,[2,43]),o($Vs1,[2,90],{79:$Vt1}),o($Vu1,[2,100],{81:226,10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1}),o($Vv1,[2,102]),o($Vv1,[2,104]),o($Vv1,[2,105]),o($Vv1,[2,106]),o($Vv1,[2,107]),o($Vv1,[2,108]),o($Vv1,[2,109]),o($Vv1,[2,110]),o($Vv1,[2,111]),o($Vv1,[2,112]),o($Vv1,[2,113]),o($Vv1,[2,114]),o($Vs1,[2,91],{79:$Vt1}),o($Vs1,[2,92],{79:$Vt1}),{10:[1,227]},o($Vs1,[2,93],{79:$Vt1}),{10:[1,228]},o($Vg1,[2,99]),o($Vs1,[2,83],{79:$Vt1}),o($Vs1,[2,84],{79:$Vt1}),o($Vs1,[2,85],{90:135,92:169,13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,86],{90:135,92:169,10:[1,229],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,88],{10:[1,230]}),{38:[1,231]},{48:[1,232]},{8:$Vw,9:$Vx,11:$Vy,20:233},o($Vv,[2,33]),{10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,80:234,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vv1,[2,103]),{13:$Vb1,34:$VK,68:$Vc1,74:235,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:236,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{61:[1,237]},{61:[1,238]},o($VB,[2,46]),o($VB,[2,53]),o($V91,$V4,{5:239}),o($Vu1,[2,101],{81:226,10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1}),o($Vs1,[2,96],{90:135,92:169,10:[1,240],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,97],{90:135,92:169,10:[1,241],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,87]),o($Vs1,[2,89]),{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,242],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vh1,63:$Vi1,73:243,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:244,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vv,[2,32]),o($Vs1,[2,94],{79:$Vt1}),o($Vs1,[2,95],{79:$Vt1})],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:this.begin(\"string\");\nbreak;\ncase 2:this.popState();\nbreak;\ncase 3:return \"STR\";\nbreak;\ncase 4:return 63;\nbreak;\ncase 5:return 72;\nbreak;\ncase 6:return 64;\nbreak;\ncase 7:return 77;\nbreak;\ncase 8:return 65;\nbreak;\ncase 9:return 66;\nbreak;\ncase 10:return 67;\nbreak;\ncase 11:if(yy.lex.firstGraph()){this.begin(\"dir\");} return 12;\nbreak;\ncase 12:if(yy.lex.firstGraph()){this.begin(\"dir\");} return 12;\nbreak;\ncase 13:return 26;\nbreak;\ncase 14:return 30;\nbreak;\ncase 15: this.popState(); return 13; \nbreak;\ncase 16: this.popState(); return 13; \nbreak;\ncase 17: this.popState(); return 13; \nbreak;\ncase 18: this.popState(); return 13; \nbreak;\ncase 19: this.popState(); return 13; \nbreak;\ncase 20: this.popState(); return 13; \nbreak;\ncase 21: this.popState(); return 13; \nbreak;\ncase 22: this.popState(); return 13; \nbreak;\ncase 23: this.popState(); return 13; \nbreak;\ncase 24: this.popState(); return 13; \nbreak;\ncase 25: return 78;\nbreak;\ncase 26:return 86;\nbreak;\ncase 27:return 35;\nbreak;\ncase 28:return 83;\nbreak;\ncase 29:return 34;\nbreak;\ncase 30:return 8;\nbreak;\ncase 31:return 79;\nbreak;\ncase 32:return 97;\nbreak;\ncase 33:return 58;\nbreak;\ncase 34:return 58;\nbreak;\ncase 35:return 58;\nbreak;\ncase 36:return 58;\nbreak;\ncase 37:return 58;\nbreak;\ncase 38:return 58;\nbreak;\ncase 39:return 58;\nbreak;\ncase 40:return 58;\nbreak;\ncase 41:return 58;\nbreak;\ncase 42:return 58;\nbreak;\ncase 43:return 58;\nbreak;\ncase 44:return 58;\nbreak;\ncase 45:return 58;\nbreak;\ncase 46:return 58;\nbreak;\ncase 47:return 58;\nbreak;\ncase 48:return 58;\nbreak;\ncase 49:return 58;\nbreak;\ncase 50:return 58;\nbreak;\ncase 51:return 58;\nbreak;\ncase 52:return 58;\nbreak;\ncase 53:return 58;\nbreak;\ncase 54:return 58;\nbreak;\ncase 55:return 58;\nbreak;\ncase 56:return 58;\nbreak;\ncase 57:return 58;\nbreak;\ncase 58:return 58;\nbreak;\ncase 59:return 58;\nbreak;\ncase 60:return 58;\nbreak;\ncase 61:return 57;\nbreak;\ncase 62:return 57;\nbreak;\ncase 63:return 57;\nbreak;\ncase 64:return 57;\nbreak;\ncase 65:return 57;\nbreak;\ncase 66:return 57;\nbreak;\ncase 67:return 57;\nbreak;\ncase 68:return 57;\nbreak;\ncase 69:return 57;\nbreak;\ncase 70:return 57;\nbreak;\ncase 71:return 57;\nbreak;\ncase 72:return 57;\nbreak;\ncase 73:return 39;\nbreak;\ncase 74:return 40;\nbreak;\ncase 75:return 41;\nbreak;\ncase 76:return 42;\nbreak;\ncase 77:return 43;\nbreak;\ncase 78:return 44;\nbreak;\ncase 79:return 45;\nbreak;\ncase 80:return 46;\nbreak;\ncase 81:return 84;\nbreak;\ncase 82:return 87;\nbreak;\ncase 83:return 98;\nbreak;\ncase 84:return 95;\nbreak;\ncase 85:return 88;\nbreak;\ncase 86:return 96;\nbreak;\ncase 87:return 96;\nbreak;\ncase 88:return 89;\nbreak;\ncase 89:return 49;\nbreak;\ncase 90:return 69;\nbreak;\ncase 91:return 'SEP';\nbreak;\ncase 92:return 68;\nbreak;\ncase 93:return 82;\nbreak;\ncase 94:return 51;\nbreak;\ncase 95:return 50;\nbreak;\ncase 96:return 53;\nbreak;\ncase 97:return 52;\nbreak;\ncase 98:return 93;\nbreak;\ncase 99:return 94;\nbreak;\ncase 100:return 59;\nbreak;\ncase 101:return 37;\nbreak;\ncase 102:return 38;\nbreak;\ncase 103:return 28;\nbreak;\ncase 104:return 29;\nbreak;\ncase 105:return 47\nbreak;\ncase 106:return 48\nbreak;\ncase 107:return 104;\nbreak;\ncase 108:return 9;\nbreak;\ncase 109:return 10;\nbreak;\ncase 110:return 11;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*\\n*)/,/^(?:[\"])/,/^(?:[\"])/,/^(?:[^\"]*)/,/^(?:style\\b)/,/^(?:default\\b)/,/^(?:linkStyle\\b)/,/^(?:interpolate\\b)/,/^(?:classDef\\b)/,/^(?:class\\b)/,/^(?:click\\b)/,/^(?:graph\\b)/,/^(?:flowchart\\b)/,/^(?:subgraph\\b)/,/^(?:end\\b\\s*)/,/^(?:\\s*LR\\b)/,/^(?:\\s*RL\\b)/,/^(?:\\s*TB\\b)/,/^(?:\\s*BT\\b)/,/^(?:\\s*TD\\b)/,/^(?:\\s*BR\\b)/,/^(?:\\s*<)/,/^(?:\\s*>)/,/^(?:\\s*\\^)/,/^(?:\\s*v\\b)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\\*)/,/^(?:\\s*--[x]\\s*)/,/^(?:\\s*-->\\s*)/,/^(?:\\s*<-->\\s*)/,/^(?:\\s*[x]--[x]\\s*)/,/^(?:\\s*[o]--[o]\\s*)/,/^(?:\\s*[o]\\.-[o]\\s*)/,/^(?:\\s*<==>\\s*)/,/^(?:\\s*[o]==[o]\\s*)/,/^(?:\\s*[x]==[x]\\s*)/,/^(?:\\s*[x].-[x]\\s*)/,/^(?:\\s*[x]-\\.-[x]\\s*)/,/^(?:\\s*<\\.->\\s*)/,/^(?:\\s*<-\\.->\\s*)/,/^(?:\\s*[o]-\\.-[o]\\s*)/,/^(?:\\s*--[o]\\s*)/,/^(?:\\s*---\\s*)/,/^(?:\\s*-\\.-[x]\\s*)/,/^(?:\\s*-\\.->\\s*)/,/^(?:\\s*-\\.-[o]\\s*)/,/^(?:\\s*-\\.-\\s*)/,/^(?:\\s*.-[x]\\s*)/,/^(?:\\s*\\.->\\s*)/,/^(?:\\s*\\.-[o]\\s*)/,/^(?:\\s*\\.-\\s*)/,/^(?:\\s*==[x]\\s*)/,/^(?:\\s*==>\\s*)/,/^(?:\\s*==[o]\\s*)/,/^(?:\\s*==[\\=]\\s*)/,/^(?:\\s*<--\\s*)/,/^(?:\\s*[x]--\\s*)/,/^(?:\\s*[o]--\\s*)/,/^(?:\\s*<-\\.\\s*)/,/^(?:\\s*[x]-\\.\\s*)/,/^(?:\\s*[o]-\\.\\s*)/,/^(?:\\s*<==\\s*)/,/^(?:\\s*[x]==\\s*)/,/^(?:\\s*[o]==\\s*)/,/^(?:\\s*--\\s*)/,/^(?:\\s*-\\.\\s*)/,/^(?:\\s*==\\s*)/,/^(?:\\(-)/,/^(?:-\\))/,/^(?:\\(\\[)/,/^(?:\\]\\))/,/^(?:\\[\\[)/,/^(?:\\]\\])/,/^(?:\\[\\()/,/^(?:\\)\\])/,/^(?:-)/,/^(?:\\.)/,/^(?:[\\_])/,/^(?:\\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\\^)/,/^(?:\\\\\\|)/,/^(?:v\\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\\\\])/,/^(?:\\[\\/)/,/^(?:\\/\\])/,/^(?:\\[\\\\)/,/^(?:[!\"#$%&'*+,-.`?\\\\_/])/,/^(?:[\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6]|[\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377]|[\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5]|[\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA]|[\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE]|[\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA]|[\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0]|[\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977]|[\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2]|[\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A]|[\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39]|[\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8]|[\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C]|[\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C]|[\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99]|[\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0]|[\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D]|[\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3]|[\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10]|[\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1]|[\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81]|[\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3]|[\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6]|[\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A]|[\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081]|[\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D]|[\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0]|[\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310]|[\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C]|[\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711]|[\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7]|[\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C]|[\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16]|[\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF]|[\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC]|[\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D]|[\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D]|[\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3]|[\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F]|[\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128]|[\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184]|[\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3]|[\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6]|[\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE]|[\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C]|[\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D]|[\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC]|[\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B]|[\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788]|[\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805]|[\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB]|[\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28]|[\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5]|[\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4]|[\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E]|[\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D]|[\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36]|[\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D]|[\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC]|[\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF]|[\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC])/,/^(?:\\|)/,/^(?:\\()/,/^(?:\\))/,/^(?:\\[)/,/^(?:\\])/,/^(?:\\{)/,/^(?:\\})/,/^(?:\")/,/^(?:(\\r|\\n|\\r\\n)+)/,/^(?:\\s)/,/^(?:$)/],\nconditions: {\"vertex\":{\"rules\":[],\"inclusive\":false},\"dir\":{\"rules\":[15,16,17,18,19,20,21,22,23,24],\"inclusive\":false},\"string\":{\"rules\":[2,3],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,4,5,6,7,8,9,10,11,12,13,14,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 23, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "name": "./src/diagrams/gantt/parser/gantt.jison", "index": 557, "index2": 555, "size": 25297, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/gantt", "loc": "2:0-40" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "5:0-6" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "25:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "26:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/parser/gantt", "loc": "29:0-56" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "38:18-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "84:26-32" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/parser/gantt", "loc": "98:15-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "281:113-119" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,8,10,11,12,13,14,15,16,17,19,21],$V1=[1,9],$V2=[1,10],$V3=[1,11],$V4=[1,12],$V5=[1,13],$V6=[1,14],$V7=[1,15],$V8=[1,17],$V9=[1,18];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"gantt\":4,\"document\":5,\"EOF\":6,\"line\":7,\"SPACE\":8,\"statement\":9,\"NL\":10,\"dateFormat\":11,\"inclusiveEndDates\":12,\"axisFormat\":13,\"excludes\":14,\"todayMarker\":15,\"title\":16,\"section\":17,\"clickStatement\":18,\"taskTxt\":19,\"taskData\":20,\"click\":21,\"callbackname\":22,\"callbackargs\":23,\"href\":24,\"clickStatementDebug\":25,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"gantt\",6:\"EOF\",8:\"SPACE\",10:\"NL\",11:\"dateFormat\",12:\"inclusiveEndDates\",13:\"axisFormat\",14:\"excludes\",15:\"todayMarker\",16:\"title\",17:\"section\",19:\"taskTxt\",20:\"taskData\",21:\"click\",22:\"callbackname\",23:\"callbackargs\",24:\"href\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[18,2],[18,3],[18,3],[18,4],[18,3],[18,4],[18,2],[25,2],[25,3],[25,3],[25,4],[25,3],[25,4],[25,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\n this.$ = [] \nbreak;\ncase 3:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 4: case 5:\n this.$ = $$[$0] \nbreak;\ncase 6: case 7:\n this.$=[];\nbreak;\ncase 8:\nyy.setDateFormat($$[$0].substr(11));this.$=$$[$0].substr(11);\nbreak;\ncase 9:\nyy.enableInclusiveEndDates();this.$=$$[$0].substr(18);\nbreak;\ncase 10:\nyy.setAxisFormat($$[$0].substr(11));this.$=$$[$0].substr(11);\nbreak;\ncase 11:\nyy.setExcludes($$[$0].substr(9));this.$=$$[$0].substr(9);\nbreak;\ncase 12:\nyy.setTodayMarker($$[$0].substr(12));this.$=$$[$0].substr(12);\nbreak;\ncase 13:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\ncase 14:\nyy.addSection($$[$0].substr(8));this.$=$$[$0].substr(8);\nbreak;\ncase 16:\nyy.addTask($$[$0-1],$$[$0]);this.$='task';\nbreak;\ncase 17:\nthis.$ = $$[$0-1];yy.setClickEvent($$[$0-1], $$[$0], null);\nbreak;\ncase 18:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\ncase 19:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0-1], null);yy.setLink($$[$0-2],$$[$0]);\nbreak;\ncase 20:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-3], $$[$0-2], $$[$0-1]);yy.setLink($$[$0-3],$$[$0]);\nbreak;\ncase 21:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0], null);yy.setLink($$[$0-2],$$[$0-1]);\nbreak;\ncase 22:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-3], $$[$0-1], $$[$0]);yy.setLink($$[$0-3],$$[$0-2]);\nbreak;\ncase 23:\nthis.$ = $$[$0-1];yy.setLink($$[$0-1], $$[$0]);\nbreak;\ncase 24: case 30:\nthis.$=$$[$0-1] + ' ' + $$[$0];\nbreak;\ncase 25: case 26: case 28:\nthis.$=$$[$0-2] + ' ' + $$[$0-1] + ' ' + $$[$0];\nbreak;\ncase 27: case 29:\nthis.$=$$[$0-3] + ' ' + $$[$0-2] + ' ' + $$[$0-1] + ' ' + $$[$0];\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:$V1,12:$V2,13:$V3,14:$V4,15:$V5,16:$V6,17:$V7,18:16,19:$V8,21:$V9},o($V0,[2,7],{1:[2,1]}),o($V0,[2,3]),{9:19,11:$V1,12:$V2,13:$V3,14:$V4,15:$V5,16:$V6,17:$V7,18:16,19:$V8,21:$V9},o($V0,[2,5]),o($V0,[2,6]),o($V0,[2,8]),o($V0,[2,9]),o($V0,[2,10]),o($V0,[2,11]),o($V0,[2,12]),o($V0,[2,13]),o($V0,[2,14]),o($V0,[2,15]),{20:[1,20]},{22:[1,21],24:[1,22]},o($V0,[2,4]),o($V0,[2,16]),o($V0,[2,17],{23:[1,23],24:[1,24]}),o($V0,[2,23],{22:[1,25]}),o($V0,[2,18],{24:[1,26]}),o($V0,[2,19]),o($V0,[2,21],{23:[1,27]}),o($V0,[2,20]),o($V0,[2,22])],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 10;\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:this.begin(\"href\");\nbreak;\ncase 5:this.popState();\nbreak;\ncase 6:return 24;\nbreak;\ncase 7:this.begin(\"callbackname\");\nbreak;\ncase 8:this.popState();\nbreak;\ncase 9:this.popState(); this.begin(\"callbackargs\");\nbreak;\ncase 10:return 22;\nbreak;\ncase 11:this.popState();\nbreak;\ncase 12:return 23;\nbreak;\ncase 13:this.begin(\"click\");\nbreak;\ncase 14:this.popState();\nbreak;\ncase 15:return 21;\nbreak;\ncase 16:return 4;\nbreak;\ncase 17:return 11;\nbreak;\ncase 18:return 12;\nbreak;\ncase 19:return 13;\nbreak;\ncase 20:return 14;\nbreak;\ncase 21:return 15;\nbreak;\ncase 22:return 'date';\nbreak;\ncase 23:return 16;\nbreak;\ncase 24:return 17;\nbreak;\ncase 25:return 19;\nbreak;\ncase 26:return 20;\nbreak;\ncase 27:return ':';\nbreak;\ncase 28:return 6;\nbreak;\ncase 29:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:href[\\s]+[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:call[\\s]+)/i,/^(?:\\([\\s]*\\))/i,/^(?:\\()/i,/^(?:[^(]*)/i,/^(?:\\))/i,/^(?:[^)]*)/i,/^(?:click[\\s]+)/i,/^(?:[\\s\\n])/i,/^(?:[^\\s\\n]*)/i,/^(?:gantt\\b)/i,/^(?:dateFormat\\s[^#\\n;]+)/i,/^(?:inclusiveEndDates\\b)/i,/^(?:axisFormat\\s[^#\\n;]+)/i,/^(?:excludes\\s[^#\\n;]+)/i,/^(?:todayMarker\\s[^\\n;]+)/i,/^(?:\\d\\d\\d\\d-\\d\\d-\\d\\d\\b)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:section\\s[^#:\\n;]+)/i,/^(?:[^#:\\n;]+)/i,/^(?::[^#\\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"callbackargs\":{\"rules\":[11,12],\"inclusive\":false},\"callbackname\":{\"rules\":[8,9,10],\"inclusive\":false},\"href\":{\"rules\":[5,6],\"inclusive\":false},\"click\":{\"rules\":[14,15],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,7,13,16,17,18,19,20,21,22,23,24,25,26,27,28,29],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 24, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "name": "./src/diagrams/user-journey/parser/journey.jison", "index": 569, "index2": 567, "size": 21995, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/journey", "loc": "2:0-42" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "5:0-6" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/parser/journey", "loc": "51:0-67" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "71:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "72:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "77:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "78:14-20" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "79:19-25" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/parser/journey", "loc": "137:15-28" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,8,10,11,12,13],$V1=[1,9],$V2=[1,10],$V3=[1,11];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"journey\":4,\"document\":5,\"EOF\":6,\"line\":7,\"SPACE\":8,\"statement\":9,\"NL\":10,\"title\":11,\"section\":12,\"taskName\":13,\"taskData\":14,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"journey\",6:\"EOF\",8:\"SPACE\",10:\"NL\",11:\"title\",12:\"section\",13:\"taskName\",14:\"taskData\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\n this.$ = [] \nbreak;\ncase 3:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 4: case 5:\n this.$ = $$[$0] \nbreak;\ncase 6: case 7:\n this.$=[];\nbreak;\ncase 8:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\ncase 9:\nyy.addSection($$[$0].substr(8));this.$=$$[$0].substr(8);\nbreak;\ncase 10:\nyy.addTask($$[$0-1], $$[$0]);this.$='task';\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:$V1,12:$V2,13:$V3},o($V0,[2,7],{1:[2,1]}),o($V0,[2,3]),{9:12,11:$V1,12:$V2,13:$V3},o($V0,[2,5]),o($V0,[2,6]),o($V0,[2,8]),o($V0,[2,9]),{14:[1,13]},o($V0,[2,4]),o($V0,[2,10])],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 10;\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:return 4;\nbreak;\ncase 5:return 11;\nbreak;\ncase 6:return 12;\nbreak;\ncase 7:return 13;\nbreak;\ncase 8:return 14;\nbreak;\ncase 9:return ':';\nbreak;\ncase 10:return 6;\nbreak;\ncase 11:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:journey\\b)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:section\\s[^#:\\n;]+)/i,/^(?:[^#:\\n;]+)/i,/^(?::[^#\\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 25, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keys.js", "name": "./node_modules/lodash/keys.js", "index": 629, "index2": 638, "size": 884, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/keys", "loc": "17:12-34" }, { "moduleId": 80, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseForOwn.js", "module": "./node_modules/lodash/_baseForOwn.js", "moduleName": "./node_modules/lodash/_baseForOwn.js", "type": "cjs require", "userRequest": "./keys", "loc": "2:11-28" }, { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./keys", "loc": "21:11-28" }, { "moduleId": 102, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeys.js", "module": "./node_modules/lodash/_getAllKeys.js", "moduleName": "./node_modules/lodash/_getAllKeys.js", "type": "cjs require", "userRequest": "./keys", "loc": "3:11-28" }, { "moduleId": 130, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/values.js", "module": "./node_modules/lodash/values.js", "moduleName": "./node_modules/lodash/values.js", "type": "cjs require", "userRequest": "./keys", "loc": "2:11-28" }, { "moduleId": 199, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssign.js", "module": "./node_modules/lodash/_baseAssign.js", "moduleName": "./node_modules/lodash/_baseAssign.js", "type": "cjs require", "userRequest": "./keys", "loc": "2:11-28" }, { "moduleId": 235, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMatchData.js", "module": "./node_modules/lodash/_getMatchData.js", "moduleName": "./node_modules/lodash/_getMatchData.js", "type": "cjs require", "userRequest": "./keys", "loc": "2:11-28" }, { "moduleId": 285, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createFind.js", "module": "./node_modules/lodash/_createFind.js", "moduleName": "./node_modules/lodash/_createFind.js", "type": "cjs require", "userRequest": "./keys", "loc": "3:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n" }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/d3.js", "name": "./node_modules/dagre-d3/lib/d3.js", "index": 873, "index2": 868, "size": 280, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./d3", "loc": "2:9-24" }, { "moduleId": 341, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-nodes.js", "module": "./node_modules/dagre-d3/lib/create-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/create-nodes.js", "type": "cjs require", "userRequest": "./d3", "loc": "6:9-24" }, { "moduleId": 344, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-clusters.js", "module": "./node_modules/dagre-d3/lib/create-clusters.js", "moduleName": "./node_modules/dagre-d3/lib/create-clusters.js", "type": "cjs require", "userRequest": "./d3", "loc": "2:9-24" }, { "moduleId": 345, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "module": "./node_modules/dagre-d3/lib/create-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-labels.js", "type": "cjs require", "userRequest": "./d3", "loc": "6:9-24" }, { "moduleId": 346, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-paths.js", "module": "./node_modules/dagre-d3/lib/create-edge-paths.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-paths.js", "type": "cjs require", "userRequest": "./d3", "loc": "6:9-24" }, { "moduleId": 347, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-nodes.js", "module": "./node_modules/dagre-d3/lib/position-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/position-nodes.js", "type": "cjs require", "userRequest": "./d3", "loc": "4:9-24" }, { "moduleId": 348, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-edge-labels.js", "module": "./node_modules/dagre-d3/lib/position-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/position-edge-labels.js", "type": "cjs require", "userRequest": "./d3", "loc": "4:9-24" }, { "moduleId": 349, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-clusters.js", "module": "./node_modules/dagre-d3/lib/position-clusters.js", "moduleName": "./node_modules/dagre-d3/lib/position-clusters.js", "type": "cjs require", "userRequest": "./d3", "loc": "4:9-24" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "// Stub to get D3 either via NPM or from the global object\nvar d3;\n\nif (!d3) {\n if (typeof require === \"function\") {\n try {\n d3 = require(\"d3\");\n }\n catch (e) {\n // continue regardless of error\n }\n }\n}\n\nif (!d3) {\n d3 = window.d3;\n}\n\nmodule.exports = d3;\n" }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "name": "./node_modules/lodash/_getNative.js", "index": 593, "index2": 595, "size": 483, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "issuerId": 94, "issuerName": "./node_modules/lodash/_defineProperty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "profile": { "factory": 58, "building": 29 } } ], "profile": { "factory": 64, "building": 40 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 49, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nativeCreate.js", "module": "./node_modules/lodash/_nativeCreate.js", "moduleName": "./node_modules/lodash/_nativeCreate.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 69, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Map.js", "module": "./node_modules/lodash/_Map.js", "moduleName": "./node_modules/lodash/_Map.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 94, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "module": "./node_modules/lodash/_defineProperty.js", "moduleName": "./node_modules/lodash/_defineProperty.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 104, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Set.js", "module": "./node_modules/lodash/_Set.js", "moduleName": "./node_modules/lodash/_Set.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 211, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_DataView.js", "module": "./node_modules/lodash/_DataView.js", "moduleName": "./node_modules/lodash/_DataView.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 212, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Promise.js", "module": "./node_modules/lodash/_Promise.js", "moduleName": "./node_modules/lodash/_Promise.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" }, { "moduleId": 213, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_WeakMap.js", "module": "./node_modules/lodash/_WeakMap.js", "moduleName": "./node_modules/lodash/_WeakMap.js", "type": "cjs require", "userRequest": "./_getNative", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n" }, { "id": 28, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "name": "./node_modules/lodash/_baseGetTag.js", "index": 596, "index2": 587, "size": 792, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "issuerId": 141, "issuerName": "./node_modules/lodash/isPlainObject.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 67, "building": 39 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 32, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isFunction.js", "module": "./node_modules/lodash/isFunction.js", "moduleName": "./node_modules/lodash/isFunction.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" }, { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "6:17-41" }, { "moduleId": 37, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSymbol.js", "module": "./node_modules/lodash/isSymbol.js", "moduleName": "./node_modules/lodash/isSymbol.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" }, { "moduleId": 141, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "module": "./node_modules/lodash/isPlainObject.js", "moduleName": "./node_modules/lodash/isPlainObject.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" }, { "moduleId": 201, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsArguments.js", "module": "./node_modules/lodash/_baseIsArguments.js", "moduleName": "./node_modules/lodash/_baseIsArguments.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" }, { "moduleId": 203, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsTypedArray.js", "module": "./node_modules/lodash/_baseIsTypedArray.js", "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" }, { "moduleId": 250, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isString.js", "module": "./node_modules/lodash/isString.js", "moduleName": "./node_modules/lodash/isString.js", "type": "cjs require", "userRequest": "./_baseGetTag", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n" }, { "id": 29, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/identity.js", "name": "./node_modules/lodash/identity.js", "index": 694, "index2": 684, "size": 370, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "issuerId": 292, "issuerName": "./node_modules/lodash/max.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 292, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "name": "./node_modules/lodash/max.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 73, "building": 27 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "module": "./node_modules/lodash/_baseIteratee.js", "moduleName": "./node_modules/lodash/_baseIteratee.js", "type": "cjs require", "userRequest": "./identity", "loc": "3:15-36" }, { "moduleId": 60, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "module": "./node_modules/lodash/_baseRest.js", "moduleName": "./node_modules/lodash/_baseRest.js", "type": "cjs require", "userRequest": "./identity", "loc": "1:15-36" }, { "moduleId": 110, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castFunction.js", "module": "./node_modules/lodash/_castFunction.js", "moduleName": "./node_modules/lodash/_castFunction.js", "type": "cjs require", "userRequest": "./identity", "loc": "1:15-36" }, { "moduleId": 259, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSetToString.js", "module": "./node_modules/lodash/_baseSetToString.js", "moduleName": "./node_modules/lodash/_baseSetToString.js", "type": "cjs require", "userRequest": "./identity", "loc": "3:15-36" }, { "moduleId": 292, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "module": "./node_modules/lodash/max.js", "moduleName": "./node_modules/lodash/max.js", "type": "cjs require", "userRequest": "./identity", "loc": "3:15-36" }, { "moduleId": 299, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/min.js", "module": "./node_modules/lodash/min.js", "moduleName": "./node_modules/lodash/min.js", "type": "cjs require", "userRequest": "./identity", "loc": "3:15-36" }, { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./identity", "loc": "7:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n" }, { "id": 30, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/package.json", "name": "./package.json", "index": 918, "index2": 916, "size": 3186, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "../package.json", "loc": "17:0-34" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "365:35-38" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "371:34-37" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "376:33-36" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "381:38-41" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "386:27-30" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "543:50-53" } ], "usedExports": [ "default" ], "providedExports": [ "name", "version", "description", "main", "keywords", "scripts", "repository", "author", "license", "standard", "dependencies", "devDependencies", "files", "yarn-upgrade-all", "sideEffects", "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "{\n \"name\": \"mermaid\",\n \"version\": \"8.6.0\",\n \"description\": \"Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.\",\n \"main\": \"dist/mermaid.core.js\",\n \"keywords\": [\n \"diagram\",\n \"markdown\",\n \"flowchart\",\n \"sequence diagram\",\n \"gantt\",\n \"class diagram\",\n \"git graph\"\n ],\n \"scripts\": {\n \"build:development\": \"webpack --progress --colors\",\n \"build:production\": \"yarn build:development -p --config webpack.config.prod.babel.js\",\n \"build\": \"yarn build:development && yarn build:production\",\n \"postbuild\": \"documentation build src/mermaidAPI.js src/config.js --shallow -f md --markdown-toc false -o docs/Setup.md\",\n \"build:watch\": \"yarn build --watch\",\n \"minify\": \"minify ./dist/mermaid.js > ./dist/mermaid.min.js\",\n \"release\": \"yarn build\",\n \"lint\": \"eslint src\",\n \"e2e:depr\": \"yarn lint && jest e2e --config e2e/jest.config.js\",\n \"cypress\": \"percy exec -- cypress run\",\n \"e2e\": \"start-server-and-test dev http://localhost:9000/ cypress\",\n \"e2e-upd\": \"yarn lint && jest e2e -u --config e2e/jest.config.js\",\n \"dev\": \"webpack-dev-server --config webpack.config.e2e.js\",\n \"test\": \"yarn lint && jest src/.*\",\n \"test:watch\": \"jest --watch src\",\n \"prepublishOnly\": \"yarn build && yarn test && yarn e2e\",\n \"prepush\": \"yarn test\",\n \"prepare\": \"yarn build\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/knsv/mermaid\"\n },\n \"author\": \"Knut Sveidqvist\",\n \"license\": \"MIT\",\n \"standard\": {\n \"ignore\": [\n \"**/parser/*.js\",\n \"dist/**/*.js\",\n \"cypress/**/*.js\"\n ],\n \"globals\": [\n \"page\"\n ]\n },\n \"dependencies\": {\n \"@braintree/sanitize-url\": \"^3.1.0\",\n \"crypto-random-string\": \"^3.0.1\",\n \"d3\": \"^5.7.0\",\n \"dagre\": \"^0.8.4\",\n \"dagre-d3\": \"^0.6.4\",\n \"entity-decode\": \"^2.0.2\",\n \"graphlib\": \"^2.1.7\",\n \"he\": \"^1.2.0\",\n \"minify\": \"^4.1.1\",\n \"moment-mini\": \"^2.22.1\",\n \"scope-css\": \"^1.2.1\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.2.2\",\n \"@babel/preset-env\": \"^7.8.4\",\n \"@babel/register\": \"^7.0.0\",\n \"@percy/cypress\": \"*\",\n \"babel-core\": \"7.0.0-bridge.0\",\n \"babel-jest\": \"^24.9.0\",\n \"babel-loader\": \"^8.0.4\",\n \"coveralls\": \"^3.0.2\",\n \"css-loader\": \"^2.0.1\",\n \"css-to-string-loader\": \"^0.1.3\",\n \"cypress\": \"4.0.1\",\n \"documentation\": \"^12.0.1\",\n \"eslint\": \"^6.3.0\",\n \"eslint-config-prettier\": \"^6.3.0\",\n \"eslint-plugin-prettier\": \"^3.1.0\",\n \"husky\": \"^1.2.1\",\n \"identity-obj-proxy\": \"^3.0.0\",\n \"jest\": \"^24.9.0\",\n \"jison\": \"^0.4.18\",\n \"moment\": \"^2.23.0\",\n \"node-sass\": \"^4.12.0\",\n \"prettier\": \"^1.18.2\",\n \"puppeteer\": \"^1.17.0\",\n \"sass-loader\": \"^7.1.0\",\n \"start-server-and-test\": \"^1.10.6\",\n \"terser-webpack-plugin\": \"^2.2.2\",\n \"webpack\": \"^4.41.2\",\n \"webpack-bundle-analyzer\": \"^3.7.0\",\n \"webpack-cli\": \"^3.1.2\",\n \"webpack-dev-server\": \"^3.4.1\",\n \"webpack-node-externals\": \"^1.7.2\",\n \"yarn-upgrade-all\": \"^0.5.0\"\n },\n \"files\": [\n \"dist\"\n ],\n \"yarn-upgrade-all\": {\n \"ignore\": [\n \"babel-core\"\n ]\n },\n \"sideEffects\": [\n \"**/*.css\",\n \"**/*.scss\"\n ]\n}\n" }, { "id": 31, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/eq.js", "name": "./node_modules/lodash/eq.js", "index": 583, "index2": 570, "size": 799, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "issuerId": 137, "issuerName": "./node_modules/lodash/defaults.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 76 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 48, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assocIndexOf.js", "module": "./node_modules/lodash/_assocIndexOf.js", "moduleName": "./node_modules/lodash/_assocIndexOf.js", "type": "cjs require", "userRequest": "./eq", "loc": "1:9-24" }, { "moduleId": 51, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignValue.js", "module": "./node_modules/lodash/_assignValue.js", "moduleName": "./node_modules/lodash/_assignValue.js", "type": "cjs require", "userRequest": "./eq", "loc": "2:9-24" }, { "moduleId": 61, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "module": "./node_modules/lodash/_isIterateeCall.js", "moduleName": "./node_modules/lodash/_isIterateeCall.js", "type": "cjs require", "userRequest": "./eq", "loc": "1:9-24" }, { "moduleId": 137, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "module": "./node_modules/lodash/defaults.js", "moduleName": "./node_modules/lodash/defaults.js", "type": "cjs require", "userRequest": "./eq", "loc": "2:9-24" }, { "moduleId": 140, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignMergeValue.js", "module": "./node_modules/lodash/_assignMergeValue.js", "moduleName": "./node_modules/lodash/_assignMergeValue.js", "type": "cjs require", "userRequest": "./eq", "loc": "2:9-24" }, { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./eq", "loc": "3:9-24" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n" }, { "id": 32, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isFunction.js", "name": "./node_modules/lodash/isFunction.js", "index": 595, "index2": 589, "size": 993, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isFunction", "loc": "15:18-46" }, { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArrayLike.js", "module": "./node_modules/lodash/isArrayLike.js", "moduleName": "./node_modules/lodash/isArrayLike.js", "type": "cjs require", "userRequest": "./isFunction", "loc": "1:17-40" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isFunction", "loc": "10:18-46" }, { "moduleId": 180, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "module": "./node_modules/lodash/_baseIsNative.js", "moduleName": "./node_modules/lodash/_baseIsNative.js", "type": "cjs require", "userRequest": "./isFunction", "loc": "1:17-40" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./isFunction", "loc": "8:17-40" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isFunction", "loc": "10:17-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n" }, { "id": 33, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Symbol.js", "name": "./node_modules/lodash/_Symbol.js", "index": 597, "index2": 584, "size": 118, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "issuerId": 28, "issuerName": "./node_modules/lodash/_baseGetTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 28, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "name": "./node_modules/lodash/_baseGetTag.js", "profile": { "factory": 67, "building": 39 } } ], "profile": { "factory": 62, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 28, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "module": "./node_modules/lodash/_baseGetTag.js", "moduleName": "./node_modules/lodash/_baseGetTag.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" }, { "moduleId": 182, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getRawTag.js", "module": "./node_modules/lodash/_getRawTag.js", "moduleName": "./node_modules/lodash/_getRawTag.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" }, { "moduleId": 218, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneSymbol.js", "module": "./node_modules/lodash/_cloneSymbol.js", "moduleName": "./node_modules/lodash/_cloneSymbol.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" }, { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" }, { "moduleId": 241, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseToString.js", "module": "./node_modules/lodash/_baseToString.js", "moduleName": "./node_modules/lodash/_baseToString.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" }, { "moduleId": 257, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isFlattenable.js", "module": "./node_modules/lodash/_isFlattenable.js", "moduleName": "./node_modules/lodash/_isFlattenable.js", "type": "cjs require", "userRequest": "./_Symbol", "loc": "1:13-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n" }, { "id": 34, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "name": "./node_modules/lodash/isBuffer.js", "index": 636, "index2": 625, "size": 1114, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "issuerId": 246, "issuerName": "./node_modules/lodash/isEmpty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 68, "building": 26, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "17:15-36" }, { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "4:15-36" }, { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "7:15-36" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "6:15-36" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "7:15-36" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isBuffer", "loc": "9:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n" }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "name": "./node_modules/lodash/keysIn.js", "index": 650, "index2": 642, "size": 778, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "issuerId": 137, "issuerName": "./node_modules/lodash/defaults.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 76 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 137, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "module": "./node_modules/lodash/defaults.js", "moduleName": "./node_modules/lodash/defaults.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "4:13-32" }, { "moduleId": 205, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignIn.js", "module": "./node_modules/lodash/_baseAssignIn.js", "moduleName": "./node_modules/lodash/_baseAssignIn.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "2:13-32" }, { "moduleId": 210, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "module": "./node_modules/lodash/_getAllKeysIn.js", "moduleName": "./node_modules/lodash/_getAllKeysIn.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "3:13-32" }, { "moduleId": 289, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "module": "./node_modules/lodash/forIn.js", "moduleName": "./node_modules/lodash/forIn.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "3:13-32" }, { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "6:13-32" }, { "moduleId": 297, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toPlainObject.js", "module": "./node_modules/lodash/toPlainObject.js", "moduleName": "./node_modules/lodash/toPlainObject.js", "type": "cjs require", "userRequest": "./keysIn", "loc": "2:13-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n" }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "index": 666, "index2": 661, "size": 1838, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "issuerId": 249, "issuerName": "./node_modules/lodash/size.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 64, "building": 25, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "12:13-33" }, { "moduleId": 220, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMap.js", "module": "./node_modules/lodash/_baseIsMap.js", "moduleName": "./node_modules/lodash/_baseIsMap.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "1:13-33" }, { "moduleId": 222, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsSet.js", "module": "./node_modules/lodash/_baseIsSet.js", "moduleName": "./node_modules/lodash/_baseIsSet.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "1:13-33" }, { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "5:13-33" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "2:13-33" }, { "moduleId": 249, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "module": "./node_modules/lodash/size.js", "moduleName": "./node_modules/lodash/size.js", "type": "cjs require", "userRequest": "./_getTag", "loc": "2:13-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n" }, { "id": 37, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSymbol.js", "name": "./node_modules/lodash/isSymbol.js", "index": 720, "index2": 706, "size": 682, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseExtremum.js", "issuerId": 87, "issuerName": "./node_modules/lodash/_baseExtremum.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 300, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "name": "./node_modules/lodash/minBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 87, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseExtremum.js", "name": "./node_modules/lodash/_baseExtremum.js", "profile": { "factory": 75, "building": 26 } } ], "profile": { "factory": 57, "building": 29, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 43, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_toKey.js", "module": "./node_modules/lodash/_toKey.js", "moduleName": "./node_modules/lodash/_toKey.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "1:15-36" }, { "moduleId": 84, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isKey.js", "module": "./node_modules/lodash/_isKey.js", "moduleName": "./node_modules/lodash/_isKey.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "2:15-36" }, { "moduleId": 87, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseExtremum.js", "module": "./node_modules/lodash/_baseExtremum.js", "moduleName": "./node_modules/lodash/_baseExtremum.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "1:15-36" }, { "moduleId": 241, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseToString.js", "module": "./node_modules/lodash/_baseToString.js", "moduleName": "./node_modules/lodash/_baseToString.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "4:15-36" }, { "moduleId": 288, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toNumber.js", "module": "./node_modules/lodash/toNumber.js", "moduleName": "./node_modules/lodash/toNumber.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "2:15-36" }, { "moduleId": 312, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareAscending.js", "module": "./node_modules/lodash/_compareAscending.js", "moduleName": "./node_modules/lodash/_compareAscending.js", "type": "cjs require", "userRequest": "./isSymbol", "loc": "1:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n" }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "index": 872, "index2": 867, "size": 559, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "issuerId": 10, "issuerName": "./node_modules/dagre-d3/lib/util.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } } ], "profile": { "factory": 56, "building": 103 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 10, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "module": "./node_modules/dagre-d3/lib/util.js", "moduleName": "./node_modules/dagre-d3/lib/util.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./lodash", "loc": "1:8-27" }, { "moduleId": 341, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-nodes.js", "module": "./node_modules/dagre-d3/lib/create-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/create-nodes.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 345, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "module": "./node_modules/dagre-d3/lib/create-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-labels.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 346, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-paths.js", "module": "./node_modules/dagre-d3/lib/create-edge-paths.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-paths.js", "type": "cjs require", "userRequest": "./lodash", "loc": "3:8-27" }, { "moduleId": 348, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-edge-labels.js", "module": "./node_modules/dagre-d3/lib/position-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/position-edge-labels.js", "type": "cjs require", "userRequest": "./lodash", "loc": "5:8-27" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n defaults: require(\"lodash/defaults\"),\n each: require(\"lodash/each\"),\n isFunction: require(\"lodash/isFunction\"),\n isPlainObject: require(\"lodash/isPlainObject\"),\n pick: require(\"lodash/pick\"),\n has: require(\"lodash/has\"),\n range: require(\"lodash/range\"),\n uniqueId: require(\"lodash/uniqueId\")\n };\n }\n catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n" }, { "id": 39, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "name": "./src/diagrams/class/parser/classDiagram.jison", "index": 559, "index2": 557, "size": 32826, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/classDiagram", "loc": "6:0-47" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "8:0-6" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/parser/classDiagram", "loc": "32:0-63" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "59:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "60:2-8" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/class/parser/classDiagram", "loc": "103:15-26" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,13],$V1=[1,16],$V2=[1,14],$V3=[1,15],$V4=[1,17],$V5=[1,18],$V6=[1,20],$V7=[1,21],$V8=[1,22],$V9=[6,8],$Va=[1,31],$Vb=[1,32],$Vc=[1,33],$Vd=[1,34],$Ve=[1,35],$Vf=[1,36],$Vg=[6,8,14,20,28,31,32,33,34,35,36],$Vh=[6,8,12,14,20,24,28,31,32,33,34,35,36,52,53,54],$Vi=[28,52,53,54],$Vj=[28,35,36,52,53,54],$Vk=[28,31,32,33,34,52,53,54],$Vl=[6,8,14],$Vm=[1,59];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"mermaidDoc\":3,\"graphConfig\":4,\"CLASS_DIAGRAM\":5,\"NEWLINE\":6,\"statements\":7,\"EOF\":8,\"statement\":9,\"className\":10,\"alphaNumToken\":11,\"GENERICTYPE\":12,\"relationStatement\":13,\"LABEL\":14,\"classStatement\":15,\"methodStatement\":16,\"annotationStatement\":17,\"clickStatement\":18,\"CLASS\":19,\"STRUCT_START\":20,\"members\":21,\"STRUCT_STOP\":22,\"ANNOTATION_START\":23,\"ANNOTATION_END\":24,\"MEMBER\":25,\"SEPARATOR\":26,\"relation\":27,\"STR\":28,\"relationType\":29,\"lineType\":30,\"AGGREGATION\":31,\"EXTENSION\":32,\"COMPOSITION\":33,\"DEPENDENCY\":34,\"LINE\":35,\"DOTTED_LINE\":36,\"CALLBACK\":37,\"LINK\":38,\"commentToken\":39,\"textToken\":40,\"graphCodeTokens\":41,\"textNoTagsToken\":42,\"TAGSTART\":43,\"TAGEND\":44,\"==\":45,\"--\":46,\"PCT\":47,\"DEFAULT\":48,\"SPACE\":49,\"MINUS\":50,\"keywords\":51,\"UNICODE_TEXT\":52,\"NUM\":53,\"ALPHA\":54,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",5:\"CLASS_DIAGRAM\",6:\"NEWLINE\",8:\"EOF\",12:\"GENERICTYPE\",14:\"LABEL\",19:\"CLASS\",20:\"STRUCT_START\",22:\"STRUCT_STOP\",23:\"ANNOTATION_START\",24:\"ANNOTATION_END\",25:\"MEMBER\",26:\"SEPARATOR\",28:\"STR\",31:\"AGGREGATION\",32:\"EXTENSION\",33:\"COMPOSITION\",34:\"DEPENDENCY\",35:\"LINE\",36:\"DOTTED_LINE\",37:\"CALLBACK\",38:\"LINK\",41:\"graphCodeTokens\",43:\"TAGSTART\",44:\"TAGEND\",45:\"==\",46:\"--\",47:\"PCT\",48:\"DEFAULT\",49:\"SPACE\",50:\"MINUS\",51:\"keywords\",52:\"UNICODE_TEXT\",53:\"NUM\",54:\"ALPHA\"},\nproductions_: [0,[3,1],[4,4],[7,1],[7,2],[7,3],[10,2],[10,1],[10,3],[10,2],[9,1],[9,2],[9,1],[9,1],[9,1],[9,1],[15,2],[15,5],[17,4],[21,1],[21,2],[16,1],[16,2],[16,1],[16,1],[13,3],[13,4],[13,4],[13,5],[27,3],[27,2],[27,2],[27,1],[29,1],[29,1],[29,1],[29,1],[30,1],[30,1],[18,3],[18,4],[18,3],[18,4],[39,1],[39,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[42,1],[42,1],[42,1],[42,1],[11,1],[11,1],[11,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 6:\n this.$=$$[$0-1]+$$[$0]; \nbreak;\ncase 7:\n this.$=$$[$0]; \nbreak;\ncase 8:\n this.$=$$[$0-2]+'~'+$$[$0-1]+$$[$0]; \nbreak;\ncase 9:\n this.$=$$[$0-1]+'~'+$$[$0]; \nbreak;\ncase 10:\n yy.addRelation($$[$0]); \nbreak;\ncase 11:\n $$[$0-1].title = yy.cleanupLabel($$[$0]); yy.addRelation($$[$0-1]); \nbreak;\ncase 16:\nyy.addClass($$[$0]);\nbreak;\ncase 17:\n/*console.log($$[$0-3],JSON.stringify($$[$0-1]));*/yy.addClass($$[$0-3]);yy.addMembers($$[$0-3],$$[$0-1]);\nbreak;\ncase 18:\n yy.addAnnotation($$[$0],$$[$0-2]); \nbreak;\ncase 19:\n this.$ = [$$[$0]]; \nbreak;\ncase 20:\n $$[$0].push($$[$0-1]);this.$=$$[$0];\nbreak;\ncase 21:\n/*console.log('Rel found',$$[$0]);*/\nbreak;\ncase 22:\nyy.addMember($$[$0-1],yy.cleanupLabel($$[$0]));\nbreak;\ncase 23:\n/*console.warn('Member',$$[$0]);*/\nbreak;\ncase 24:\n/*console.log('sep found',$$[$0]);*/\nbreak;\ncase 25:\n this.$ = {'id1':$$[$0-2],'id2':$$[$0], relation:$$[$0-1], relationTitle1:'none', relationTitle2:'none'}; \nbreak;\ncase 26:\n this.$ = {id1:$$[$0-3], id2:$$[$0], relation:$$[$0-1], relationTitle1:$$[$0-2], relationTitle2:'none'}\nbreak;\ncase 27:\n this.$ = {id1:$$[$0-3], id2:$$[$0], relation:$$[$0-2], relationTitle1:'none', relationTitle2:$$[$0-1]}; \nbreak;\ncase 28:\n this.$ = {id1:$$[$0-4], id2:$$[$0], relation:$$[$0-2], relationTitle1:$$[$0-3], relationTitle2:$$[$0-1]} \nbreak;\ncase 29:\n this.$={type1:$$[$0-2],type2:$$[$0],lineType:$$[$0-1]}; \nbreak;\ncase 30:\n this.$={type1:'none',type2:$$[$0],lineType:$$[$0-1]}; \nbreak;\ncase 31:\n this.$={type1:$$[$0-1],type2:'none',lineType:$$[$0]}; \nbreak;\ncase 32:\n this.$={type1:'none',type2:'none',lineType:$$[$0]}; \nbreak;\ncase 33:\n this.$=yy.relationType.AGGREGATION;\nbreak;\ncase 34:\n this.$=yy.relationType.EXTENSION;\nbreak;\ncase 35:\n this.$=yy.relationType.COMPOSITION;\nbreak;\ncase 36:\n this.$=yy.relationType.DEPENDENCY;\nbreak;\ncase 37:\nthis.$=yy.lineType.LINE;\nbreak;\ncase 38:\nthis.$=yy.lineType.DOTTED_LINE;\nbreak;\ncase 39:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-1], $$[$0], undefined);\nbreak;\ncase 40:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\ncase 41:\nthis.$ = $$[$0-2];yy.setLink($$[$0-1], $$[$0], undefined);\nbreak;\ncase 42:\nthis.$ = $$[$0-3];yy.setLink($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\n}\n},\ntable: [{3:1,4:2,5:[1,3]},{1:[3]},{1:[2,1]},{6:[1,4]},{7:5,9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:$V0,23:$V1,25:$V2,26:$V3,37:$V4,38:$V5,52:$V6,53:$V7,54:$V8},{8:[1,23]},{6:[1,24],8:[2,3]},o($V9,[2,10],{14:[1,25]}),o($V9,[2,12]),o($V9,[2,13]),o($V9,[2,14]),o($V9,[2,15]),o($V9,[2,21],{27:26,29:29,30:30,14:[1,28],28:[1,27],31:$Va,32:$Vb,33:$Vc,34:$Vd,35:$Ve,36:$Vf}),{10:37,11:19,52:$V6,53:$V7,54:$V8},o($V9,[2,23]),o($V9,[2,24]),{11:38,52:$V6,53:$V7,54:$V8},{10:39,11:19,52:$V6,53:$V7,54:$V8},{10:40,11:19,52:$V6,53:$V7,54:$V8},o($Vg,[2,7],{11:19,10:41,12:[1,42],52:$V6,53:$V7,54:$V8}),o($Vh,[2,56]),o($Vh,[2,57]),o($Vh,[2,58]),{1:[2,2]},{7:43,8:[2,4],9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:$V0,23:$V1,25:$V2,26:$V3,37:$V4,38:$V5,52:$V6,53:$V7,54:$V8},o($V9,[2,11]),{10:44,11:19,28:[1,45],52:$V6,53:$V7,54:$V8},{27:46,29:29,30:30,31:$Va,32:$Vb,33:$Vc,34:$Vd,35:$Ve,36:$Vf},o($V9,[2,22]),{30:47,35:$Ve,36:$Vf},o($Vi,[2,32],{29:48,31:$Va,32:$Vb,33:$Vc,34:$Vd}),o($Vj,[2,33]),o($Vj,[2,34]),o($Vj,[2,35]),o($Vj,[2,36]),o($Vk,[2,37]),o($Vk,[2,38]),o($V9,[2,16],{20:[1,49]}),{24:[1,50]},{28:[1,51]},{28:[1,52]},o($Vg,[2,6]),o($Vg,[2,9],{11:19,10:53,52:$V6,53:$V7,54:$V8}),{8:[2,5]},o($Vl,[2,25]),{10:54,11:19,52:$V6,53:$V7,54:$V8},{10:55,11:19,28:[1,56],52:$V6,53:$V7,54:$V8},o($Vi,[2,31],{29:57,31:$Va,32:$Vb,33:$Vc,34:$Vd}),o($Vi,[2,30]),{21:58,25:$Vm},{10:60,11:19,52:$V6,53:$V7,54:$V8},o($V9,[2,39],{28:[1,61]}),o($V9,[2,41],{28:[1,62]}),o($Vg,[2,8]),o($Vl,[2,27]),o($Vl,[2,26]),{10:63,11:19,52:$V6,53:$V7,54:$V8},o($Vi,[2,29]),{22:[1,64]},{21:65,22:[2,19],25:$Vm},o($V9,[2,18]),o($V9,[2,40]),o($V9,[2,42]),o($Vl,[2,28]),o($V9,[2,17]),{22:[2,20]}],\ndefaultActions: {2:[2,1],23:[2,2],43:[2,5],65:[2,20]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:return 6;\nbreak;\ncase 2:/* skip whitespace */\nbreak;\ncase 3:return 5;\nbreak;\ncase 4: this.begin(\"struct\"); /*console.log('Starting struct');*/return 20;\nbreak;\ncase 5:return \"EOF_IN_STRUCT\";\nbreak;\ncase 6:return \"OPEN_IN_STRUCT\";\nbreak;\ncase 7: /*console.log('Ending struct');*/this.popState(); return 22;\nbreak;\ncase 8:/* nothing */\nbreak;\ncase 9: /*console.log('lex-member: ' + yy_.yytext);*/ return \"MEMBER\";\nbreak;\ncase 10:return 19;\nbreak;\ncase 11:return 37;\nbreak;\ncase 12:return 38;\nbreak;\ncase 13:return 23;\nbreak;\ncase 14:return 24;\nbreak;\ncase 15:this.begin(\"generic\");\nbreak;\ncase 16:this.popState();\nbreak;\ncase 17:return \"GENERICTYPE\";\nbreak;\ncase 18:this.begin(\"string\");\nbreak;\ncase 19:this.popState();\nbreak;\ncase 20:return \"STR\";\nbreak;\ncase 21:return 32;\nbreak;\ncase 22:return 32;\nbreak;\ncase 23:return 34;\nbreak;\ncase 24:return 34;\nbreak;\ncase 25:return 33;\nbreak;\ncase 26:return 31;\nbreak;\ncase 27:return 35;\nbreak;\ncase 28:return 36;\nbreak;\ncase 29:return 14;\nbreak;\ncase 30:return 50;\nbreak;\ncase 31:return 'DOT';\nbreak;\ncase 32:return 'PLUS';\nbreak;\ncase 33:return 47;\nbreak;\ncase 34:return 'EQUALS';\nbreak;\ncase 35:return 'EQUALS';\nbreak;\ncase 36:return 54;\nbreak;\ncase 37:return 'PUNCTUATION';\nbreak;\ncase 38:return 53;\nbreak;\ncase 39:return 52;\nbreak;\ncase 40:return 49;\nbreak;\ncase 41:return 8;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*\\n*)/,/^(?:\\n+)/,/^(?:\\s+)/,/^(?:classDiagram\\b)/,/^(?:[\\{])/,/^(?:$)/,/^(?:[\\{])/,/^(?:\\})/,/^(?:[\\n])/,/^(?:[^\\{\\}\\n]*)/,/^(?:class\\b)/,/^(?:callback\\b)/,/^(?:link\\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:[\"])/,/^(?:[\"])/,/^(?:[^\"]*)/,/^(?:\\s*<\\|)/,/^(?:\\s*\\|>)/,/^(?:\\s*>)/,/^(?:\\s*<)/,/^(?:\\s*\\*)/,/^(?:\\s*o\\b)/,/^(?:--)/,/^(?:\\.\\.)/,/^(?::[^\\n;]+)/,/^(?:-)/,/^(?:\\.)/,/^(?:\\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\\w+)/,/^(?:[!\"#$%&'*+,-.`?\\\\/])/,/^(?:[0-9]+)/,/^(?:[\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6]|[\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377]|[\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5]|[\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA]|[\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE]|[\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA]|[\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0]|[\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977]|[\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2]|[\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A]|[\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39]|[\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8]|[\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C]|[\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C]|[\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99]|[\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0]|[\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D]|[\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3]|[\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10]|[\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1]|[\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81]|[\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3]|[\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6]|[\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A]|[\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081]|[\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D]|[\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0]|[\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310]|[\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C]|[\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711]|[\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7]|[\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C]|[\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16]|[\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF]|[\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC]|[\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D]|[\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D]|[\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3]|[\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F]|[\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128]|[\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184]|[\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3]|[\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6]|[\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE]|[\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C]|[\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D]|[\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC]|[\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B]|[\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788]|[\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805]|[\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB]|[\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28]|[\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5]|[\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4]|[\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E]|[\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D]|[\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36]|[\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D]|[\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC]|[\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF]|[\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC])/,/^(?:\\s)/,/^(?:$)/],\nconditions: {\"string\":{\"rules\":[19,20],\"inclusive\":false},\"generic\":{\"rules\":[16,17],\"inclusive\":false},\"struct\":{\"rules\":[5,6,7,8,9],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,10,11,12,13,14,15,18,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 40, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copyObject.js", "name": "./node_modules/lodash/_copyObject.js", "index": 628, "index2": 618, "size": 1044, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "issuerId": 209, "issuerName": "./node_modules/lodash/_copySymbolsIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 209, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "name": "./node_modules/lodash/_copySymbolsIn.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 40, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 199, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssign.js", "module": "./node_modules/lodash/_baseAssign.js", "moduleName": "./node_modules/lodash/_baseAssign.js", "type": "cjs require", "userRequest": "./_copyObject", "loc": "1:17-41" }, { "moduleId": 205, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignIn.js", "module": "./node_modules/lodash/_baseAssignIn.js", "moduleName": "./node_modules/lodash/_baseAssignIn.js", "type": "cjs require", "userRequest": "./_copyObject", "loc": "1:17-41" }, { "moduleId": 208, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "module": "./node_modules/lodash/_copySymbols.js", "moduleName": "./node_modules/lodash/_copySymbols.js", "type": "cjs require", "userRequest": "./_copyObject", "loc": "1:17-41" }, { "moduleId": 209, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "module": "./node_modules/lodash/_copySymbolsIn.js", "moduleName": "./node_modules/lodash/_copySymbolsIn.js", "type": "cjs require", "userRequest": "./_copyObject", "loc": "1:17-41" }, { "moduleId": 297, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toPlainObject.js", "module": "./node_modules/lodash/toPlainObject.js", "moduleName": "./node_modules/lodash/toPlainObject.js", "type": "cjs require", "userRequest": "./_copyObject", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n" }, { "id": 41, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArguments.js", "name": "./node_modules/lodash/isArguments.js", "index": 632, "index2": 622, "size": 1026, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "issuerId": 246, "issuerName": "./node_modules/lodash/isEmpty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 68, "building": 26, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./isArguments", "loc": "2:18-42" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./isArguments", "loc": "2:18-42" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./isArguments", "loc": "3:18-42" }, { "moduleId": 257, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isFlattenable.js", "module": "./node_modules/lodash/_isFlattenable.js", "moduleName": "./node_modules/lodash/_isFlattenable.js", "type": "cjs require", "userRequest": "./isArguments", "loc": "2:18-42" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isArguments", "loc": "6:18-42" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n" }, { "id": 42, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "name": "./node_modules/lodash/isTypedArray.js", "index": 639, "index2": 631, "size": 695, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "issuerId": 246, "issuerName": "./node_modules/lodash/isEmpty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 68, "building": 26, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./isTypedArray", "loc": "6:19-44" }, { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./isTypedArray", "loc": "8:19-44" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./isTypedArray", "loc": "8:19-44" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./isTypedArray", "loc": "10:19-44" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isTypedArray", "loc": "13:19-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n" }, { "id": 43, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_toKey.js", "name": "./node_modules/lodash/_toKey.js", "index": 727, "index2": 715, "size": 523, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "issuerId": 120, "issuerName": "./node_modules/lodash/_hasPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } } ], "profile": { "factory": 72, "building": 28, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 83, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGet.js", "module": "./node_modules/lodash/_baseGet.js", "moduleName": "./node_modules/lodash/_baseGet.js", "type": "cjs require", "userRequest": "./_toKey", "loc": "2:12-31" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./_toKey", "loc": "6:12-31" }, { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./_toKey", "loc": "7:12-31" }, { "moduleId": 243, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "module": "./node_modules/lodash/property.js", "moduleName": "./node_modules/lodash/property.js", "type": "cjs require", "userRequest": "./_toKey", "loc": "4:12-31" }, { "moduleId": 304, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "module": "./node_modules/lodash/_baseSet.js", "moduleName": "./node_modules/lodash/_baseSet.js", "type": "cjs require", "userRequest": "./_toKey", "loc": "5:12-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n" }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "index": 878, "index2": 871, "size": 814, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 2701, "building": 33, "dependencies": 622 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 89, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "module": "./node_modules/dagre-d3/lib/label/add-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-label.js", "type": "cjs require", "userRequest": "./add-html-label", "loc": "2:19-46" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "7:0-64" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "7:0-64" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "55:19-31" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "56:19-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "var util = require(\"../util\");\n\nmodule.exports = addHtmlLabel;\n\nfunction addHtmlLabel(root, node) {\n var fo = root\n .append(\"foreignObject\")\n .attr(\"width\", \"100000\");\n\n var div = fo\n .append(\"xhtml:div\");\n div.attr(\"xmlns\", \"http://www.w3.org/1999/xhtml\");\n\n var label = node.label;\n switch(typeof label) {\n case \"function\":\n div.insert(label);\n break;\n case \"object\":\n // Currently we assume this is a DOM object.\n div.insert(function() { return label; });\n break;\n default: div.html(label);\n }\n\n util.applyStyle(div, node.labelStyle);\n div.style(\"display\", \"inline-block\");\n // Fix for firefox\n div.style(\"white-space\", \"nowrap\");\n\n var client = div.node().getBoundingClientRect();\n fo\n .attr(\"width\", client.width)\n .attr(\"height\", client.height); \n\n return fo;\n}\n" }, { "id": 45, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/runtime/api.js", "name": "./node_modules/css-loader/dist/runtime/api.js", "index": 532, "index2": 527, "size": 2406, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "issuerId": 164, "issuerName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 163, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "profile": { "factory": 1847, "building": 0 } }, { "id": 164, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "profile": { "factory": 1, "building": 3929 } } ], "profile": { "factory": 28, "building": 4 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 160, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 162, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 164, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 166, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return '@media ' + item[2] + '{' + content + '}';\n } else {\n return content;\n }\n }).join('');\n }; // import a list of modules into the list\n\n\n list.i = function (modules, mediaQuery) {\n if (typeof modules === 'string') {\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n for (var i = 0; i < this.length; i++) {\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n\n for (i = 0; i < modules.length; i++) {\n var item = modules[i]; // skip already imported module\n // this implementation is not 100% perfect for weird media query combinations\n // when a module is imported multiple times with different media queries.\n // I hope this will never occur (Hey this way we have smaller bundles)\n\n if (item[0] == null || !alreadyImportedModules[item[0]]) {\n if (mediaQuery && !item[2]) {\n item[2] = mediaQuery;\n } else if (mediaQuery) {\n item[2] = '(' + item[2] + ') and (' + mediaQuery + ')';\n }\n\n list.push(item);\n }\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || '';\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n return '/*# ' + data + ' */';\n}" }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "index": 578, "index2": 613, "size": 734, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_Stack", "loc": "1:12-31" }, { "moduleId": 227, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMatch.js", "module": "./node_modules/lodash/_baseIsMatch.js", "moduleName": "./node_modules/lodash/_baseIsMatch.js", "type": "cjs require", "userRequest": "./_Stack", "loc": "1:12-31" }, { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./_Stack", "loc": "1:12-31" }, { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./_Stack", "loc": "1:12-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n" }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "index": 579, "index2": 576, "size": 869, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_ListCache", "loc": "1:16-39" }, { "moduleId": 175, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackClear.js", "module": "./node_modules/lodash/_stackClear.js", "moduleName": "./node_modules/lodash/_stackClear.js", "type": "cjs require", "userRequest": "./_ListCache", "loc": "1:16-39" }, { "moduleId": 179, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackSet.js", "module": "./node_modules/lodash/_stackSet.js", "moduleName": "./node_modules/lodash/_stackSet.js", "type": "cjs require", "userRequest": "./_ListCache", "loc": "1:16-39" }, { "moduleId": 187, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "module": "./node_modules/lodash/_mapCacheClear.js", "moduleName": "./node_modules/lodash/_mapCacheClear.js", "type": "cjs require", "userRequest": "./_ListCache", "loc": "2:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n" }, { "id": 48, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assocIndexOf.js", "name": "./node_modules/lodash/_assocIndexOf.js", "index": 582, "index2": 571, "size": 487, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheSet.js", "issuerId": 174, "issuerName": "./node_modules/lodash/_listCacheSet.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } }, { "id": 174, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheSet.js", "name": "./node_modules/lodash/_listCacheSet.js", "profile": { "factory": 81, "building": 26, "dependencies": 89 } } ], "profile": { "factory": 92, "building": 22, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 171, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheDelete.js", "module": "./node_modules/lodash/_listCacheDelete.js", "moduleName": "./node_modules/lodash/_listCacheDelete.js", "type": "cjs require", "userRequest": "./_assocIndexOf", "loc": "1:19-45" }, { "moduleId": 172, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheGet.js", "module": "./node_modules/lodash/_listCacheGet.js", "moduleName": "./node_modules/lodash/_listCacheGet.js", "type": "cjs require", "userRequest": "./_assocIndexOf", "loc": "1:19-45" }, { "moduleId": 173, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheHas.js", "module": "./node_modules/lodash/_listCacheHas.js", "moduleName": "./node_modules/lodash/_listCacheHas.js", "type": "cjs require", "userRequest": "./_assocIndexOf", "loc": "1:19-45" }, { "moduleId": 174, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheSet.js", "module": "./node_modules/lodash/_listCacheSet.js", "moduleName": "./node_modules/lodash/_listCacheSet.js", "type": "cjs require", "userRequest": "./_assocIndexOf", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n" }, { "id": 49, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nativeCreate.js", "name": "./node_modules/lodash/_nativeCreate.js", "index": 612, "index2": 597, "size": 187, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashClear.js", "issuerId": 189, "issuerName": "./node_modules/lodash/_hashClear.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } }, { "id": 189, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashClear.js", "name": "./node_modules/lodash/_hashClear.js", "profile": { "factory": 9, "building": 1, "dependencies": 3 } } ], "profile": { "factory": 3, "building": 0, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 189, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashClear.js", "module": "./node_modules/lodash/_hashClear.js", "moduleName": "./node_modules/lodash/_hashClear.js", "type": "cjs require", "userRequest": "./_nativeCreate", "loc": "1:19-45" }, { "moduleId": 191, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashGet.js", "module": "./node_modules/lodash/_hashGet.js", "moduleName": "./node_modules/lodash/_hashGet.js", "type": "cjs require", "userRequest": "./_nativeCreate", "loc": "1:19-45" }, { "moduleId": 192, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashHas.js", "module": "./node_modules/lodash/_hashHas.js", "moduleName": "./node_modules/lodash/_hashHas.js", "type": "cjs require", "userRequest": "./_nativeCreate", "loc": "1:19-45" }, { "moduleId": 193, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashSet.js", "module": "./node_modules/lodash/_hashSet.js", "moduleName": "./node_modules/lodash/_hashSet.js", "type": "cjs require", "userRequest": "./_nativeCreate", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 13, "source": "var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n" }, { "id": 50, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMapData.js", "name": "./node_modules/lodash/_getMapData.js", "index": 618, "index2": 606, "size": 400, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheSet.js", "issuerId": 198, "issuerName": "./node_modules/lodash/_mapCacheSet.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 198, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheSet.js", "name": "./node_modules/lodash/_mapCacheSet.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } } ], "profile": { "factory": 39, "building": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 194, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheDelete.js", "module": "./node_modules/lodash/_mapCacheDelete.js", "moduleName": "./node_modules/lodash/_mapCacheDelete.js", "type": "cjs require", "userRequest": "./_getMapData", "loc": "1:17-41" }, { "moduleId": 196, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheGet.js", "module": "./node_modules/lodash/_mapCacheGet.js", "moduleName": "./node_modules/lodash/_mapCacheGet.js", "type": "cjs require", "userRequest": "./_getMapData", "loc": "1:17-41" }, { "moduleId": 197, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheHas.js", "module": "./node_modules/lodash/_mapCacheHas.js", "moduleName": "./node_modules/lodash/_mapCacheHas.js", "type": "cjs require", "userRequest": "./_getMapData", "loc": "1:17-41" }, { "moduleId": 198, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheSet.js", "module": "./node_modules/lodash/_mapCacheSet.js", "moduleName": "./node_modules/lodash/_mapCacheSet.js", "type": "cjs require", "userRequest": "./_getMapData", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n" }, { "id": 51, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignValue.js", "name": "./node_modules/lodash/_assignValue.js", "index": 624, "index2": 617, "size": 899, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "issuerId": 313, "issuerName": "./node_modules/lodash/zipObject.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 313, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "name": "./node_modules/lodash/zipObject.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 129, "building": 19, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 40, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copyObject.js", "module": "./node_modules/lodash/_copyObject.js", "moduleName": "./node_modules/lodash/_copyObject.js", "type": "cjs require", "userRequest": "./_assignValue", "loc": "1:18-43" }, { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_assignValue", "loc": "3:18-43" }, { "moduleId": 304, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "module": "./node_modules/lodash/_baseSet.js", "moduleName": "./node_modules/lodash/_baseSet.js", "type": "cjs require", "userRequest": "./_assignValue", "loc": "1:18-43" }, { "moduleId": 313, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "module": "./node_modules/lodash/zipObject.js", "moduleName": "./node_modules/lodash/zipObject.js", "type": "cjs require", "userRequest": "./_assignValue", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n" }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "index": 625, "index2": 616, "size": 625, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "issuerId": 291, "issuerName": "./node_modules/lodash/mapValues.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 73, "building": 26, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 40, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copyObject.js", "module": "./node_modules/lodash/_copyObject.js", "moduleName": "./node_modules/lodash/_copyObject.js", "type": "cjs require", "userRequest": "./_baseAssignValue", "loc": "2:22-51" }, { "moduleId": 51, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignValue.js", "module": "./node_modules/lodash/_assignValue.js", "moduleName": "./node_modules/lodash/_assignValue.js", "type": "cjs require", "userRequest": "./_baseAssignValue", "loc": "1:22-51" }, { "moduleId": 140, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignMergeValue.js", "module": "./node_modules/lodash/_assignMergeValue.js", "moduleName": "./node_modules/lodash/_assignMergeValue.js", "type": "cjs require", "userRequest": "./_baseAssignValue", "loc": "1:22-51" }, { "moduleId": 291, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "module": "./node_modules/lodash/mapValues.js", "moduleName": "./node_modules/lodash/mapValues.js", "type": "cjs require", "userRequest": "./_baseAssignValue", "loc": "1:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n" }, { "id": 53, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIndex.js", "name": "./node_modules/lodash/_isIndex.js", "index": 638, "index2": 626, "size": 759, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "issuerId": 61, "issuerName": "./node_modules/lodash/_isIterateeCall.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 61, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "name": "./node_modules/lodash/_isIterateeCall.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } } ], "profile": { "factory": 75, "building": 34, "dependencies": 24 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 61, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "module": "./node_modules/lodash/_isIterateeCall.js", "moduleName": "./node_modules/lodash/_isIterateeCall.js", "type": "cjs require", "userRequest": "./_isIndex", "loc": "3:14-35" }, { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./_isIndex", "loc": "5:14-35" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./_isIndex", "loc": "4:14-35" }, { "moduleId": 304, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "module": "./node_modules/lodash/_baseSet.js", "moduleName": "./node_modules/lodash/_baseSet.js", "type": "cjs require", "userRequest": "./_isIndex", "loc": "3:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n" }, { "id": 54, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUnary.js", "name": "./node_modules/lodash/_baseUnary.js", "index": 642, "index2": 629, "size": 332, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "issuerId": 309, "issuerName": "./node_modules/lodash/_baseOrderBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 309, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "name": "./node_modules/lodash/_baseOrderBy.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } } ], "profile": { "factory": 61, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 42, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "module": "./node_modules/lodash/isTypedArray.js", "moduleName": "./node_modules/lodash/isTypedArray.js", "type": "cjs require", "userRequest": "./_baseUnary", "loc": "2:16-39" }, { "moduleId": 219, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "module": "./node_modules/lodash/isMap.js", "moduleName": "./node_modules/lodash/isMap.js", "type": "cjs require", "userRequest": "./_baseUnary", "loc": "2:16-39" }, { "moduleId": 221, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "module": "./node_modules/lodash/isSet.js", "moduleName": "./node_modules/lodash/isSet.js", "type": "cjs require", "userRequest": "./_baseUnary", "loc": "2:16-39" }, { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_baseUnary", "loc": "5:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n" }, { "id": 55, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isPrototype.js", "name": "./node_modules/lodash/_isPrototype.js", "index": 645, "index2": 633, "size": 480, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "issuerId": 246, "issuerName": "./node_modules/lodash/isEmpty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 68, "building": 26, "dependencies": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 74, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeys.js", "module": "./node_modules/lodash/_baseKeys.js", "moduleName": "./node_modules/lodash/_baseKeys.js", "type": "cjs require", "userRequest": "./_isPrototype", "loc": "1:18-43" }, { "moduleId": 107, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneObject.js", "module": "./node_modules/lodash/_initCloneObject.js", "moduleName": "./node_modules/lodash/_initCloneObject.js", "type": "cjs require", "userRequest": "./_isPrototype", "loc": "3:18-43" }, { "moduleId": 206, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "module": "./node_modules/lodash/_baseKeysIn.js", "moduleName": "./node_modules/lodash/_baseKeysIn.js", "type": "cjs require", "userRequest": "./_isPrototype", "loc": "2:18-43" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./_isPrototype", "loc": "7:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n" }, { "id": 56, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getPrototype.js", "name": "./node_modules/lodash/_getPrototype.js", "index": 662, "index2": 651, "size": 163, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "issuerId": 141, "issuerName": "./node_modules/lodash/isPlainObject.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 67, "building": 39 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 101, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbolsIn.js", "module": "./node_modules/lodash/_getSymbolsIn.js", "moduleName": "./node_modules/lodash/_getSymbolsIn.js", "type": "cjs require", "userRequest": "./_getPrototype", "loc": "2:19-45" }, { "moduleId": 107, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneObject.js", "module": "./node_modules/lodash/_initCloneObject.js", "moduleName": "./node_modules/lodash/_initCloneObject.js", "type": "cjs require", "userRequest": "./_getPrototype", "loc": "2:19-45" }, { "moduleId": 141, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "module": "./node_modules/lodash/isPlainObject.js", "moduleName": "./node_modules/lodash/isPlainObject.js", "type": "cjs require", "userRequest": "./_getPrototype", "loc": "2:19-45" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./_getPrototype", "loc": "5:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n" }, { "id": 57, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseEach.js", "name": "./node_modules/lodash/_baseEach.js", "index": 688, "index2": 683, "size": 455, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "issuerId": 125, "issuerName": "./node_modules/lodash/reduce.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 83, "building": 25, "dependencies": 4 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 109, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "module": "./node_modules/lodash/forEach.js", "moduleName": "./node_modules/lodash/forEach.js", "type": "cjs require", "userRequest": "./_baseEach", "loc": "2:15-37" }, { "moduleId": 124, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMap.js", "module": "./node_modules/lodash/_baseMap.js", "moduleName": "./node_modules/lodash/_baseMap.js", "type": "cjs require", "userRequest": "./_baseEach", "loc": "1:15-37" }, { "moduleId": 125, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "module": "./node_modules/lodash/reduce.js", "moduleName": "./node_modules/lodash/reduce.js", "type": "cjs require", "userRequest": "./_baseEach", "loc": "2:15-37" }, { "moduleId": 225, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFilter.js", "module": "./node_modules/lodash/_baseFilter.js", "moduleName": "./node_modules/lodash/_baseFilter.js", "type": "cjs require", "userRequest": "./_baseEach", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n" }, { "id": 58, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "name": "./node_modules/lodash/_castPath.js", "index": 718, "index2": 714, "size": 569, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "issuerId": 120, "issuerName": "./node_modules/lodash/_hasPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } } ], "profile": { "factory": 72, "building": 28, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 83, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGet.js", "module": "./node_modules/lodash/_baseGet.js", "moduleName": "./node_modules/lodash/_baseGet.js", "type": "cjs require", "userRequest": "./_castPath", "loc": "1:15-37" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./_castPath", "loc": "1:15-37" }, { "moduleId": 303, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "module": "./node_modules/lodash/_basePickBy.js", "moduleName": "./node_modules/lodash/_basePickBy.js", "type": "cjs require", "userRequest": "./_castPath", "loc": "3:15-37" }, { "moduleId": 304, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "module": "./node_modules/lodash/_baseSet.js", "moduleName": "./node_modules/lodash/_baseSet.js", "type": "cjs require", "userRequest": "./_castPath", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n" }, { "id": 59, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayMap.js", "name": "./node_modules/lodash/_arrayMap.js", "index": 726, "index2": 711, "size": 556, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "issuerId": 123, "issuerName": "./node_modules/lodash/map.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 123, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "name": "./node_modules/lodash/map.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 123, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "module": "./node_modules/lodash/map.js", "moduleName": "./node_modules/lodash/map.js", "type": "cjs require", "userRequest": "./_arrayMap", "loc": "1:15-37" }, { "moduleId": 241, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseToString.js", "module": "./node_modules/lodash/_baseToString.js", "moduleName": "./node_modules/lodash/_baseToString.js", "type": "cjs require", "userRequest": "./_arrayMap", "loc": "2:15-37" }, { "moduleId": 269, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseValues.js", "module": "./node_modules/lodash/_baseValues.js", "moduleName": "./node_modules/lodash/_baseValues.js", "type": "cjs require", "userRequest": "./_arrayMap", "loc": "1:15-37" }, { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_arrayMap", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n" }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "index": 753, "index2": 750, "size": 559, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "issuerId": 137, "issuerName": "./node_modules/lodash/defaults.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 76 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 137, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "module": "./node_modules/lodash/defaults.js", "moduleName": "./node_modules/lodash/defaults.js", "type": "cjs require", "userRequest": "./_baseRest", "loc": "1:15-37" }, { "moduleId": 256, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "module": "./node_modules/lodash/union.js", "moduleName": "./node_modules/lodash/union.js", "type": "cjs require", "userRequest": "./_baseRest", "loc": "2:15-37" }, { "moduleId": 298, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createAssigner.js", "module": "./node_modules/lodash/_createAssigner.js", "moduleName": "./node_modules/lodash/_createAssigner.js", "type": "cjs require", "userRequest": "./_baseRest", "loc": "1:15-37" }, { "moduleId": 308, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "module": "./node_modules/lodash/sortBy.js", "moduleName": "./node_modules/lodash/sortBy.js", "type": "cjs require", "userRequest": "./_baseRest", "loc": "3:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n" }, { "id": 61, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isIterateeCall.js", "name": "./node_modules/lodash/_isIterateeCall.js", "index": 796, "index2": 787, "size": 877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "issuerId": 137, "issuerName": "./node_modules/lodash/defaults.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 76 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 137, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "module": "./node_modules/lodash/defaults.js", "moduleName": "./node_modules/lodash/defaults.js", "type": "cjs require", "userRequest": "./_isIterateeCall", "loc": "3:21-49" }, { "moduleId": 298, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createAssigner.js", "module": "./node_modules/lodash/_createAssigner.js", "moduleName": "./node_modules/lodash/_createAssigner.js", "type": "cjs require", "userRequest": "./_isIterateeCall", "loc": "2:21-49" }, { "moduleId": 306, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "module": "./node_modules/lodash/_createRange.js", "moduleName": "./node_modules/lodash/_createRange.js", "type": "cjs require", "userRequest": "./_isIterateeCall", "loc": "2:21-49" }, { "moduleId": 308, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "module": "./node_modules/lodash/sortBy.js", "moduleName": "./node_modules/lodash/sortBy.js", "type": "cjs require", "userRequest": "./_isIterateeCall", "loc": "4:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n" }, { "id": 62, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/util.js", "name": "./node_modules/dagre/lib/rank/util.js", "index": 844, "index2": 836, "size": 1769, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "issuerId": 319, "issuerName": "./node_modules/dagre/lib/rank/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 319, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "name": "./node_modules/dagre/lib/rank/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 85, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 147, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/feasible-tree.js", "module": "./node_modules/dagre/lib/rank/feasible-tree.js", "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", "type": "cjs require", "userRequest": "./util", "loc": "5:12-29" }, { "moduleId": 319, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "module": "./node_modules/dagre/lib/rank/index.js", "moduleName": "./node_modules/dagre/lib/rank/index.js", "type": "cjs require", "userRequest": "./util", "loc": "3:15-32" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "./util", "loc": "5:12-29" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "./util", "loc": "6:15-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = {\n longestPath: longestPath,\n slack: slack\n};\n\n/*\n * Initializes ranks for the input graph using the longest path algorithm. This\n * algorithm scales well and is fast in practice, it yields rather poor\n * solutions. Nodes are pushed to the lowest layer possible, leaving the bottom\n * ranks wide and leaving edges longer than necessary. However, due to its\n * speed, this algorithm is good for getting an initial ranking that can be fed\n * into other algorithms.\n *\n * This algorithm does not normalize layers because it will be used by other\n * algorithms in most cases. If using this algorithm directly, be sure to\n * run normalize at the end.\n *\n * Pre-conditions:\n *\n * 1. Input graph is a DAG.\n * 2. Input graph node labels can be assigned properties.\n *\n * Post-conditions:\n *\n * 1. Each node will be assign an (unnormalized) \"rank\" property.\n */\nfunction longestPath(g) {\n var visited = {};\n\n function dfs(v) {\n var label = g.node(v);\n if (_.has(visited, v)) {\n return label.rank;\n }\n visited[v] = true;\n\n var rank = _.min(_.map(g.outEdges(v), function(e) {\n return dfs(e.w) - g.edge(e).minlen;\n }));\n\n if (rank === Number.POSITIVE_INFINITY || // return value of _.map([]) for Lodash 3\n rank === undefined || // return value of _.map([]) for Lodash 4\n rank === null) { // return value of _.map([null])\n rank = 0;\n }\n\n return (label.rank = rank);\n }\n\n _.forEach(g.sources(), dfs);\n}\n\n/*\n * Returns the amount of slack for the given edge. The slack is defined as the\n * difference between the length of the edge and its minimum length.\n */\nfunction slack(g, e) {\n return g.node(e.w).rank - g.node(e.v).rank - g.edge(e).minlen;\n}\n" }, { "id": 63, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/@braintree/sanitize-url/index.js", "name": "./node_modules/@braintree/sanitize-url/index.js", "index": 540, "index2": 537, "size": 854, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "issuerId": null, "issuerName": "./src/utils.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 1707, "building": 708 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "@braintree/sanitize-url", "loc": "10:0-54" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "@braintree/sanitize-url", "loc": "15:0-54" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "@braintree/sanitize-url", "loc": "278:13-24" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "@braintree/sanitize-url", "loc": "479:14-25" } ], "usedExports": [ "sanitizeUrl" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "'use strict';\n\nvar invalidPrototcolRegex = /^(%20|\\s)*(javascript|data)/im;\nvar ctrlCharactersRegex = /[^\\x20-\\x7E]/gmi;\nvar urlSchemeRegex = /^([^:]+):/gm;\nvar relativeFirstCharacters = ['.', '/']\n\nfunction isRelativeUrl(url) {\n return relativeFirstCharacters.indexOf(url[0]) > -1;\n}\n\nfunction sanitizeUrl(url) {\n if (!url) {\n return 'about:blank';\n }\n\n var urlScheme, urlSchemeParseResults;\n var sanitizedUrl = url.replace(ctrlCharactersRegex, '').trim();\n\n if (isRelativeUrl(sanitizedUrl)) {\n return sanitizedUrl;\n }\n\n urlSchemeParseResults = sanitizedUrl.match(urlSchemeRegex);\n\n if (!urlSchemeParseResults) {\n return 'about:blank';\n }\n\n urlScheme = urlSchemeParseResults[0];\n\n if (invalidPrototcolRegex.test(urlScheme)) {\n return 'about:blank';\n }\n\n return sanitizedUrl;\n}\n\nmodule.exports = {\n sanitizeUrl: sanitizeUrl\n};\n" }, { "id": 64, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "name": "./src/diagrams/git/parser/gitGraph.jison", "index": 547, "index2": 548, "size": 23638, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/gitGraph", "loc": "3:0-47" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/parser/gitGraph", "loc": "39:0-60" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/git/parser/gitGraph", "loc": "76:15-29" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/gitGraph", "loc": "237:17-31" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[2,3],$V1=[1,7],$V2=[7,12,15,17,19,20,21],$V3=[7,11,12,15,17,19,20,21],$V4=[2,20],$V5=[1,32];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"GG\":4,\":\":5,\"document\":6,\"EOF\":7,\"DIR\":8,\"options\":9,\"body\":10,\"OPT\":11,\"NL\":12,\"line\":13,\"statement\":14,\"COMMIT\":15,\"commit_arg\":16,\"BRANCH\":17,\"ID\":18,\"CHECKOUT\":19,\"MERGE\":20,\"RESET\":21,\"reset_arg\":22,\"STR\":23,\"HEAD\":24,\"reset_parents\":25,\"CARET\":26,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"GG\",5:\":\",7:\"EOF\",8:\"DIR\",11:\"OPT\",12:\"NL\",15:\"COMMIT\",17:\"BRANCH\",18:\"ID\",19:\"CHECKOUT\",20:\"MERGE\",21:\"RESET\",23:\"STR\",24:\"HEAD\",26:\"CARET\"},\nproductions_: [0,[3,4],[3,5],[6,0],[6,2],[9,2],[9,1],[10,0],[10,2],[13,2],[13,1],[14,2],[14,2],[14,2],[14,2],[14,2],[16,0],[16,1],[22,2],[22,2],[25,0],[25,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\nyy.setDirection($$[$0-3]); return $$[$0-1];\nbreak;\ncase 4:\n yy.setOptions($$[$0-1]); this.$ = $$[$0]\nbreak;\ncase 5:\n$$[$0-1] +=$$[$0]; this.$=$$[$0-1]\nbreak;\ncase 7:\nthis.$ = []\nbreak;\ncase 8:\n$$[$0-1].push($$[$0]); this.$=$$[$0-1];\nbreak;\ncase 9:\nthis.$ =$$[$0-1]\nbreak;\ncase 11:\nyy.commit($$[$0])\nbreak;\ncase 12:\nyy.branch($$[$0])\nbreak;\ncase 13:\nyy.checkout($$[$0])\nbreak;\ncase 14:\nyy.merge($$[$0])\nbreak;\ncase 15:\nyy.reset($$[$0])\nbreak;\ncase 16:\nthis.$ = \"\"\nbreak;\ncase 17:\nthis.$=$$[$0]\nbreak;\ncase 18:\nthis.$ = $$[$0-1]+ \":\" + $$[$0] \nbreak;\ncase 19:\nthis.$ = $$[$0-1]+ \":\" + yy.count; yy.count = 0\nbreak;\ncase 20:\nyy.count = 0\nbreak;\ncase 21:\n yy.count += 1 \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:$V0,9:6,12:$V1},{5:[1,8]},{7:[1,9]},o($V2,[2,7],{10:10,11:[1,11]}),o($V3,[2,6]),{6:12,7:$V0,9:6,12:$V1},{1:[2,1]},{7:[2,4],12:[1,15],13:13,14:14,15:[1,16],17:[1,17],19:[1,18],20:[1,19],21:[1,20]},o($V3,[2,5]),{7:[1,21]},o($V2,[2,8]),{12:[1,22]},o($V2,[2,10]),{12:[2,16],16:23,23:[1,24]},{18:[1,25]},{18:[1,26]},{18:[1,27]},{18:[1,30],22:28,24:[1,29]},{1:[2,2]},o($V2,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:$V4,25:31,26:$V5},{12:$V4,25:33,26:$V5},{12:[2,18]},{12:$V4,25:34,26:$V5},{12:[2,19]},{12:[2,21]}],\ndefaultActions: {9:[2,1],21:[2,2],23:[2,11],24:[2,17],25:[2,12],26:[2,13],27:[2,14],28:[2,15],31:[2,18],33:[2,19],34:[2,21]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 12;\nbreak;\ncase 1:/* skip all whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:return 4;\nbreak;\ncase 5:return 15;\nbreak;\ncase 6:return 17;\nbreak;\ncase 7:return 20;\nbreak;\ncase 8:return 21;\nbreak;\ncase 9:return 19;\nbreak;\ncase 10:return 8;\nbreak;\ncase 11:return 8;\nbreak;\ncase 12:return 5;\nbreak;\ncase 13:return 26\nbreak;\ncase 14:this.begin(\"options\");\nbreak;\ncase 15:this.popState();\nbreak;\ncase 16:return 11;\nbreak;\ncase 17:this.begin(\"string\");\nbreak;\ncase 18:this.popState();\nbreak;\ncase 19:return 23;\nbreak;\ncase 20:return 18;\nbreak;\ncase 21:return 7;\nbreak;\n}\n},\nrules: [/^(?:(\\r?\\n)+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:gitGraph\\b)/i,/^(?:commit\\b)/i,/^(?:branch\\b)/i,/^(?:merge\\b)/i,/^(?:reset\\b)/i,/^(?:checkout\\b)/i,/^(?:LR\\b)/i,/^(?:BT\\b)/i,/^(?::)/i,/^(?:\\^)/i,/^(?:options\\r?\\n)/i,/^(?:end\\r?\\n)/i,/^(?:[^\\n]+\\r?\\n)/i,/^(?:[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[a-zA-Z][-_\\.a-zA-Z0-9]*[-_a-zA-Z0-9])/i,/^(?:$)/i],\nconditions: {\"options\":{\"rules\":[15,16],\"inclusive\":false},\"string\":{\"rules\":[18,19],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 65, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "name": "./src/diagrams/info/parser/info.jison", "index": 563, "index2": 561, "size": 21150, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/info", "loc": "6:0-39" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/info", "loc": "23:17-27" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/parser/info", "loc": "43:0-53" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/info/parser/info", "loc": "119:15-25" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,9,10];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"info\":4,\"document\":5,\"EOF\":6,\"line\":7,\"statement\":8,\"NL\":9,\"showInfo\":10,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"info\",6:\"EOF\",9:\"NL\",10:\"showInfo\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return yy; \nbreak;\ncase 4:\n \nbreak;\ncase 6:\n yy.setInfo(true); \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},o($V0,[2,3]),o($V0,[2,4]),o($V0,[2,5]),o($V0,[2,6])],\ndefaultActions: {4:[2,1]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\n\t// Pre-lexer code can go here\n\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 4 ;\nbreak;\ncase 1:return 9 ;\nbreak;\ncase 2:return 'space';\nbreak;\ncase 3:return 10;\nbreak;\ncase 4:return 6 ;\nbreak;\ncase 5:return 'TXT' ;\nbreak;\n}\n},\nrules: [/^(?:info\\b)/i,/^(?:[\\s\\n\\r]+)/i,/^(?:[\\s]+)/i,/^(?:showInfo\\b)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 66, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "name": "./src/diagrams/pie/parser/pie.jison", "index": 565, "index2": 563, "size": 21750, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/pie", "loc": "6:0-37" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/pie", "loc": "24:17-26" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/parser/pie", "loc": "46:0-50" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/pie/parser/pie", "loc": "125:15-24" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,9,10,12];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"pie\":4,\"document\":5,\"EOF\":6,\"line\":7,\"statement\":8,\"NL\":9,\"STR\":10,\"VALUE\":11,\"title\":12,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"pie\",6:\"EOF\",9:\"NL\",10:\"STR\",11:\"VALUE\",12:\"title\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,2],[8,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 4:\n \nbreak;\ncase 6:\n\n\t\t/*console.log('str:'+$$[$0-1]+' value: '+$$[$0])*/\n\t\tyy.addSection($$[$0-1],yy.cleanupValue($$[$0])); \nbreak;\ncase 7:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8],12:[1,9]},{1:[2,1]},o($V0,[2,3]),o($V0,[2,4]),o($V0,[2,5]),{11:[1,10]},o($V0,[2,7]),o($V0,[2,6])],\ndefaultActions: {4:[2,1]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\n\t// Pre-lexer code can go here\n\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:return 4 ;\nbreak;\ncase 3:return 9 ;\nbreak;\ncase 4:return 'space';\nbreak;\ncase 5:return 12;\nbreak;\ncase 6:/*console.log('begin str');*/this.begin(\"string\");\nbreak;\ncase 7:/*console.log('pop-state');*/this.popState();\nbreak;\ncase 8:/*console.log('ending string')*/return \"STR\";\nbreak;\ncase 9:return \"VALUE\";\nbreak;\ncase 10:return 6 ;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*)/i,/^(?:\\s+)/i,/^(?:pie\\b)/i,/^(?:[\\s\\n\\r]+)/i,/^(?:[\\s]+)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?::[\\s]*[\\d]+(?:\\.[\\d]+)?)/i,/^(?:$)/i],\nconditions: {\"string\":{\"rules\":[7,8],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,9,10],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 67, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "name": "./src/diagrams/er/parser/erDiagram.jison", "index": 567, "index2": 565, "size": 23211, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/erDiagram", "loc": "4:0-42" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/parser/erDiagram", "loc": "49:0-54" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./diagrams/er/parser/erDiagram", "loc": "131:15-23" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./parser/erDiagram", "loc": "190:15-23" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,12],$V1=[1,7],$V2=[1,10],$V3=[1,11],$V4=[1,12],$V5=[1,13],$V6=[12,19,20],$V7=[15,16,17,18];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"ER_DIAGRAM\":4,\"document\":5,\"EOF\":6,\"statement\":7,\"entityName\":8,\"relSpec\":9,\":\":10,\"role\":11,\"ALPHANUM\":12,\"cardinality\":13,\"relType\":14,\"ZERO_OR_ONE\":15,\"ZERO_OR_MORE\":16,\"ONE_OR_MORE\":17,\"ONLY_ONE\":18,\"NON_IDENTIFYING\":19,\"IDENTIFYING\":20,\"WORD\":21,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"ER_DIAGRAM\",6:\"EOF\",10:\":\",12:\"ALPHANUM\",15:\"ZERO_OR_ONE\",16:\"ZERO_OR_MORE\",17:\"ONE_OR_MORE\",18:\"ONLY_ONE\",19:\"NON_IDENTIFYING\",20:\"IDENTIFYING\",21:\"WORD\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,5],[8,1],[9,3],[13,1],[13,1],[13,1],[13,1],[14,1],[14,1],[11,1],[11,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n /*console.log('finished parsing');*/ \nbreak;\ncase 4:\n\n yy.addEntity($$[$0-4]); \n yy.addEntity($$[$0-2]); \n yy.addRelationship($$[$0-4], $$[$0], $$[$0-2], $$[$0-3]);\n /*console.log($$[$0-4] + $$[$0-3] + $$[$0-2] + ':' + $$[$0]);*/\n \nbreak;\ncase 5:\n this.$ = $$[$0]; /*console.log('Entity: ' + $$[$0]);*/ \nbreak;\ncase 6:\n\n this.$ = { cardA: $$[$0], relType: $$[$0-1], cardB: $$[$0-2] };\n /*console.log('relSpec: ' + $$[$0] + $$[$0-1] + $$[$0-2]);*/\n \nbreak;\ncase 7:\n this.$ = yy.Cardinality.ZERO_OR_ONE; \nbreak;\ncase 8:\n this.$ = yy.Cardinality.ZERO_OR_MORE; \nbreak;\ncase 9:\n this.$ = yy.Cardinality.ONE_OR_MORE; \nbreak;\ncase 10:\n this.$ = yy.Cardinality.ONLY_ONE; \nbreak;\ncase 11:\n this.$ = yy.Identification.NON_IDENTIFYING; \nbreak;\ncase 12:\n this.$ = yy.Identification.IDENTIFYING; \nbreak;\ncase 13:\n this.$ = $$[$0].replace(/\"/g, ''); \nbreak;\ncase 14:\n this.$ = $$[$0]; \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,12:$V1},{1:[2,1]},o($V0,[2,3]),{9:8,13:9,15:$V2,16:$V3,17:$V4,18:$V5},o([10,15,16,17,18],[2,5]),{8:14,12:$V1},{14:15,19:[1,16],20:[1,17]},o($V6,[2,7]),o($V6,[2,8]),o($V6,[2,9]),o($V6,[2,10]),{10:[1,18]},{13:19,15:$V2,16:$V3,17:$V4,18:$V5},o($V7,[2,11]),o($V7,[2,12]),{11:20,12:[1,22],21:[1,21]},{12:[2,6]},o($V0,[2,4]),o($V0,[2,13]),o($V0,[2,14])],\ndefaultActions: {4:[2,1],19:[2,6]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* skip whitespace */\nbreak;\ncase 1:return 'SPACE';\nbreak;\ncase 2:return 21;\nbreak;\ncase 3:return 4;\nbreak;\ncase 4:return 15;\nbreak;\ncase 5:return 16;\nbreak;\ncase 6:return 17;\nbreak;\ncase 7:return 18;\nbreak;\ncase 8:return 15;\nbreak;\ncase 9:return 16;\nbreak;\ncase 10:return 17;\nbreak;\ncase 11:return 19;\nbreak;\ncase 12:return 20;\nbreak;\ncase 13:return 19;\nbreak;\ncase 14:return 19;\nbreak;\ncase 15:return 12;\nbreak;\ncase 16:return yy_.yytext[0];\nbreak;\ncase 17:return 6;\nbreak;\n}\n},\nrules: [/^(?:\\s+)/i,/^(?:[\\s]+)/i,/^(?:\"[^\"]*\")/i,/^(?:erDiagram\\b)/i,/^(?:\\|o\\b)/i,/^(?:\\}o\\b)/i,/^(?:\\}\\|)/i,/^(?:\\|\\|)/i,/^(?:o\\|)/i,/^(?:o\\{)/i,/^(?:\\|\\{)/i,/^(?:\\.\\.)/i,/^(?:--)/i,/^(?:\\.-)/i,/^(?:-\\.)/i,/^(?:[A-Za-z][A-Za-z0-9\\-]*)/i,/^(?:.)/i,/^(?:$)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 68, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/graph.js", "name": "./node_modules/graphlib/lib/graph.js", "index": 574, "index2": 765, "size": 12028, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "issuerId": 271, "issuerName": "./node_modules/graphlib/lib/json.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 106, "building": 76, "dependencies": 123 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 168, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/index.js", "module": "./node_modules/graphlib/lib/index.js", "moduleName": "./node_modules/graphlib/lib/index.js", "type": "cjs require", "userRequest": "./graph", "loc": "3:9-27" }, { "moduleId": 271, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "module": "./node_modules/graphlib/lib/json.js", "moduleName": "./node_modules/graphlib/lib/json.js", "type": "cjs require", "userRequest": "./graph", "loc": "2:12-30" }, { "moduleId": 280, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "module": "./node_modules/graphlib/lib/alg/prim.js", "moduleName": "./node_modules/graphlib/lib/alg/prim.js", "type": "cjs require", "userRequest": "../graph", "loc": "2:12-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\n\nmodule.exports = Graph;\n\nvar DEFAULT_EDGE_NAME = \"\\x00\";\nvar GRAPH_NODE = \"\\x00\";\nvar EDGE_KEY_DELIM = \"\\x01\";\n\n// Implementation notes:\n//\n// * Node id query functions should return string ids for the nodes\n// * Edge id query functions should return an \"edgeObj\", edge object, that is\n// composed of enough information to uniquely identify an edge: {v, w, name}.\n// * Internally we use an \"edgeId\", a stringified form of the edgeObj, to\n// reference edges. This is because we need a performant way to look these\n// edges up and, object properties, which have string keys, are the closest\n// we're going to get to a performant hashtable in JavaScript.\n\nfunction Graph(opts) {\n this._isDirected = _.has(opts, \"directed\") ? opts.directed : true;\n this._isMultigraph = _.has(opts, \"multigraph\") ? opts.multigraph : false;\n this._isCompound = _.has(opts, \"compound\") ? opts.compound : false;\n\n // Label for the graph itself\n this._label = undefined;\n\n // Defaults to be set when creating a new node\n this._defaultNodeLabelFn = _.constant(undefined);\n\n // Defaults to be set when creating a new edge\n this._defaultEdgeLabelFn = _.constant(undefined);\n\n // v -> label\n this._nodes = {};\n\n if (this._isCompound) {\n // v -> parent\n this._parent = {};\n\n // v -> children\n this._children = {};\n this._children[GRAPH_NODE] = {};\n }\n\n // v -> edgeObj\n this._in = {};\n\n // u -> v -> Number\n this._preds = {};\n\n // v -> edgeObj\n this._out = {};\n\n // v -> w -> Number\n this._sucs = {};\n\n // e -> edgeObj\n this._edgeObjs = {};\n\n // e -> label\n this._edgeLabels = {};\n}\n\n/* Number of nodes in the graph. Should only be changed by the implementation. */\nGraph.prototype._nodeCount = 0;\n\n/* Number of edges in the graph. Should only be changed by the implementation. */\nGraph.prototype._edgeCount = 0;\n\n\n/* === Graph functions ========= */\n\nGraph.prototype.isDirected = function() {\n return this._isDirected;\n};\n\nGraph.prototype.isMultigraph = function() {\n return this._isMultigraph;\n};\n\nGraph.prototype.isCompound = function() {\n return this._isCompound;\n};\n\nGraph.prototype.setGraph = function(label) {\n this._label = label;\n return this;\n};\n\nGraph.prototype.graph = function() {\n return this._label;\n};\n\n\n/* === Node functions ========== */\n\nGraph.prototype.setDefaultNodeLabel = function(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultNodeLabelFn = newDefault;\n return this;\n};\n\nGraph.prototype.nodeCount = function() {\n return this._nodeCount;\n};\n\nGraph.prototype.nodes = function() {\n return _.keys(this._nodes);\n};\n\nGraph.prototype.sources = function() {\n var self = this;\n return _.filter(this.nodes(), function(v) {\n return _.isEmpty(self._in[v]);\n });\n};\n\nGraph.prototype.sinks = function() {\n var self = this;\n return _.filter(this.nodes(), function(v) {\n return _.isEmpty(self._out[v]);\n });\n};\n\nGraph.prototype.setNodes = function(vs, value) {\n var args = arguments;\n var self = this;\n _.each(vs, function(v) {\n if (args.length > 1) {\n self.setNode(v, value);\n } else {\n self.setNode(v);\n }\n });\n return this;\n};\n\nGraph.prototype.setNode = function(v, value) {\n if (_.has(this._nodes, v)) {\n if (arguments.length > 1) {\n this._nodes[v] = value;\n }\n return this;\n }\n\n this._nodes[v] = arguments.length > 1 ? value : this._defaultNodeLabelFn(v);\n if (this._isCompound) {\n this._parent[v] = GRAPH_NODE;\n this._children[v] = {};\n this._children[GRAPH_NODE][v] = true;\n }\n this._in[v] = {};\n this._preds[v] = {};\n this._out[v] = {};\n this._sucs[v] = {};\n ++this._nodeCount;\n return this;\n};\n\nGraph.prototype.node = function(v) {\n return this._nodes[v];\n};\n\nGraph.prototype.hasNode = function(v) {\n return _.has(this._nodes, v);\n};\n\nGraph.prototype.removeNode = function(v) {\n var self = this;\n if (_.has(this._nodes, v)) {\n var removeEdge = function(e) { self.removeEdge(self._edgeObjs[e]); };\n delete this._nodes[v];\n if (this._isCompound) {\n this._removeFromParentsChildList(v);\n delete this._parent[v];\n _.each(this.children(v), function(child) {\n self.setParent(child);\n });\n delete this._children[v];\n }\n _.each(_.keys(this._in[v]), removeEdge);\n delete this._in[v];\n delete this._preds[v];\n _.each(_.keys(this._out[v]), removeEdge);\n delete this._out[v];\n delete this._sucs[v];\n --this._nodeCount;\n }\n return this;\n};\n\nGraph.prototype.setParent = function(v, parent) {\n if (!this._isCompound) {\n throw new Error(\"Cannot set parent in a non-compound graph\");\n }\n\n if (_.isUndefined(parent)) {\n parent = GRAPH_NODE;\n } else {\n // Coerce parent to string\n parent += \"\";\n for (var ancestor = parent;\n !_.isUndefined(ancestor);\n ancestor = this.parent(ancestor)) {\n if (ancestor === v) {\n throw new Error(\"Setting \" + parent+ \" as parent of \" + v +\n \" would create a cycle\");\n }\n }\n\n this.setNode(parent);\n }\n\n this.setNode(v);\n this._removeFromParentsChildList(v);\n this._parent[v] = parent;\n this._children[parent][v] = true;\n return this;\n};\n\nGraph.prototype._removeFromParentsChildList = function(v) {\n delete this._children[this._parent[v]][v];\n};\n\nGraph.prototype.parent = function(v) {\n if (this._isCompound) {\n var parent = this._parent[v];\n if (parent !== GRAPH_NODE) {\n return parent;\n }\n }\n};\n\nGraph.prototype.children = function(v) {\n if (_.isUndefined(v)) {\n v = GRAPH_NODE;\n }\n\n if (this._isCompound) {\n var children = this._children[v];\n if (children) {\n return _.keys(children);\n }\n } else if (v === GRAPH_NODE) {\n return this.nodes();\n } else if (this.hasNode(v)) {\n return [];\n }\n};\n\nGraph.prototype.predecessors = function(v) {\n var predsV = this._preds[v];\n if (predsV) {\n return _.keys(predsV);\n }\n};\n\nGraph.prototype.successors = function(v) {\n var sucsV = this._sucs[v];\n if (sucsV) {\n return _.keys(sucsV);\n }\n};\n\nGraph.prototype.neighbors = function(v) {\n var preds = this.predecessors(v);\n if (preds) {\n return _.union(preds, this.successors(v));\n }\n};\n\nGraph.prototype.isLeaf = function (v) {\n var neighbors;\n if (this.isDirected()) {\n neighbors = this.successors(v);\n } else {\n neighbors = this.neighbors(v);\n }\n return neighbors.length === 0;\n};\n\nGraph.prototype.filterNodes = function(filter) {\n var copy = new this.constructor({\n directed: this._isDirected,\n multigraph: this._isMultigraph,\n compound: this._isCompound\n });\n\n copy.setGraph(this.graph());\n\n var self = this;\n _.each(this._nodes, function(value, v) {\n if (filter(v)) {\n copy.setNode(v, value);\n }\n });\n\n _.each(this._edgeObjs, function(e) {\n if (copy.hasNode(e.v) && copy.hasNode(e.w)) {\n copy.setEdge(e, self.edge(e));\n }\n });\n\n var parents = {};\n function findParent(v) {\n var parent = self.parent(v);\n if (parent === undefined || copy.hasNode(parent)) {\n parents[v] = parent;\n return parent;\n } else if (parent in parents) {\n return parents[parent];\n } else {\n return findParent(parent);\n }\n }\n\n if (this._isCompound) {\n _.each(copy.nodes(), function(v) {\n copy.setParent(v, findParent(v));\n });\n }\n\n return copy;\n};\n\n/* === Edge functions ========== */\n\nGraph.prototype.setDefaultEdgeLabel = function(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultEdgeLabelFn = newDefault;\n return this;\n};\n\nGraph.prototype.edgeCount = function() {\n return this._edgeCount;\n};\n\nGraph.prototype.edges = function() {\n return _.values(this._edgeObjs);\n};\n\nGraph.prototype.setPath = function(vs, value) {\n var self = this;\n var args = arguments;\n _.reduce(vs, function(v, w) {\n if (args.length > 1) {\n self.setEdge(v, w, value);\n } else {\n self.setEdge(v, w);\n }\n return w;\n });\n return this;\n};\n\n/*\n * setEdge(v, w, [value, [name]])\n * setEdge({ v, w, [name] }, [value])\n */\nGraph.prototype.setEdge = function() {\n var v, w, name, value;\n var valueSpecified = false;\n var arg0 = arguments[0];\n\n if (typeof arg0 === \"object\" && arg0 !== null && \"v\" in arg0) {\n v = arg0.v;\n w = arg0.w;\n name = arg0.name;\n if (arguments.length === 2) {\n value = arguments[1];\n valueSpecified = true;\n }\n } else {\n v = arg0;\n w = arguments[1];\n name = arguments[3];\n if (arguments.length > 2) {\n value = arguments[2];\n valueSpecified = true;\n }\n }\n\n v = \"\" + v;\n w = \"\" + w;\n if (!_.isUndefined(name)) {\n name = \"\" + name;\n }\n\n var e = edgeArgsToId(this._isDirected, v, w, name);\n if (_.has(this._edgeLabels, e)) {\n if (valueSpecified) {\n this._edgeLabels[e] = value;\n }\n return this;\n }\n\n if (!_.isUndefined(name) && !this._isMultigraph) {\n throw new Error(\"Cannot set a named edge when isMultigraph = false\");\n }\n\n // It didn't exist, so we need to create it.\n // First ensure the nodes exist.\n this.setNode(v);\n this.setNode(w);\n\n this._edgeLabels[e] = valueSpecified ? value : this._defaultEdgeLabelFn(v, w, name);\n\n var edgeObj = edgeArgsToObj(this._isDirected, v, w, name);\n // Ensure we add undirected edges in a consistent way.\n v = edgeObj.v;\n w = edgeObj.w;\n\n Object.freeze(edgeObj);\n this._edgeObjs[e] = edgeObj;\n incrementOrInitEntry(this._preds[w], v);\n incrementOrInitEntry(this._sucs[v], w);\n this._in[w][e] = edgeObj;\n this._out[v][e] = edgeObj;\n this._edgeCount++;\n return this;\n};\n\nGraph.prototype.edge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n return this._edgeLabels[e];\n};\n\nGraph.prototype.hasEdge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n return _.has(this._edgeLabels, e);\n};\n\nGraph.prototype.removeEdge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n var edge = this._edgeObjs[e];\n if (edge) {\n v = edge.v;\n w = edge.w;\n delete this._edgeLabels[e];\n delete this._edgeObjs[e];\n decrementOrRemoveEntry(this._preds[w], v);\n decrementOrRemoveEntry(this._sucs[v], w);\n delete this._in[w][e];\n delete this._out[v][e];\n this._edgeCount--;\n }\n return this;\n};\n\nGraph.prototype.inEdges = function(v, u) {\n var inV = this._in[v];\n if (inV) {\n var edges = _.values(inV);\n if (!u) {\n return edges;\n }\n return _.filter(edges, function(edge) { return edge.v === u; });\n }\n};\n\nGraph.prototype.outEdges = function(v, w) {\n var outV = this._out[v];\n if (outV) {\n var edges = _.values(outV);\n if (!w) {\n return edges;\n }\n return _.filter(edges, function(edge) { return edge.w === w; });\n }\n};\n\nGraph.prototype.nodeEdges = function(v, w) {\n var inEdges = this.inEdges(v, w);\n if (inEdges) {\n return inEdges.concat(this.outEdges(v, w));\n }\n};\n\nfunction incrementOrInitEntry(map, k) {\n if (map[k]) {\n map[k]++;\n } else {\n map[k] = 1;\n }\n}\n\nfunction decrementOrRemoveEntry(map, k) {\n if (!--map[k]) { delete map[k]; }\n}\n\nfunction edgeArgsToId(isDirected, v_, w_, name) {\n var v = \"\" + v_;\n var w = \"\" + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n return v + EDGE_KEY_DELIM + w + EDGE_KEY_DELIM +\n (_.isUndefined(name) ? DEFAULT_EDGE_NAME : name);\n}\n\nfunction edgeArgsToObj(isDirected, v_, w_, name) {\n var v = \"\" + v_;\n var w = \"\" + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n var edgeObj = { v: v, w: w };\n if (name) {\n edgeObj.name = name;\n }\n return edgeObj;\n}\n\nfunction edgeObjToId(isDirected, edgeObj) {\n return edgeArgsToId(isDirected, edgeObj.v, edgeObj.w, edgeObj.name);\n}\n" }, { "id": 69, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Map.js", "name": "./node_modules/lodash/_Map.js", "index": 592, "index2": 596, "size": 195, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_Map", "loc": "2:10-27" }, { "moduleId": 179, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackSet.js", "module": "./node_modules/lodash/_stackSet.js", "moduleName": "./node_modules/lodash/_stackSet.js", "type": "cjs require", "userRequest": "./_Map", "loc": "2:10-27" }, { "moduleId": 187, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "module": "./node_modules/lodash/_mapCacheClear.js", "moduleName": "./node_modules/lodash/_mapCacheClear.js", "type": "cjs require", "userRequest": "./_Map", "loc": "3:10-27" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n" }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "index": 608, "index2": 611, "size": 869, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "issuerId": 114, "issuerName": "./node_modules/lodash/_SetCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } } ], "profile": { "factory": 83, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 114, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "module": "./node_modules/lodash/_SetCache.js", "moduleName": "./node_modules/lodash/_SetCache.js", "type": "cjs require", "userRequest": "./_MapCache", "loc": "1:15-37" }, { "moduleId": 179, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackSet.js", "module": "./node_modules/lodash/_stackSet.js", "moduleName": "./node_modules/lodash/_stackSet.js", "type": "cjs require", "userRequest": "./_MapCache", "loc": "3:15-37" }, { "moduleId": 240, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/memoize.js", "module": "./node_modules/lodash/memoize.js", "moduleName": "./node_modules/lodash/memoize.js", "type": "cjs require", "userRequest": "./_MapCache", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n" }, { "id": 71, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayEach.js", "name": "./node_modules/lodash/_arrayEach.js", "index": 623, "index2": 614, "size": 537, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "issuerId": 109, "issuerName": "./node_modules/lodash/forEach.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 109, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "name": "./node_modules/lodash/forEach.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 63, "building": 35 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_arrayEach", "loc": "2:16-39" }, { "moduleId": 109, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "module": "./node_modules/lodash/forEach.js", "moduleName": "./node_modules/lodash/forEach.js", "type": "cjs require", "userRequest": "./_arrayEach", "loc": "1:16-39" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./_arrayEach", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n" }, { "id": 72, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isLength.js", "name": "./node_modules/lodash/isLength.js", "index": 641, "index2": 627, "size": 802, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "issuerId": 120, "issuerName": "./node_modules/lodash/_hasPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } } ], "profile": { "factory": 72, "building": 28, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArrayLike.js", "module": "./node_modules/lodash/isArrayLike.js", "moduleName": "./node_modules/lodash/isArrayLike.js", "type": "cjs require", "userRequest": "./isLength", "loc": "2:15-36" }, { "moduleId": 120, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "module": "./node_modules/lodash/_hasPath.js", "moduleName": "./node_modules/lodash/_hasPath.js", "type": "cjs require", "userRequest": "./isLength", "loc": "5:15-36" }, { "moduleId": 203, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsTypedArray.js", "module": "./node_modules/lodash/_baseIsTypedArray.js", "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", "type": "cjs require", "userRequest": "./isLength", "loc": "2:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n" }, { "id": 73, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nodeUtil.js", "name": "./node_modules/lodash/_nodeUtil.js", "index": 643, "index2": 630, "size": 995, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "issuerId": 42, "issuerName": "./node_modules/lodash/isTypedArray.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 42, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "name": "./node_modules/lodash/isTypedArray.js", "profile": { "factory": 68, "building": 26, "dependencies": 6 } } ], "profile": { "factory": 59, "building": 37, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 42, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "module": "./node_modules/lodash/isTypedArray.js", "moduleName": "./node_modules/lodash/isTypedArray.js", "type": "cjs require", "userRequest": "./_nodeUtil", "loc": "3:15-37" }, { "moduleId": 219, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "module": "./node_modules/lodash/isMap.js", "moduleName": "./node_modules/lodash/isMap.js", "type": "cjs require", "userRequest": "./_nodeUtil", "loc": "3:15-37" }, { "moduleId": 221, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "module": "./node_modules/lodash/isSet.js", "moduleName": "./node_modules/lodash/isSet.js", "type": "cjs require", "userRequest": "./_nodeUtil", "loc": "3:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n" }, { "id": 74, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeys.js", "name": "./node_modules/lodash/_baseKeys.js", "index": 644, "index2": 636, "size": 776, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "issuerId": 249, "issuerName": "./node_modules/lodash/size.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 64, "building": 25, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keys.js", "module": "./node_modules/lodash/keys.js", "moduleName": "./node_modules/lodash/keys.js", "type": "cjs require", "userRequest": "./_baseKeys", "loc": "2:15-37" }, { "moduleId": 246, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "module": "./node_modules/lodash/isEmpty.js", "moduleName": "./node_modules/lodash/isEmpty.js", "type": "cjs require", "userRequest": "./_baseKeys", "loc": "1:15-37" }, { "moduleId": 249, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "module": "./node_modules/lodash/size.js", "moduleName": "./node_modules/lodash/size.js", "type": "cjs require", "userRequest": "./_baseKeys", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n" }, { "id": 75, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbols.js", "name": "./node_modules/lodash/_getSymbols.js", "index": 656, "index2": 648, "size": 886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "issuerId": 208, "issuerName": "./node_modules/lodash/_copySymbols.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 208, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "name": "./node_modules/lodash/_copySymbols.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 68, "building": 39, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 101, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbolsIn.js", "module": "./node_modules/lodash/_getSymbolsIn.js", "moduleName": "./node_modules/lodash/_getSymbolsIn.js", "type": "cjs require", "userRequest": "./_getSymbols", "loc": "3:17-41" }, { "moduleId": 102, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeys.js", "module": "./node_modules/lodash/_getAllKeys.js", "moduleName": "./node_modules/lodash/_getAllKeys.js", "type": "cjs require", "userRequest": "./_getSymbols", "loc": "2:17-41" }, { "moduleId": 208, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "module": "./node_modules/lodash/_copySymbols.js", "moduleName": "./node_modules/lodash/_copySymbols.js", "type": "cjs require", "userRequest": "./_getSymbols", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n" }, { "id": 76, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayPush.js", "name": "./node_modules/lodash/_arrayPush.js", "index": 661, "index2": 650, "size": 437, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "issuerId": 86, "issuerName": "./node_modules/lodash/_baseFlatten.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 86, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "name": "./node_modules/lodash/_baseFlatten.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } } ], "profile": { "factory": 62, "building": 25, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 86, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "module": "./node_modules/lodash/_baseFlatten.js", "moduleName": "./node_modules/lodash/_baseFlatten.js", "type": "cjs require", "userRequest": "./_arrayPush", "loc": "1:16-39" }, { "moduleId": 101, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbolsIn.js", "module": "./node_modules/lodash/_getSymbolsIn.js", "moduleName": "./node_modules/lodash/_getSymbolsIn.js", "type": "cjs require", "userRequest": "./_arrayPush", "loc": "1:16-39" }, { "moduleId": 103, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetAllKeys.js", "module": "./node_modules/lodash/_baseGetAllKeys.js", "moduleName": "./node_modules/lodash/_baseGetAllKeys.js", "type": "cjs require", "userRequest": "./_arrayPush", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n" }, { "id": 77, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneArrayBuffer.js", "name": "./node_modules/lodash/_cloneArrayBuffer.js", "index": 673, "index2": 664, "size": 449, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "issuerId": 215, "issuerName": "./node_modules/lodash/_initCloneByTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 88, "building": 41, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 106, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneTypedArray.js", "module": "./node_modules/lodash/_cloneTypedArray.js", "moduleName": "./node_modules/lodash/_cloneTypedArray.js", "type": "cjs require", "userRequest": "./_cloneArrayBuffer", "loc": "1:23-53" }, { "moduleId": 215, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "module": "./node_modules/lodash/_initCloneByTag.js", "moduleName": "./node_modules/lodash/_initCloneByTag.js", "type": "cjs require", "userRequest": "./_cloneArrayBuffer", "loc": "1:23-53" }, { "moduleId": 216, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneDataView.js", "module": "./node_modules/lodash/_cloneDataView.js", "moduleName": "./node_modules/lodash/_cloneDataView.js", "type": "cjs require", "userRequest": "./_cloneArrayBuffer", "loc": "1:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n" }, { "id": 78, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/constant.js", "name": "./node_modules/lodash/constant.js", "index": 685, "index2": 678, "size": 528, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/constant", "loc": "9:16-42" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/constant", "loc": "9:16-42" }, { "moduleId": 259, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSetToString.js", "module": "./node_modules/lodash/_baseSetToString.js", "moduleName": "./node_modules/lodash/_baseSetToString.js", "type": "cjs require", "userRequest": "./constant", "loc": "1:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n" }, { "id": 79, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/each.js", "name": "./node_modules/lodash/each.js", "index": 686, "index2": 687, "size": 39, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/each", "loc": "11:12-34" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/each", "loc": "10:12-34" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/each", "loc": "9:12-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "module.exports = require('./forEach');\n" }, { "id": 80, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseForOwn.js", "name": "./node_modules/lodash/_baseForOwn.js", "index": 689, "index2": 681, "size": 456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "issuerId": 291, "issuerName": "./node_modules/lodash/mapValues.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 73, "building": 26, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 57, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseEach.js", "module": "./node_modules/lodash/_baseEach.js", "moduleName": "./node_modules/lodash/_baseEach.js", "type": "cjs require", "userRequest": "./_baseForOwn", "loc": "1:17-41" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./_baseForOwn", "loc": "3:17-41" }, { "moduleId": 291, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "module": "./node_modules/lodash/mapValues.js", "moduleName": "./node_modules/lodash/mapValues.js", "type": "cjs require", "userRequest": "./_baseForOwn", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n" }, { "id": 81, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFor.js", "name": "./node_modules/lodash/_baseFor.js", "index": 690, "index2": 680, "size": 593, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "issuerId": 289, "issuerName": "./node_modules/lodash/forIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 289, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "name": "./node_modules/lodash/forIn.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 65, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 80, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseForOwn.js", "module": "./node_modules/lodash/_baseForOwn.js", "moduleName": "./node_modules/lodash/_baseForOwn.js", "type": "cjs require", "userRequest": "./_baseFor", "loc": "1:14-35" }, { "moduleId": 289, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "module": "./node_modules/lodash/forIn.js", "moduleName": "./node_modules/lodash/forIn.js", "type": "cjs require", "userRequest": "./_baseFor", "loc": "1:14-35" }, { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./_baseFor", "loc": "3:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n" }, { "id": 82, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToArray.js", "name": "./node_modules/lodash/_setToArray.js", "index": 710, "index2": 696, "size": 345, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./_setToArray", "loc": "6:17-41" }, { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_setToArray", "loc": "6:17-41" }, { "moduleId": 267, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "module": "./node_modules/lodash/_createSet.js", "moduleName": "./node_modules/lodash/_createSet.js", "type": "cjs require", "userRequest": "./_setToArray", "loc": "3:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n" }, { "id": 83, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGet.js", "name": "./node_modules/lodash/_baseGet.js", "index": 717, "index2": 716, "size": 616, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "issuerId": 303, "issuerName": "./node_modules/lodash/_basePickBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "profile": { "factory": 68, "building": 40, "dependencies": 46 } }, { "id": 303, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "name": "./node_modules/lodash/_basePickBy.js", "profile": { "factory": 62, "building": 23, "dependencies": 0 } } ], "profile": { "factory": 63, "building": 25, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 237, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/get.js", "module": "./node_modules/lodash/get.js", "moduleName": "./node_modules/lodash/get.js", "type": "cjs require", "userRequest": "./_baseGet", "loc": "1:14-35" }, { "moduleId": 244, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePropertyDeep.js", "module": "./node_modules/lodash/_basePropertyDeep.js", "moduleName": "./node_modules/lodash/_basePropertyDeep.js", "type": "cjs require", "userRequest": "./_baseGet", "loc": "1:14-35" }, { "moduleId": 303, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "module": "./node_modules/lodash/_basePickBy.js", "moduleName": "./node_modules/lodash/_basePickBy.js", "type": "cjs require", "userRequest": "./_baseGet", "loc": "1:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n" }, { "id": 84, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isKey.js", "name": "./node_modules/lodash/_isKey.js", "index": 719, "index2": 707, "size": 880, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "issuerId": 58, "issuerName": "./node_modules/lodash/_castPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } }, { "id": 58, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "name": "./node_modules/lodash/_castPath.js", "profile": { "factory": 72, "building": 28, "dependencies": 0 } } ], "profile": { "factory": 69, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 58, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "module": "./node_modules/lodash/_castPath.js", "moduleName": "./node_modules/lodash/_castPath.js", "type": "cjs require", "userRequest": "./_isKey", "loc": "2:12-31" }, { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./_isKey", "loc": "4:12-31" }, { "moduleId": 243, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "module": "./node_modules/lodash/property.js", "moduleName": "./node_modules/lodash/property.js", "type": "cjs require", "userRequest": "./_isKey", "loc": "3:12-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n" }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "index": 734, "index2": 728, "size": 757, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/has", "loc": "17:12-33" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/has", "loc": "12:12-33" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/has", "loc": "13:11-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseHas = require('./_baseHas'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\nfunction has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n}\n\nmodule.exports = has;\n" }, { "id": 86, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "name": "./node_modules/lodash/_baseFlatten.js", "index": 751, "index2": 744, "size": 1201, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "issuerId": 308, "issuerName": "./node_modules/lodash/sortBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 76, "building": 23, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 139, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/flatten.js", "module": "./node_modules/lodash/flatten.js", "moduleName": "./node_modules/lodash/flatten.js", "type": "cjs require", "userRequest": "./_baseFlatten", "loc": "1:18-43" }, { "moduleId": 256, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "module": "./node_modules/lodash/union.js", "moduleName": "./node_modules/lodash/union.js", "type": "cjs require", "userRequest": "./_baseFlatten", "loc": "1:18-43" }, { "moduleId": 308, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "module": "./node_modules/lodash/sortBy.js", "moduleName": "./node_modules/lodash/sortBy.js", "type": "cjs require", "userRequest": "./_baseFlatten", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n" }, { "id": 87, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseExtremum.js", "name": "./node_modules/lodash/_baseExtremum.js", "index": 808, "index2": 799, "size": 897, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "issuerId": 300, "issuerName": "./node_modules/lodash/minBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 300, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "name": "./node_modules/lodash/minBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 75, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 292, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "module": "./node_modules/lodash/max.js", "moduleName": "./node_modules/lodash/max.js", "type": "cjs require", "userRequest": "./_baseExtremum", "loc": "1:19-45" }, { "moduleId": 299, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/min.js", "module": "./node_modules/lodash/min.js", "moduleName": "./node_modules/lodash/min.js", "type": "cjs require", "userRequest": "./_baseExtremum", "loc": "1:19-45" }, { "moduleId": 300, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "module": "./node_modules/lodash/minBy.js", "moduleName": "./node_modules/lodash/minBy.js", "type": "cjs require", "userRequest": "./_baseExtremum", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var isSymbol = require('./isSymbol');\n\n/**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\nfunction baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseExtremum;\n" }, { "id": 88, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-ellipse.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-ellipse.js", "index": 867, "index2": 861, "size": 519, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "issuerId": 350, "issuerName": "./node_modules/dagre-d3/lib/shapes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 350, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "name": "./node_modules/dagre-d3/lib/shapes.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } } ], "profile": { "factory": 78, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 149, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-circle.js", "module": "./node_modules/dagre-d3/lib/intersect/intersect-circle.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/intersect-circle.js", "type": "cjs require", "userRequest": "./intersect-ellipse", "loc": "1:23-53" }, { "moduleId": 338, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "module": "./node_modules/dagre-d3/lib/intersect/index.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/index.js", "type": "cjs require", "userRequest": "./intersect-ellipse", "loc": "4:11-41" }, { "moduleId": 350, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "module": "./node_modules/dagre-d3/lib/shapes.js", "moduleName": "./node_modules/dagre-d3/lib/shapes.js", "type": "cjs require", "userRequest": "./intersect/intersect-ellipse", "loc": "4:23-63" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "module.exports = intersectEllipse;\n\nfunction intersectEllipse(node, rx, ry, point) {\n // Formulae from: http://mathworld.wolfram.com/Ellipse-LineIntersection.html\n\n var cx = node.x;\n var cy = node.y;\n\n var px = cx - point.x;\n var py = cy - point.y;\n\n var det = Math.sqrt(rx * rx * py * py + ry * ry * px * px);\n\n var dx = Math.abs(rx * ry * px / det);\n if (point.x < cx) {\n dx = -dx;\n }\n var dy = Math.abs(rx * ry * py / det);\n if (point.y < cy) {\n dy = -dy;\n }\n\n return {x: cx + dx, y: cy + dy};\n}\n\n" }, { "id": 89, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "name": "./node_modules/dagre-d3/lib/label/add-label.js", "index": 875, "index2": 873, "size": 970, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "issuerId": 345, "issuerName": "./node_modules/dagre-d3/lib/create-edge-labels.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 345, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "name": "./node_modules/dagre-d3/lib/create-edge-labels.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } } ], "profile": { "factory": 69, "building": 34, "dependencies": 58 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 341, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-nodes.js", "module": "./node_modules/dagre-d3/lib/create-nodes.js", "moduleName": "./node_modules/dagre-d3/lib/create-nodes.js", "type": "cjs require", "userRequest": "./label/add-label", "loc": "4:15-43" }, { "moduleId": 344, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-clusters.js", "module": "./node_modules/dagre-d3/lib/create-clusters.js", "moduleName": "./node_modules/dagre-d3/lib/create-clusters.js", "type": "cjs require", "userRequest": "./label/add-label", "loc": "3:15-43" }, { "moduleId": 345, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "module": "./node_modules/dagre-d3/lib/create-edge-labels.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-labels.js", "type": "cjs require", "userRequest": "./label/add-label", "loc": "4:15-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var addTextLabel = require(\"./add-text-label\");\nvar addHtmlLabel = require(\"./add-html-label\");\nvar addSVGLabel = require(\"./add-svg-label\");\n\nmodule.exports = addLabel;\n\nfunction addLabel(root, node, location) {\n var label = node.label;\n var labelSvg = root.append(\"g\");\n\n // Allow the label to be a string, a function that returns a DOM element, or\n // a DOM element itself.\n if (node.labelType === \"svg\") {\n addSVGLabel(labelSvg, node);\n } else if (typeof label !== \"string\" || node.labelType === \"html\") {\n addHtmlLabel(labelSvg, node);\n } else {\n addTextLabel(labelSvg, node);\n }\n\n var labelBBox = labelSvg.node().getBBox();\n var y;\n switch(location) {\n case \"top\":\n y = (-node.height / 2);\n break;\n case \"bottom\":\n y = (node.height / 2) - labelBBox.height;\n break;\n default:\n y = (-labelBBox.height / 2);\n }\n labelSvg.attr(\n \"transform\",\n \"translate(\" + (-labelBBox.width / 2) + \",\" + y + \")\");\n\n return labelSvg;\n}\n" }, { "id": 90, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale/locale.js", "name": "./node_modules/moment-mini/locale/locale.js", "index": 545, "index2": 539, "size": 0, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale sync /^\\.\\/.*$/", "issuerId": 167, "issuerName": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 18, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "name": "./node_modules/moment-mini/moment.min.js", "profile": { "factory": 1976, "building": 181 } }, { "id": 167, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale sync /^\\.\\/.*$/", "name": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "profile": { "factory": 1415, "building": 30, "dependencies": 476 } } ], "profile": { "factory": 476, "building": 23 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 167, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale sync /^\\.\\/.*$/", "module": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "moduleName": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "type": "context element", "userRequest": "./locale", "loc": "./locale" }, { "moduleId": 167, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale sync /^\\.\\/.*$/", "module": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "moduleName": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "type": "context element", "userRequest": "./locale.js", "loc": "./locale.js" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "" }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "index": 577, "index2": 676, "size": 5575, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "issuerId": 169, "issuerName": "./node_modules/lodash/clone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 60, "building": 41, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 169, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "module": "./node_modules/lodash/clone.js", "moduleName": "./node_modules/lodash/clone.js", "type": "cjs require", "userRequest": "./_baseClone", "loc": "1:16-39" }, { "moduleId": 283, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/cloneDeep.js", "module": "./node_modules/lodash/cloneDeep.js", "moduleName": "./node_modules/lodash/cloneDeep.js", "type": "cjs require", "userRequest": "./_baseClone", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n" }, { "id": 92, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_freeGlobal.js", "name": "./node_modules/lodash/_freeGlobal.js", "index": 599, "index2": 582, "size": 173, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_root.js", "issuerId": 12, "issuerName": "./node_modules/lodash/_root.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 301, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "name": "./node_modules/lodash/now.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 12, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_root.js", "name": "./node_modules/lodash/_root.js", "profile": { "factory": 76, "building": 25 } } ], "profile": { "factory": 57, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 12, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_root.js", "module": "./node_modules/lodash/_root.js", "moduleName": "./node_modules/lodash/_root.js", "type": "cjs require", "userRequest": "./_freeGlobal", "loc": "1:17-41" }, { "moduleId": 73, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nodeUtil.js", "module": "./node_modules/lodash/_nodeUtil.js", "moduleName": "./node_modules/lodash/_nodeUtil.js", "type": "cjs require", "userRequest": "./_freeGlobal", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n" }, { "id": 93, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_toSource.js", "name": "./node_modules/lodash/_toSource.js", "index": 606, "index2": 592, "size": 556, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_toSource", "loc": "7:15-37" }, { "moduleId": 180, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "module": "./node_modules/lodash/_baseIsNative.js", "moduleName": "./node_modules/lodash/_baseIsNative.js", "type": "cjs require", "userRequest": "./_toSource", "loc": "4:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n" }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "index": 626, "index2": 615, "size": 233, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "issuerId": 52, "issuerName": "./node_modules/lodash/_baseAssignValue.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } } ], "profile": { "factory": 58, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 52, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "module": "./node_modules/lodash/_baseAssignValue.js", "moduleName": "./node_modules/lodash/_baseAssignValue.js", "type": "cjs require", "userRequest": "./_defineProperty", "loc": "1:21-49" }, { "moduleId": 259, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSetToString.js", "module": "./node_modules/lodash/_baseSetToString.js", "moduleName": "./node_modules/lodash/_baseSetToString.js", "type": "cjs require", "userRequest": "./_defineProperty", "loc": "2:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n" }, { "id": 95, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "name": "./node_modules/lodash/_arrayLikeKeys.js", "index": 630, "index2": 632, "size": 1778, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "issuerId": 35, "issuerName": "./node_modules/lodash/keysIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "name": "./node_modules/lodash/keysIn.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } } ], "profile": { "factory": 94, "building": 22, "dependencies": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 25, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keys.js", "module": "./node_modules/lodash/keys.js", "moduleName": "./node_modules/lodash/keys.js", "type": "cjs require", "userRequest": "./_arrayLikeKeys", "loc": "1:20-47" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "module": "./node_modules/lodash/keysIn.js", "moduleName": "./node_modules/lodash/keysIn.js", "type": "cjs require", "userRequest": "./_arrayLikeKeys", "loc": "1:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n" }, { "id": 96, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_overArg.js", "name": "./node_modules/lodash/_overArg.js", "index": 647, "index2": 634, "size": 382, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getPrototype.js", "issuerId": 56, "issuerName": "./node_modules/lodash/_getPrototype.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 56, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getPrototype.js", "name": "./node_modules/lodash/_getPrototype.js", "profile": { "factory": 67, "building": 39 } } ], "profile": { "factory": 60, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 56, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getPrototype.js", "module": "./node_modules/lodash/_getPrototype.js", "moduleName": "./node_modules/lodash/_getPrototype.js", "type": "cjs require", "userRequest": "./_overArg", "loc": "1:14-35" }, { "moduleId": 204, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nativeKeys.js", "module": "./node_modules/lodash/_nativeKeys.js", "moduleName": "./node_modules/lodash/_nativeKeys.js", "type": "cjs require", "userRequest": "./_overArg", "loc": "1:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n" }, { "id": 97, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneBuffer.js", "name": "./node_modules/lodash/_cloneBuffer.js", "index": 653, "index2": 644, "size": 1056, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_cloneBuffer", "loc": "6:18-43" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_cloneBuffer", "loc": "2:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n" }, { "id": 98, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copyArray.js", "name": "./node_modules/lodash/_copyArray.js", "index": 654, "index2": 645, "size": 454, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_copyArray", "loc": "7:16-39" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_copyArray", "loc": "4:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n" }, { "id": 99, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayFilter.js", "name": "./node_modules/lodash/_arrayFilter.js", "index": 657, "index2": 646, "size": 632, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "issuerId": 111, "issuerName": "./node_modules/lodash/filter.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 111, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "name": "./node_modules/lodash/filter.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 68, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 75, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbols.js", "module": "./node_modules/lodash/_getSymbols.js", "moduleName": "./node_modules/lodash/_getSymbols.js", "type": "cjs require", "userRequest": "./_arrayFilter", "loc": "1:18-43" }, { "moduleId": 111, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "module": "./node_modules/lodash/filter.js", "moduleName": "./node_modules/lodash/filter.js", "type": "cjs require", "userRequest": "./_arrayFilter", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n" }, { "id": 100, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/stubArray.js", "name": "./node_modules/lodash/stubArray.js", "index": 658, "index2": 647, "size": 390, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbols.js", "issuerId": 75, "issuerName": "./node_modules/lodash/_getSymbols.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 208, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "name": "./node_modules/lodash/_copySymbols.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 75, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbols.js", "name": "./node_modules/lodash/_getSymbols.js", "profile": { "factory": 68, "building": 39, "dependencies": 0 } } ], "profile": { "factory": 66, "building": 24 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 75, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbols.js", "module": "./node_modules/lodash/_getSymbols.js", "moduleName": "./node_modules/lodash/_getSymbols.js", "type": "cjs require", "userRequest": "./stubArray", "loc": "2:16-38" }, { "moduleId": 101, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbolsIn.js", "module": "./node_modules/lodash/_getSymbolsIn.js", "moduleName": "./node_modules/lodash/_getSymbolsIn.js", "type": "cjs require", "userRequest": "./stubArray", "loc": "4:16-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n" }, { "id": 101, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getSymbolsIn.js", "name": "./node_modules/lodash/_getSymbolsIn.js", "index": 660, "index2": 652, "size": 754, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "issuerId": 209, "issuerName": "./node_modules/lodash/_copySymbolsIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 209, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "name": "./node_modules/lodash/_copySymbolsIn.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 40, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 209, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "module": "./node_modules/lodash/_copySymbolsIn.js", "moduleName": "./node_modules/lodash/_copySymbolsIn.js", "type": "cjs require", "userRequest": "./_getSymbolsIn", "loc": "2:19-45" }, { "moduleId": 210, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "module": "./node_modules/lodash/_getAllKeysIn.js", "moduleName": "./node_modules/lodash/_getAllKeysIn.js", "type": "cjs require", "userRequest": "./_getSymbolsIn", "loc": "2:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n" }, { "id": 102, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeys.js", "name": "./node_modules/lodash/_getAllKeys.js", "index": 663, "index2": 655, "size": 455, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_getAllKeys", "loc": "10:17-41" }, { "moduleId": 234, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalObjects.js", "module": "./node_modules/lodash/_equalObjects.js", "moduleName": "./node_modules/lodash/_equalObjects.js", "type": "cjs require", "userRequest": "./_getAllKeys", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n" }, { "id": 103, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetAllKeys.js", "name": "./node_modules/lodash/_baseGetAllKeys.js", "index": 664, "index2": 654, "size": 739, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "issuerId": 210, "issuerName": "./node_modules/lodash/_getAllKeysIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 210, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "name": "./node_modules/lodash/_getAllKeysIn.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 74, "building": 39, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 102, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeys.js", "module": "./node_modules/lodash/_getAllKeys.js", "moduleName": "./node_modules/lodash/_getAllKeys.js", "type": "cjs require", "userRequest": "./_baseGetAllKeys", "loc": "1:21-49" }, { "moduleId": 210, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "module": "./node_modules/lodash/_getAllKeysIn.js", "moduleName": "./node_modules/lodash/_getAllKeysIn.js", "type": "cjs require", "userRequest": "./_baseGetAllKeys", "loc": "1:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n" }, { "id": 104, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Set.js", "name": "./node_modules/lodash/_Set.js", "index": 669, "index2": 659, "size": 195, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_Set", "loc": "4:10-27" }, { "moduleId": 267, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "module": "./node_modules/lodash/_createSet.js", "moduleName": "./node_modules/lodash/_createSet.js", "type": "cjs require", "userRequest": "./_Set", "loc": "1:10-27" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n" }, { "id": 105, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Uint8Array.js", "name": "./node_modules/lodash/_Uint8Array.js", "index": 674, "index2": 663, "size": 130, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneArrayBuffer.js", "issuerId": 77, "issuerName": "./node_modules/lodash/_cloneArrayBuffer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 77, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneArrayBuffer.js", "name": "./node_modules/lodash/_cloneArrayBuffer.js", "profile": { "factory": 88, "building": 41, "dependencies": 0 } } ], "profile": { "factory": 70, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 77, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneArrayBuffer.js", "module": "./node_modules/lodash/_cloneArrayBuffer.js", "moduleName": "./node_modules/lodash/_cloneArrayBuffer.js", "type": "cjs require", "userRequest": "./_Uint8Array", "loc": "1:17-41" }, { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./_Uint8Array", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n" }, { "id": 106, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneTypedArray.js", "name": "./node_modules/lodash/_cloneTypedArray.js", "index": 678, "index2": 668, "size": 527, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "issuerId": 296, "issuerName": "./node_modules/lodash/_baseMergeDeep.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "profile": { "factory": 74, "building": 27, "dependencies": 37 } }, { "id": 296, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "name": "./node_modules/lodash/_baseMergeDeep.js", "profile": { "factory": 65, "building": 23, "dependencies": 15 } } ], "profile": { "factory": 66, "building": 38, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 215, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "module": "./node_modules/lodash/_initCloneByTag.js", "moduleName": "./node_modules/lodash/_initCloneByTag.js", "type": "cjs require", "userRequest": "./_cloneTypedArray", "loc": "5:22-51" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_cloneTypedArray", "loc": "3:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n" }, { "id": 107, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneObject.js", "name": "./node_modules/lodash/_initCloneObject.js", "index": 679, "index2": 671, "size": 486, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_initCloneObject", "loc": "15:22-51" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_initCloneObject", "loc": "5:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n" }, { "id": 108, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseCreate.js", "name": "./node_modules/lodash/_baseCreate.js", "index": 680, "index2": 670, "size": 686, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "issuerId": 255, "issuerName": "./node_modules/lodash/transform.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 255, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "name": "./node_modules/lodash/transform.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 140, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 107, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneObject.js", "module": "./node_modules/lodash/_initCloneObject.js", "moduleName": "./node_modules/lodash/_initCloneObject.js", "type": "cjs require", "userRequest": "./_baseCreate", "loc": "1:17-41" }, { "moduleId": 255, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "module": "./node_modules/lodash/transform.js", "moduleName": "./node_modules/lodash/transform.js", "type": "cjs require", "userRequest": "./_baseCreate", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n" }, { "id": 109, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "name": "./node_modules/lodash/forEach.js", "index": 687, "index2": 686, "size": 1355, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/forEach", "loc": "15:15-40" }, { "moduleId": 79, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/each.js", "module": "./node_modules/lodash/each.js", "moduleName": "./node_modules/lodash/each.js", "type": "cjs require", "userRequest": "./forEach", "loc": "1:17-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayEach = require('./_arrayEach'),\n baseEach = require('./_baseEach'),\n castFunction = require('./_castFunction'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\nfunction forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, castFunction(iteratee));\n}\n\nmodule.exports = forEach;\n" }, { "id": 110, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castFunction.js", "name": "./node_modules/lodash/_castFunction.js", "index": 693, "index2": 685, "size": 326, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "issuerId": 289, "issuerName": "./node_modules/lodash/forIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 289, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "name": "./node_modules/lodash/forIn.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 65, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 109, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forEach.js", "module": "./node_modules/lodash/forEach.js", "moduleName": "./node_modules/lodash/forEach.js", "type": "cjs require", "userRequest": "./_castFunction", "loc": "3:19-45" }, { "moduleId": 289, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "module": "./node_modules/lodash/forIn.js", "moduleName": "./node_modules/lodash/forIn.js", "type": "cjs require", "userRequest": "./_castFunction", "loc": "2:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var identity = require('./identity');\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n" }, { "id": 111, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "name": "./node_modules/lodash/filter.js", "index": 695, "index2": 726, "size": 1506, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/filter", "loc": "12:14-38" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/filter", "loc": "11:14-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n" }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "index": 700, "index2": 700, "size": 1019, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "issuerId": 236, "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 227, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMatch.js", "module": "./node_modules/lodash/_baseIsMatch.js", "moduleName": "./node_modules/lodash/_baseIsMatch.js", "type": "cjs require", "userRequest": "./_baseIsEqual", "loc": "2:18-43" }, { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./_baseIsEqual", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n" }, { "id": 113, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "name": "./node_modules/lodash/_equalArrays.js", "index": 702, "index2": 694, "size": 2595, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "issuerId": 228, "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "profile": { "factory": 68, "building": 26, "dependencies": 1 } } ], "profile": { "factory": 90, "building": 20, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./_equalArrays", "loc": "2:18-43" }, { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./_equalArrays", "loc": "4:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n" }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "index": 703, "index2": 691, "size": 632, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 113, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "module": "./node_modules/lodash/_equalArrays.js", "moduleName": "./node_modules/lodash/_equalArrays.js", "type": "cjs require", "userRequest": "./_SetCache", "loc": "1:15-37" }, { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_SetCache", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n" }, { "id": 115, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cacheHas.js", "name": "./node_modules/lodash/_cacheHas.js", "index": 707, "index2": 693, "size": 337, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 113, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "module": "./node_modules/lodash/_equalArrays.js", "moduleName": "./node_modules/lodash/_equalArrays.js", "type": "cjs require", "userRequest": "./_cacheHas", "loc": "3:15-37" }, { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_cacheHas", "loc": "4:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n" }, { "id": 116, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isStrictComparable.js", "name": "./node_modules/lodash/_isStrictComparable.js", "index": 713, "index2": 702, "size": 414, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "issuerId": 236, "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 235, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMatchData.js", "module": "./node_modules/lodash/_getMatchData.js", "moduleName": "./node_modules/lodash/_getMatchData.js", "type": "cjs require", "userRequest": "./_isStrictComparable", "loc": "1:25-57" }, { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./_isStrictComparable", "loc": "5:25-57" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n" }, { "id": 117, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_matchesStrictComparable.js", "name": "./node_modules/lodash/_matchesStrictComparable.js", "index": 714, "index2": 704, "size": 574, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "issuerId": 226, "issuerName": "./node_modules/lodash/_baseMatches.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 226, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "name": "./node_modules/lodash/_baseMatches.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 88, "building": 40, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 226, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "module": "./node_modules/lodash/_baseMatches.js", "moduleName": "./node_modules/lodash/_baseMatches.js", "type": "cjs require", "userRequest": "./_matchesStrictComparable", "loc": "3:30-67" }, { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./_matchesStrictComparable", "loc": "6:30-67" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n" }, { "id": 118, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toString.js", "name": "./node_modules/lodash/toString.js", "index": 724, "index2": 713, "size": 580, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/uniqueId.js", "issuerId": 146, "issuerName": "./node_modules/lodash/uniqueId.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 146, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/uniqueId.js", "name": "./node_modules/lodash/uniqueId.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 78, "building": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 58, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "module": "./node_modules/lodash/_castPath.js", "moduleName": "./node_modules/lodash/_castPath.js", "type": "cjs require", "userRequest": "./toString", "loc": "4:15-36" }, { "moduleId": 146, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/uniqueId.js", "module": "./node_modules/lodash/uniqueId.js", "moduleName": "./node_modules/lodash/uniqueId.js", "type": "cjs require", "userRequest": "./toString", "loc": "1:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n" }, { "id": 119, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/hasIn.js", "name": "./node_modules/lodash/hasIn.js", "index": 728, "index2": 720, "size": 753, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "issuerId": 302, "issuerName": "./node_modules/lodash/_basePick.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "profile": { "factory": 68, "building": 40, "dependencies": 46 } } ], "profile": { "factory": 62, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./hasIn", "loc": "3:12-30" }, { "moduleId": 302, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "module": "./node_modules/lodash/_basePick.js", "moduleName": "./node_modules/lodash/_basePick.js", "type": "cjs require", "userRequest": "./hasIn", "loc": "2:12-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n" }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "index": 730, "index2": 719, "size": 1085, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "issuerId": 85, "issuerName": "./node_modules/lodash/has.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 69, "building": 41, "dependencies": 68 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 85, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "module": "./node_modules/lodash/has.js", "moduleName": "./node_modules/lodash/has.js", "type": "cjs require", "userRequest": "./_hasPath", "loc": "2:14-35" }, { "moduleId": 119, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/hasIn.js", "module": "./node_modules/lodash/hasIn.js", "moduleName": "./node_modules/lodash/hasIn.js", "type": "cjs require", "userRequest": "./_hasPath", "loc": "2:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n" }, { "id": 121, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseProperty.js", "name": "./node_modules/lodash/_baseProperty.js", "index": 732, "index2": 722, "size": 360, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "issuerId": 243, "issuerName": "./node_modules/lodash/property.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 243, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "name": "./node_modules/lodash/property.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 66, "building": 39, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 243, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "module": "./node_modules/lodash/property.js", "moduleName": "./node_modules/lodash/property.js", "type": "cjs require", "userRequest": "./_baseProperty", "loc": "1:19-45" }, { "moduleId": 252, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_asciiSize.js", "module": "./node_modules/lodash/_asciiSize.js", "moduleName": "./node_modules/lodash/_asciiSize.js", "type": "cjs require", "userRequest": "./_baseProperty", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n" }, { "id": 122, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isUndefined.js", "name": "./node_modules/lodash/isUndefined.js", "index": 737, "index2": 730, "size": 416, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isUndefined", "loc": "18:19-48" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isUndefined", "loc": "16:19-48" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "/**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nmodule.exports = isUndefined;\n" }, { "id": 123, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "name": "./node_modules/lodash/map.js", "index": 738, "index2": 732, "size": 1621, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/map", "loc": "20:11-32" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/map", "loc": "18:11-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n isArray = require('./isArray');\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n" }, { "id": 124, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMap.js", "name": "./node_modules/lodash/_baseMap.js", "index": 739, "index2": 731, "size": 668, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "issuerId": 123, "issuerName": "./node_modules/lodash/map.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 123, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "name": "./node_modules/lodash/map.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 123, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/map.js", "module": "./node_modules/lodash/map.js", "moduleName": "./node_modules/lodash/map.js", "type": "cjs require", "userRequest": "./_baseMap", "loc": "3:14-35" }, { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_baseMap", "loc": "3:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n" }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "index": 740, "index2": 735, "size": 1806, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/reduce", "loc": "29:14-38" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/reduce", "loc": "19:14-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayReduce = require('./_arrayReduce'),\n baseEach = require('./_baseEach'),\n baseIteratee = require('./_baseIteratee'),\n baseReduce = require('./_baseReduce'),\n isArray = require('./isArray');\n\n/**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\nfunction reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n}\n\nmodule.exports = reduce;\n" }, { "id": 126, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_overRest.js", "name": "./node_modules/lodash/_overRest.js", "index": 754, "index2": 746, "size": 1096, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "issuerId": 60, "issuerName": "./node_modules/lodash/_baseRest.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } } ], "profile": { "factory": 103, "building": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 60, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "module": "./node_modules/lodash/_baseRest.js", "moduleName": "./node_modules/lodash/_baseRest.js", "type": "cjs require", "userRequest": "./_overRest", "loc": "2:15-37" }, { "moduleId": 305, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_flatRest.js", "module": "./node_modules/lodash/_flatRest.js", "moduleName": "./node_modules/lodash/_flatRest.js", "type": "cjs require", "userRequest": "./_overRest", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n" }, { "id": 127, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "name": "./node_modules/lodash/_setToString.js", "index": 756, "index2": 749, "size": 392, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "issuerId": 60, "issuerName": "./node_modules/lodash/_baseRest.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } } ], "profile": { "factory": 103, "building": 19 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 60, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "module": "./node_modules/lodash/_baseRest.js", "moduleName": "./node_modules/lodash/_baseRest.js", "type": "cjs require", "userRequest": "./_setToString", "loc": "3:18-43" }, { "moduleId": 305, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_flatRest.js", "module": "./node_modules/lodash/_flatRest.js", "moduleName": "./node_modules/lodash/_flatRest.js", "type": "cjs require", "userRequest": "./_setToString", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n" }, { "id": 128, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFindIndex.js", "name": "./node_modules/lodash/_baseFindIndex.js", "index": 762, "index2": 751, "size": 766, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "issuerId": 286, "issuerName": "./node_modules/lodash/findIndex.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 284, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "name": "./node_modules/lodash/find.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 286, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "name": "./node_modules/lodash/findIndex.js", "profile": { "factory": 68, "building": 33, "dependencies": 1 } } ], "profile": { "factory": 55, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 263, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "module": "./node_modules/lodash/_baseIndexOf.js", "moduleName": "./node_modules/lodash/_baseIndexOf.js", "type": "cjs require", "userRequest": "./_baseFindIndex", "loc": "1:20-47" }, { "moduleId": 286, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "module": "./node_modules/lodash/findIndex.js", "moduleName": "./node_modules/lodash/findIndex.js", "type": "cjs require", "userRequest": "./_baseFindIndex", "loc": "1:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n" }, { "id": 129, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArrayLikeObject.js", "name": "./node_modules/lodash/isArrayLikeObject.js", "index": 768, "index2": 760, "size": 742, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "issuerId": 256, "issuerName": "./node_modules/lodash/union.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 83, "building": 21, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 256, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "module": "./node_modules/lodash/union.js", "moduleName": "./node_modules/lodash/union.js", "type": "cjs require", "userRequest": "./isArrayLikeObject", "loc": "4:24-54" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isArrayLikeObject", "loc": "8:24-54" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n" }, { "id": 130, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/values.js", "name": "./node_modules/lodash/values.js", "index": 769, "index2": 763, "size": 733, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/values", "loc": "32:14-38" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/values", "loc": "23:14-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseValues = require('./_baseValues'),\n keys = require('./keys');\n\n/**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\nfunction values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n}\n\nmodule.exports = values;\n" }, { "id": 131, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra.js", "name": "./node_modules/graphlib/lib/alg/dijkstra.js", "index": 775, "index2": 771, "size": 1357, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./dijkstra", "loc": "3:12-33" }, { "moduleId": 274, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra-all.js", "module": "./node_modules/graphlib/lib/alg/dijkstra-all.js", "moduleName": "./node_modules/graphlib/lib/alg/dijkstra-all.js", "type": "cjs require", "userRequest": "./dijkstra", "loc": "1:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\nvar PriorityQueue = require(\"../data/priority-queue\");\n\nmodule.exports = dijkstra;\n\nvar DEFAULT_WEIGHT_FUNC = _.constant(1);\n\nfunction dijkstra(g, source, weightFn, edgeFn) {\n return runDijkstra(g, String(source),\n weightFn || DEFAULT_WEIGHT_FUNC,\n edgeFn || function(v) { return g.outEdges(v); });\n}\n\nfunction runDijkstra(g, source, weightFn, edgeFn) {\n var results = {};\n var pq = new PriorityQueue();\n var v, vEntry;\n\n var updateNeighbors = function(edge) {\n var w = edge.v !== v ? edge.v : edge.w;\n var wEntry = results[w];\n var weight = weightFn(edge);\n var distance = vEntry.distance + weight;\n\n if (weight < 0) {\n throw new Error(\"dijkstra does not allow negative edge weights. \" +\n \"Bad edge: \" + edge + \" Weight: \" + weight);\n }\n\n if (distance < wEntry.distance) {\n wEntry.distance = distance;\n wEntry.predecessor = v;\n pq.decrease(w, distance);\n }\n };\n\n g.nodes().forEach(function(v) {\n var distance = v === source ? 0 : Number.POSITIVE_INFINITY;\n results[v] = { distance: distance };\n pq.add(v, distance);\n });\n\n while (pq.size() > 0) {\n v = pq.removeMin();\n vEntry = results[v];\n if (vEntry.distance === Number.POSITIVE_INFINITY) {\n break;\n }\n\n edgeFn(v).forEach(updateNeighbors);\n }\n\n return results;\n}\n" }, { "id": 132, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/data/priority-queue.js", "name": "./node_modules/graphlib/lib/data/priority-queue.js", "index": 776, "index2": 770, "size": 4150, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "issuerId": 280, "issuerName": "./node_modules/graphlib/lib/alg/prim.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 280, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "name": "./node_modules/graphlib/lib/alg/prim.js", "profile": { "factory": 167, "building": 34, "dependencies": 63 } } ], "profile": { "factory": 69, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 131, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra.js", "module": "./node_modules/graphlib/lib/alg/dijkstra.js", "moduleName": "./node_modules/graphlib/lib/alg/dijkstra.js", "type": "cjs require", "userRequest": "../data/priority-queue", "loc": "2:20-53" }, { "moduleId": 280, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "module": "./node_modules/graphlib/lib/alg/prim.js", "moduleName": "./node_modules/graphlib/lib/alg/prim.js", "type": "cjs require", "userRequest": "../data/priority-queue", "loc": "3:20-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = PriorityQueue;\n\n/**\n * A min-priority queue data structure. This algorithm is derived from Cormen,\n * et al., \"Introduction to Algorithms\". The basic idea of a min-priority\n * queue is that you can efficiently (in O(1) time) get the smallest key in\n * the queue. Adding and removing elements takes O(log n) time. A key can\n * have its priority decreased in O(log n) time.\n */\nfunction PriorityQueue() {\n this._arr = [];\n this._keyIndices = {};\n}\n\n/**\n * Returns the number of elements in the queue. Takes `O(1)` time.\n */\nPriorityQueue.prototype.size = function() {\n return this._arr.length;\n};\n\n/**\n * Returns the keys that are in the queue. Takes `O(n)` time.\n */\nPriorityQueue.prototype.keys = function() {\n return this._arr.map(function(x) { return x.key; });\n};\n\n/**\n * Returns `true` if **key** is in the queue and `false` if not.\n */\nPriorityQueue.prototype.has = function(key) {\n return _.has(this._keyIndices, key);\n};\n\n/**\n * Returns the priority for **key**. If **key** is not present in the queue\n * then this function returns `undefined`. Takes `O(1)` time.\n *\n * @param {Object} key\n */\nPriorityQueue.prototype.priority = function(key) {\n var index = this._keyIndices[key];\n if (index !== undefined) {\n return this._arr[index].priority;\n }\n};\n\n/**\n * Returns the key for the minimum element in this queue. If the queue is\n * empty this function throws an Error. Takes `O(1)` time.\n */\nPriorityQueue.prototype.min = function() {\n if (this.size() === 0) {\n throw new Error(\"Queue underflow\");\n }\n return this._arr[0].key;\n};\n\n/**\n * Inserts a new key into the priority queue. If the key already exists in\n * the queue this function returns `false`; otherwise it will return `true`.\n * Takes `O(n)` time.\n *\n * @param {Object} key the key to add\n * @param {Number} priority the initial priority for the key\n */\nPriorityQueue.prototype.add = function(key, priority) {\n var keyIndices = this._keyIndices;\n key = String(key);\n if (!_.has(keyIndices, key)) {\n var arr = this._arr;\n var index = arr.length;\n keyIndices[key] = index;\n arr.push({key: key, priority: priority});\n this._decrease(index);\n return true;\n }\n return false;\n};\n\n/**\n * Removes and returns the smallest key in the queue. Takes `O(log n)` time.\n */\nPriorityQueue.prototype.removeMin = function() {\n this._swap(0, this._arr.length - 1);\n var min = this._arr.pop();\n delete this._keyIndices[min.key];\n this._heapify(0);\n return min.key;\n};\n\n/**\n * Decreases the priority for **key** to **priority**. If the new priority is\n * greater than the previous priority, this function will throw an Error.\n *\n * @param {Object} key the key for which to raise priority\n * @param {Number} priority the new priority for the key\n */\nPriorityQueue.prototype.decrease = function(key, priority) {\n var index = this._keyIndices[key];\n if (priority > this._arr[index].priority) {\n throw new Error(\"New priority is greater than current priority. \" +\n \"Key: \" + key + \" Old: \" + this._arr[index].priority + \" New: \" + priority);\n }\n this._arr[index].priority = priority;\n this._decrease(index);\n};\n\nPriorityQueue.prototype._heapify = function(i) {\n var arr = this._arr;\n var l = 2 * i;\n var r = l + 1;\n var largest = i;\n if (l < arr.length) {\n largest = arr[l].priority < arr[largest].priority ? l : largest;\n if (r < arr.length) {\n largest = arr[r].priority < arr[largest].priority ? r : largest;\n }\n if (largest !== i) {\n this._swap(i, largest);\n this._heapify(largest);\n }\n }\n};\n\nPriorityQueue.prototype._decrease = function(index) {\n var arr = this._arr;\n var priority = arr[index].priority;\n var parent;\n while (index !== 0) {\n parent = index >> 1;\n if (arr[parent].priority < priority) {\n break;\n }\n this._swap(index, parent);\n index = parent;\n }\n};\n\nPriorityQueue.prototype._swap = function(i, j) {\n var arr = this._arr;\n var keyIndices = this._keyIndices;\n var origArrI = arr[i];\n var origArrJ = arr[j];\n arr[i] = origArrJ;\n arr[j] = origArrI;\n keyIndices[origArrJ.key] = i;\n keyIndices[origArrI.key] = j;\n};\n" }, { "id": 133, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/tarjan.js", "name": "./node_modules/graphlib/lib/alg/tarjan.js", "index": 779, "index2": 773, "size": 962, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./tarjan", "loc": "11:10-29" }, { "moduleId": 275, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/find-cycles.js", "module": "./node_modules/graphlib/lib/alg/find-cycles.js", "moduleName": "./node_modules/graphlib/lib/alg/find-cycles.js", "type": "cjs require", "userRequest": "./tarjan", "loc": "2:13-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = tarjan;\n\nfunction tarjan(g) {\n var index = 0;\n var stack = [];\n var visited = {}; // node id -> { onStack, lowlink, index }\n var results = [];\n\n function dfs(v) {\n var entry = visited[v] = {\n onStack: true,\n lowlink: index,\n index: index++\n };\n stack.push(v);\n\n g.successors(v).forEach(function(w) {\n if (!_.has(visited, w)) {\n dfs(w);\n entry.lowlink = Math.min(entry.lowlink, visited[w].lowlink);\n } else if (visited[w].onStack) {\n entry.lowlink = Math.min(entry.lowlink, visited[w].index);\n }\n });\n\n if (entry.lowlink === entry.index) {\n var cmpt = [];\n var w;\n do {\n w = stack.pop();\n visited[w].onStack = false;\n cmpt.push(w);\n } while (v !== w);\n results.push(cmpt);\n }\n }\n\n g.nodes().forEach(function(v) {\n if (!_.has(visited, v)) {\n dfs(v);\n }\n });\n\n return results;\n}\n" }, { "id": 134, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/topsort.js", "name": "./node_modules/graphlib/lib/alg/topsort.js", "index": 782, "index2": 776, "size": 715, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./topsort", "loc": "12:11-31" }, { "moduleId": 277, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/is-acyclic.js", "module": "./node_modules/graphlib/lib/alg/is-acyclic.js", "moduleName": "./node_modules/graphlib/lib/alg/is-acyclic.js", "type": "cjs require", "userRequest": "./topsort", "loc": "1:14-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = topsort;\ntopsort.CycleException = CycleException;\n\nfunction topsort(g) {\n var visited = {};\n var stack = {};\n var results = [];\n\n function visit(node) {\n if (_.has(stack, node)) {\n throw new CycleException();\n }\n\n if (!_.has(visited, node)) {\n stack[node] = true;\n visited[node] = true;\n _.each(g.predecessors(node), visit);\n delete stack[node];\n results.push(node);\n }\n }\n\n _.each(g.sinks(), visit);\n\n if (_.size(visited) !== g.nodeCount()) {\n throw new CycleException();\n }\n\n return results;\n}\n\nfunction CycleException() {}\nCycleException.prototype = new Error(); // must be an instance of Error to pass testing" }, { "id": 135, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dfs.js", "name": "./node_modules/graphlib/lib/alg/dfs.js", "index": 784, "index2": 778, "size": 1078, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/preorder.js", "issuerId": 279, "issuerName": "./node_modules/graphlib/lib/alg/preorder.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 279, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/preorder.js", "name": "./node_modules/graphlib/lib/alg/preorder.js", "profile": { "factory": 167, "building": 34, "dependencies": 63 } } ], "profile": { "factory": 63, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 278, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/postorder.js", "module": "./node_modules/graphlib/lib/alg/postorder.js", "moduleName": "./node_modules/graphlib/lib/alg/postorder.js", "type": "cjs require", "userRequest": "./dfs", "loc": "1:10-26" }, { "moduleId": 279, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/preorder.js", "module": "./node_modules/graphlib/lib/alg/preorder.js", "moduleName": "./node_modules/graphlib/lib/alg/preorder.js", "type": "cjs require", "userRequest": "./dfs", "loc": "1:10-26" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = dfs;\n\n/*\n * A helper that preforms a pre- or post-order traversal on the input graph\n * and returns the nodes in the order they were visited. If the graph is\n * undirected then this algorithm will navigate using neighbors. If the graph\n * is directed then this algorithm will navigate using successors.\n *\n * Order must be one of \"pre\" or \"post\".\n */\nfunction dfs(g, vs, order) {\n if (!_.isArray(vs)) {\n vs = [vs];\n }\n\n var navigation = (g.isDirected() ? g.successors : g.neighbors).bind(g);\n\n var acc = [];\n var visited = {};\n _.each(vs, function(v) {\n if (!g.hasNode(v)) {\n throw new Error(\"Graph does not have node: \" + v);\n }\n\n doDfs(g, v, order === \"post\", visited, navigation, acc);\n });\n return acc;\n}\n\nfunction doDfs(g, v, postorder, visited, navigation, acc) {\n if (!_.has(visited, v)) {\n visited[v] = true;\n\n if (!postorder) { acc.push(v); }\n _.each(navigation(v), function(w) {\n doDfs(g, w, postorder, visited, navigation, acc);\n });\n if (postorder) { acc.push(v); }\n }\n}\n" }, { "id": 136, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/dagre.js", "name": "./node_modules/dagre-d3/lib/dagre.js", "index": 789, "index2": 859, "size": 232, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "issuerId": 5, "issuerName": "./node_modules/dagre-d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 313, "building": 36, "dependencies": 79 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/dagre", "loc": "25:9-31" }, { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./dagre", "loc": "3:13-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "/* global window */\n\nvar dagre;\n\nif (typeof require === \"function\") {\n try {\n dagre = require(\"dagre\");\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!dagre) {\n dagre = window.dagre;\n}\n\nmodule.exports = dagre;\n" }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "index": 795, "index2": 788, "size": 1754, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/defaults", "loc": "10:16-42" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/defaults", "loc": "8:16-42" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseRest = require('./_baseRest'),\n eq = require('./eq'),\n isIterateeCall = require('./_isIterateeCall'),\n keysIn = require('./keysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n});\n\nmodule.exports = defaults;\n" }, { "id": 138, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toFinite.js", "name": "./node_modules/lodash/toFinite.js", "index": 801, "index2": 791, "size": 868, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "issuerId": 306, "issuerName": "./node_modules/lodash/_createRange.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 145, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "name": "./node_modules/lodash/range.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 306, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "name": "./node_modules/lodash/_createRange.js", "profile": { "factory": 79, "building": 18, "dependencies": 2 } } ], "profile": { "factory": 81, "building": 21 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 287, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toInteger.js", "module": "./node_modules/lodash/toInteger.js", "moduleName": "./node_modules/lodash/toInteger.js", "type": "cjs require", "userRequest": "./toFinite", "loc": "1:15-36" }, { "moduleId": 306, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "module": "./node_modules/lodash/_createRange.js", "moduleName": "./node_modules/lodash/_createRange.js", "type": "cjs require", "userRequest": "./toFinite", "loc": "3:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n" }, { "id": 139, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/flatten.js", "name": "./node_modules/lodash/flatten.js", "index": 803, "index2": 795, "size": 489, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/flatten", "loc": "14:15-40" }, { "moduleId": 305, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_flatRest.js", "module": "./node_modules/lodash/_flatRest.js", "moduleName": "./node_modules/lodash/_flatRest.js", "type": "cjs require", "userRequest": "./flatten", "loc": "1:14-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n" }, { "id": 140, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_assignMergeValue.js", "name": "./node_modules/lodash/_assignMergeValue.js", "index": 812, "index2": 802, "size": 582, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "issuerId": 295, "issuerName": "./node_modules/lodash/_baseMerge.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "profile": { "factory": 74, "building": 27, "dependencies": 37 } } ], "profile": { "factory": 65, "building": 23, "dependencies": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./_assignMergeValue", "loc": "2:23-53" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_assignMergeValue", "loc": "1:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n" }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "index": 814, "index2": 803, "size": 1650, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isPlainObject", "loc": "11:21-52" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./isPlainObject", "loc": "12:20-46" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n" }, { "id": 142, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_safeGet.js", "name": "./node_modules/lodash/_safeGet.js", "index": 815, "index2": 804, "size": 456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "issuerId": 295, "issuerName": "./node_modules/lodash/_baseMerge.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "profile": { "factory": 74, "building": 27, "dependencies": 37 } } ], "profile": { "factory": 65, "building": 23, "dependencies": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./_safeGet", "loc": "7:14-35" }, { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./_safeGet", "loc": "14:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n" }, { "id": 143, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseLt.js", "name": "./node_modules/lodash/_baseLt.js", "index": 819, "index2": 810, "size": 354, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "issuerId": 300, "issuerName": "./node_modules/lodash/minBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 300, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "name": "./node_modules/lodash/minBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 75, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 299, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/min.js", "module": "./node_modules/lodash/min.js", "moduleName": "./node_modules/lodash/min.js", "type": "cjs require", "userRequest": "./_baseLt", "loc": "2:13-33" }, { "moduleId": 300, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "module": "./node_modules/lodash/minBy.js", "moduleName": "./node_modules/lodash/minBy.js", "type": "cjs require", "userRequest": "./_baseLt", "loc": "3:13-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\nfunction baseLt(value, other) {\n return value < other;\n}\n\nmodule.exports = baseLt;\n" }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "index": 822, "index2": 818, "size": 629, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/pick", "loc": "27:12-34" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/pick", "loc": "12:12-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var basePick = require('./_basePick'),\n flatRest = require('./_flatRest');\n\n/**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\nvar pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n});\n\nmodule.exports = pick;\n" }, { "id": 145, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "name": "./node_modules/lodash/range.js", "index": 827, "index2": 821, "size": 1151, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/range", "loc": "28:13-36" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/range", "loc": "14:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var createRange = require('./_createRange');\n\n/**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n * `start` is specified without an `end` or `step`. If `end` is not specified,\n * it's set to `start` with `start` then set to `0`.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the range of numbers.\n * @see _.inRange, _.rangeRight\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(-4);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\nvar range = createRange();\n\nmodule.exports = range;\n" }, { "id": 146, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/uniqueId.js", "name": "./node_modules/lodash/uniqueId.js", "index": 835, "index2": 827, "size": 562, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "issuerId": 38, "issuerName": "./node_modules/dagre-d3/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } } ], "profile": { "factory": 250, "building": 40, "dependencies": 62 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/uniqueId", "loc": "31:16-42" }, { "moduleId": 38, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "module": "./node_modules/dagre-d3/lib/lodash.js", "moduleName": "./node_modules/dagre-d3/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/uniqueId", "loc": "15:16-42" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var toString = require('./toString');\n\n/** Used to generate unique IDs. */\nvar idCounter = 0;\n\n/**\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {string} [prefix=''] The value to prefix the ID with.\n * @returns {string} Returns the unique ID.\n * @example\n *\n * _.uniqueId('contact_');\n * // => 'contact_104'\n *\n * _.uniqueId();\n * // => '105'\n */\nfunction uniqueId(prefix) {\n var id = ++idCounter;\n return toString(prefix) + id;\n}\n\nmodule.exports = uniqueId;\n" }, { "id": 147, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/feasible-tree.js", "name": "./node_modules/dagre/lib/rank/feasible-tree.js", "index": 845, "index2": 837, "size": 2218, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "issuerId": 319, "issuerName": "./node_modules/dagre/lib/rank/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 319, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "name": "./node_modules/dagre/lib/rank/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 85, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 319, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "module": "./node_modules/dagre/lib/rank/index.js", "moduleName": "./node_modules/dagre/lib/rank/index.js", "type": "cjs require", "userRequest": "./feasible-tree", "loc": "5:19-45" }, { "moduleId": 320, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "module": "./node_modules/dagre/lib/rank/network-simplex.js", "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", "type": "cjs require", "userRequest": "./feasible-tree", "loc": "4:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\nvar slack = require(\"./util\").slack;\n\nmodule.exports = feasibleTree;\n\n/*\n * Constructs a spanning tree with tight edges and adjusted the input node's\n * ranks to achieve this. A tight edge is one that is has a length that matches\n * its \"minlen\" attribute.\n *\n * The basic structure for this function is derived from Gansner, et al., \"A\n * Technique for Drawing Directed Graphs.\"\n *\n * Pre-conditions:\n *\n * 1. Graph must be a DAG.\n * 2. Graph must be connected.\n * 3. Graph must have at least one node.\n * 5. Graph nodes must have been previously assigned a \"rank\" property that\n * respects the \"minlen\" property of incident edges.\n * 6. Graph edges must have a \"minlen\" property.\n *\n * Post-conditions:\n *\n * - Graph nodes will have their rank adjusted to ensure that all edges are\n * tight.\n *\n * Returns a tree (undirected graph) that is constructed using only \"tight\"\n * edges.\n */\nfunction feasibleTree(g) {\n var t = new Graph({ directed: false });\n\n // Choose arbitrary node from which to start our tree\n var start = g.nodes()[0];\n var size = g.nodeCount();\n t.setNode(start, {});\n\n var edge, delta;\n while (tightTree(t, g) < size) {\n edge = findMinSlackEdge(t, g);\n delta = t.hasNode(edge.v) ? slack(g, edge) : -slack(g, edge);\n shiftRanks(t, g, delta);\n }\n\n return t;\n}\n\n/*\n * Finds a maximal tree of tight edges and returns the number of nodes in the\n * tree.\n */\nfunction tightTree(t, g) {\n function dfs(v) {\n _.forEach(g.nodeEdges(v), function(e) {\n var edgeV = e.v,\n w = (v === edgeV) ? e.w : edgeV;\n if (!t.hasNode(w) && !slack(g, e)) {\n t.setNode(w, {});\n t.setEdge(v, w, {});\n dfs(w);\n }\n });\n }\n\n _.forEach(t.nodes(), dfs);\n return t.nodeCount();\n}\n\n/*\n * Finds the edge with the smallest slack that is incident on tree and returns\n * it.\n */\nfunction findMinSlackEdge(t, g) {\n return _.minBy(g.edges(), function(e) {\n if (t.hasNode(e.v) !== t.hasNode(e.w)) {\n return slack(g, e);\n }\n });\n}\n\nfunction shiftRanks(t, g, delta) {\n _.forEach(t.nodes(), function(v) {\n g.node(v).rank += delta;\n });\n}\n" }, { "id": 148, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-node.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-node.js", "index": 865, "index2": 860, "size": 105, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "issuerId": 338, "issuerName": "./node_modules/dagre-d3/lib/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 338, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "name": "./node_modules/dagre-d3/lib/intersect/index.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 79, "building": 34 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 338, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "module": "./node_modules/dagre-d3/lib/intersect/index.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/index.js", "type": "cjs require", "userRequest": "./intersect-node", "loc": "2:8-35" }, { "moduleId": 346, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-paths.js", "module": "./node_modules/dagre-d3/lib/create-edge-paths.js", "moduleName": "./node_modules/dagre-d3/lib/create-edge-paths.js", "type": "cjs require", "userRequest": "./intersect/intersect-node", "loc": "4:20-57" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "module.exports = intersectNode;\n\nfunction intersectNode(node, point) {\n return node.intersect(point);\n}\n" }, { "id": 149, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-circle.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-circle.js", "index": 866, "index2": 862, "size": 185, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "issuerId": 350, "issuerName": "./node_modules/dagre-d3/lib/shapes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 350, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "name": "./node_modules/dagre-d3/lib/shapes.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } } ], "profile": { "factory": 78, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 338, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "module": "./node_modules/dagre-d3/lib/intersect/index.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/index.js", "type": "cjs require", "userRequest": "./intersect-circle", "loc": "3:10-39" }, { "moduleId": 350, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "module": "./node_modules/dagre-d3/lib/shapes.js", "moduleName": "./node_modules/dagre-d3/lib/shapes.js", "type": "cjs require", "userRequest": "./intersect/intersect-circle", "loc": "5:22-61" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var intersectEllipse = require(\"./intersect-ellipse\");\n\nmodule.exports = intersectCircle;\n\nfunction intersectCircle(node, rx, point) {\n return intersectEllipse(node, rx, rx, point);\n}\n" }, { "id": 150, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "index": 868, "index2": 864, "size": 1596, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "issuerId": 350, "issuerName": "./node_modules/dagre-d3/lib/shapes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 350, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "name": "./node_modules/dagre-d3/lib/shapes.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } } ], "profile": { "factory": 78, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 338, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "module": "./node_modules/dagre-d3/lib/intersect/index.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/index.js", "type": "cjs require", "userRequest": "./intersect-polygon", "loc": "5:11-41" }, { "moduleId": 350, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "module": "./node_modules/dagre-d3/lib/shapes.js", "moduleName": "./node_modules/dagre-d3/lib/shapes.js", "type": "cjs require", "userRequest": "./intersect/intersect-polygon", "loc": "6:23-63" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "/* eslint \"no-console\": off */\n\nvar intersectLine = require(\"./intersect-line\");\n\nmodule.exports = intersectPolygon;\n\n/*\n * Returns the point ({x, y}) at which the point argument intersects with the\n * node argument assuming that it has the shape specified by polygon.\n */\nfunction intersectPolygon(node, polyPoints, point) {\n var x1 = node.x;\n var y1 = node.y;\n\n var intersections = [];\n\n var minX = Number.POSITIVE_INFINITY;\n var minY = Number.POSITIVE_INFINITY;\n polyPoints.forEach(function(entry) {\n minX = Math.min(minX, entry.x);\n minY = Math.min(minY, entry.y);\n });\n\n var left = x1 - node.width / 2 - minX;\n var top = y1 - node.height / 2 - minY;\n\n for (var i = 0; i < polyPoints.length; i++) {\n var p1 = polyPoints[i];\n var p2 = polyPoints[i < polyPoints.length - 1 ? i + 1 : 0];\n var intersect = intersectLine(node, point,\n {x: left + p1.x, y: top + p1.y}, {x: left + p2.x, y: top + p2.y});\n if (intersect) {\n intersections.push(intersect);\n }\n }\n\n if (!intersections.length) {\n console.log(\"NO INTERSECTION FOUND, RETURN NODE CENTER\", node);\n return node;\n }\n\n if (intersections.length > 1) {\n // More intersections, find the one nearest to edge end point\n intersections.sort(function(p, q) {\n var pdx = p.x - point.x;\n var pdy = p.y - point.y;\n var distp = Math.sqrt(pdx * pdx + pdy * pdy);\n\n var qdx = q.x - point.x;\n var qdy = q.y - point.y;\n var distq = Math.sqrt(qdx * qdx + qdy * qdy);\n\n return (distp < distq) ? -1 : (distp === distq ? 0 : 1);\n });\n }\n return intersections[0];\n}\n" }, { "id": 151, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-rect.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-rect.js", "index": 870, "index2": 865, "size": 710, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "issuerId": 338, "issuerName": "./node_modules/dagre-d3/lib/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 338, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "name": "./node_modules/dagre-d3/lib/intersect/index.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 79, "building": 34 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 338, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "module": "./node_modules/dagre-d3/lib/intersect/index.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/index.js", "type": "cjs require", "userRequest": "./intersect-rect", "loc": "6:8-35" }, { "moduleId": 350, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "module": "./node_modules/dagre-d3/lib/shapes.js", "moduleName": "./node_modules/dagre-d3/lib/shapes.js", "type": "cjs require", "userRequest": "./intersect/intersect-rect", "loc": "3:20-57" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "module.exports = intersectRect;\n\nfunction intersectRect(node, point) {\n var x = node.x;\n var y = node.y;\n\n // Rectangle intersection algorithm from:\n // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n var dx = point.x - x;\n var dy = point.y - y;\n var w = node.width / 2;\n var h = node.height / 2;\n\n var sx, sy;\n if (Math.abs(dy) * w > Math.abs(dx) * h) {\n // Intersection is top or bottom of rect.\n if (dy < 0) {\n h = -h;\n }\n sx = dy === 0 ? 0 : h * dx / dy;\n sy = h;\n } else {\n // Intersection is left or right of rect.\n if (dx < 0) {\n w = -w;\n }\n sx = w;\n sy = dx === 0 ? 0 : w * dy / dx;\n }\n\n return {x: x + sx, y: y + sy};\n}\n" }, { "id": 152, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "name": "./node_modules/scope-css/index.js", "index": 524, "index2": 526, "size": 2197, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "scope-css", "loc": "16:0-30" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "scope-css", "loc": "292:21-26" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "'use strict'\r\n\r\nvar slugify = require('slugify')\r\nvar escaper = require('escaper')\r\nvar stripComments = require('strip-css-comments')\r\n\r\nmodule.exports = scope\r\nscope.replace = replace\r\n\r\nfunction scope (css, parent, o) {\r\n\tif (!css) return css\r\n\r\n\tif (!parent) return css\r\n\r\n\tif (typeof o === 'string') o = {keyframes: o}\r\n\tif (!o) o = {keyframes: false}\r\n\r\n\tcss = replace(css, parent + ' $1$2')\r\n\r\n\t//regexp.escape\r\n\tvar parentRe = parent.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&')\r\n\r\n\t//replace self-selectors\r\n\tcss = css.replace(new RegExp('(' + parentRe + ')\\\\s*\\\\1(?=[\\\\s\\\\r\\\\n,{])', 'g'), '$1')\r\n\r\n\t//replace `:host` with parent\r\n\tcss = css.replace(new RegExp('(' + parentRe + ')\\\\s*:host', 'g'), '$1')\r\n\r\n\t//revoke wrongly replaced @ statements, like @supports, @import, @media etc.\r\n\tcss = css.replace(new RegExp('(' + parentRe + ')\\\\s*@', 'g'), '@')\r\n\r\n\t//revoke wrongly replaced :root blocks\r\n\tcss = css.replace(new RegExp('(' + parentRe + ')\\\\s*:root', 'g'), ':root')\r\n\r\n\t//animations: prefix animation anmes\r\n\tvar animations = [],\r\n\t animationNameRe = /@keyframes\\s+([a-zA-Z0-9_-]+)\\s*{/g,\r\n\t match\r\n\twhile ((match = animationNameRe.exec(css)) !== null) {\r\n\t\tif (animations.indexOf(match[1]) < 0)\r\n\t\t\tanimations.push(match[1])\r\n\t}\r\n\r\n\tvar slug = slugify(parent)\r\n\r\n\tanimations.forEach(function (name) {\r\n\t\tvar newName = (o.keyframes === true ? slug + '-' : typeof o.keyframes === 'string' ? o.keyframes : '') + name\r\n\t\tcss = css.replace(new RegExp('(@keyframes\\\\s+)' + name + '(\\\\s*{)', 'g'),\r\n\t\t\t\t '$1' + newName + '$2')\r\n\t\tcss = css.replace(new RegExp('(animation(?:-name)?\\\\s*:[^;]*\\\\s*)' + name + '([\\\\s;}])', 'g'),\r\n\t\t\t\t '$1' + newName + '$2')\r\n\t})\r\n \t//animation: revoke wrongly replaced keyframes\r\n\tcss = css.replace(new RegExp('(' + parentRe + ' )(\\\\s*(?:to|from|[+-]?(?:(?:\\\\.\\\\d+)|(?:\\\\d+(?:\\\\.\\\\d*)?))%))(?=[\\\\s\\\\r\\\\n,{])', 'g'), '$2')\r\n\r\n\treturn css\r\n}\r\n\r\nfunction replace (css, replacer) {\r\n\tvar arr = []\r\n\r\n\tcss = stripComments(css)\r\n\r\n\t// escape strings etc.\r\n\tcss = escaper.replace(css, true, arr)\r\n\r\n\tcss = css.replace(/([^\\r\\n,{}]+)(,(?=[^}]*{)|\\s*{)/g, replacer)\r\n\r\n\t// insert comments, strings etc. back\r\n\tcss = escaper.paste(css, arr)\r\n\r\n\treturn css\r\n}\r\n\r\n" }, { "id": 153, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-node.js", "name": "./src/dagre-wrapper/intersect/intersect-node.js", "index": 897, "index2": 891, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 142, "building": 70, "dependencies": 5 } } ], "profile": { "factory": 9, "building": 116, "dependencies": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony side effect evaluation", "userRequest": "./intersect-node.js", "loc": "4:0-39" }, { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "harmony import specifier", "userRequest": "./intersect-node.js", "loc": "10:8-12" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "module.exports = intersectNode;\n\nfunction intersectNode(node, point) {\n console.info('Intersect Node');\n return node.intersect(point);\n}" }, { "id": 154, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/slugify/slugify.js", "name": "./node_modules/slugify/slugify.js", "index": 525, "index2": 522, "size": 6427, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "issuerId": 152, "issuerName": "./node_modules/scope-css/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 152, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "name": "./node_modules/scope-css/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1973, "building": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 152, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "module": "./node_modules/scope-css/index.js", "moduleName": "./node_modules/scope-css/index.js", "type": "cjs require", "userRequest": "slugify", "loc": "3:14-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "\n;(function (name, root, factory) {\n if (typeof exports === 'object') {\n module.exports = factory()\n module.exports['default'] = factory()\n }\n /* istanbul ignore next */\n else if (typeof define === 'function' && define.amd) {\n define(factory)\n }\n else {\n root[name] = factory()\n }\n}('slugify', this, function () {\n var charMap = JSON.parse('{\"$\":\"dollar\",\"%\":\"percent\",\"&\":\"and\",\"<\":\"less\",\">\":\"greater\",\"|\":\"or\",\"¢\":\"cent\",\"£\":\"pound\",\"¤\":\"currency\",\"¥\":\"yen\",\"©\":\"(c)\",\"ª\":\"a\",\"®\":\"(r)\",\"º\":\"o\",\"À\":\"A\",\"Á\":\"A\",\"Â\":\"A\",\"Ã\":\"A\",\"Ä\":\"A\",\"Å\":\"A\",\"Æ\":\"AE\",\"Ç\":\"C\",\"È\":\"E\",\"É\":\"E\",\"Ê\":\"E\",\"Ë\":\"E\",\"Ì\":\"I\",\"Í\":\"I\",\"Î\":\"I\",\"Ï\":\"I\",\"Ð\":\"D\",\"Ñ\":\"N\",\"Ò\":\"O\",\"Ó\":\"O\",\"Ô\":\"O\",\"Õ\":\"O\",\"Ö\":\"O\",\"Ø\":\"O\",\"Ù\":\"U\",\"Ú\":\"U\",\"Û\":\"U\",\"Ü\":\"U\",\"Ý\":\"Y\",\"Þ\":\"TH\",\"ß\":\"ss\",\"à\":\"a\",\"á\":\"a\",\"â\":\"a\",\"ã\":\"a\",\"ä\":\"a\",\"å\":\"a\",\"æ\":\"ae\",\"ç\":\"c\",\"è\":\"e\",\"é\":\"e\",\"ê\":\"e\",\"ë\":\"e\",\"ì\":\"i\",\"í\":\"i\",\"î\":\"i\",\"ï\":\"i\",\"ð\":\"d\",\"ñ\":\"n\",\"ò\":\"o\",\"ó\":\"o\",\"ô\":\"o\",\"õ\":\"o\",\"ö\":\"o\",\"ø\":\"o\",\"ù\":\"u\",\"ú\":\"u\",\"û\":\"u\",\"ü\":\"u\",\"ý\":\"y\",\"þ\":\"th\",\"ÿ\":\"y\",\"Ā\":\"A\",\"ā\":\"a\",\"Ă\":\"A\",\"ă\":\"a\",\"Ą\":\"A\",\"ą\":\"a\",\"Ć\":\"C\",\"ć\":\"c\",\"Č\":\"C\",\"č\":\"c\",\"Ď\":\"D\",\"ď\":\"d\",\"Đ\":\"DJ\",\"đ\":\"dj\",\"Ē\":\"E\",\"ē\":\"e\",\"Ė\":\"E\",\"ė\":\"e\",\"Ę\":\"e\",\"ę\":\"e\",\"Ě\":\"E\",\"ě\":\"e\",\"Ğ\":\"G\",\"ğ\":\"g\",\"Ģ\":\"G\",\"ģ\":\"g\",\"Ĩ\":\"I\",\"ĩ\":\"i\",\"Ī\":\"i\",\"ī\":\"i\",\"Į\":\"I\",\"į\":\"i\",\"İ\":\"I\",\"ı\":\"i\",\"Ķ\":\"k\",\"ķ\":\"k\",\"Ļ\":\"L\",\"ļ\":\"l\",\"Ľ\":\"L\",\"ľ\":\"l\",\"Ł\":\"L\",\"ł\":\"l\",\"Ń\":\"N\",\"ń\":\"n\",\"Ņ\":\"N\",\"ņ\":\"n\",\"Ň\":\"N\",\"ň\":\"n\",\"Ő\":\"O\",\"ő\":\"o\",\"Œ\":\"OE\",\"œ\":\"oe\",\"Ŕ\":\"R\",\"ŕ\":\"r\",\"Ř\":\"R\",\"ř\":\"r\",\"Ś\":\"S\",\"ś\":\"s\",\"Ş\":\"S\",\"ş\":\"s\",\"Š\":\"S\",\"š\":\"s\",\"Ţ\":\"T\",\"ţ\":\"t\",\"Ť\":\"T\",\"ť\":\"t\",\"Ũ\":\"U\",\"ũ\":\"u\",\"Ū\":\"u\",\"ū\":\"u\",\"Ů\":\"U\",\"ů\":\"u\",\"Ű\":\"U\",\"ű\":\"u\",\"Ų\":\"U\",\"ų\":\"u\",\"Ŵ\":\"W\",\"ŵ\":\"w\",\"Ŷ\":\"Y\",\"ŷ\":\"y\",\"Ÿ\":\"Y\",\"Ź\":\"Z\",\"ź\":\"z\",\"Ż\":\"Z\",\"ż\":\"z\",\"Ž\":\"Z\",\"ž\":\"z\",\"ƒ\":\"f\",\"Ơ\":\"O\",\"ơ\":\"o\",\"Ư\":\"U\",\"ư\":\"u\",\"Lj\":\"LJ\",\"lj\":\"lj\",\"Nj\":\"NJ\",\"nj\":\"nj\",\"Ș\":\"S\",\"ș\":\"s\",\"Ț\":\"T\",\"ț\":\"t\",\"˚\":\"o\",\"Ά\":\"A\",\"Έ\":\"E\",\"Ή\":\"H\",\"Ί\":\"I\",\"Ό\":\"O\",\"Ύ\":\"Y\",\"Ώ\":\"W\",\"ΐ\":\"i\",\"Α\":\"A\",\"Β\":\"B\",\"Γ\":\"G\",\"Δ\":\"D\",\"Ε\":\"E\",\"Ζ\":\"Z\",\"Η\":\"H\",\"Θ\":\"8\",\"Ι\":\"I\",\"Κ\":\"K\",\"Λ\":\"L\",\"Μ\":\"M\",\"Ν\":\"N\",\"Ξ\":\"3\",\"Ο\":\"O\",\"Π\":\"P\",\"Ρ\":\"R\",\"Σ\":\"S\",\"Τ\":\"T\",\"Υ\":\"Y\",\"Φ\":\"F\",\"Χ\":\"X\",\"Ψ\":\"PS\",\"Ω\":\"W\",\"Ϊ\":\"I\",\"Ϋ\":\"Y\",\"ά\":\"a\",\"έ\":\"e\",\"ή\":\"h\",\"ί\":\"i\",\"ΰ\":\"y\",\"α\":\"a\",\"β\":\"b\",\"γ\":\"g\",\"δ\":\"d\",\"ε\":\"e\",\"ζ\":\"z\",\"η\":\"h\",\"θ\":\"8\",\"ι\":\"i\",\"κ\":\"k\",\"λ\":\"l\",\"μ\":\"m\",\"ν\":\"n\",\"ξ\":\"3\",\"ο\":\"o\",\"π\":\"p\",\"ρ\":\"r\",\"ς\":\"s\",\"σ\":\"s\",\"τ\":\"t\",\"υ\":\"y\",\"φ\":\"f\",\"χ\":\"x\",\"ψ\":\"ps\",\"ω\":\"w\",\"ϊ\":\"i\",\"ϋ\":\"y\",\"ό\":\"o\",\"ύ\":\"y\",\"ώ\":\"w\",\"Ё\":\"Yo\",\"Ђ\":\"DJ\",\"Є\":\"Ye\",\"І\":\"I\",\"Ї\":\"Yi\",\"Ј\":\"J\",\"Љ\":\"LJ\",\"Њ\":\"NJ\",\"Ћ\":\"C\",\"Џ\":\"DZ\",\"А\":\"A\",\"Б\":\"B\",\"В\":\"V\",\"Г\":\"G\",\"Д\":\"D\",\"Е\":\"E\",\"Ж\":\"Zh\",\"З\":\"Z\",\"И\":\"I\",\"Й\":\"J\",\"К\":\"K\",\"Л\":\"L\",\"М\":\"M\",\"Н\":\"N\",\"О\":\"O\",\"П\":\"P\",\"Р\":\"R\",\"С\":\"S\",\"Т\":\"T\",\"У\":\"U\",\"Ф\":\"F\",\"Х\":\"H\",\"Ц\":\"C\",\"Ч\":\"Ch\",\"Ш\":\"Sh\",\"Щ\":\"Sh\",\"Ъ\":\"U\",\"Ы\":\"Y\",\"Ь\":\"\",\"Э\":\"E\",\"Ю\":\"Yu\",\"Я\":\"Ya\",\"а\":\"a\",\"б\":\"b\",\"в\":\"v\",\"г\":\"g\",\"д\":\"d\",\"е\":\"e\",\"ж\":\"zh\",\"з\":\"z\",\"и\":\"i\",\"й\":\"j\",\"к\":\"k\",\"л\":\"l\",\"м\":\"m\",\"н\":\"n\",\"о\":\"o\",\"п\":\"p\",\"р\":\"r\",\"с\":\"s\",\"т\":\"t\",\"у\":\"u\",\"ф\":\"f\",\"х\":\"h\",\"ц\":\"c\",\"ч\":\"ch\",\"ш\":\"sh\",\"щ\":\"sh\",\"ъ\":\"u\",\"ы\":\"y\",\"ь\":\"\",\"э\":\"e\",\"ю\":\"yu\",\"я\":\"ya\",\"ё\":\"yo\",\"ђ\":\"dj\",\"є\":\"ye\",\"і\":\"i\",\"ї\":\"yi\",\"ј\":\"j\",\"љ\":\"lj\",\"њ\":\"nj\",\"ћ\":\"c\",\"ѝ\":\"u\",\"џ\":\"dz\",\"Ґ\":\"G\",\"ґ\":\"g\",\"Ғ\":\"GH\",\"ғ\":\"gh\",\"Қ\":\"KH\",\"қ\":\"kh\",\"Ң\":\"NG\",\"ң\":\"ng\",\"Ү\":\"UE\",\"ү\":\"ue\",\"Ұ\":\"U\",\"ұ\":\"u\",\"Һ\":\"H\",\"һ\":\"h\",\"Ә\":\"AE\",\"ә\":\"ae\",\"Ө\":\"OE\",\"ө\":\"oe\",\"฿\":\"baht\",\"ა\":\"a\",\"ბ\":\"b\",\"გ\":\"g\",\"დ\":\"d\",\"ე\":\"e\",\"ვ\":\"v\",\"ზ\":\"z\",\"თ\":\"t\",\"ი\":\"i\",\"კ\":\"k\",\"ლ\":\"l\",\"მ\":\"m\",\"ნ\":\"n\",\"ო\":\"o\",\"პ\":\"p\",\"ჟ\":\"zh\",\"რ\":\"r\",\"ს\":\"s\",\"ტ\":\"t\",\"უ\":\"u\",\"ფ\":\"f\",\"ქ\":\"k\",\"ღ\":\"gh\",\"ყ\":\"q\",\"შ\":\"sh\",\"ჩ\":\"ch\",\"ც\":\"ts\",\"ძ\":\"dz\",\"წ\":\"ts\",\"ჭ\":\"ch\",\"ხ\":\"kh\",\"ჯ\":\"j\",\"ჰ\":\"h\",\"Ẁ\":\"W\",\"ẁ\":\"w\",\"Ẃ\":\"W\",\"ẃ\":\"w\",\"Ẅ\":\"W\",\"ẅ\":\"w\",\"ẞ\":\"SS\",\"Ạ\":\"A\",\"ạ\":\"a\",\"Ả\":\"A\",\"ả\":\"a\",\"Ấ\":\"A\",\"ấ\":\"a\",\"Ầ\":\"A\",\"ầ\":\"a\",\"Ẩ\":\"A\",\"ẩ\":\"a\",\"Ẫ\":\"A\",\"ẫ\":\"a\",\"Ậ\":\"A\",\"ậ\":\"a\",\"Ắ\":\"A\",\"ắ\":\"a\",\"Ằ\":\"A\",\"ằ\":\"a\",\"Ẳ\":\"A\",\"ẳ\":\"a\",\"Ẵ\":\"A\",\"ẵ\":\"a\",\"Ặ\":\"A\",\"ặ\":\"a\",\"Ẹ\":\"E\",\"ẹ\":\"e\",\"Ẻ\":\"E\",\"ẻ\":\"e\",\"Ẽ\":\"E\",\"ẽ\":\"e\",\"Ế\":\"E\",\"ế\":\"e\",\"Ề\":\"E\",\"ề\":\"e\",\"Ể\":\"E\",\"ể\":\"e\",\"Ễ\":\"E\",\"ễ\":\"e\",\"Ệ\":\"E\",\"ệ\":\"e\",\"Ỉ\":\"I\",\"ỉ\":\"i\",\"Ị\":\"I\",\"ị\":\"i\",\"Ọ\":\"O\",\"ọ\":\"o\",\"Ỏ\":\"O\",\"ỏ\":\"o\",\"Ố\":\"O\",\"ố\":\"o\",\"Ồ\":\"O\",\"ồ\":\"o\",\"Ổ\":\"O\",\"ổ\":\"o\",\"Ỗ\":\"O\",\"ỗ\":\"o\",\"Ộ\":\"O\",\"ộ\":\"o\",\"Ớ\":\"O\",\"ớ\":\"o\",\"Ờ\":\"O\",\"ờ\":\"o\",\"Ở\":\"O\",\"ở\":\"o\",\"Ỡ\":\"O\",\"ỡ\":\"o\",\"Ợ\":\"O\",\"ợ\":\"o\",\"Ụ\":\"U\",\"ụ\":\"u\",\"Ủ\":\"U\",\"ủ\":\"u\",\"Ứ\":\"U\",\"ứ\":\"u\",\"Ừ\":\"U\",\"ừ\":\"u\",\"Ử\":\"U\",\"ử\":\"u\",\"Ữ\":\"U\",\"ữ\":\"u\",\"Ự\":\"U\",\"ự\":\"u\",\"Ỳ\":\"Y\",\"ỳ\":\"y\",\"Ỵ\":\"Y\",\"ỵ\":\"y\",\"Ỷ\":\"Y\",\"ỷ\":\"y\",\"Ỹ\":\"Y\",\"ỹ\":\"y\",\"‘\":\"\\'\",\"’\":\"\\'\",\"“\":\"\\\\\\\"\",\"”\":\"\\\\\\\"\",\"†\":\"+\",\"•\":\"*\",\"…\":\"...\",\"₠\":\"ecu\",\"₢\":\"cruzeiro\",\"₣\":\"french franc\",\"₤\":\"lira\",\"₥\":\"mill\",\"₦\":\"naira\",\"₧\":\"peseta\",\"₨\":\"rupee\",\"₩\":\"won\",\"₪\":\"new shequel\",\"₫\":\"dong\",\"€\":\"euro\",\"₭\":\"kip\",\"₮\":\"tugrik\",\"₯\":\"drachma\",\"₰\":\"penny\",\"₱\":\"peso\",\"₲\":\"guarani\",\"₳\":\"austral\",\"₴\":\"hryvnia\",\"₵\":\"cedi\",\"₸\":\"kazakhstani tenge\",\"₹\":\"indian rupee\",\"₽\":\"russian ruble\",\"₿\":\"bitcoin\",\"℠\":\"sm\",\"™\":\"tm\",\"∂\":\"d\",\"∆\":\"delta\",\"∑\":\"sum\",\"∞\":\"infinity\",\"♥\":\"love\",\"元\":\"yuan\",\"円\":\"yen\",\"﷼\":\"rial\"}')\n var locales = JSON.parse('{\"vi\":{\"Đ\":\"D\",\"đ\":\"d\"}}')\n\n function replace (string, options) {\n if (typeof string !== 'string') {\n throw new Error('slugify: string argument expected')\n }\n\n options = (typeof options === 'string')\n ? { replacement: options }\n : options || {}\n\n var locale = locales[options.locale] || {}\n\n var slug = string.split('')\n .reduce(function (result, ch) {\n return result + (locale[ch] || charMap[ch] || ch)\n // allowed\n .replace(options.remove || /[^\\w\\s$*_+~.()'\"!\\-:@]/g, '')\n }, '')\n // trim leading/trailing spaces\n .trim()\n // convert spaces\n .replace(/[-\\s]+/g, options.replacement || '-')\n\n return options.lower ? slug.toLowerCase() : slug\n }\n\n replace.extend = function (customMap) {\n for (var key in customMap) {\n charMap[key] = customMap[key]\n }\n }\n\n return replace\n}))\n" }, { "id": 155, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/escaper/dist/escaper.js", "name": "./node_modules/escaper/dist/escaper.js", "index": 526, "index2": 523, "size": 9818, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "issuerId": 152, "issuerName": "./node_modules/scope-css/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 152, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "name": "./node_modules/scope-css/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1973, "building": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 152, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "module": "./node_modules/scope-css/index.js", "moduleName": "./node_modules/scope-css/index.js", "type": "cjs require", "userRequest": "escaper", "loc": "4:14-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "/*!\n * Escaper v2.5.3\n * https://github.com/kobezzza/Escaper\n *\n * Released under the MIT license\n * https://github.com/kobezzza/Escaper/blob/master/LICENSE\n *\n * Date: Tue, 23 Jan 2018 15:58:45 GMT\n */\n\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n\ttypeof define === 'function' && define.amd ? define('Escaper', ['exports'], factory) :\n\t(factory((global.Escaper = {})));\n}(this, (function (exports) { 'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar Escaper = void 0;\nvar escaper = Escaper = {\n\tVERSION: [2, 5, 3],\n\tcontent: [],\n\tcache: {},\n\tsnakeskinRgxp: null,\n\tsymbols: null,\n\treplace: replace,\n\tpaste: paste\n};\n\nvar stringLiterals = {\n\t'\"': true,\n\t'\\'': true,\n\t'`': true\n};\n\nvar literals = {\n\t'/': true\n};\n\nfor (var key in stringLiterals) {\n\tif (!stringLiterals.hasOwnProperty(key)) {\n\t\tbreak;\n\t}\n\n\tliterals[key] = true;\n}\n\nvar singleComments = {\n\t'//': true,\n\t'//*': true,\n\t'//!': true,\n\t'//#': true,\n\t'//@': true,\n\t'//$': true\n};\n\nvar multComments = {\n\t'/*': true,\n\t'/**': true,\n\t'/*!': true,\n\t'/*#': true,\n\t'/*@': true,\n\t'/*$': true\n};\n\nvar keyArr = [];\nvar finalMap = {};\n\nfor (var _key in literals) {\n\tif (!literals.hasOwnProperty(_key)) {\n\t\tbreak;\n\t}\n\n\tkeyArr.push(_key);\n\tfinalMap[_key] = true;\n}\n\nfor (var _key2 in singleComments) {\n\tif (!singleComments.hasOwnProperty(_key2)) {\n\t\tbreak;\n\t}\n\n\tkeyArr.push(_key2);\n\tfinalMap[_key2] = true;\n}\n\nfor (var _key3 in multComments) {\n\tif (!multComments.hasOwnProperty(_key3)) {\n\t\tbreak;\n\t}\n\n\tkeyArr.push(_key3);\n\tfinalMap[_key3] = true;\n}\n\nvar rgxpFlags = [];\nvar rgxpFlagsMap = {\n\t'g': true,\n\t'm': true,\n\t'i': true,\n\t'y': true,\n\t'u': true\n};\n\nfor (var _key4 in rgxpFlagsMap) {\n\tif (!rgxpFlagsMap.hasOwnProperty(_key4)) {\n\t\tbreak;\n\t}\n\n\trgxpFlags.push(_key4);\n}\n\nvar escapeEndMap = {\n\t'-': true,\n\t'+': true,\n\t'*': true,\n\t'%': true,\n\t'~': true,\n\t'>': true,\n\t'<': true,\n\t'^': true,\n\t',': true,\n\t';': true,\n\t'=': true,\n\t'|': true,\n\t'&': true,\n\t'!': true,\n\t'?': true,\n\t':': true,\n\t'(': true,\n\t'{': true,\n\t'[': true\n};\n\nvar escapeEndWordMap = {\n\t'return': true,\n\t'yield': true,\n\t'await': true,\n\t'typeof': true,\n\t'void': true,\n\t'instanceof': true,\n\t'delete': true,\n\t'in': true,\n\t'new': true,\n\t'of': true\n};\n\n/**\n * @param {!Object} obj\n * @param {!Object} p\n * @param {(boolean|number)} val\n */\nfunction mix(obj, p, val) {\n\tfor (var _key5 in obj) {\n\t\tif (!obj.hasOwnProperty(_key5)) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif (_key5 in p === false) {\n\t\t\tp[_key5] = val;\n\t\t}\n\t}\n}\n\nvar symbols = void 0;\nvar snakeskinRgxp = void 0;\n\nvar uSRgxp = /[^\\s/]/;\nvar wRgxp = /[a-z]/;\nvar sRgxp = /\\s/;\nvar nRgxp = /[\\r\\n]/;\nvar posRgxp = /\\${pos}/g;\n\nvar objMap = {\n\t'object': true,\n\t'function': true\n};\n\n/**\n * Replaces all found blocks ' ... ', \" ... \", ` ... `, / ... /, // ..., /* ... *\\/ to\n * __ESCAPER_QUOT__number_ in a string and returns a new string\n *\n * @param {string} str - source string\n * @param {(Object|boolean)=} [opt_withCommentsOrParams=false] - parameters:\n *\n * (if a parameter value is set to -1, then all found matches will be removed from the final string,\n * or if the value will be set to true/false they will be included/excluded)\n *\n * *) @label - template for replacement, e.g. __ESCAPER_QUOT__${pos}_\n * *) @all - replaces all found matches\n * *) @comments - replaces all kinds of comments\n * *) @strings - replaces all kinds of string literals\n * *) @literals - replaces all kinds of string literals and regular expressions\n * *) `\n * *) '\n * *) \"\n * *) /\n * *) //\n * *) //*\n * *) //!\n * *) //#\n * *) //@\n * *) //$\n * *) /*\n * *) /**\n * *) /*!\n * *) /*#\n * *) /*@\n * *) /*$\n *\n * OR if the value is boolean, then will be replaced all found comments (true) / literals (false)\n *\n * @param {Array=} [opt_content=Escaper.content] - array for matches\n * @param {?boolean=} [opt_snakeskin] - private parameter for using with Snakeskin\n * @return {string}\n */\nfunction replace(str, opt_withCommentsOrParams, opt_content, opt_snakeskin) {\n\tsymbols = symbols || Escaper.symbols || 'a-z';\n\tsnakeskinRgxp = snakeskinRgxp || Escaper.snakeskinRgxp || new RegExp('[!$' + symbols + '_]', 'i');\n\n\tvar _Escaper = Escaper,\n\t cache = _Escaper.cache,\n\t content = _Escaper.content;\n\n\n\tvar isObj = Boolean(opt_withCommentsOrParams && objMap[typeof opt_withCommentsOrParams === 'undefined' ? 'undefined' : _typeof(opt_withCommentsOrParams)]);\n\n\tvar p = isObj ? Object(opt_withCommentsOrParams) : {};\n\n\tfunction mark(pos) {\n\t\tif (p['@label']) {\n\t\t\treturn p['@label'].replace(posRgxp, pos);\n\t\t}\n\n\t\treturn '__ESCAPER_QUOT__' + pos + '_';\n\t}\n\n\tvar withComments = false;\n\tif (typeof opt_withCommentsOrParams === 'boolean') {\n\t\twithComments = Boolean(opt_withCommentsOrParams);\n\t}\n\n\tif ('@comments' in p) {\n\t\tmix(multComments, p, p['@comments']);\n\t\tmix(singleComments, p, p['@comments']);\n\t\tdelete p['@comments'];\n\t}\n\n\tif ('@strings' in p) {\n\t\tmix(stringLiterals, p, p['@strings']);\n\t\tdelete p['@strings'];\n\t}\n\n\tif ('@literals' in p) {\n\t\tmix(literals, p, p['@literals']);\n\t\tdelete p['@literals'];\n\t}\n\n\tif ('@all' in p) {\n\t\tmix(finalMap, p, p['@all']);\n\t\tdelete p['@all'];\n\t}\n\n\tvar cacheKey = '';\n\tfor (var i = -1; ++i < keyArr.length;) {\n\t\tvar el = keyArr[i];\n\n\t\tif (multComments[el] || singleComments[el]) {\n\t\t\tp[el] = withComments || p[el];\n\t\t} else {\n\t\t\tp[el] = p[el] || !isObj;\n\t\t}\n\n\t\tcacheKey += p[el] + ',';\n\t}\n\n\tvar initStr = str,\n\t stack = opt_content || content;\n\n\tif (stack === content && cache[cacheKey] && cache[cacheKey][initStr]) {\n\t\treturn cache[cacheKey][initStr];\n\t}\n\n\tvar begin = false,\n\t end = true;\n\n\tvar escape = false,\n\t comment = false;\n\n\tvar selectionStart = 0,\n\t block = false;\n\n\tvar templateVar = 0,\n\t filterStart = false;\n\n\tvar cut = void 0,\n\t label = void 0;\n\n\tvar part = '',\n\t rPart = '';\n\n\tfor (var _i = -1; ++_i < str.length;) {\n\t\tvar _el = str.charAt(_i);\n\n\t\tvar next = str.charAt(_i + 1),\n\t\t word = str.substr(_i, 2),\n\t\t extWord = str.substr(_i, 3);\n\n\t\tif (!comment) {\n\t\t\tif (!begin) {\n\t\t\t\tif (_el === '/') {\n\t\t\t\t\tif (singleComments[word] || multComments[word]) {\n\t\t\t\t\t\tif (singleComments[extWord] || multComments[extWord]) {\n\t\t\t\t\t\t\tcomment = extWord;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcomment = word;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (comment) {\n\t\t\t\t\t\tselectionStart = _i;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (escapeEndMap[_el] || escapeEndWordMap[rPart]) {\n\t\t\t\t\tend = true;\n\t\t\t\t\trPart = '';\n\t\t\t\t} else if (uSRgxp.test(_el)) {\n\t\t\t\t\tend = false;\n\t\t\t\t}\n\n\t\t\t\tif (wRgxp.test(_el)) {\n\t\t\t\t\tpart += _el;\n\t\t\t\t} else {\n\t\t\t\t\trPart = part;\n\t\t\t\t\tpart = '';\n\t\t\t\t}\n\n\t\t\t\tvar skip = false;\n\t\t\t\tif (opt_snakeskin) {\n\t\t\t\t\tif (_el === '|' && snakeskinRgxp.test(next)) {\n\t\t\t\t\t\tfilterStart = true;\n\t\t\t\t\t\tend = false;\n\t\t\t\t\t\tskip = true;\n\t\t\t\t\t} else if (filterStart && sRgxp.test(_el)) {\n\t\t\t\t\t\tfilterStart = false;\n\t\t\t\t\t\tend = true;\n\t\t\t\t\t\tskip = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (!skip) {\n\t\t\t\t\tif (escapeEndMap[_el]) {\n\t\t\t\t\t\tend = true;\n\t\t\t\t\t} else if (uSRgxp.test(_el)) {\n\t\t\t\t\t\tend = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// [] inside RegExp\n\t\t\tif (begin === '/' && !escape) {\n\t\t\t\tif (_el === '[') {\n\t\t\t\t\tblock = true;\n\t\t\t\t} else if (_el === ']') {\n\t\t\t\t\tblock = false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!begin && templateVar) {\n\t\t\t\tif (_el === '}') {\n\t\t\t\t\ttemplateVar--;\n\t\t\t\t} else if (_el === '{') {\n\t\t\t\t\ttemplateVar++;\n\t\t\t\t}\n\n\t\t\t\tif (!templateVar) {\n\t\t\t\t\t_el = '`';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (begin === '`' && !escape && word === '${') {\n\t\t\t\t_el = '`';\n\t\t\t\t_i++;\n\t\t\t\ttemplateVar++;\n\t\t\t}\n\n\t\t\tif (finalMap[_el] && (_el !== '/' || end) && !begin) {\n\t\t\t\tbegin = _el;\n\t\t\t\tselectionStart = _i;\n\t\t\t} else if (begin && (_el === '\\\\' || escape)) {\n\t\t\t\tescape = !escape;\n\t\t\t} else if (finalMap[_el] && begin === _el && !escape && (begin !== '/' || !block)) {\n\t\t\t\tif (_el === '/') {\n\t\t\t\t\tfor (var j = -1; ++j < rgxpFlags.length;) {\n\t\t\t\t\t\tif (rgxpFlagsMap[str.charAt(_i + 1)]) {\n\t\t\t\t\t\t\t_i++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tbegin = false;\n\t\t\t\tend = false;\n\n\t\t\t\tif (p[_el]) {\n\t\t\t\t\tcut = str.substring(selectionStart, _i + 1);\n\n\t\t\t\t\tif (p[_el] === -1) {\n\t\t\t\t\t\tlabel = '';\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlabel = mark(stack.length);\n\t\t\t\t\t\tstack.push(cut);\n\t\t\t\t\t}\n\n\t\t\t\t\tstr = str.substring(0, selectionStart) + label + str.substring(_i + 1);\n\t\t\t\t\t_i += label.length - cut.length;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (nRgxp.test(next) && singleComments[comment] || multComments[_el + str.charAt(_i - 1)] && _i - selectionStart > 2 && multComments[comment]) {\n\t\t\tif (p[comment]) {\n\t\t\t\tcut = str.substring(selectionStart, _i + 1);\n\n\t\t\t\tif (p[comment] === -1) {\n\t\t\t\t\tlabel = '';\n\t\t\t\t} else {\n\t\t\t\t\tlabel = mark(stack.length);\n\t\t\t\t\tstack.push(cut);\n\t\t\t\t}\n\n\t\t\t\tstr = str.substring(0, selectionStart) + label + str.substring(_i + 1);\n\t\t\t\t_i += label.length - cut.length;\n\t\t\t}\n\n\t\t\tcomment = false;\n\t\t}\n\t}\n\n\tif (stack === content) {\n\t\tcache[cacheKey] = cache[cacheKey] || {};\n\t\tcache[cacheKey][initStr] = str;\n\t}\n\n\treturn str;\n}\n\nvar pasteRgxp = /__ESCAPER_QUOT__(\\d+)_/g;\n\n/**\n * Replaces all found blocks __ESCAPER_QUOT__number_ to real content in a string\n * and returns a new string\n *\n * @param {string} str - source string\n * @param {Array=} [opt_content=Escaper.content] - array of matches\n * @param {RegExp=} [opt_rgxp] - RegExp for searching, e.g. /__ESCAPER_QUOT__(\\d+)_/g\n * @return {string}\n */\nfunction paste(str, opt_content, opt_rgxp) {\n\treturn str.replace(opt_rgxp || pasteRgxp, function (str, pos) {\n\t\treturn (opt_content || Escaper.content)[pos];\n\t});\n}\n\nexports['default'] = escaper;\nexports.replace = replace;\nexports.paste = paste;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n" }, { "id": 156, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/strip-css-comments/index.js", "name": "./node_modules/strip-css-comments/index.js", "index": 527, "index2": 525, "size": 1789, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "issuerId": 152, "issuerName": "./node_modules/scope-css/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 152, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "name": "./node_modules/scope-css/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1973, "building": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 152, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "module": "./node_modules/scope-css/index.js", "moduleName": "./node_modules/scope-css/index.js", "type": "cjs require", "userRequest": "strip-css-comments", "loc": "5:20-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "'use strict';\nvar isRegExp = require('is-regexp');\n\nmodule.exports = function (str, opts) {\n\tstr = str.toString();\n\topts = opts || {};\n\n\tvar preserveFilter;\n\tvar comment = '';\n\tvar currentChar = '';\n\tvar insideString = false;\n\tvar preserveImportant = !(opts.preserve === false || opts.all === true);\n\tvar ret = '';\n\n\tif (typeof opts.preserve === 'function') {\n\t\tpreserveImportant = false;\n\t\tpreserveFilter = opts.preserve;\n\t} else if (isRegExp(opts.preserve)) {\n\t\tpreserveImportant = false;\n\t\tpreserveFilter = function (comment) {\n\t\t\treturn opts.preserve.test(comment);\n\t\t};\n\t}\n\n\tfor (var i = 0; i < str.length; i++) {\n\t\tcurrentChar = str[i];\n\n\t\tif (str[i - 1] !== '\\\\') {\n\t\t\tif (currentChar === '\"' || currentChar === '\\'') {\n\t\t\t\tif (insideString === currentChar) {\n\t\t\t\t\tinsideString = false;\n\t\t\t\t} else if (!insideString) {\n\t\t\t\t\tinsideString = currentChar;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// find beginning of /* type comment\n\t\tif (!insideString && currentChar === '/' && str[i + 1] === '*') {\n\t\t\t// ignore important comment when configured to preserve comments using important syntax: /*!\n\t\t\tif (!(preserveImportant && str[i + 2] === '!')) {\n\t\t\t\tvar j = i + 2;\n\n\t\t\t\t// iterate over comment\n\t\t\t\tfor (; j < str.length; j++) {\n\t\t\t\t\t// find end of comment\n\t\t\t\t\tif (str[j] === '*' && str[j + 1] === '/') {\n\t\t\t\t\t\tif (preserveFilter) {\n\t\t\t\t\t\t\t// evaluate comment text\n\t\t\t\t\t\t\tret = preserveFilter(comment) ? ret + ('/*' + comment + '*/') : ret;\n\t\t\t\t\t\t\tcomment = '';\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\t// store comment text to be evaluated by the filter when the end of the comment is reached\n\t\t\t\t\tif (preserveFilter) {\n\t\t\t\t\t\tcomment += str[j];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// resume iteration over CSS string from the end of the comment\n\t\t\t\ti = j + 1;\n\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\n\t\tret += currentChar;\n\t}\n\n\treturn ret;\n};\n" }, { "id": 157, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/is-regexp/index.js", "name": "./node_modules/is-regexp/index.js", "index": 528, "index2": 524, "size": 116, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/strip-css-comments/index.js", "issuerId": 156, "issuerName": "./node_modules/strip-css-comments/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 152, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/scope-css/index.js", "name": "./node_modules/scope-css/index.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 156, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/strip-css-comments/index.js", "name": "./node_modules/strip-css-comments/index.js", "profile": { "factory": 1973, "building": 98 } } ], "profile": { "factory": 272, "building": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 156, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/strip-css-comments/index.js", "module": "./node_modules/strip-css-comments/index.js", "moduleName": "./node_modules/strip-css-comments/index.js", "type": "cjs require", "userRequest": "is-regexp", "loc": "2:15-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "'use strict';\nmodule.exports = function (re) {\n\treturn Object.prototype.toString.call(re) === '[object RegExp]';\n};\n" }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "index": 529, "index2": 536, "size": 256, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 353, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "module": "./src/mermaid.js + 51 modules", "moduleName": "./src/mermaid.js + 51 modules", "type": "cjs require context", "userRequest": "./themes", "loc": "59:22-75" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 159, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./src/themes/dark/index.scss", "index": 530, "index2": 529, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 158, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1847, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 158, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./dark/index.scss", "loc": "./dark/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 160, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "index": 531, "index2": 528, "size": 8104, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "issuerId": 159, "issuerName": "./src/themes/dark/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 159, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./src/themes/dark/index.scss", "profile": { "factory": 1847, "building": 0 } } ], "profile": { "factory": 2, "building": 3947, "dependencies": 10 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 159, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "module": "./src/themes/dark/index.scss", "moduleName": "./src/themes/dark/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#d3d3d3}.edgePath .path{stroke:#d3d3d3;stroke-width:1.5px}.flowchart-link{stroke:#d3d3d3;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#474949;stroke:rgba(255,255,255,0.25);stroke-width:1px}.cluster text{fill:#F9FFFE}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#474949;border:1px solid rgba(255,255,255,0.25);border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#81B1DB;fill:#1f2020}text.actor>tspan{fill:#d3d3d3;stroke:none}.actor-line{stroke:#d3d3d3}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#d3d3d3}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#d3d3d3}#arrowhead path{fill:#d3d3d3;stroke:#d3d3d3}.sequenceNumber{fill:#000}#sequencenumber{fill:#d3d3d3}#crosshead path{fill:#d3d3d3;stroke:#d3d3d3}.messageText{fill:#d3d3d3;stroke:#d3d3d3}.labelBox{stroke:#81B1DB;fill:#1f2020}.labelText,.labelText>tspan{fill:#d3d3d3;stroke:none}.loopText,.loopText>tspan{fill:#d3d3d3;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#81B1DB;fill:#81B1DB}.note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.noteText,.noteText>tspan{fill:#1f2020;stroke:none}.activation0{fill:#474949;stroke:#81B1DB}.activation1{fill:#474949;stroke:#81B1DB}.activation2{fill:#474949;stroke:#81B1DB}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(255,255,255,0.3)}.section2{fill:#EAE8B9}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#F9FFFE}.sectionTitle1{fill:#F9FFFE}.sectionTitle2{fill:#F9FFFE}.sectionTitle3{fill:#F9FFFE}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#DB5757;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#323D47;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#323D47;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#323D47}.task0,.task1,.task2,.task3{fill:#1f2020;stroke:rgba(255,255,255,0.5)}.taskTextOutside0,.taskTextOutside2{fill:#d3d3d3}.taskTextOutside1,.taskTextOutside3{fill:#d3d3d3}.active0,.active1,.active2,.active3{fill:#81B1DB;stroke:rgba(255,255,255,0.5)}.activeText0,.activeText1,.activeText2,.activeText3{fill:#323D47 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#323D47 !important}.crit0,.crit1,.crit2,.crit3{stroke:#E83737;fill:#E83737;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#E83737;fill:#81B1DB;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#E83737;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#323D47 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#323D47 !important}.titleText{text-anchor:middle;font-size:18px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#81B1DB;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#1f2020;stroke:#81B1DB}g.classGroup line{stroke:#81B1DB;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#1f2020;opacity:0.5}.classLabel .label{fill:#81B1DB;font-size:10px}.relation{stroke:#81B1DB;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#compositionEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#aggregationStart{fill:#1f2020;stroke:#81B1DB;stroke-width:1}#aggregationEnd{fill:#1f2020;stroke:#81B1DB;stroke-width:1}#dependencyStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#dependencyEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#extensionStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#extensionEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#81B1DB;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#81B1DB;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#1f2020;stroke:#81B1DB}g.stateGroup line{stroke:#81B1DB;stroke-width:1}.transition{stroke:#81B1DB;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#1f2020;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#81B1DB}.statediagram-cluster rect{fill:#1f2020;stroke:#81B1DB;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#81B1DB}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:rgba(255,255,255,0.25);stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#a44141}.error-text{fill:#ddd;stroke:#ddd}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#d3d3d3}.marker.cross{stroke:#d3d3d3}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 161, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./src/themes/default/index.scss", "index": 533, "index2": 531, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 158, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1847, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 158, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./default/index.scss", "loc": "./default/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 162, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "index": 534, "index2": 530, "size": 7841, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "issuerId": 161, "issuerName": "./src/themes/default/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 161, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./src/themes/default/index.scss", "profile": { "factory": 1847, "building": 0 } } ], "profile": { "factory": 2, "building": 3955, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 161, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "module": "./src/themes/default/index.scss", "moduleName": "./src/themes/default/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#333;stroke-width:1.5px}.flowchart-link{stroke:#333;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#ccf;fill:#ECECFF}text.actor>tspan{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#ccf;fill:#ECECFF}.labelText,.labelText>tspan{fill:#000;stroke:none}.loopText,.loopText>tspan{fill:#000;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}.note{stroke:#aa3;fill:#fff5ad}.noteText,.noteText>tspan{fill:#000;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(102,102,255,0.49)}.section2{fill:#fff400}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#8a90dd;stroke:#534fbc}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#bfc7ff;stroke:#534fbc}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#ECECFF;stroke:#9370db}g.classGroup line{stroke:#9370db;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.classLabel .label{fill:#9370db;font-size:10px}.relation{stroke:#9370db;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#ECECFF;stroke:#9370db}g.stateGroup line{stroke:#9370db;stroke-width:1}.transition{stroke:#9370db;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#aa3;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#9370db}.statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#9370db}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#333}.marker.cross{stroke:#333}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 163, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "index": 535, "index2": 533, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 158, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1847, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 158, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./forest/index.scss", "loc": "./forest/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 164, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "index": 536, "index2": 532, "size": 7858, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "issuerId": 163, "issuerName": "./src/themes/forest/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 163, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "profile": { "factory": 1847, "building": 0 } } ], "profile": { "factory": 1, "building": 3929 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 163, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "module": "./src/themes/forest/index.scss", "moduleName": "./src/themes/forest/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#cde498;stroke:#13540c;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:green}.edgePath .path{stroke:green;stroke-width:1.5px}.flowchart-link{stroke:green;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#cdffb2;stroke:#6eaa49;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#cdffb2;border:1px solid #6eaa49;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#13540c;fill:#cde498}text.actor>tspan{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#326932;fill:#cde498}.labelText,.labelText>tspan{fill:#000;stroke:none}.loopText,.loopText>tspan{fill:#000;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#326932;fill:#326932}.note{stroke:#6eaa49;fill:#fff5ad}.noteText,.noteText>tspan{fill:#000;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#6eaa49}.section2{fill:#6eaa49}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#487e3a;stroke:#13540c}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#cde498;stroke:#13540c}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#cde498;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#13540c;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#cde498;stroke:#13540c}g.classGroup line{stroke:#13540c;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.classLabel .label{fill:#13540c;font-size:10px}.relation{stroke:#13540c;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#compositionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#aggregationStart{fill:#cde498;stroke:#13540c;stroke-width:1}#aggregationEnd{fill:#cde498;stroke:#13540c;stroke-width:1}#dependencyStart{fill:#13540c;stroke:#13540c;stroke-width:1}#dependencyEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#cde498;stroke:#13540c}g.stateGroup line{stroke:#13540c;stroke-width:1}.transition{stroke:#13540c;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#6eaa49;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#13540c}.statediagram-cluster rect{fill:#cde498;stroke:#13540c;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#13540c}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:#6eaa49;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:green}.marker.cross{stroke:green}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 165, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./src/themes/neutral/index.scss", "index": 537, "index2": 535, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 158, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1847, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 158, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./neutral/index.scss", "loc": "./neutral/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 166, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "index": 538, "index2": 534, "size": 7696, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "issuerId": 165, "issuerName": "./src/themes/neutral/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 158, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 165, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./src/themes/neutral/index.scss", "profile": { "factory": 1847, "building": 0 } } ], "profile": { "factory": 1, "building": 3982, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 165, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "module": "./src/themes/neutral/index.scss", "moduleName": "./src/themes/neutral/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#eee;stroke:#999;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#666;stroke-width:1.5px}.flowchart-link{stroke:#666;fill:none}.edgeLabel{background-color:#fff;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#eaf2fb;stroke:#26a;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#eaf2fb;border:1px solid #26a;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#999;fill:#eee}text.actor>tspan{fill:#333;stroke:none}.actor-line{stroke:#666}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#999;fill:#eee}.labelText,.labelText>tspan{fill:#333;stroke:none}.loopText,.loopText>tspan{fill:#333;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#999;fill:#999}.note{stroke:#770;fill:#ffa}.noteText,.noteText>tspan{fill:#333;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#80b3e6}.section2{fill:#80b3e6}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#e6e6e6;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#d42;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#333;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#333;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#26a;stroke:#1a4d80}.taskTextOutside0,.taskTextOutside2{fill:#333}.taskTextOutside1,.taskTextOutside3{fill:#333}.active0,.active1,.active2,.active3{fill:#eee;stroke:#1a4d80}.activeText0,.activeText1,.activeText2,.activeText3{fill:#333 !important}.done0,.done1,.done2,.done3{stroke:#666;fill:#bbb;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#333 !important}.crit0,.crit1,.crit2,.crit3{stroke:#b1361b;fill:#d42;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#b1361b;fill:#eee;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#b1361b;fill:#bbb;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#333 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#333 !important}.titleText{text-anchor:middle;font-size:18px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#999;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#eee;stroke:#999}g.classGroup line{stroke:#999;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.classLabel .label{fill:#999;font-size:10px}.relation{stroke:#999;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#999;stroke:#999;stroke-width:1}#compositionEnd{fill:#999;stroke:#999;stroke-width:1}#aggregationStart{fill:#eee;stroke:#999;stroke-width:1}#aggregationEnd{fill:#eee;stroke:#999;stroke-width:1}#dependencyStart{fill:#999;stroke:#999;stroke-width:1}#dependencyEnd{fill:#999;stroke:#999;stroke-width:1}#extensionStart{fill:#999;stroke:#999;stroke-width:1}#extensionEnd{fill:#999;stroke:#999;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#999;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#999;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#eee;stroke:#999}g.stateGroup line{stroke:#999;stroke-width:1}.transition{stroke:#999;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#770;fill:#ffa}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#999}.statediagram-cluster rect{fill:#eee;stroke:#999;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#999}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#ffa;stroke:#770;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#666}.marker.cross{stroke:#666}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 167, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/locale sync /^\\.\\/.*$/", "name": "./node_modules/moment-mini/locale sync ^\\.\\/.*$", "index": 544, "index2": 540, "size": 189, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "issuerId": 18, "issuerName": "./node_modules/moment-mini/moment.min.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": 18, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "name": "./node_modules/moment-mini/moment.min.js", "profile": { "factory": 1976, "building": 181 } } ], "profile": { "factory": 1415, "building": 30, "dependencies": 476 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/moment-mini/moment.min.js", "module": "./node_modules/moment-mini/moment.min.js", "moduleName": "./node_modules/moment-mini/moment.min.js", "type": "cjs require context", "userRequest": "./locale", "loc": "1:14248-14270" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3 }, { "id": 168, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/index.js", "name": "./node_modules/graphlib/lib/index.js", "index": 573, "index2": 767, "size": 123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "issuerId": 2, "issuerName": "./node_modules/graphlib/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 266, "building": 74, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 2, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "module": "./node_modules/graphlib/index.js", "moduleName": "./node_modules/graphlib/index.js", "type": "cjs require", "userRequest": "./lib", "loc": "31:10-26" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "// Includes only the \"core\" of graphlib\nmodule.exports = {\n Graph: require(\"./graph\"),\n version: require(\"./version\")\n};\n" }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "index": 576, "index2": 677, "size": 1065, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/clone", "loc": "8:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\nfunction clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = clone;\n" }, { "id": 170, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheClear.js", "name": "./node_modules/lodash/_listCacheClear.js", "index": 580, "index2": 569, "size": 218, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "issuerId": 47, "issuerName": "./node_modules/lodash/_ListCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } } ], "profile": { "factory": 81, "building": 26, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "module": "./node_modules/lodash/_ListCache.js", "moduleName": "./node_modules/lodash/_ListCache.js", "type": "cjs require", "userRequest": "./_listCacheClear", "loc": "1:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n" }, { "id": 171, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheDelete.js", "name": "./node_modules/lodash/_listCacheDelete.js", "index": 581, "index2": 572, "size": 775, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "issuerId": 47, "issuerName": "./node_modules/lodash/_ListCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } } ], "profile": { "factory": 81, "building": 26, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "module": "./node_modules/lodash/_ListCache.js", "moduleName": "./node_modules/lodash/_ListCache.js", "type": "cjs require", "userRequest": "./_listCacheDelete", "loc": "2:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n" }, { "id": 172, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheGet.js", "name": "./node_modules/lodash/_listCacheGet.js", "index": 584, "index2": 573, "size": 420, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "issuerId": 47, "issuerName": "./node_modules/lodash/_ListCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } } ], "profile": { "factory": 81, "building": 26, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "module": "./node_modules/lodash/_ListCache.js", "moduleName": "./node_modules/lodash/_ListCache.js", "type": "cjs require", "userRequest": "./_listCacheGet", "loc": "3:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n" }, { "id": 173, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheHas.js", "name": "./node_modules/lodash/_listCacheHas.js", "index": 585, "index2": 574, "size": 403, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "issuerId": 47, "issuerName": "./node_modules/lodash/_ListCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } } ], "profile": { "factory": 81, "building": 26, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "module": "./node_modules/lodash/_ListCache.js", "moduleName": "./node_modules/lodash/_ListCache.js", "type": "cjs require", "userRequest": "./_listCacheHas", "loc": "4:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n" }, { "id": 174, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_listCacheSet.js", "name": "./node_modules/lodash/_listCacheSet.js", "index": 586, "index2": 575, "size": 553, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "issuerId": 47, "issuerName": "./node_modules/lodash/_ListCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } }, { "id": 47, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "name": "./node_modules/lodash/_ListCache.js", "profile": { "factory": 71, "building": 34, "dependencies": 48 } } ], "profile": { "factory": 81, "building": 26, "dependencies": 89 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 47, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_ListCache.js", "module": "./node_modules/lodash/_ListCache.js", "moduleName": "./node_modules/lodash/_ListCache.js", "type": "cjs require", "userRequest": "./_listCacheSet", "loc": "5:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n" }, { "id": 175, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackClear.js", "name": "./node_modules/lodash/_stackClear.js", "index": 587, "index2": 577, "size": 254, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_stackClear", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n" }, { "id": 176, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackDelete.js", "name": "./node_modules/lodash/_stackDelete.js", "index": 588, "index2": 578, "size": 405, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_stackDelete", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n" }, { "id": 177, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackGet.js", "name": "./node_modules/lodash/_stackGet.js", "index": 589, "index2": 579, "size": 271, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_stackGet", "loc": "4:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n" }, { "id": 178, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackHas.js", "name": "./node_modules/lodash/_stackHas.js", "index": 590, "index2": 580, "size": 323, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_stackHas", "loc": "5:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n" }, { "id": 179, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stackSet.js", "name": "./node_modules/lodash/_stackSet.js", "index": 591, "index2": 612, "size": 853, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "issuerId": 46, "issuerName": "./node_modules/lodash/_Stack.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 46, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "name": "./node_modules/lodash/_Stack.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 71, "building": 34, "dependencies": 48 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 46, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Stack.js", "module": "./node_modules/lodash/_Stack.js", "moduleName": "./node_modules/lodash/_Stack.js", "type": "cjs require", "userRequest": "./_stackSet", "loc": "6:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n" }, { "id": 180, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "name": "./node_modules/lodash/_baseIsNative.js", "index": 594, "index2": 593, "size": 1417, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "issuerId": 27, "issuerName": "./node_modules/lodash/_getNative.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "profile": { "factory": 58, "building": 29 } }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "name": "./node_modules/lodash/_getNative.js", "profile": { "factory": 64, "building": 40 } } ], "profile": { "factory": 69, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 27, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "module": "./node_modules/lodash/_getNative.js", "moduleName": "./node_modules/lodash/_getNative.js", "type": "cjs require", "userRequest": "./_baseIsNative", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n" }, { "id": 181, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/webpack/buildin/global.js", "name": "(webpack)/buildin/global.js", "index": 600, "index2": 581, "size": 472, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_freeGlobal.js", "issuerId": 92, "issuerName": "./node_modules/lodash/_freeGlobal.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 301, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "name": "./node_modules/lodash/now.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 12, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_root.js", "name": "./node_modules/lodash/_root.js", "profile": { "factory": 76, "building": 25 } }, { "id": 92, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_freeGlobal.js", "name": "./node_modules/lodash/_freeGlobal.js", "profile": { "factory": 57, "building": 29 } } ], "profile": { "factory": 20, "building": 29 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 92, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_freeGlobal.js", "module": "./node_modules/lodash/_freeGlobal.js", "moduleName": "./node_modules/lodash/_freeGlobal.js", "type": "cjs require", "userRequest": "global", "loc": "1:0-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n" }, { "id": 182, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getRawTag.js", "name": "./node_modules/lodash/_getRawTag.js", "index": 601, "index2": 585, "size": 1139, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "issuerId": 28, "issuerName": "./node_modules/lodash/_baseGetTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 28, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "name": "./node_modules/lodash/_baseGetTag.js", "profile": { "factory": 67, "building": 39 } } ], "profile": { "factory": 62, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 28, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "module": "./node_modules/lodash/_baseGetTag.js", "moduleName": "./node_modules/lodash/_baseGetTag.js", "type": "cjs require", "userRequest": "./_getRawTag", "loc": "2:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n" }, { "id": 183, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_objectToString.js", "name": "./node_modules/lodash/_objectToString.js", "index": 602, "index2": 586, "size": 565, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "issuerId": 28, "issuerName": "./node_modules/lodash/_baseGetTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 141, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isPlainObject.js", "name": "./node_modules/lodash/isPlainObject.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 28, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "name": "./node_modules/lodash/_baseGetTag.js", "profile": { "factory": 67, "building": 39 } } ], "profile": { "factory": 62, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 28, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGetTag.js", "module": "./node_modules/lodash/_baseGetTag.js", "moduleName": "./node_modules/lodash/_baseGetTag.js", "type": "cjs require", "userRequest": "./_objectToString", "loc": "3:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n" }, { "id": 184, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isMasked.js", "name": "./node_modules/lodash/_isMasked.js", "index": 604, "index2": 591, "size": 564, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "issuerId": 180, "issuerName": "./node_modules/lodash/_baseIsNative.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "profile": { "factory": 58, "building": 29 } }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "name": "./node_modules/lodash/_getNative.js", "profile": { "factory": 64, "building": 40 } }, { "id": 180, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "name": "./node_modules/lodash/_baseIsNative.js", "profile": { "factory": 69, "building": 22, "dependencies": 1 } } ], "profile": { "factory": 90, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 180, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "module": "./node_modules/lodash/_baseIsNative.js", "moduleName": "./node_modules/lodash/_baseIsNative.js", "type": "cjs require", "userRequest": "./_isMasked", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n" }, { "id": 185, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_coreJsData.js", "name": "./node_modules/lodash/_coreJsData.js", "index": 605, "index2": 590, "size": 157, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isMasked.js", "issuerId": 184, "issuerName": "./node_modules/lodash/_isMasked.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "profile": { "factory": 58, "building": 29 } }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "name": "./node_modules/lodash/_getNative.js", "profile": { "factory": 64, "building": 40 } }, { "id": 180, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNative.js", "name": "./node_modules/lodash/_baseIsNative.js", "profile": { "factory": 69, "building": 22, "dependencies": 1 } }, { "id": 184, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isMasked.js", "name": "./node_modules/lodash/_isMasked.js", "profile": { "factory": 90, "building": 22 } } ], "profile": { "factory": 16, "building": 6, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 184, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isMasked.js", "module": "./node_modules/lodash/_isMasked.js", "moduleName": "./node_modules/lodash/_isMasked.js", "type": "cjs require", "userRequest": "./_coreJsData", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n" }, { "id": 186, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getValue.js", "name": "./node_modules/lodash/_getValue.js", "index": 607, "index2": 594, "size": 325, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "issuerId": 27, "issuerName": "./node_modules/lodash/_getNative.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 52, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignValue.js", "name": "./node_modules/lodash/_baseAssignValue.js", "profile": { "factory": 73, "building": 26, "dependencies": 0 } }, { "id": 94, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_defineProperty.js", "name": "./node_modules/lodash/_defineProperty.js", "profile": { "factory": 58, "building": 29 } }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "name": "./node_modules/lodash/_getNative.js", "profile": { "factory": 64, "building": 40 } } ], "profile": { "factory": 69, "building": 22, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 27, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getNative.js", "module": "./node_modules/lodash/_getNative.js", "moduleName": "./node_modules/lodash/_getNative.js", "type": "cjs require", "userRequest": "./_getValue", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n" }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "index": 609, "index2": 604, "size": 393, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "issuerId": 70, "issuerName": "./node_modules/lodash/_MapCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } } ], "profile": { "factory": 100, "building": 21, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "module": "./node_modules/lodash/_MapCache.js", "moduleName": "./node_modules/lodash/_MapCache.js", "type": "cjs require", "userRequest": "./_mapCacheClear", "loc": "1:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n" }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "index": 610, "index2": 603, "size": 747, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "issuerId": 187, "issuerName": "./node_modules/lodash/_mapCacheClear.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } } ], "profile": { "factory": 39, "building": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 187, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "module": "./node_modules/lodash/_mapCacheClear.js", "moduleName": "./node_modules/lodash/_mapCacheClear.js", "type": "cjs require", "userRequest": "./_Hash", "loc": "1:11-29" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n" }, { "id": 189, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashClear.js", "name": "./node_modules/lodash/_hashClear.js", "index": 611, "index2": 598, "size": 281, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "issuerId": 188, "issuerName": "./node_modules/lodash/_Hash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } } ], "profile": { "factory": 9, "building": 1, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 188, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "module": "./node_modules/lodash/_Hash.js", "moduleName": "./node_modules/lodash/_Hash.js", "type": "cjs require", "userRequest": "./_hashClear", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n" }, { "id": 190, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashDelete.js", "name": "./node_modules/lodash/_hashDelete.js", "index": 613, "index2": 599, "size": 445, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "issuerId": 188, "issuerName": "./node_modules/lodash/_Hash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } } ], "profile": { "factory": 9, "building": 1, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 188, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "module": "./node_modules/lodash/_Hash.js", "moduleName": "./node_modules/lodash/_Hash.js", "type": "cjs require", "userRequest": "./_hashDelete", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n" }, { "id": 191, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashGet.js", "name": "./node_modules/lodash/_hashGet.js", "index": 614, "index2": 600, "size": 772, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "issuerId": 188, "issuerName": "./node_modules/lodash/_Hash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } } ], "profile": { "factory": 9, "building": 1, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 188, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "module": "./node_modules/lodash/_Hash.js", "moduleName": "./node_modules/lodash/_Hash.js", "type": "cjs require", "userRequest": "./_hashGet", "loc": "3:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n" }, { "id": 192, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashHas.js", "name": "./node_modules/lodash/_hashHas.js", "index": 615, "index2": 601, "size": 626, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "issuerId": 188, "issuerName": "./node_modules/lodash/_Hash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } } ], "profile": { "factory": 9, "building": 1, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 188, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "module": "./node_modules/lodash/_Hash.js", "moduleName": "./node_modules/lodash/_Hash.js", "type": "cjs require", "userRequest": "./_hashHas", "loc": "4:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n" }, { "id": 193, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hashSet.js", "name": "./node_modules/lodash/_hashSet.js", "index": 616, "index2": 602, "size": 598, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "issuerId": 188, "issuerName": "./node_modules/lodash/_Hash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 187, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheClear.js", "name": "./node_modules/lodash/_mapCacheClear.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 188, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "name": "./node_modules/lodash/_Hash.js", "profile": { "factory": 39, "building": 2 } } ], "profile": { "factory": 9, "building": 1, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 188, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Hash.js", "module": "./node_modules/lodash/_Hash.js", "moduleName": "./node_modules/lodash/_Hash.js", "type": "cjs require", "userRequest": "./_hashSet", "loc": "5:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n" }, { "id": 194, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheDelete.js", "name": "./node_modules/lodash/_mapCacheDelete.js", "index": 617, "index2": 607, "size": 450, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "issuerId": 70, "issuerName": "./node_modules/lodash/_MapCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } } ], "profile": { "factory": 100, "building": 21, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "module": "./node_modules/lodash/_MapCache.js", "moduleName": "./node_modules/lodash/_MapCache.js", "type": "cjs require", "userRequest": "./_mapCacheDelete", "loc": "2:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n" }, { "id": 195, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isKeyable.js", "name": "./node_modules/lodash/_isKeyable.js", "index": 619, "index2": 605, "size": 430, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMapData.js", "issuerId": 50, "issuerName": "./node_modules/lodash/_getMapData.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } }, { "id": 198, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheSet.js", "name": "./node_modules/lodash/_mapCacheSet.js", "profile": { "factory": 100, "building": 21, "dependencies": 38 } }, { "id": 50, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMapData.js", "name": "./node_modules/lodash/_getMapData.js", "profile": { "factory": 39, "building": 3 } } ], "profile": { "factory": 8, "building": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 50, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMapData.js", "module": "./node_modules/lodash/_getMapData.js", "moduleName": "./node_modules/lodash/_getMapData.js", "type": "cjs require", "userRequest": "./_isKeyable", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n" }, { "id": 196, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheGet.js", "name": "./node_modules/lodash/_mapCacheGet.js", "index": 620, "index2": 608, "size": 330, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "issuerId": 70, "issuerName": "./node_modules/lodash/_MapCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } } ], "profile": { "factory": 100, "building": 21, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "module": "./node_modules/lodash/_MapCache.js", "moduleName": "./node_modules/lodash/_MapCache.js", "type": "cjs require", "userRequest": "./_mapCacheGet", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n" }, { "id": 197, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheHas.js", "name": "./node_modules/lodash/_mapCacheHas.js", "index": 621, "index2": 609, "size": 382, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "issuerId": 70, "issuerName": "./node_modules/lodash/_MapCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } } ], "profile": { "factory": 100, "building": 21, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "module": "./node_modules/lodash/_MapCache.js", "moduleName": "./node_modules/lodash/_MapCache.js", "type": "cjs require", "userRequest": "./_mapCacheHas", "loc": "4:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n" }, { "id": 198, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapCacheSet.js", "name": "./node_modules/lodash/_mapCacheSet.js", "index": 622, "index2": 610, "size": 489, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "issuerId": 70, "issuerName": "./node_modules/lodash/_MapCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 70, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "name": "./node_modules/lodash/_MapCache.js", "profile": { "factory": 83, "building": 32 } } ], "profile": { "factory": 100, "building": 21, "dependencies": 38 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 70, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_MapCache.js", "module": "./node_modules/lodash/_MapCache.js", "moduleName": "./node_modules/lodash/_MapCache.js", "type": "cjs require", "userRequest": "./_mapCacheSet", "loc": "5:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n" }, { "id": 199, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssign.js", "name": "./node_modules/lodash/_baseAssign.js", "index": 627, "index2": 639, "size": 470, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_baseAssign", "loc": "4:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n" }, { "id": 200, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseTimes.js", "name": "./node_modules/lodash/_baseTimes.js", "index": 631, "index2": 619, "size": 504, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "issuerId": 95, "issuerName": "./node_modules/lodash/_arrayLikeKeys.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "name": "./node_modules/lodash/keysIn.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } }, { "id": 95, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "name": "./node_modules/lodash/_arrayLikeKeys.js", "profile": { "factory": 94, "building": 22, "dependencies": 31 } } ], "profile": { "factory": 54, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 95, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayLikeKeys.js", "module": "./node_modules/lodash/_arrayLikeKeys.js", "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", "type": "cjs require", "userRequest": "./_baseTimes", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n" }, { "id": 201, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsArguments.js", "name": "./node_modules/lodash/_baseIsArguments.js", "index": 633, "index2": 621, "size": 488, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArguments.js", "issuerId": 41, "issuerName": "./node_modules/lodash/isArguments.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 41, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArguments.js", "name": "./node_modules/lodash/isArguments.js", "profile": { "factory": 68, "building": 26, "dependencies": 6 } } ], "profile": { "factory": 62, "building": 31, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 41, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isArguments.js", "module": "./node_modules/lodash/isArguments.js", "moduleName": "./node_modules/lodash/isArguments.js", "type": "cjs require", "userRequest": "./_baseIsArguments", "loc": "1:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n" }, { "id": 202, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/stubFalse.js", "name": "./node_modules/lodash/stubFalse.js", "index": 637, "index2": 624, "size": 280, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "issuerId": 34, "issuerName": "./node_modules/lodash/isBuffer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 34, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "name": "./node_modules/lodash/isBuffer.js", "profile": { "factory": 68, "building": 26, "dependencies": 6 } } ], "profile": { "factory": 58, "building": 35 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 34, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isBuffer.js", "module": "./node_modules/lodash/isBuffer.js", "moduleName": "./node_modules/lodash/isBuffer.js", "type": "cjs require", "userRequest": "./stubFalse", "loc": "2:16-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n" }, { "id": 203, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsTypedArray.js", "name": "./node_modules/lodash/_baseIsTypedArray.js", "index": 640, "index2": 628, "size": 2222, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "issuerId": 42, "issuerName": "./node_modules/lodash/isTypedArray.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 42, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "name": "./node_modules/lodash/isTypedArray.js", "profile": { "factory": 68, "building": 26, "dependencies": 6 } } ], "profile": { "factory": 59, "building": 37, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 42, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isTypedArray.js", "module": "./node_modules/lodash/isTypedArray.js", "moduleName": "./node_modules/lodash/isTypedArray.js", "type": "cjs require", "userRequest": "./_baseIsTypedArray", "loc": "1:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n" }, { "id": 204, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nativeKeys.js", "name": "./node_modules/lodash/_nativeKeys.js", "index": 646, "index2": 635, "size": 204, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeys.js", "issuerId": 74, "issuerName": "./node_modules/lodash/_baseKeys.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 74, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeys.js", "name": "./node_modules/lodash/_baseKeys.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 58, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 74, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeys.js", "module": "./node_modules/lodash/_baseKeys.js", "moduleName": "./node_modules/lodash/_baseKeys.js", "type": "cjs require", "userRequest": "./_nativeKeys", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n" }, { "id": 205, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseAssignIn.js", "name": "./node_modules/lodash/_baseAssignIn.js", "index": 649, "index2": 643, "size": 482, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_baseAssignIn", "loc": "5:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n" }, { "id": 206, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "name": "./node_modules/lodash/_baseKeysIn.js", "index": 651, "index2": 641, "size": 870, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "issuerId": 35, "issuerName": "./node_modules/lodash/keysIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "name": "./node_modules/lodash/keysIn.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } } ], "profile": { "factory": 94, "building": 22, "dependencies": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "module": "./node_modules/lodash/keysIn.js", "moduleName": "./node_modules/lodash/keysIn.js", "type": "cjs require", "userRequest": "./_baseKeysIn", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n" }, { "id": 207, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_nativeKeysIn.js", "name": "./node_modules/lodash/_nativeKeysIn.js", "index": 652, "index2": 640, "size": 490, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "issuerId": 206, "issuerName": "./node_modules/lodash/_baseKeysIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/keysIn.js", "name": "./node_modules/lodash/keysIn.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } }, { "id": 206, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "name": "./node_modules/lodash/_baseKeysIn.js", "profile": { "factory": 94, "building": 22, "dependencies": 31 } } ], "profile": { "factory": 60, "building": 25 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 206, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseKeysIn.js", "module": "./node_modules/lodash/_baseKeysIn.js", "moduleName": "./node_modules/lodash/_baseKeysIn.js", "type": "cjs require", "userRequest": "./_nativeKeysIn", "loc": "3:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n" }, { "id": 208, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbols.js", "name": "./node_modules/lodash/_copySymbols.js", "index": 655, "index2": 649, "size": 446, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_copySymbols", "loc": "8:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n" }, { "id": 209, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_copySymbolsIn.js", "name": "./node_modules/lodash/_copySymbolsIn.js", "index": 659, "index2": 653, "size": 470, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_copySymbolsIn", "loc": "9:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n" }, { "id": 210, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getAllKeysIn.js", "name": "./node_modules/lodash/_getAllKeysIn.js", "index": 665, "index2": 656, "size": 488, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_getAllKeysIn", "loc": "11:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n" }, { "id": 211, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_DataView.js", "name": "./node_modules/lodash/_DataView.js", "index": 667, "index2": 657, "size": 210, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_DataView", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n" }, { "id": 212, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_Promise.js", "name": "./node_modules/lodash/_Promise.js", "index": 668, "index2": 658, "size": 207, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_Promise", "loc": "3:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n" }, { "id": 213, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_WeakMap.js", "name": "./node_modules/lodash/_WeakMap.js", "index": 670, "index2": 660, "size": 207, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "issuerId": 36, "issuerName": "./node_modules/lodash/_getTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 36, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "name": "./node_modules/lodash/_getTag.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 62, "building": 37, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 36, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getTag.js", "module": "./node_modules/lodash/_getTag.js", "moduleName": "./node_modules/lodash/_getTag.js", "type": "cjs require", "userRequest": "./_WeakMap", "loc": "5:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n" }, { "id": 214, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneArray.js", "name": "./node_modules/lodash/_initCloneArray.js", "index": 671, "index2": 662, "size": 692, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_initCloneArray", "loc": "13:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n" }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "index": 672, "index2": 669, "size": 2261, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./_initCloneByTag", "loc": "14:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n" }, { "id": 216, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneDataView.js", "name": "./node_modules/lodash/_cloneDataView.js", "index": 675, "index2": 665, "size": 507, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "issuerId": 215, "issuerName": "./node_modules/lodash/_initCloneByTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 88, "building": 41, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 215, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "module": "./node_modules/lodash/_initCloneByTag.js", "moduleName": "./node_modules/lodash/_initCloneByTag.js", "type": "cjs require", "userRequest": "./_cloneDataView", "loc": "2:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n" }, { "id": 217, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneRegExp.js", "name": "./node_modules/lodash/_cloneRegExp.js", "index": 676, "index2": 666, "size": 439, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "issuerId": 215, "issuerName": "./node_modules/lodash/_initCloneByTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 88, "building": 41, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 215, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "module": "./node_modules/lodash/_initCloneByTag.js", "moduleName": "./node_modules/lodash/_initCloneByTag.js", "type": "cjs require", "userRequest": "./_cloneRegExp", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n" }, { "id": 218, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_cloneSymbol.js", "name": "./node_modules/lodash/_cloneSymbol.js", "index": 677, "index2": 667, "size": 524, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "issuerId": 215, "issuerName": "./node_modules/lodash/_initCloneByTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 215, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "name": "./node_modules/lodash/_initCloneByTag.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 88, "building": 41, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 215, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_initCloneByTag.js", "module": "./node_modules/lodash/_initCloneByTag.js", "moduleName": "./node_modules/lodash/_initCloneByTag.js", "type": "cjs require", "userRequest": "./_cloneSymbol", "loc": "4:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n" }, { "id": 219, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "name": "./node_modules/lodash/isMap.js", "index": 681, "index2": 673, "size": 613, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./isMap", "loc": "18:12-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n" }, { "id": 220, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMap.js", "name": "./node_modules/lodash/_baseIsMap.js", "index": 682, "index2": 672, "size": 478, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "issuerId": 219, "issuerName": "./node_modules/lodash/isMap.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 219, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "name": "./node_modules/lodash/isMap.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 59, "building": 33, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 219, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isMap.js", "module": "./node_modules/lodash/isMap.js", "moduleName": "./node_modules/lodash/isMap.js", "type": "cjs require", "userRequest": "./_baseIsMap", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n" }, { "id": 221, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "name": "./node_modules/lodash/isSet.js", "index": 683, "index2": 675, "size": 613, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "issuerId": 91, "issuerName": "./node_modules/lodash/_baseClone.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } } ], "profile": { "factory": 99, "building": 24, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 91, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "module": "./node_modules/lodash/_baseClone.js", "moduleName": "./node_modules/lodash/_baseClone.js", "type": "cjs require", "userRequest": "./isSet", "loc": "20:12-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n" }, { "id": 222, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsSet.js", "name": "./node_modules/lodash/_baseIsSet.js", "index": 684, "index2": 674, "size": 478, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "issuerId": 221, "issuerName": "./node_modules/lodash/isSet.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 169, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/clone.js", "name": "./node_modules/lodash/clone.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 91, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseClone.js", "name": "./node_modules/lodash/_baseClone.js", "profile": { "factory": 60, "building": 41, "dependencies": 63 } }, { "id": 221, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "name": "./node_modules/lodash/isSet.js", "profile": { "factory": 99, "building": 24, "dependencies": 74 } } ], "profile": { "factory": 60, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 221, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isSet.js", "module": "./node_modules/lodash/isSet.js", "moduleName": "./node_modules/lodash/isSet.js", "type": "cjs require", "userRequest": "./_baseIsSet", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n" }, { "id": 223, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createBaseFor.js", "name": "./node_modules/lodash/_createBaseFor.js", "index": 691, "index2": 679, "size": 648, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFor.js", "issuerId": 81, "issuerName": "./node_modules/lodash/_baseFor.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 289, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "name": "./node_modules/lodash/forIn.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 81, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFor.js", "name": "./node_modules/lodash/_baseFor.js", "profile": { "factory": 65, "building": 27, "dependencies": 0 } } ], "profile": { "factory": 64, "building": 25 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 81, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFor.js", "module": "./node_modules/lodash/_baseFor.js", "moduleName": "./node_modules/lodash/_baseFor.js", "type": "cjs require", "userRequest": "./_createBaseFor", "loc": "1:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n" }, { "id": 224, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createBaseEach.js", "name": "./node_modules/lodash/_createBaseEach.js", "index": 692, "index2": 682, "size": 886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseEach.js", "issuerId": 57, "issuerName": "./node_modules/lodash/_baseEach.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 57, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseEach.js", "name": "./node_modules/lodash/_baseEach.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } } ], "profile": { "factory": 59, "building": 29, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 57, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseEach.js", "module": "./node_modules/lodash/_baseEach.js", "moduleName": "./node_modules/lodash/_baseEach.js", "type": "cjs require", "userRequest": "./_createBaseEach", "loc": "2:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n" }, { "id": 225, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFilter.js", "name": "./node_modules/lodash/_baseFilter.js", "index": 696, "index2": 688, "size": 590, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "issuerId": 111, "issuerName": "./node_modules/lodash/filter.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 111, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "name": "./node_modules/lodash/filter.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 68, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 111, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/filter.js", "module": "./node_modules/lodash/filter.js", "moduleName": "./node_modules/lodash/filter.js", "type": "cjs require", "userRequest": "./_baseFilter", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseEach = require('./_baseEach');\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n}\n\nmodule.exports = baseFilter;\n" }, { "id": 226, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "name": "./node_modules/lodash/_baseMatches.js", "index": 698, "index2": 705, "size": 710, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "issuerId": 20, "issuerName": "./node_modules/lodash/_baseIteratee.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } } ], "profile": { "factory": 67, "building": 25, "dependencies": 59 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "module": "./node_modules/lodash/_baseIteratee.js", "moduleName": "./node_modules/lodash/_baseIteratee.js", "type": "cjs require", "userRequest": "./_baseMatches", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n" }, { "id": 227, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsMatch.js", "name": "./node_modules/lodash/_baseIsMatch.js", "index": 699, "index2": 701, "size": 1765, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "issuerId": 226, "issuerName": "./node_modules/lodash/_baseMatches.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 226, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "name": "./node_modules/lodash/_baseMatches.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 88, "building": 40, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 226, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "module": "./node_modules/lodash/_baseMatches.js", "moduleName": "./node_modules/lodash/_baseMatches.js", "type": "cjs require", "userRequest": "./_baseIsMatch", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n" }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "index": 701, "index2": 699, "size": 3010, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "issuerId": 112, "issuerName": "./node_modules/lodash/_baseIsEqual.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } } ], "profile": { "factory": 68, "building": 26, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 112, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "module": "./node_modules/lodash/_baseIsEqual.js", "moduleName": "./node_modules/lodash/_baseIsEqual.js", "type": "cjs require", "userRequest": "./_baseIsEqualDeep", "loc": "1:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n" }, { "id": 229, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setCacheAdd.js", "name": "./node_modules/lodash/_setCacheAdd.js", "index": 704, "index2": 689, "size": 424, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "issuerId": 114, "issuerName": "./node_modules/lodash/_SetCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } } ], "profile": { "factory": 83, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 114, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "module": "./node_modules/lodash/_SetCache.js", "moduleName": "./node_modules/lodash/_SetCache.js", "type": "cjs require", "userRequest": "./_setCacheAdd", "loc": "2:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n" }, { "id": 230, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setCacheHas.js", "name": "./node_modules/lodash/_setCacheHas.js", "index": 705, "index2": 690, "size": 316, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "issuerId": 114, "issuerName": "./node_modules/lodash/_SetCache.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 114, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "name": "./node_modules/lodash/_SetCache.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } } ], "profile": { "factory": 83, "building": 32 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 114, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_SetCache.js", "module": "./node_modules/lodash/_SetCache.js", "moduleName": "./node_modules/lodash/_SetCache.js", "type": "cjs require", "userRequest": "./_setCacheHas", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n" }, { "id": 231, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arraySome.js", "name": "./node_modules/lodash/_arraySome.js", "index": 706, "index2": 692, "size": 594, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "issuerId": 113, "issuerName": "./node_modules/lodash/_equalArrays.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "profile": { "factory": 68, "building": 26, "dependencies": 1 } }, { "id": 113, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "name": "./node_modules/lodash/_equalArrays.js", "profile": { "factory": 90, "building": 20, "dependencies": 1 } } ], "profile": { "factory": 13, "building": 6 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 113, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalArrays.js", "module": "./node_modules/lodash/_equalArrays.js", "moduleName": "./node_modules/lodash/_equalArrays.js", "type": "cjs require", "userRequest": "./_arraySome", "loc": "2:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n" }, { "id": 232, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "name": "./node_modules/lodash/_equalByTag.js", "index": 708, "index2": 697, "size": 3746, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "issuerId": 228, "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "profile": { "factory": 68, "building": 26, "dependencies": 1 } } ], "profile": { "factory": 90, "building": 20, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./_equalByTag", "loc": "3:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n" }, { "id": 233, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_mapToArray.js", "name": "./node_modules/lodash/_mapToArray.js", "index": 709, "index2": 695, "size": 363, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "issuerId": 232, "issuerName": "./node_modules/lodash/_equalByTag.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "profile": { "factory": 68, "building": 26, "dependencies": 1 } }, { "id": 232, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "name": "./node_modules/lodash/_equalByTag.js", "profile": { "factory": 90, "building": 20, "dependencies": 1 } } ], "profile": { "factory": 14, "building": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 232, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalByTag.js", "module": "./node_modules/lodash/_equalByTag.js", "moduleName": "./node_modules/lodash/_equalByTag.js", "type": "cjs require", "userRequest": "./_mapToArray", "loc": "5:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 12, "source": "/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n" }, { "id": 234, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_equalObjects.js", "name": "./node_modules/lodash/_equalObjects.js", "index": 711, "index2": 698, "size": 2903, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "issuerId": 228, "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } }, { "id": 112, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqual.js", "name": "./node_modules/lodash/_baseIsEqual.js", "profile": { "factory": 82, "building": 38, "dependencies": 3 } }, { "id": 228, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "name": "./node_modules/lodash/_baseIsEqualDeep.js", "profile": { "factory": 68, "building": 26, "dependencies": 1 } } ], "profile": { "factory": 90, "building": 20, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 228, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsEqualDeep.js", "module": "./node_modules/lodash/_baseIsEqualDeep.js", "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", "type": "cjs require", "userRequest": "./_equalObjects", "loc": "4:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n" }, { "id": 235, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_getMatchData.js", "name": "./node_modules/lodash/_getMatchData.js", "index": 712, "index2": 703, "size": 573, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "issuerId": 226, "issuerName": "./node_modules/lodash/_baseMatches.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 226, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "name": "./node_modules/lodash/_baseMatches.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 88, "building": 40, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 226, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatches.js", "module": "./node_modules/lodash/_baseMatches.js", "moduleName": "./node_modules/lodash/_baseMatches.js", "type": "cjs require", "userRequest": "./_getMatchData", "loc": "2:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n" }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "index": 715, "index2": 721, "size": 1129, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "issuerId": 20, "issuerName": "./node_modules/lodash/_baseIteratee.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } } ], "profile": { "factory": 67, "building": 25, "dependencies": 59 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "module": "./node_modules/lodash/_baseIteratee.js", "moduleName": "./node_modules/lodash/_baseIteratee.js", "type": "cjs require", "userRequest": "./_baseMatchesProperty", "loc": "2:26-59" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n" }, { "id": 237, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/get.js", "name": "./node_modules/lodash/get.js", "index": 716, "index2": 717, "size": 884, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "issuerId": 236, "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 236, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "name": "./node_modules/lodash/_baseMatchesProperty.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 82, "building": 38, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 236, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMatchesProperty.js", "module": "./node_modules/lodash/_baseMatchesProperty.js", "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", "type": "cjs require", "userRequest": "./get", "loc": "2:10-26" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n" }, { "id": 238, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringToPath.js", "name": "./node_modules/lodash/_stringToPath.js", "index": 721, "index2": 710, "size": 840, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "issuerId": 58, "issuerName": "./node_modules/lodash/_castPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } }, { "id": 58, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "name": "./node_modules/lodash/_castPath.js", "profile": { "factory": 72, "building": 28, "dependencies": 0 } } ], "profile": { "factory": 69, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 58, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "module": "./node_modules/lodash/_castPath.js", "moduleName": "./node_modules/lodash/_castPath.js", "type": "cjs require", "userRequest": "./_stringToPath", "loc": "3:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n" }, { "id": 239, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_memoizeCapped.js", "name": "./node_modules/lodash/_memoizeCapped.js", "index": 722, "index2": 709, "size": 633, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringToPath.js", "issuerId": 238, "issuerName": "./node_modules/lodash/_stringToPath.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } }, { "id": 58, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "name": "./node_modules/lodash/_castPath.js", "profile": { "factory": 72, "building": 28, "dependencies": 0 } }, { "id": 238, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringToPath.js", "name": "./node_modules/lodash/_stringToPath.js", "profile": { "factory": 69, "building": 33, "dependencies": 0 } } ], "profile": { "factory": 76, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 238, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringToPath.js", "module": "./node_modules/lodash/_stringToPath.js", "moduleName": "./node_modules/lodash/_stringToPath.js", "type": "cjs require", "userRequest": "./_memoizeCapped", "loc": "1:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n" }, { "id": 240, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/memoize.js", "name": "./node_modules/lodash/memoize.js", "index": 723, "index2": 708, "size": 2224, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_memoizeCapped.js", "issuerId": 239, "issuerName": "./node_modules/lodash/_memoizeCapped.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 120, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasPath.js", "name": "./node_modules/lodash/_hasPath.js", "profile": { "factory": 69, "building": 41, "dependencies": 68 } }, { "id": 58, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_castPath.js", "name": "./node_modules/lodash/_castPath.js", "profile": { "factory": 72, "building": 28, "dependencies": 0 } }, { "id": 238, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringToPath.js", "name": "./node_modules/lodash/_stringToPath.js", "profile": { "factory": 69, "building": 33, "dependencies": 0 } }, { "id": 239, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_memoizeCapped.js", "name": "./node_modules/lodash/_memoizeCapped.js", "profile": { "factory": 76, "building": 28 } } ], "profile": { "factory": 92, "building": 22, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 239, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_memoizeCapped.js", "module": "./node_modules/lodash/_memoizeCapped.js", "moduleName": "./node_modules/lodash/_memoizeCapped.js", "type": "cjs require", "userRequest": "./memoize", "loc": "1:14-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 11, "source": "var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n" }, { "id": 241, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseToString.js", "name": "./node_modules/lodash/_baseToString.js", "index": 725, "index2": 712, "size": 1154, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toString.js", "issuerId": 118, "issuerName": "./node_modules/lodash/toString.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 146, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/uniqueId.js", "name": "./node_modules/lodash/uniqueId.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 118, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toString.js", "name": "./node_modules/lodash/toString.js", "profile": { "factory": 78, "building": 38 } } ], "profile": { "factory": 63, "building": 27, "dependencies": 52 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 118, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toString.js", "module": "./node_modules/lodash/toString.js", "moduleName": "./node_modules/lodash/toString.js", "type": "cjs require", "userRequest": "./_baseToString", "loc": "1:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n" }, { "id": 242, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseHasIn.js", "name": "./node_modules/lodash/_baseHasIn.js", "index": 729, "index2": 718, "size": 374, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/hasIn.js", "issuerId": 119, "issuerName": "./node_modules/lodash/hasIn.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "profile": { "factory": 68, "building": 40, "dependencies": 46 } }, { "id": 119, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/hasIn.js", "name": "./node_modules/lodash/hasIn.js", "profile": { "factory": 62, "building": 23, "dependencies": 0 } } ], "profile": { "factory": 62, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 119, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/hasIn.js", "module": "./node_modules/lodash/hasIn.js", "moduleName": "./node_modules/lodash/hasIn.js", "type": "cjs require", "userRequest": "./_baseHasIn", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n" }, { "id": 243, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "name": "./node_modules/lodash/property.js", "index": 731, "index2": 724, "size": 793, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "issuerId": 20, "issuerName": "./node_modules/lodash/_baseIteratee.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } } ], "profile": { "factory": 67, "building": 25, "dependencies": 59 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "module": "./node_modules/lodash/_baseIteratee.js", "moduleName": "./node_modules/lodash/_baseIteratee.js", "type": "cjs require", "userRequest": "./property", "loc": "5:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n" }, { "id": 244, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePropertyDeep.js", "name": "./node_modules/lodash/_basePropertyDeep.js", "index": 733, "index2": 723, "size": 391, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "issuerId": 243, "issuerName": "./node_modules/lodash/property.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIteratee.js", "name": "./node_modules/lodash/_baseIteratee.js", "profile": { "factory": 83, "building": 25, "dependencies": 4 } }, { "id": 243, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "name": "./node_modules/lodash/property.js", "profile": { "factory": 67, "building": 25, "dependencies": 59 } } ], "profile": { "factory": 66, "building": 39, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 243, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/property.js", "module": "./node_modules/lodash/property.js", "moduleName": "./node_modules/lodash/property.js", "type": "cjs require", "userRequest": "./_basePropertyDeep", "loc": "2:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n" }, { "id": 245, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseHas.js", "name": "./node_modules/lodash/_baseHas.js", "index": 735, "index2": 727, "size": 559, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "issuerId": 85, "issuerName": "./node_modules/lodash/has.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 85, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "name": "./node_modules/lodash/has.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 69, "building": 41, "dependencies": 68 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 85, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/has.js", "module": "./node_modules/lodash/has.js", "moduleName": "./node_modules/lodash/has.js", "type": "cjs require", "userRequest": "./_baseHas", "loc": "1:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n}\n\nmodule.exports = baseHas;\n" }, { "id": 246, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isEmpty.js", "name": "./node_modules/lodash/isEmpty.js", "index": 736, "index2": 729, "size": 2000, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/isEmpty", "loc": "14:15-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nmodule.exports = isEmpty;\n" }, { "id": 247, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayReduce.js", "name": "./node_modules/lodash/_arrayReduce.js", "index": 741, "index2": 733, "size": 787, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "issuerId": 125, "issuerName": "./node_modules/lodash/reduce.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 83, "building": 25, "dependencies": 4 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 125, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "module": "./node_modules/lodash/reduce.js", "moduleName": "./node_modules/lodash/reduce.js", "type": "cjs require", "userRequest": "./_arrayReduce", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayReduce;\n" }, { "id": 248, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseReduce.js", "name": "./node_modules/lodash/_baseReduce.js", "index": 742, "index2": 734, "size": 909, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "issuerId": 125, "issuerName": "./node_modules/lodash/reduce.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 125, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "name": "./node_modules/lodash/reduce.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 83, "building": 25, "dependencies": 4 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 125, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/reduce.js", "module": "./node_modules/lodash/reduce.js", "moduleName": "./node_modules/lodash/reduce.js", "type": "cjs require", "userRequest": "./_baseReduce", "loc": "4:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\nfunction baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n}\n\nmodule.exports = baseReduce;\n" }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "index": 743, "index2": 741, "size": 1137, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/size", "loc": "20:12-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArrayLike = require('./isArrayLike'),\n isString = require('./isString'),\n stringSize = require('./_stringSize');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\nfunction size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n}\n\nmodule.exports = size;\n" }, { "id": 250, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/isString.js", "name": "./node_modules/lodash/isString.js", "index": 744, "index2": 736, "size": 723, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "issuerId": 249, "issuerName": "./node_modules/lodash/size.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 64, "building": 25, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 249, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "module": "./node_modules/lodash/size.js", "moduleName": "./node_modules/lodash/size.js", "type": "cjs require", "userRequest": "./isString", "loc": "4:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n" }, { "id": 251, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "name": "./node_modules/lodash/_stringSize.js", "index": 745, "index2": 740, "size": 432, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "issuerId": 249, "issuerName": "./node_modules/lodash/size.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 64, "building": 25, "dependencies": 7 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 249, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "module": "./node_modules/lodash/size.js", "moduleName": "./node_modules/lodash/size.js", "type": "cjs require", "userRequest": "./_stringSize", "loc": "5:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var asciiSize = require('./_asciiSize'),\n hasUnicode = require('./_hasUnicode'),\n unicodeSize = require('./_unicodeSize');\n\n/**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\nfunction stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n}\n\nmodule.exports = stringSize;\n" }, { "id": 252, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_asciiSize.js", "name": "./node_modules/lodash/_asciiSize.js", "index": 746, "index2": 737, "size": 271, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "issuerId": 251, "issuerName": "./node_modules/lodash/_stringSize.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 251, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "name": "./node_modules/lodash/_stringSize.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 66, "building": 36, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 251, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "module": "./node_modules/lodash/_stringSize.js", "moduleName": "./node_modules/lodash/_stringSize.js", "type": "cjs require", "userRequest": "./_asciiSize", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseProperty = require('./_baseProperty');\n\n/**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nvar asciiSize = baseProperty('length');\n\nmodule.exports = asciiSize;\n" }, { "id": 253, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_hasUnicode.js", "name": "./node_modules/lodash/_hasUnicode.js", "index": 747, "index2": 738, "size": 949, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "issuerId": 251, "issuerName": "./node_modules/lodash/_stringSize.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 251, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "name": "./node_modules/lodash/_stringSize.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 66, "building": 36, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 251, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "module": "./node_modules/lodash/_stringSize.js", "moduleName": "./node_modules/lodash/_stringSize.js", "type": "cjs require", "userRequest": "./_hasUnicode", "loc": "2:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n" }, { "id": 254, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_unicodeSize.js", "name": "./node_modules/lodash/_unicodeSize.js", "index": 748, "index2": 739, "size": 1642, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "issuerId": 251, "issuerName": "./node_modules/lodash/_stringSize.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 249, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/size.js", "name": "./node_modules/lodash/size.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 251, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "name": "./node_modules/lodash/_stringSize.js", "profile": { "factory": 64, "building": 25, "dependencies": 7 } } ], "profile": { "factory": 66, "building": 36, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 251, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_stringSize.js", "module": "./node_modules/lodash/_stringSize.js", "moduleName": "./node_modules/lodash/_stringSize.js", "type": "cjs require", "userRequest": "./_unicodeSize", "loc": "3:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nfunction unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n}\n\nmodule.exports = unicodeSize;\n" }, { "id": 255, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/transform.js", "name": "./node_modules/lodash/transform.js", "index": 749, "index2": 742, "size": 2280, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/transform", "loc": "21:17-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var arrayEach = require('./_arrayEach'),\n baseCreate = require('./_baseCreate'),\n baseForOwn = require('./_baseForOwn'),\n baseIteratee = require('./_baseIteratee'),\n getPrototype = require('./_getPrototype'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isTypedArray = require('./isTypedArray');\n\n/**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\nfunction transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = baseIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n}\n\nmodule.exports = transform;\n" }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "index": 750, "index2": 761, "size": 749, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "issuerId": 8, "issuerName": "./node_modules/graphlib/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } } ], "profile": { "factory": 176, "building": 41, "dependencies": 83 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "module": "./node_modules/graphlib/lib/lodash.js", "moduleName": "./node_modules/graphlib/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/union", "loc": "22:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n baseUniq = require('./_baseUniq'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\nvar union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n});\n\nmodule.exports = union;\n" }, { "id": 257, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_isFlattenable.js", "name": "./node_modules/lodash/_isFlattenable.js", "index": 752, "index2": 743, "size": 608, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "issuerId": 86, "issuerName": "./node_modules/lodash/_baseFlatten.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 86, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "name": "./node_modules/lodash/_baseFlatten.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } } ], "profile": { "factory": 62, "building": 25, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 86, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseFlatten.js", "module": "./node_modules/lodash/_baseFlatten.js", "moduleName": "./node_modules/lodash/_baseFlatten.js", "type": "cjs require", "userRequest": "./_isFlattenable", "loc": "2:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n" }, { "id": 258, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_apply.js", "name": "./node_modules/lodash/_apply.js", "index": 755, "index2": 745, "size": 714, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_overRest.js", "issuerId": 126, "issuerName": "./node_modules/lodash/_overRest.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } }, { "id": 126, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_overRest.js", "name": "./node_modules/lodash/_overRest.js", "profile": { "factory": 103, "building": 19 } } ], "profile": { "factory": 60, "building": 27 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 126, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_overRest.js", "module": "./node_modules/lodash/_overRest.js", "moduleName": "./node_modules/lodash/_overRest.js", "type": "cjs require", "userRequest": "./_apply", "loc": "1:12-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n" }, { "id": 259, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSetToString.js", "name": "./node_modules/lodash/_baseSetToString.js", "index": 757, "index2": 747, "size": 641, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "issuerId": 127, "issuerName": "./node_modules/lodash/_setToString.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } }, { "id": 127, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "name": "./node_modules/lodash/_setToString.js", "profile": { "factory": 103, "building": 19 } } ], "profile": { "factory": 61, "building": 27, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 127, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "module": "./node_modules/lodash/_setToString.js", "moduleName": "./node_modules/lodash/_setToString.js", "type": "cjs require", "userRequest": "./_baseSetToString", "loc": "1:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n" }, { "id": 260, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_shortOut.js", "name": "./node_modules/lodash/_shortOut.js", "index": 758, "index2": 748, "size": 941, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "issuerId": 127, "issuerName": "./node_modules/lodash/_setToString.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 137, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/defaults.js", "name": "./node_modules/lodash/defaults.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 60, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRest.js", "name": "./node_modules/lodash/_baseRest.js", "profile": { "factory": 82, "building": 38, "dependencies": 76 } }, { "id": 127, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "name": "./node_modules/lodash/_setToString.js", "profile": { "factory": 103, "building": 19 } } ], "profile": { "factory": 61, "building": 27, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 127, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_setToString.js", "module": "./node_modules/lodash/_setToString.js", "moduleName": "./node_modules/lodash/_setToString.js", "type": "cjs require", "userRequest": "./_shortOut", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n" }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "index": 759, "index2": 759, "size": 1909, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "issuerId": 256, "issuerName": "./node_modules/lodash/union.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } } ], "profile": { "factory": 83, "building": 21, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 256, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "module": "./node_modules/lodash/union.js", "moduleName": "./node_modules/lodash/union.js", "type": "cjs require", "userRequest": "./_baseUniq", "loc": "3:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n cacheHas = require('./_cacheHas'),\n createSet = require('./_createSet'),\n setToArray = require('./_setToArray');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseUniq;\n" }, { "id": 262, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "name": "./node_modules/lodash/_arrayIncludes.js", "index": 760, "index2": 755, "size": 526, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_arrayIncludes", "loc": "2:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n" }, { "id": 263, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "name": "./node_modules/lodash/_baseIndexOf.js", "index": 761, "index2": 754, "size": 659, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "issuerId": 262, "issuerName": "./node_modules/lodash/_arrayIncludes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 262, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "name": "./node_modules/lodash/_arrayIncludes.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } } ], "profile": { "factory": 80, "building": 19, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 262, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "module": "./node_modules/lodash/_arrayIncludes.js", "moduleName": "./node_modules/lodash/_arrayIncludes.js", "type": "cjs require", "userRequest": "./_baseIndexOf", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n" }, { "id": 264, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIsNaN.js", "name": "./node_modules/lodash/_baseIsNaN.js", "index": 763, "index2": 752, "size": 296, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "issuerId": 263, "issuerName": "./node_modules/lodash/_baseIndexOf.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 262, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "name": "./node_modules/lodash/_arrayIncludes.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 263, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "name": "./node_modules/lodash/_baseIndexOf.js", "profile": { "factory": 80, "building": 19, "dependencies": 0 } } ], "profile": { "factory": 95, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 263, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "module": "./node_modules/lodash/_baseIndexOf.js", "moduleName": "./node_modules/lodash/_baseIndexOf.js", "type": "cjs require", "userRequest": "./_baseIsNaN", "loc": "2:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n" }, { "id": 265, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_strictIndexOf.js", "name": "./node_modules/lodash/_strictIndexOf.js", "index": 764, "index2": 753, "size": 600, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "issuerId": 263, "issuerName": "./node_modules/lodash/_baseIndexOf.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 262, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludes.js", "name": "./node_modules/lodash/_arrayIncludes.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } }, { "id": 263, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "name": "./node_modules/lodash/_baseIndexOf.js", "profile": { "factory": 80, "building": 19, "dependencies": 0 } } ], "profile": { "factory": 95, "building": 22 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 263, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseIndexOf.js", "module": "./node_modules/lodash/_baseIndexOf.js", "moduleName": "./node_modules/lodash/_baseIndexOf.js", "type": "cjs require", "userRequest": "./_strictIndexOf", "loc": "3:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 10, "source": "/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n" }, { "id": 266, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_arrayIncludesWith.js", "name": "./node_modules/lodash/_arrayIncludesWith.js", "index": 765, "index2": 756, "size": 615, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_arrayIncludesWith", "loc": "3:24-55" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n" }, { "id": 267, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "name": "./node_modules/lodash/_createSet.js", "index": 766, "index2": 758, "size": 501, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "issuerId": 261, "issuerName": "./node_modules/lodash/_baseUniq.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } } ], "profile": { "factory": 91, "building": 34, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 261, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "module": "./node_modules/lodash/_baseUniq.js", "moduleName": "./node_modules/lodash/_baseUniq.js", "type": "cjs require", "userRequest": "./_createSet", "loc": "5:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var Set = require('./_Set'),\n noop = require('./noop'),\n setToArray = require('./_setToArray');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n};\n\nmodule.exports = createSet;\n" }, { "id": 268, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/noop.js", "name": "./node_modules/lodash/noop.js", "index": 767, "index2": 757, "size": 250, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "issuerId": 267, "issuerName": "./node_modules/lodash/_createSet.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/lodash.js", "name": "./node_modules/graphlib/lib/lodash.js", "profile": { "factory": 106, "building": 76, "dependencies": 123 } }, { "id": 256, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/union.js", "name": "./node_modules/lodash/union.js", "profile": { "factory": 176, "building": 41, "dependencies": 83 } }, { "id": 261, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseUniq.js", "name": "./node_modules/lodash/_baseUniq.js", "profile": { "factory": 83, "building": 21, "dependencies": 1 } }, { "id": 267, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "name": "./node_modules/lodash/_createSet.js", "profile": { "factory": 91, "building": 34, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 26 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 267, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createSet.js", "module": "./node_modules/lodash/_createSet.js", "moduleName": "./node_modules/lodash/_createSet.js", "type": "cjs require", "userRequest": "./noop", "loc": "2:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n" }, { "id": 269, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseValues.js", "name": "./node_modules/lodash/_baseValues.js", "index": 770, "index2": 762, "size": 534, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/values.js", "issuerId": 130, "issuerName": "./node_modules/lodash/values.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 130, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/values.js", "name": "./node_modules/lodash/values.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 74, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 130, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/values.js", "module": "./node_modules/lodash/values.js", "moduleName": "./node_modules/lodash/values.js", "type": "cjs require", "userRequest": "./_baseValues", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var arrayMap = require('./_arrayMap');\n\n/**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nmodule.exports = baseValues;\n" }, { "id": 270, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/version.js", "name": "./node_modules/graphlib/lib/version.js", "index": 771, "index2": 766, "size": 26, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/index.js", "issuerId": 168, "issuerName": "./node_modules/graphlib/lib/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 168, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/index.js", "name": "./node_modules/graphlib/lib/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 72, "building": 43 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 168, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/index.js", "module": "./node_modules/graphlib/lib/index.js", "moduleName": "./node_modules/graphlib/lib/index.js", "type": "cjs require", "userRequest": "./version", "loc": "4:11-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "module.exports = '2.1.8';\n" }, { "id": 271, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/json.js", "name": "./node_modules/graphlib/lib/json.js", "index": 772, "index2": 768, "size": 1399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "issuerId": 2, "issuerName": "./node_modules/graphlib/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 266, "building": 74, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 2, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "module": "./node_modules/graphlib/index.js", "moduleName": "./node_modules/graphlib/index.js", "type": "cjs require", "userRequest": "./lib/json", "loc": "35:8-29" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "var _ = require(\"./lodash\");\nvar Graph = require(\"./graph\");\n\nmodule.exports = {\n write: write,\n read: read\n};\n\nfunction write(g) {\n var json = {\n options: {\n directed: g.isDirected(),\n multigraph: g.isMultigraph(),\n compound: g.isCompound()\n },\n nodes: writeNodes(g),\n edges: writeEdges(g)\n };\n if (!_.isUndefined(g.graph())) {\n json.value = _.clone(g.graph());\n }\n return json;\n}\n\nfunction writeNodes(g) {\n return _.map(g.nodes(), function(v) {\n var nodeValue = g.node(v);\n var parent = g.parent(v);\n var node = { v: v };\n if (!_.isUndefined(nodeValue)) {\n node.value = nodeValue;\n }\n if (!_.isUndefined(parent)) {\n node.parent = parent;\n }\n return node;\n });\n}\n\nfunction writeEdges(g) {\n return _.map(g.edges(), function(e) {\n var edgeValue = g.edge(e);\n var edge = { v: e.v, w: e.w };\n if (!_.isUndefined(e.name)) {\n edge.name = e.name;\n }\n if (!_.isUndefined(edgeValue)) {\n edge.value = edgeValue;\n }\n return edge;\n });\n}\n\nfunction read(json) {\n var g = new Graph(json.options).setGraph(json.value);\n _.each(json.nodes, function(entry) {\n g.setNode(entry.v, entry.value);\n if (entry.parent) {\n g.setParent(entry.v, entry.parent);\n }\n });\n _.each(json.edges, function(entry) {\n g.setEdge({ v: entry.v, w: entry.w, name: entry.name }, entry.value);\n });\n return g;\n}\n" }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "index": 773, "index2": 782, "size": 424, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "issuerId": 2, "issuerName": "./node_modules/graphlib/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 266, "building": 74, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 2, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "module": "./node_modules/graphlib/index.js", "moduleName": "./node_modules/graphlib/index.js", "type": "cjs require", "userRequest": "./lib/alg", "loc": "36:7-27" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "module.exports = {\n components: require(\"./components\"),\n dijkstra: require(\"./dijkstra\"),\n dijkstraAll: require(\"./dijkstra-all\"),\n findCycles: require(\"./find-cycles\"),\n floydWarshall: require(\"./floyd-warshall\"),\n isAcyclic: require(\"./is-acyclic\"),\n postorder: require(\"./postorder\"),\n preorder: require(\"./preorder\"),\n prim: require(\"./prim\"),\n tarjan: require(\"./tarjan\"),\n topsort: require(\"./topsort\")\n};\n" }, { "id": 273, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/components.js", "name": "./node_modules/graphlib/lib/alg/components.js", "index": 774, "index2": 769, "size": 447, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./components", "loc": "2:14-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = components;\n\nfunction components(g) {\n var visited = {};\n var cmpts = [];\n var cmpt;\n\n function dfs(v) {\n if (_.has(visited, v)) return;\n visited[v] = true;\n cmpt.push(v);\n _.each(g.successors(v), dfs);\n _.each(g.predecessors(v), dfs);\n }\n\n _.each(g.nodes(), function(v) {\n cmpt = [];\n dfs(v);\n if (cmpt.length) {\n cmpts.push(cmpt);\n }\n });\n\n return cmpts;\n}\n" }, { "id": 274, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/dijkstra-all.js", "name": "./node_modules/graphlib/lib/alg/dijkstra-all.js", "index": 777, "index2": 772, "size": 262, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./dijkstra-all", "loc": "4:15-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var dijkstra = require(\"./dijkstra\");\nvar _ = require(\"../lodash\");\n\nmodule.exports = dijkstraAll;\n\nfunction dijkstraAll(g, weightFunc, edgeFunc) {\n return _.transform(g.nodes(), function(acc, v) {\n acc[v] = dijkstra(g, v, weightFunc, edgeFunc);\n }, {});\n}\n" }, { "id": 275, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/find-cycles.js", "name": "./node_modules/graphlib/lib/alg/find-cycles.js", "index": 778, "index2": 774, "size": 256, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./find-cycles", "loc": "5:14-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\nvar tarjan = require(\"./tarjan\");\n\nmodule.exports = findCycles;\n\nfunction findCycles(g) {\n return _.filter(tarjan(g), function(cmpt) {\n return cmpt.length > 1 || (cmpt.length === 1 && g.hasEdge(cmpt[0], cmpt[0]));\n });\n}\n" }, { "id": 276, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/floyd-warshall.js", "name": "./node_modules/graphlib/lib/alg/floyd-warshall.js", "index": 780, "index2": 775, "size": 1235, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./floyd-warshall", "loc": "6:17-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = floydWarshall;\n\nvar DEFAULT_WEIGHT_FUNC = _.constant(1);\n\nfunction floydWarshall(g, weightFn, edgeFn) {\n return runFloydWarshall(g,\n weightFn || DEFAULT_WEIGHT_FUNC,\n edgeFn || function(v) { return g.outEdges(v); });\n}\n\nfunction runFloydWarshall(g, weightFn, edgeFn) {\n var results = {};\n var nodes = g.nodes();\n\n nodes.forEach(function(v) {\n results[v] = {};\n results[v][v] = { distance: 0 };\n nodes.forEach(function(w) {\n if (v !== w) {\n results[v][w] = { distance: Number.POSITIVE_INFINITY };\n }\n });\n edgeFn(v).forEach(function(edge) {\n var w = edge.v === v ? edge.w : edge.v;\n var d = weightFn(edge);\n results[v][w] = { distance: d, predecessor: v };\n });\n });\n\n nodes.forEach(function(k) {\n var rowK = results[k];\n nodes.forEach(function(i) {\n var rowI = results[i];\n nodes.forEach(function(j) {\n var ik = rowI[k];\n var kj = rowK[j];\n var ij = rowI[j];\n var altDistance = ik.distance + kj.distance;\n if (altDistance < ij.distance) {\n ij.distance = altDistance;\n ij.predecessor = kj.predecessor;\n }\n });\n });\n });\n\n return results;\n}\n" }, { "id": 277, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/is-acyclic.js", "name": "./node_modules/graphlib/lib/alg/is-acyclic.js", "index": 781, "index2": 777, "size": 237, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./is-acyclic", "loc": "7:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var topsort = require(\"./topsort\");\n\nmodule.exports = isAcyclic;\n\nfunction isAcyclic(g) {\n try {\n topsort(g);\n } catch (e) {\n if (e instanceof topsort.CycleException) {\n return false;\n }\n throw e;\n }\n return true;\n}\n" }, { "id": 278, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/postorder.js", "name": "./node_modules/graphlib/lib/alg/postorder.js", "index": 783, "index2": 779, "size": 117, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./postorder", "loc": "8:13-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var dfs = require(\"./dfs\");\n\nmodule.exports = postorder;\n\nfunction postorder(g, vs) {\n return dfs(g, vs, \"post\");\n}\n" }, { "id": 279, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/preorder.js", "name": "./node_modules/graphlib/lib/alg/preorder.js", "index": 785, "index2": 780, "size": 114, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./preorder", "loc": "9:12-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var dfs = require(\"./dfs\");\n\nmodule.exports = preorder;\n\nfunction preorder(g, vs) {\n return dfs(g, vs, \"pre\");\n}\n" }, { "id": 280, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/prim.js", "name": "./node_modules/graphlib/lib/alg/prim.js", "index": 786, "index2": 781, "size": 1105, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "issuerId": 272, "issuerName": "./node_modules/graphlib/lib/alg/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 2, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/index.js", "name": "./node_modules/graphlib/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 272, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "name": "./node_modules/graphlib/lib/alg/index.js", "profile": { "factory": 266, "building": 74, "dependencies": 0 } } ], "profile": { "factory": 167, "building": 34, "dependencies": 63 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 272, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/graphlib/lib/alg/index.js", "module": "./node_modules/graphlib/lib/alg/index.js", "moduleName": "./node_modules/graphlib/lib/alg/index.js", "type": "cjs require", "userRequest": "./prim", "loc": "10:8-25" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"../lodash\");\nvar Graph = require(\"../graph\");\nvar PriorityQueue = require(\"../data/priority-queue\");\n\nmodule.exports = prim;\n\nfunction prim(g, weightFunc) {\n var result = new Graph();\n var parents = {};\n var pq = new PriorityQueue();\n var v;\n\n function updateNeighbors(edge) {\n var w = edge.v === v ? edge.w : edge.v;\n var pri = pq.priority(w);\n if (pri !== undefined) {\n var edgeWeight = weightFunc(edge);\n if (edgeWeight < pri) {\n parents[w] = v;\n pq.decrease(w, edgeWeight);\n }\n }\n }\n\n if (g.nodeCount() === 0) {\n return result;\n }\n\n _.each(g.nodes(), function(v) {\n pq.add(v, Number.POSITIVE_INFINITY);\n result.setNode(v);\n });\n\n // Start from an arbitrary node\n pq.decrease(g.nodes()[0], 0);\n\n var init = false;\n while (pq.size() > 0) {\n v = pq.removeMin();\n if (_.has(parents, v)) {\n result.setEdge(v, parents[v]);\n } else if (init) {\n throw new Error(\"Input graph is not connected: \" + g);\n } else {\n init = true;\n }\n\n g.nodeEdges(v).forEach(updateNeighbors);\n }\n\n return result;\n}\n" }, { "id": 281, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/graphlib.js", "name": "./node_modules/dagre-d3/lib/graphlib.js", "index": 788, "index2": 784, "size": 255, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "issuerId": 5, "issuerName": "./node_modules/dagre-d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 313, "building": 36, "dependencies": 79 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/graphlib", "loc": "24:12-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "/* global window */\n\nvar graphlib;\n\nif (typeof require === \"function\") {\n try {\n graphlib = require(\"graphlib\");\n }\n catch (e) {\n // continue regardless of error\n }\n}\n\nif (!graphlib) {\n graphlib = window.graphlib;\n}\n\nmodule.exports = graphlib;\n" }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "index": 792, "index2": 855, "size": 12344, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "issuerId": 21, "issuerName": "./node_modules/dagre/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 98, "dependencies": 119 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/layout", "loc": "26:10-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar acyclic = require(\"./acyclic\");\nvar normalize = require(\"./normalize\");\nvar rank = require(\"./rank\");\nvar normalizeRanks = require(\"./util\").normalizeRanks;\nvar parentDummyChains = require(\"./parent-dummy-chains\");\nvar removeEmptyRanks = require(\"./util\").removeEmptyRanks;\nvar nestingGraph = require(\"./nesting-graph\");\nvar addBorderSegments = require(\"./add-border-segments\");\nvar coordinateSystem = require(\"./coordinate-system\");\nvar order = require(\"./order\");\nvar position = require(\"./position\");\nvar util = require(\"./util\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = layout;\n\nfunction layout(g, opts) {\n var time = opts && opts.debugTiming ? util.time : util.notime;\n time(\"layout\", function() {\n var layoutGraph = \n time(\" buildLayoutGraph\", function() { return buildLayoutGraph(g); });\n time(\" runLayout\", function() { runLayout(layoutGraph, time); });\n time(\" updateInputGraph\", function() { updateInputGraph(g, layoutGraph); });\n });\n}\n\nfunction runLayout(g, time) {\n time(\" makeSpaceForEdgeLabels\", function() { makeSpaceForEdgeLabels(g); });\n time(\" removeSelfEdges\", function() { removeSelfEdges(g); });\n time(\" acyclic\", function() { acyclic.run(g); });\n time(\" nestingGraph.run\", function() { nestingGraph.run(g); });\n time(\" rank\", function() { rank(util.asNonCompoundGraph(g)); });\n time(\" injectEdgeLabelProxies\", function() { injectEdgeLabelProxies(g); });\n time(\" removeEmptyRanks\", function() { removeEmptyRanks(g); });\n time(\" nestingGraph.cleanup\", function() { nestingGraph.cleanup(g); });\n time(\" normalizeRanks\", function() { normalizeRanks(g); });\n time(\" assignRankMinMax\", function() { assignRankMinMax(g); });\n time(\" removeEdgeLabelProxies\", function() { removeEdgeLabelProxies(g); });\n time(\" normalize.run\", function() { normalize.run(g); });\n time(\" parentDummyChains\", function() { parentDummyChains(g); });\n time(\" addBorderSegments\", function() { addBorderSegments(g); });\n time(\" order\", function() { order(g); });\n time(\" insertSelfEdges\", function() { insertSelfEdges(g); });\n time(\" adjustCoordinateSystem\", function() { coordinateSystem.adjust(g); });\n time(\" position\", function() { position(g); });\n time(\" positionSelfEdges\", function() { positionSelfEdges(g); });\n time(\" removeBorderNodes\", function() { removeBorderNodes(g); });\n time(\" normalize.undo\", function() { normalize.undo(g); });\n time(\" fixupEdgeLabelCoords\", function() { fixupEdgeLabelCoords(g); });\n time(\" undoCoordinateSystem\", function() { coordinateSystem.undo(g); });\n time(\" translateGraph\", function() { translateGraph(g); });\n time(\" assignNodeIntersects\", function() { assignNodeIntersects(g); });\n time(\" reversePoints\", function() { reversePointsForReversedEdges(g); });\n time(\" acyclic.undo\", function() { acyclic.undo(g); });\n}\n\n/*\n * Copies final layout information from the layout graph back to the input\n * graph. This process only copies whitelisted attributes from the layout graph\n * to the input graph, so it serves as a good place to determine what\n * attributes can influence layout.\n */\nfunction updateInputGraph(inputGraph, layoutGraph) {\n _.forEach(inputGraph.nodes(), function(v) {\n var inputLabel = inputGraph.node(v);\n var layoutLabel = layoutGraph.node(v);\n\n if (inputLabel) {\n inputLabel.x = layoutLabel.x;\n inputLabel.y = layoutLabel.y;\n\n if (layoutGraph.children(v).length) {\n inputLabel.width = layoutLabel.width;\n inputLabel.height = layoutLabel.height;\n }\n }\n });\n\n _.forEach(inputGraph.edges(), function(e) {\n var inputLabel = inputGraph.edge(e);\n var layoutLabel = layoutGraph.edge(e);\n\n inputLabel.points = layoutLabel.points;\n if (_.has(layoutLabel, \"x\")) {\n inputLabel.x = layoutLabel.x;\n inputLabel.y = layoutLabel.y;\n }\n });\n\n inputGraph.graph().width = layoutGraph.graph().width;\n inputGraph.graph().height = layoutGraph.graph().height;\n}\n\nvar graphNumAttrs = [\"nodesep\", \"edgesep\", \"ranksep\", \"marginx\", \"marginy\"];\nvar graphDefaults = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: \"tb\" };\nvar graphAttrs = [\"acyclicer\", \"ranker\", \"rankdir\", \"align\"];\nvar nodeNumAttrs = [\"width\", \"height\"];\nvar nodeDefaults = { width: 0, height: 0 };\nvar edgeNumAttrs = [\"minlen\", \"weight\", \"width\", \"height\", \"labeloffset\"];\nvar edgeDefaults = {\n minlen: 1, weight: 1, width: 0, height: 0,\n labeloffset: 10, labelpos: \"r\"\n};\nvar edgeAttrs = [\"labelpos\"];\n\n/*\n * Constructs a new graph from the input graph, which can be used for layout.\n * This process copies only whitelisted attributes from the input graph to the\n * layout graph. Thus this function serves as a good place to determine what\n * attributes can influence layout.\n */\nfunction buildLayoutGraph(inputGraph) {\n var g = new Graph({ multigraph: true, compound: true });\n var graph = canonicalize(inputGraph.graph());\n\n g.setGraph(_.merge({},\n graphDefaults,\n selectNumberAttrs(graph, graphNumAttrs),\n _.pick(graph, graphAttrs)));\n\n _.forEach(inputGraph.nodes(), function(v) {\n var node = canonicalize(inputGraph.node(v));\n g.setNode(v, _.defaults(selectNumberAttrs(node, nodeNumAttrs), nodeDefaults));\n g.setParent(v, inputGraph.parent(v));\n });\n\n _.forEach(inputGraph.edges(), function(e) {\n var edge = canonicalize(inputGraph.edge(e));\n g.setEdge(e, _.merge({},\n edgeDefaults,\n selectNumberAttrs(edge, edgeNumAttrs),\n _.pick(edge, edgeAttrs)));\n });\n\n return g;\n}\n\n/*\n * This idea comes from the Gansner paper: to account for edge labels in our\n * layout we split each rank in half by doubling minlen and halving ranksep.\n * Then we can place labels at these mid-points between nodes.\n *\n * We also add some minimal padding to the width to push the label for the edge\n * away from the edge itself a bit.\n */\nfunction makeSpaceForEdgeLabels(g) {\n var graph = g.graph();\n graph.ranksep /= 2;\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n edge.minlen *= 2;\n if (edge.labelpos.toLowerCase() !== \"c\") {\n if (graph.rankdir === \"TB\" || graph.rankdir === \"BT\") {\n edge.width += edge.labeloffset;\n } else {\n edge.height += edge.labeloffset;\n }\n }\n });\n}\n\n/*\n * Creates temporary dummy nodes that capture the rank in which each edge's\n * label is going to, if it has one of non-zero width and height. We do this\n * so that we can safely remove empty ranks while preserving balance for the\n * label's position.\n */\nfunction injectEdgeLabelProxies(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.width && edge.height) {\n var v = g.node(e.v);\n var w = g.node(e.w);\n var label = { rank: (w.rank - v.rank) / 2 + v.rank, e: e };\n util.addDummyNode(g, \"edge-proxy\", label, \"_ep\");\n }\n });\n}\n\nfunction assignRankMinMax(g) {\n var maxRank = 0;\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.borderTop) {\n node.minRank = g.node(node.borderTop).rank;\n node.maxRank = g.node(node.borderBottom).rank;\n maxRank = _.max(maxRank, node.maxRank);\n }\n });\n g.graph().maxRank = maxRank;\n}\n\nfunction removeEdgeLabelProxies(g) {\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.dummy === \"edge-proxy\") {\n g.edge(node.e).labelRank = node.rank;\n g.removeNode(v);\n }\n });\n}\n\nfunction translateGraph(g) {\n var minX = Number.POSITIVE_INFINITY;\n var maxX = 0;\n var minY = Number.POSITIVE_INFINITY;\n var maxY = 0;\n var graphLabel = g.graph();\n var marginX = graphLabel.marginx || 0;\n var marginY = graphLabel.marginy || 0;\n\n function getExtremes(attrs) {\n var x = attrs.x;\n var y = attrs.y;\n var w = attrs.width;\n var h = attrs.height;\n minX = Math.min(minX, x - w / 2);\n maxX = Math.max(maxX, x + w / 2);\n minY = Math.min(minY, y - h / 2);\n maxY = Math.max(maxY, y + h / 2);\n }\n\n _.forEach(g.nodes(), function(v) { getExtremes(g.node(v)); });\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (_.has(edge, \"x\")) {\n getExtremes(edge);\n }\n });\n\n minX -= marginX;\n minY -= marginY;\n\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n node.x -= minX;\n node.y -= minY;\n });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, function(p) {\n p.x -= minX;\n p.y -= minY;\n });\n if (_.has(edge, \"x\")) { edge.x -= minX; }\n if (_.has(edge, \"y\")) { edge.y -= minY; }\n });\n\n graphLabel.width = maxX - minX + marginX;\n graphLabel.height = maxY - minY + marginY;\n}\n\nfunction assignNodeIntersects(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n var nodeV = g.node(e.v);\n var nodeW = g.node(e.w);\n var p1, p2;\n if (!edge.points) {\n edge.points = [];\n p1 = nodeW;\n p2 = nodeV;\n } else {\n p1 = edge.points[0];\n p2 = edge.points[edge.points.length - 1];\n }\n edge.points.unshift(util.intersectRect(nodeV, p1));\n edge.points.push(util.intersectRect(nodeW, p2));\n });\n}\n\nfunction fixupEdgeLabelCoords(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (_.has(edge, \"x\")) {\n if (edge.labelpos === \"l\" || edge.labelpos === \"r\") {\n edge.width -= edge.labeloffset;\n }\n switch (edge.labelpos) {\n case \"l\": edge.x -= edge.width / 2 + edge.labeloffset; break;\n case \"r\": edge.x += edge.width / 2 + edge.labeloffset; break;\n }\n }\n });\n}\n\nfunction reversePointsForReversedEdges(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.reversed) {\n edge.points.reverse();\n }\n });\n}\n\nfunction removeBorderNodes(g) {\n _.forEach(g.nodes(), function(v) {\n if (g.children(v).length) {\n var node = g.node(v);\n var t = g.node(node.borderTop);\n var b = g.node(node.borderBottom);\n var l = g.node(_.last(node.borderLeft));\n var r = g.node(_.last(node.borderRight));\n\n node.width = Math.abs(r.x - l.x);\n node.height = Math.abs(b.y - t.y);\n node.x = l.x + node.width / 2;\n node.y = t.y + node.height / 2;\n }\n });\n\n _.forEach(g.nodes(), function(v) {\n if (g.node(v).dummy === \"border\") {\n g.removeNode(v);\n }\n });\n}\n\nfunction removeSelfEdges(g) {\n _.forEach(g.edges(), function(e) {\n if (e.v === e.w) {\n var node = g.node(e.v);\n if (!node.selfEdges) {\n node.selfEdges = [];\n }\n node.selfEdges.push({ e: e, label: g.edge(e) });\n g.removeEdge(e);\n }\n });\n}\n\nfunction insertSelfEdges(g) {\n var layers = util.buildLayerMatrix(g);\n _.forEach(layers, function(layer) {\n var orderShift = 0;\n _.forEach(layer, function(v, i) {\n var node = g.node(v);\n node.order = i + orderShift;\n _.forEach(node.selfEdges, function(selfEdge) {\n util.addDummyNode(g, \"selfedge\", {\n width: selfEdge.label.width,\n height: selfEdge.label.height,\n rank: node.rank,\n order: i + (++orderShift),\n e: selfEdge.e,\n label: selfEdge.label\n }, \"_se\");\n });\n delete node.selfEdges;\n });\n });\n}\n\nfunction positionSelfEdges(g) {\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.dummy === \"selfedge\") {\n var selfNode = g.node(node.e.v);\n var x = selfNode.x + selfNode.width / 2;\n var y = selfNode.y;\n var dx = node.x - x;\n var dy = selfNode.height / 2;\n g.setEdge(node.e, node.label);\n g.removeNode(v);\n node.label.points = [\n { x: x + 2 * dx / 3, y: y - dy },\n { x: x + 5 * dx / 6, y: y - dy },\n { x: x + dx , y: y },\n { x: x + 5 * dx / 6, y: y + dy },\n { x: x + 2 * dx / 3, y: y + dy }\n ];\n node.label.x = node.x;\n node.label.y = node.y;\n }\n });\n}\n\nfunction selectNumberAttrs(obj, attrs) {\n return _.mapValues(_.pick(obj, attrs), Number);\n}\n\nfunction canonicalize(attrs) {\n var newAttrs = {};\n _.forEach(attrs, function(v, k) {\n newAttrs[k.toLowerCase()] = v;\n });\n return newAttrs;\n}\n" }, { "id": 283, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/cloneDeep.js", "name": "./node_modules/lodash/cloneDeep.js", "index": 794, "index2": 786, "size": 679, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/cloneDeep", "loc": "8:17-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n" }, { "id": 284, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "name": "./node_modules/lodash/find.js", "index": 797, "index2": 794, "size": 1304, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/find", "loc": "13:12-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var createFind = require('./_createFind'),\n findIndex = require('./findIndex');\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n" }, { "id": 285, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createFind.js", "name": "./node_modules/lodash/_createFind.js", "index": 798, "index2": 789, "size": 853, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "issuerId": 284, "issuerName": "./node_modules/lodash/find.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 284, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "name": "./node_modules/lodash/find.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 68, "building": 33, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 284, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "module": "./node_modules/lodash/find.js", "moduleName": "./node_modules/lodash/find.js", "type": "cjs require", "userRequest": "./_createFind", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseIteratee = require('./_baseIteratee'),\n isArrayLike = require('./isArrayLike'),\n keys = require('./keys');\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n}\n\nmodule.exports = createFind;\n" }, { "id": 286, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "name": "./node_modules/lodash/findIndex.js", "index": 799, "index2": 793, "size": 1654, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "issuerId": 284, "issuerName": "./node_modules/lodash/find.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 284, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "name": "./node_modules/lodash/find.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 68, "building": 33, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 284, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "module": "./node_modules/lodash/find.js", "moduleName": "./node_modules/lodash/find.js", "type": "cjs require", "userRequest": "./findIndex", "loc": "2:16-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n" }, { "id": 287, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toInteger.js", "name": "./node_modules/lodash/toInteger.js", "index": 800, "index2": 792, "size": 760, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "issuerId": 286, "issuerName": "./node_modules/lodash/findIndex.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 284, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/find.js", "name": "./node_modules/lodash/find.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 286, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "name": "./node_modules/lodash/findIndex.js", "profile": { "factory": 68, "building": 33, "dependencies": 1 } } ], "profile": { "factory": 55, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 286, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/findIndex.js", "module": "./node_modules/lodash/findIndex.js", "moduleName": "./node_modules/lodash/findIndex.js", "type": "cjs require", "userRequest": "./toInteger", "loc": "3:16-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n" }, { "id": 288, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toNumber.js", "name": "./node_modules/lodash/toNumber.js", "index": 802, "index2": 790, "size": 1572, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toFinite.js", "issuerId": 138, "issuerName": "./node_modules/lodash/toFinite.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 145, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "name": "./node_modules/lodash/range.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 306, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "name": "./node_modules/lodash/_createRange.js", "profile": { "factory": 79, "building": 18, "dependencies": 2 } }, { "id": 138, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toFinite.js", "name": "./node_modules/lodash/toFinite.js", "profile": { "factory": 81, "building": 21 } } ], "profile": { "factory": 58, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 138, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toFinite.js", "module": "./node_modules/lodash/toFinite.js", "moduleName": "./node_modules/lodash/toFinite.js", "type": "cjs require", "userRequest": "./toNumber", "loc": "1:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n" }, { "id": 289, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/forIn.js", "name": "./node_modules/lodash/forIn.js", "index": 804, "index2": 796, "size": 1065, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/forIn", "loc": "16:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseFor = require('./_baseFor'),\n castFunction = require('./_castFunction'),\n keysIn = require('./keysIn');\n\n/**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\nfunction forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, castFunction(iteratee), keysIn);\n}\n\nmodule.exports = forIn;\n" }, { "id": 290, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/last.js", "name": "./node_modules/lodash/last.js", "index": 805, "index2": 797, "size": 401, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/last", "loc": "19:12-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n" }, { "id": 291, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/mapValues.js", "name": "./node_modules/lodash/mapValues.js", "index": 806, "index2": 798, "size": 1338, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/mapValues", "loc": "21:17-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseAssignValue = require('./_baseAssignValue'),\n baseForOwn = require('./_baseForOwn'),\n baseIteratee = require('./_baseIteratee');\n\n/**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\nfunction mapValues(object, iteratee) {\n var result = {};\n iteratee = baseIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n}\n\nmodule.exports = mapValues;\n" }, { "id": 292, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "name": "./node_modules/lodash/max.js", "index": 807, "index2": 801, "size": 614, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/max", "loc": "22:11-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseExtremum = require('./_baseExtremum'),\n baseGt = require('./_baseGt'),\n identity = require('./identity');\n\n/**\n * Computes the maximum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the maximum value.\n * @example\n *\n * _.max([4, 2, 8, 6]);\n * // => 8\n *\n * _.max([]);\n * // => undefined\n */\nfunction max(array) {\n return (array && array.length)\n ? baseExtremum(array, identity, baseGt)\n : undefined;\n}\n\nmodule.exports = max;\n" }, { "id": 293, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseGt.js", "name": "./node_modules/lodash/_baseGt.js", "index": 809, "index2": 800, "size": 357, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "issuerId": 292, "issuerName": "./node_modules/lodash/max.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 292, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "name": "./node_modules/lodash/max.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 73, "building": 27 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 292, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/max.js", "module": "./node_modules/lodash/max.js", "moduleName": "./node_modules/lodash/max.js", "type": "cjs require", "userRequest": "./_baseGt", "loc": "2:13-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\nfunction baseGt(value, other) {\n return value > other;\n}\n\nmodule.exports = baseGt;\n" }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "index": 810, "index2": 809, "size": 1220, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/merge", "loc": "23:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseMerge = require('./_baseMerge'),\n createAssigner = require('./_createAssigner');\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n" }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "index": 811, "index2": 807, "size": 1328, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "issuerId": 294, "issuerName": "./node_modules/lodash/merge.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 74, "building": 27, "dependencies": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 294, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "module": "./node_modules/lodash/merge.js", "moduleName": "./node_modules/lodash/merge.js", "type": "cjs require", "userRequest": "./_baseMerge", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n" }, { "id": 296, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "name": "./node_modules/lodash/_baseMergeDeep.js", "index": 813, "index2": 806, "size": 3069, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "issuerId": 295, "issuerName": "./node_modules/lodash/_baseMerge.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "profile": { "factory": 74, "building": 27, "dependencies": 37 } } ], "profile": { "factory": 65, "building": 23, "dependencies": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 295, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "module": "./node_modules/lodash/_baseMerge.js", "moduleName": "./node_modules/lodash/_baseMerge.js", "type": "cjs require", "userRequest": "./_baseMergeDeep", "loc": "4:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var assignMergeValue = require('./_assignMergeValue'),\n cloneBuffer = require('./_cloneBuffer'),\n cloneTypedArray = require('./_cloneTypedArray'),\n copyArray = require('./_copyArray'),\n initCloneObject = require('./_initCloneObject'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isPlainObject = require('./isPlainObject'),\n isTypedArray = require('./isTypedArray'),\n safeGet = require('./_safeGet'),\n toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n" }, { "id": 297, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/toPlainObject.js", "name": "./node_modules/lodash/toPlainObject.js", "index": 816, "index2": 805, "size": 744, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "issuerId": 296, "issuerName": "./node_modules/lodash/_baseMergeDeep.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 295, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMerge.js", "name": "./node_modules/lodash/_baseMerge.js", "profile": { "factory": 74, "building": 27, "dependencies": 37 } }, { "id": 296, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "name": "./node_modules/lodash/_baseMergeDeep.js", "profile": { "factory": 65, "building": 23, "dependencies": 15 } } ], "profile": { "factory": 66, "building": 38, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 296, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseMergeDeep.js", "module": "./node_modules/lodash/_baseMergeDeep.js", "moduleName": "./node_modules/lodash/_baseMergeDeep.js", "type": "cjs require", "userRequest": "./toPlainObject", "loc": "15:20-46" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n" }, { "id": 298, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createAssigner.js", "name": "./node_modules/lodash/_createAssigner.js", "index": 817, "index2": 808, "size": 1042, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "issuerId": 294, "issuerName": "./node_modules/lodash/merge.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 294, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "name": "./node_modules/lodash/merge.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 74, "building": 27, "dependencies": 37 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 294, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/merge.js", "module": "./node_modules/lodash/merge.js", "moduleName": "./node_modules/lodash/merge.js", "type": "cjs require", "userRequest": "./_createAssigner", "loc": "2:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n" }, { "id": 299, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/min.js", "name": "./node_modules/lodash/min.js", "index": 818, "index2": 811, "size": 614, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/min", "loc": "24:11-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseExtremum = require('./_baseExtremum'),\n baseLt = require('./_baseLt'),\n identity = require('./identity');\n\n/**\n * Computes the minimum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * _.min([4, 2, 8, 6]);\n * // => 2\n *\n * _.min([]);\n * // => undefined\n */\nfunction min(array) {\n return (array && array.length)\n ? baseExtremum(array, identity, baseLt)\n : undefined;\n}\n\nmodule.exports = min;\n" }, { "id": 300, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/minBy.js", "name": "./node_modules/lodash/minBy.js", "index": 820, "index2": 812, "size": 991, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/minBy", "loc": "25:13-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseExtremum = require('./_baseExtremum'),\n baseIteratee = require('./_baseIteratee'),\n baseLt = require('./_baseLt');\n\n/**\n * This method is like `_.min` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * the value is ranked. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * _.minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * // The `_.property` iteratee shorthand.\n * _.minBy(objects, 'n');\n * // => { 'n': 1 }\n */\nfunction minBy(array, iteratee) {\n return (array && array.length)\n ? baseExtremum(array, baseIteratee(iteratee, 2), baseLt)\n : undefined;\n}\n\nmodule.exports = minBy;\n" }, { "id": 301, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/now.js", "name": "./node_modules/lodash/now.js", "index": 821, "index2": 813, "size": 520, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/now", "loc": "26:11-32" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n" }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "index": 823, "index2": 816, "size": 501, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "issuerId": 144, "issuerName": "./node_modules/lodash/pick.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 68, "building": 40, "dependencies": 46 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 144, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "module": "./node_modules/lodash/pick.js", "moduleName": "./node_modules/lodash/pick.js", "type": "cjs require", "userRequest": "./_basePick", "loc": "1:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var basePickBy = require('./_basePickBy'),\n hasIn = require('./hasIn');\n\n/**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\nfunction basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n}\n\nmodule.exports = basePick;\n" }, { "id": 303, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "name": "./node_modules/lodash/_basePickBy.js", "index": 824, "index2": 815, "size": 791, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "issuerId": 302, "issuerName": "./node_modules/lodash/_basePick.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "profile": { "factory": 68, "building": 40, "dependencies": 46 } } ], "profile": { "factory": 62, "building": 23, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 302, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "module": "./node_modules/lodash/_basePick.js", "moduleName": "./node_modules/lodash/_basePick.js", "type": "cjs require", "userRequest": "./_basePickBy", "loc": "1:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var baseGet = require('./_baseGet'),\n baseSet = require('./_baseSet'),\n castPath = require('./_castPath');\n\n/**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n}\n\nmodule.exports = basePickBy;\n" }, { "id": 304, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSet.js", "name": "./node_modules/lodash/_baseSet.js", "index": 825, "index2": 814, "size": 1278, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "issuerId": 303, "issuerName": "./node_modules/lodash/_basePickBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 302, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePick.js", "name": "./node_modules/lodash/_basePick.js", "profile": { "factory": 68, "building": 40, "dependencies": 46 } }, { "id": 303, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "name": "./node_modules/lodash/_basePickBy.js", "profile": { "factory": 62, "building": 23, "dependencies": 0 } } ], "profile": { "factory": 63, "building": 25, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 303, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_basePickBy.js", "module": "./node_modules/lodash/_basePickBy.js", "moduleName": "./node_modules/lodash/_basePickBy.js", "type": "cjs require", "userRequest": "./_baseSet", "loc": "2:14-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var assignValue = require('./_assignValue'),\n castPath = require('./_castPath'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\nfunction baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n}\n\nmodule.exports = baseSet;\n" }, { "id": 305, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_flatRest.js", "name": "./node_modules/lodash/_flatRest.js", "index": 826, "index2": 817, "size": 457, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "issuerId": 144, "issuerName": "./node_modules/lodash/pick.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 144, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "name": "./node_modules/lodash/pick.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 68, "building": 40, "dependencies": 46 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 144, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/pick.js", "module": "./node_modules/lodash/pick.js", "moduleName": "./node_modules/lodash/pick.js", "type": "cjs require", "userRequest": "./_flatRest", "loc": "2:15-37" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n" }, { "id": 306, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "name": "./node_modules/lodash/_createRange.js", "index": 828, "index2": 820, "size": 864, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "issuerId": 145, "issuerName": "./node_modules/lodash/range.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 145, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "name": "./node_modules/lodash/range.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } } ], "profile": { "factory": 79, "building": 18, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 145, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "module": "./node_modules/lodash/range.js", "moduleName": "./node_modules/lodash/range.js", "type": "cjs require", "userRequest": "./_createRange", "loc": "1:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var baseRange = require('./_baseRange'),\n isIterateeCall = require('./_isIterateeCall'),\n toFinite = require('./toFinite');\n\n/**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\nfunction createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n}\n\nmodule.exports = createRange;\n" }, { "id": 307, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseRange.js", "name": "./node_modules/lodash/_baseRange.js", "index": 829, "index2": 819, "size": 850, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "issuerId": 306, "issuerName": "./node_modules/lodash/_createRange.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 44, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-html-label.js", "name": "./node_modules/dagre-d3/lib/label/add-html-label.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/util.js", "name": "./node_modules/dagre-d3/lib/util.js", "profile": { "factory": 512, "building": 394 } }, { "id": 38, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/lodash.js", "name": "./node_modules/dagre-d3/lib/lodash.js", "profile": { "factory": 56, "building": 103 } }, { "id": 145, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/range.js", "name": "./node_modules/lodash/range.js", "profile": { "factory": 250, "building": 40, "dependencies": 62 } }, { "id": 306, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "name": "./node_modules/lodash/_createRange.js", "profile": { "factory": 79, "building": 18, "dependencies": 2 } } ], "profile": { "factory": 81, "building": 21 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 306, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_createRange.js", "module": "./node_modules/lodash/_createRange.js", "moduleName": "./node_modules/lodash/_createRange.js", "type": "cjs require", "userRequest": "./_baseRange", "loc": "1:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\nfunction baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n}\n\nmodule.exports = baseRange;\n" }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "index": 830, "index2": 826, "size": 1668, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/sortBy", "loc": "30:14-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var baseFlatten = require('./_baseFlatten'),\n baseOrderBy = require('./_baseOrderBy'),\n baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 40 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 40], ['fred', 48]]\n */\nvar sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n});\n\nmodule.exports = sortBy;\n" }, { "id": 309, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "name": "./node_modules/lodash/_baseOrderBy.js", "index": 831, "index2": 825, "size": 1196, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "issuerId": 308, "issuerName": "./node_modules/lodash/sortBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 76, "building": 23, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 308, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "module": "./node_modules/lodash/sortBy.js", "moduleName": "./node_modules/lodash/sortBy.js", "type": "cjs require", "userRequest": "./_baseOrderBy", "loc": "2:18-43" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n baseSortBy = require('./_baseSortBy'),\n baseUnary = require('./_baseUnary'),\n compareMultiple = require('./_compareMultiple'),\n identity = require('./identity');\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n var index = -1;\n iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(baseIteratee));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n}\n\nmodule.exports = baseOrderBy;\n" }, { "id": 310, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseSortBy.js", "name": "./node_modules/lodash/_baseSortBy.js", "index": 832, "index2": 822, "size": 543, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "issuerId": 309, "issuerName": "./node_modules/lodash/_baseOrderBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 309, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "name": "./node_modules/lodash/_baseOrderBy.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } } ], "profile": { "factory": 61, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_baseSortBy", "loc": "4:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n}\n\nmodule.exports = baseSortBy;\n" }, { "id": 311, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareMultiple.js", "name": "./node_modules/lodash/_compareMultiple.js", "index": 833, "index2": 824, "size": 1599, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "issuerId": 309, "issuerName": "./node_modules/lodash/_baseOrderBy.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 309, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "name": "./node_modules/lodash/_baseOrderBy.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } } ], "profile": { "factory": 61, "building": 28 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 309, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "module": "./node_modules/lodash/_baseOrderBy.js", "moduleName": "./node_modules/lodash/_baseOrderBy.js", "type": "cjs require", "userRequest": "./_compareMultiple", "loc": "6:22-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 8, "source": "var compareAscending = require('./_compareAscending');\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n}\n\nmodule.exports = compareMultiple;\n" }, { "id": 312, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareAscending.js", "name": "./node_modules/lodash/_compareAscending.js", "index": 834, "index2": 823, "size": 1343, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareMultiple.js", "issuerId": 311, "issuerName": "./node_modules/lodash/_compareMultiple.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 308, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/sortBy.js", "name": "./node_modules/lodash/sortBy.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } }, { "id": 309, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseOrderBy.js", "name": "./node_modules/lodash/_baseOrderBy.js", "profile": { "factory": 76, "building": 23, "dependencies": 2 } }, { "id": 311, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareMultiple.js", "name": "./node_modules/lodash/_compareMultiple.js", "profile": { "factory": 61, "building": 28 } } ], "profile": { "factory": 62, "building": 33, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 311, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_compareMultiple.js", "module": "./node_modules/lodash/_compareMultiple.js", "moduleName": "./node_modules/lodash/_compareMultiple.js", "type": "cjs require", "userRequest": "./_compareAscending", "loc": "1:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 9, "source": "var isSymbol = require('./isSymbol');\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n}\n\nmodule.exports = compareAscending;\n" }, { "id": 313, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "name": "./node_modules/lodash/zipObject.js", "index": 836, "index2": 829, "size": 664, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "issuerId": 3, "issuerName": "./node_modules/dagre/lib/lodash.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 108, "building": 36, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 3, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "module": "./node_modules/dagre/lib/lodash.js", "moduleName": "./node_modules/dagre/lib/lodash.js", "type": "cjs require", "userRequest": "lodash/zipObject", "loc": "33:17-44" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var assignValue = require('./_assignValue'),\n baseZipObject = require('./_baseZipObject');\n\n/**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\nfunction zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n}\n\nmodule.exports = zipObject;\n" }, { "id": 314, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/_baseZipObject.js", "name": "./node_modules/lodash/_baseZipObject.js", "index": 837, "index2": 828, "size": 660, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "issuerId": 313, "issuerName": "./node_modules/lodash/zipObject.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 3, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/lodash.js", "name": "./node_modules/dagre/lib/lodash.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 313, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "name": "./node_modules/lodash/zipObject.js", "profile": { "factory": 108, "building": 36, "dependencies": 74 } } ], "profile": { "factory": 129, "building": 19, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 313, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/lodash/zipObject.js", "module": "./node_modules/lodash/zipObject.js", "moduleName": "./node_modules/lodash/zipObject.js", "type": "cjs require", "userRequest": "./_baseZipObject", "loc": "2:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\nfunction baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n}\n\nmodule.exports = baseZipObject;\n" }, { "id": 315, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "name": "./node_modules/dagre/lib/acyclic.js", "index": 838, "index2": 833, "size": 1242, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./acyclic", "loc": "4:14-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar greedyFAS = require(\"./greedy-fas\");\n\nmodule.exports = {\n run: run,\n undo: undo\n};\n\nfunction run(g) {\n var fas = (g.graph().acyclicer === \"greedy\"\n ? greedyFAS(g, weightFn(g))\n : dfsFAS(g));\n _.forEach(fas, function(e) {\n var label = g.edge(e);\n g.removeEdge(e);\n label.forwardName = e.name;\n label.reversed = true;\n g.setEdge(e.w, e.v, label, _.uniqueId(\"rev\"));\n });\n\n function weightFn(g) {\n return function(e) {\n return g.edge(e).weight;\n };\n }\n}\n\nfunction dfsFAS(g) {\n var fas = [];\n var stack = {};\n var visited = {};\n\n function dfs(v) {\n if (_.has(visited, v)) {\n return;\n }\n visited[v] = true;\n stack[v] = true;\n _.forEach(g.outEdges(v), function(e) {\n if (_.has(stack, e.w)) {\n fas.push(e);\n } else {\n dfs(e.w);\n }\n });\n delete stack[v];\n }\n\n _.forEach(g.nodes(), dfs);\n return fas;\n}\n\nfunction undo(g) {\n _.forEach(g.edges(), function(e) {\n var label = g.edge(e);\n if (label.reversed) {\n g.removeEdge(e);\n\n var forwardName = label.forwardName;\n delete label.reversed;\n delete label.forwardName;\n g.setEdge(e.w, e.v, label, forwardName);\n }\n });\n}\n" }, { "id": 316, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "name": "./node_modules/dagre/lib/greedy-fas.js", "index": 839, "index2": 832, "size": 3370, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "issuerId": 315, "issuerName": "./node_modules/dagre/lib/acyclic.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 315, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "name": "./node_modules/dagre/lib/acyclic.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 79, "building": 18, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 315, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "module": "./node_modules/dagre/lib/acyclic.js", "moduleName": "./node_modules/dagre/lib/acyclic.js", "type": "cjs require", "userRequest": "./greedy-fas", "loc": "4:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"./lodash\");\nvar Graph = require(\"./graphlib\").Graph;\nvar List = require(\"./data/list\");\n\n/*\n * A greedy heuristic for finding a feedback arc set for a graph. A feedback\n * arc set is a set of edges that can be removed to make a graph acyclic.\n * The algorithm comes from: P. Eades, X. Lin, and W. F. Smyth, \"A fast and\n * effective heuristic for the feedback arc set problem.\" This implementation\n * adjusts that from the paper to allow for weighted edges.\n */\nmodule.exports = greedyFAS;\n\nvar DEFAULT_WEIGHT_FN = _.constant(1);\n\nfunction greedyFAS(g, weightFn) {\n if (g.nodeCount() <= 1) {\n return [];\n }\n var state = buildState(g, weightFn || DEFAULT_WEIGHT_FN);\n var results = doGreedyFAS(state.graph, state.buckets, state.zeroIdx);\n\n // Expand multi-edges\n return _.flatten(_.map(results, function(e) {\n return g.outEdges(e.v, e.w);\n }), true);\n}\n\nfunction doGreedyFAS(g, buckets, zeroIdx) {\n var results = [];\n var sources = buckets[buckets.length - 1];\n var sinks = buckets[0];\n\n var entry;\n while (g.nodeCount()) {\n while ((entry = sinks.dequeue())) { removeNode(g, buckets, zeroIdx, entry); }\n while ((entry = sources.dequeue())) { removeNode(g, buckets, zeroIdx, entry); }\n if (g.nodeCount()) {\n for (var i = buckets.length - 2; i > 0; --i) {\n entry = buckets[i].dequeue();\n if (entry) {\n results = results.concat(removeNode(g, buckets, zeroIdx, entry, true));\n break;\n }\n }\n }\n }\n\n return results;\n}\n\nfunction removeNode(g, buckets, zeroIdx, entry, collectPredecessors) {\n var results = collectPredecessors ? [] : undefined;\n\n _.forEach(g.inEdges(entry.v), function(edge) {\n var weight = g.edge(edge);\n var uEntry = g.node(edge.v);\n\n if (collectPredecessors) {\n results.push({ v: edge.v, w: edge.w });\n }\n\n uEntry.out -= weight;\n assignBucket(buckets, zeroIdx, uEntry);\n });\n\n _.forEach(g.outEdges(entry.v), function(edge) {\n var weight = g.edge(edge);\n var w = edge.w;\n var wEntry = g.node(w);\n wEntry[\"in\"] -= weight;\n assignBucket(buckets, zeroIdx, wEntry);\n });\n\n g.removeNode(entry.v);\n\n return results;\n}\n\nfunction buildState(g, weightFn) {\n var fasGraph = new Graph();\n var maxIn = 0;\n var maxOut = 0;\n\n _.forEach(g.nodes(), function(v) {\n fasGraph.setNode(v, { v: v, \"in\": 0, out: 0 });\n });\n\n // Aggregate weights on nodes, but also sum the weights across multi-edges\n // into a single edge for the fasGraph.\n _.forEach(g.edges(), function(e) {\n var prevWeight = fasGraph.edge(e.v, e.w) || 0;\n var weight = weightFn(e);\n var edgeWeight = prevWeight + weight;\n fasGraph.setEdge(e.v, e.w, edgeWeight);\n maxOut = Math.max(maxOut, fasGraph.node(e.v).out += weight);\n maxIn = Math.max(maxIn, fasGraph.node(e.w)[\"in\"] += weight);\n });\n\n var buckets = _.range(maxOut + maxIn + 3).map(function() { return new List(); });\n var zeroIdx = maxIn + 1;\n\n _.forEach(fasGraph.nodes(), function(v) {\n assignBucket(buckets, zeroIdx, fasGraph.node(v));\n });\n\n return { graph: fasGraph, buckets: buckets, zeroIdx: zeroIdx };\n}\n\nfunction assignBucket(buckets, zeroIdx, entry) {\n if (!entry.out) {\n buckets[0].enqueue(entry);\n } else if (!entry[\"in\"]) {\n buckets[buckets.length - 1].enqueue(entry);\n } else {\n buckets[entry.out - entry[\"in\"] + zeroIdx].enqueue(entry);\n }\n}\n" }, { "id": 317, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/data/list.js", "name": "./node_modules/dagre/lib/data/list.js", "index": 840, "index2": 831, "size": 1188, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "issuerId": 316, "issuerName": "./node_modules/dagre/lib/greedy-fas.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 315, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/acyclic.js", "name": "./node_modules/dagre/lib/acyclic.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 316, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "name": "./node_modules/dagre/lib/greedy-fas.js", "profile": { "factory": 79, "building": 18, "dependencies": 2 } } ], "profile": { "factory": 86, "building": 20 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 316, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/greedy-fas.js", "module": "./node_modules/dagre/lib/greedy-fas.js", "moduleName": "./node_modules/dagre/lib/greedy-fas.js", "type": "cjs require", "userRequest": "./data/list", "loc": "3:11-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "/*\n * Simple doubly linked list implementation derived from Cormen, et al.,\n * \"Introduction to Algorithms\".\n */\n\nmodule.exports = List;\n\nfunction List() {\n var sentinel = {};\n sentinel._next = sentinel._prev = sentinel;\n this._sentinel = sentinel;\n}\n\nList.prototype.dequeue = function() {\n var sentinel = this._sentinel;\n var entry = sentinel._prev;\n if (entry !== sentinel) {\n unlink(entry);\n return entry;\n }\n};\n\nList.prototype.enqueue = function(entry) {\n var sentinel = this._sentinel;\n if (entry._prev && entry._next) {\n unlink(entry);\n }\n entry._next = sentinel._next;\n sentinel._next._prev = entry;\n sentinel._next = entry;\n entry._prev = sentinel;\n};\n\nList.prototype.toString = function() {\n var strs = [];\n var sentinel = this._sentinel;\n var curr = sentinel._prev;\n while (curr !== sentinel) {\n strs.push(JSON.stringify(curr, filterOutLinks));\n curr = curr._prev;\n }\n return \"[\" + strs.join(\", \") + \"]\";\n};\n\nfunction unlink(entry) {\n entry._prev._next = entry._next;\n entry._next._prev = entry._prev;\n delete entry._next;\n delete entry._prev;\n}\n\nfunction filterOutLinks(k, v) {\n if (k !== \"_next\" && k !== \"_prev\") {\n return v;\n }\n}\n" }, { "id": 318, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/normalize.js", "name": "./node_modules/dagre/lib/normalize.js", "index": 841, "index2": 835, "size": 2279, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./normalize", "loc": "5:16-38" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = {\n run: run,\n undo: undo\n};\n\n/*\n * Breaks any long edges in the graph into short segments that span 1 layer\n * each. This operation is undoable with the denormalize function.\n *\n * Pre-conditions:\n *\n * 1. The input graph is a DAG.\n * 2. Each node in the graph has a \"rank\" property.\n *\n * Post-condition:\n *\n * 1. All edges in the graph have a length of 1.\n * 2. Dummy nodes are added where edges have been split into segments.\n * 3. The graph is augmented with a \"dummyChains\" attribute which contains\n * the first dummy in each chain of dummy nodes produced.\n */\nfunction run(g) {\n g.graph().dummyChains = [];\n _.forEach(g.edges(), function(edge) { normalizeEdge(g, edge); });\n}\n\nfunction normalizeEdge(g, e) {\n var v = e.v;\n var vRank = g.node(v).rank;\n var w = e.w;\n var wRank = g.node(w).rank;\n var name = e.name;\n var edgeLabel = g.edge(e);\n var labelRank = edgeLabel.labelRank;\n\n if (wRank === vRank + 1) return;\n\n g.removeEdge(e);\n\n var dummy, attrs, i;\n for (i = 0, ++vRank; vRank < wRank; ++i, ++vRank) {\n edgeLabel.points = [];\n attrs = {\n width: 0, height: 0,\n edgeLabel: edgeLabel, edgeObj: e,\n rank: vRank\n };\n dummy = util.addDummyNode(g, \"edge\", attrs, \"_d\");\n if (vRank === labelRank) {\n attrs.width = edgeLabel.width;\n attrs.height = edgeLabel.height;\n attrs.dummy = \"edge-label\";\n attrs.labelpos = edgeLabel.labelpos;\n }\n g.setEdge(v, dummy, { weight: edgeLabel.weight }, name);\n if (i === 0) {\n g.graph().dummyChains.push(dummy);\n }\n v = dummy;\n }\n\n g.setEdge(v, w, { weight: edgeLabel.weight }, name);\n}\n\nfunction undo(g) {\n _.forEach(g.graph().dummyChains, function(v) {\n var node = g.node(v);\n var origLabel = node.edgeLabel;\n var w;\n g.setEdge(node.edgeObj, origLabel);\n while (node.dummy) {\n w = g.successors(v)[0];\n g.removeNode(v);\n origLabel.points.push({ x: node.x, y: node.y });\n if (node.dummy === \"edge-label\") {\n origLabel.x = node.x;\n origLabel.y = node.y;\n origLabel.width = node.width;\n origLabel.height = node.height;\n }\n v = w;\n node = g.node(v);\n }\n });\n}\n" }, { "id": 319, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "name": "./node_modules/dagre/lib/rank/index.js", "index": 843, "index2": 839, "size": 1302, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./rank", "loc": "6:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar rankUtil = require(\"./util\");\nvar longestPath = rankUtil.longestPath;\nvar feasibleTree = require(\"./feasible-tree\");\nvar networkSimplex = require(\"./network-simplex\");\n\nmodule.exports = rank;\n\n/*\n * Assigns a rank to each node in the input graph that respects the \"minlen\"\n * constraint specified on edges between nodes.\n *\n * This basic structure is derived from Gansner, et al., \"A Technique for\n * Drawing Directed Graphs.\"\n *\n * Pre-conditions:\n *\n * 1. Graph must be a connected DAG\n * 2. Graph nodes must be objects\n * 3. Graph edges must have \"weight\" and \"minlen\" attributes\n *\n * Post-conditions:\n *\n * 1. Graph nodes will have a \"rank\" attribute based on the results of the\n * algorithm. Ranks can start at any index (including negative), we'll\n * fix them up later.\n */\nfunction rank(g) {\n switch(g.graph().ranker) {\n case \"network-simplex\": networkSimplexRanker(g); break;\n case \"tight-tree\": tightTreeRanker(g); break;\n case \"longest-path\": longestPathRanker(g); break;\n default: networkSimplexRanker(g);\n }\n}\n\n// A fast and simple ranker, but results are far from optimal.\nvar longestPathRanker = longestPath;\n\nfunction tightTreeRanker(g) {\n longestPath(g);\n feasibleTree(g);\n}\n\nfunction networkSimplexRanker(g) {\n networkSimplex(g);\n}\n" }, { "id": 320, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/network-simplex.js", "name": "./node_modules/dagre/lib/rank/network-simplex.js", "index": 846, "index2": 838, "size": 6706, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "issuerId": 319, "issuerName": "./node_modules/dagre/lib/rank/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 319, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "name": "./node_modules/dagre/lib/rank/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 85, "building": 21, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 319, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/rank/index.js", "module": "./node_modules/dagre/lib/rank/index.js", "moduleName": "./node_modules/dagre/lib/rank/index.js", "type": "cjs require", "userRequest": "./network-simplex", "loc": "6:21-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar feasibleTree = require(\"./feasible-tree\");\nvar slack = require(\"./util\").slack;\nvar initRank = require(\"./util\").longestPath;\nvar preorder = require(\"../graphlib\").alg.preorder;\nvar postorder = require(\"../graphlib\").alg.postorder;\nvar simplify = require(\"../util\").simplify;\n\nmodule.exports = networkSimplex;\n\n// Expose some internals for testing purposes\nnetworkSimplex.initLowLimValues = initLowLimValues;\nnetworkSimplex.initCutValues = initCutValues;\nnetworkSimplex.calcCutValue = calcCutValue;\nnetworkSimplex.leaveEdge = leaveEdge;\nnetworkSimplex.enterEdge = enterEdge;\nnetworkSimplex.exchangeEdges = exchangeEdges;\n\n/*\n * The network simplex algorithm assigns ranks to each node in the input graph\n * and iteratively improves the ranking to reduce the length of edges.\n *\n * Preconditions:\n *\n * 1. The input graph must be a DAG.\n * 2. All nodes in the graph must have an object value.\n * 3. All edges in the graph must have \"minlen\" and \"weight\" attributes.\n *\n * Postconditions:\n *\n * 1. All nodes in the graph will have an assigned \"rank\" attribute that has\n * been optimized by the network simplex algorithm. Ranks start at 0.\n *\n *\n * A rough sketch of the algorithm is as follows:\n *\n * 1. Assign initial ranks to each node. We use the longest path algorithm,\n * which assigns ranks to the lowest position possible. In general this\n * leads to very wide bottom ranks and unnecessarily long edges.\n * 2. Construct a feasible tight tree. A tight tree is one such that all\n * edges in the tree have no slack (difference between length of edge\n * and minlen for the edge). This by itself greatly improves the assigned\n * rankings by shorting edges.\n * 3. Iteratively find edges that have negative cut values. Generally a\n * negative cut value indicates that the edge could be removed and a new\n * tree edge could be added to produce a more compact graph.\n *\n * Much of the algorithms here are derived from Gansner, et al., \"A Technique\n * for Drawing Directed Graphs.\" The structure of the file roughly follows the\n * structure of the overall algorithm.\n */\nfunction networkSimplex(g) {\n g = simplify(g);\n initRank(g);\n var t = feasibleTree(g);\n initLowLimValues(t);\n initCutValues(t, g);\n\n var e, f;\n while ((e = leaveEdge(t))) {\n f = enterEdge(t, g, e);\n exchangeEdges(t, g, e, f);\n }\n}\n\n/*\n * Initializes cut values for all edges in the tree.\n */\nfunction initCutValues(t, g) {\n var vs = postorder(t, t.nodes());\n vs = vs.slice(0, vs.length - 1);\n _.forEach(vs, function(v) {\n assignCutValue(t, g, v);\n });\n}\n\nfunction assignCutValue(t, g, child) {\n var childLab = t.node(child);\n var parent = childLab.parent;\n t.edge(child, parent).cutvalue = calcCutValue(t, g, child);\n}\n\n/*\n * Given the tight tree, its graph, and a child in the graph calculate and\n * return the cut value for the edge between the child and its parent.\n */\nfunction calcCutValue(t, g, child) {\n var childLab = t.node(child);\n var parent = childLab.parent;\n // True if the child is on the tail end of the edge in the directed graph\n var childIsTail = true;\n // The graph's view of the tree edge we're inspecting\n var graphEdge = g.edge(child, parent);\n // The accumulated cut value for the edge between this node and its parent\n var cutValue = 0;\n\n if (!graphEdge) {\n childIsTail = false;\n graphEdge = g.edge(parent, child);\n }\n\n cutValue = graphEdge.weight;\n\n _.forEach(g.nodeEdges(child), function(e) {\n var isOutEdge = e.v === child,\n other = isOutEdge ? e.w : e.v;\n\n if (other !== parent) {\n var pointsToHead = isOutEdge === childIsTail,\n otherWeight = g.edge(e).weight;\n\n cutValue += pointsToHead ? otherWeight : -otherWeight;\n if (isTreeEdge(t, child, other)) {\n var otherCutValue = t.edge(child, other).cutvalue;\n cutValue += pointsToHead ? -otherCutValue : otherCutValue;\n }\n }\n });\n\n return cutValue;\n}\n\nfunction initLowLimValues(tree, root) {\n if (arguments.length < 2) {\n root = tree.nodes()[0];\n }\n dfsAssignLowLim(tree, {}, 1, root);\n}\n\nfunction dfsAssignLowLim(tree, visited, nextLim, v, parent) {\n var low = nextLim;\n var label = tree.node(v);\n\n visited[v] = true;\n _.forEach(tree.neighbors(v), function(w) {\n if (!_.has(visited, w)) {\n nextLim = dfsAssignLowLim(tree, visited, nextLim, w, v);\n }\n });\n\n label.low = low;\n label.lim = nextLim++;\n if (parent) {\n label.parent = parent;\n } else {\n // TODO should be able to remove this when we incrementally update low lim\n delete label.parent;\n }\n\n return nextLim;\n}\n\nfunction leaveEdge(tree) {\n return _.find(tree.edges(), function(e) {\n return tree.edge(e).cutvalue < 0;\n });\n}\n\nfunction enterEdge(t, g, edge) {\n var v = edge.v;\n var w = edge.w;\n\n // For the rest of this function we assume that v is the tail and w is the\n // head, so if we don't have this edge in the graph we should flip it to\n // match the correct orientation.\n if (!g.hasEdge(v, w)) {\n v = edge.w;\n w = edge.v;\n }\n\n var vLabel = t.node(v);\n var wLabel = t.node(w);\n var tailLabel = vLabel;\n var flip = false;\n\n // If the root is in the tail of the edge then we need to flip the logic that\n // checks for the head and tail nodes in the candidates function below.\n if (vLabel.lim > wLabel.lim) {\n tailLabel = wLabel;\n flip = true;\n }\n\n var candidates = _.filter(g.edges(), function(edge) {\n return flip === isDescendant(t, t.node(edge.v), tailLabel) &&\n flip !== isDescendant(t, t.node(edge.w), tailLabel);\n });\n\n return _.minBy(candidates, function(edge) { return slack(g, edge); });\n}\n\nfunction exchangeEdges(t, g, e, f) {\n var v = e.v;\n var w = e.w;\n t.removeEdge(v, w);\n t.setEdge(f.v, f.w, {});\n initLowLimValues(t);\n initCutValues(t, g);\n updateRanks(t, g);\n}\n\nfunction updateRanks(t, g) {\n var root = _.find(t.nodes(), function(v) { return !g.node(v).parent; });\n var vs = preorder(t, root);\n vs = vs.slice(1);\n _.forEach(vs, function(v) {\n var parent = t.node(v).parent,\n edge = g.edge(v, parent),\n flipped = false;\n\n if (!edge) {\n edge = g.edge(parent, v);\n flipped = true;\n }\n\n g.node(v).rank = g.node(parent).rank + (flipped ? edge.minlen : -edge.minlen);\n });\n}\n\n/*\n * Returns true if the edge is in the tree.\n */\nfunction isTreeEdge(tree, u, v) {\n return tree.hasEdge(u, v);\n}\n\n/*\n * Returns true if the specified node is descendant of the root node per the\n * assigned low and lim attributes in the tree.\n */\nfunction isDescendant(tree, vLabel, rootLabel) {\n return rootLabel.low <= vLabel.lim && vLabel.lim <= rootLabel.lim;\n}\n" }, { "id": 321, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/parent-dummy-chains.js", "name": "./node_modules/dagre/lib/parent-dummy-chains.js", "index": 847, "index2": 840, "size": 2017, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./parent-dummy-chains", "loc": "8:24-56" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"./lodash\");\n\nmodule.exports = parentDummyChains;\n\nfunction parentDummyChains(g) {\n var postorderNums = postorder(g);\n\n _.forEach(g.graph().dummyChains, function(v) {\n var node = g.node(v);\n var edgeObj = node.edgeObj;\n var pathData = findPath(g, postorderNums, edgeObj.v, edgeObj.w);\n var path = pathData.path;\n var lca = pathData.lca;\n var pathIdx = 0;\n var pathV = path[pathIdx];\n var ascending = true;\n\n while (v !== edgeObj.w) {\n node = g.node(v);\n\n if (ascending) {\n while ((pathV = path[pathIdx]) !== lca &&\n g.node(pathV).maxRank < node.rank) {\n pathIdx++;\n }\n\n if (pathV === lca) {\n ascending = false;\n }\n }\n\n if (!ascending) {\n while (pathIdx < path.length - 1 &&\n g.node(pathV = path[pathIdx + 1]).minRank <= node.rank) {\n pathIdx++;\n }\n pathV = path[pathIdx];\n }\n\n g.setParent(v, pathV);\n v = g.successors(v)[0];\n }\n });\n}\n\n// Find a path from v to w through the lowest common ancestor (LCA). Return the\n// full path and the LCA.\nfunction findPath(g, postorderNums, v, w) {\n var vPath = [];\n var wPath = [];\n var low = Math.min(postorderNums[v].low, postorderNums[w].low);\n var lim = Math.max(postorderNums[v].lim, postorderNums[w].lim);\n var parent;\n var lca;\n\n // Traverse up from v to find the LCA\n parent = v;\n do {\n parent = g.parent(parent);\n vPath.push(parent);\n } while (parent &&\n (postorderNums[parent].low > low || lim > postorderNums[parent].lim));\n lca = parent;\n\n // Traverse from w to LCA\n parent = w;\n while ((parent = g.parent(parent)) !== lca) {\n wPath.push(parent);\n }\n\n return { path: vPath.concat(wPath.reverse()), lca: lca };\n}\n\nfunction postorder(g) {\n var result = {};\n var lim = 0;\n\n function dfs(v) {\n var low = lim;\n _.forEach(g.children(v), dfs);\n result[v] = { low: low, lim: lim++ };\n }\n _.forEach(g.children(), dfs);\n\n return result;\n}\n" }, { "id": 322, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/nesting-graph.js", "name": "./node_modules/dagre/lib/nesting-graph.js", "index": 848, "index2": 841, "size": 3641, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./nesting-graph", "loc": "10:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = {\n run: run,\n cleanup: cleanup\n};\n\n/*\n * A nesting graph creates dummy nodes for the tops and bottoms of subgraphs,\n * adds appropriate edges to ensure that all cluster nodes are placed between\n * these boundries, and ensures that the graph is connected.\n *\n * In addition we ensure, through the use of the minlen property, that nodes\n * and subgraph border nodes to not end up on the same rank.\n *\n * Preconditions:\n *\n * 1. Input graph is a DAG\n * 2. Nodes in the input graph has a minlen attribute\n *\n * Postconditions:\n *\n * 1. Input graph is connected.\n * 2. Dummy nodes are added for the tops and bottoms of subgraphs.\n * 3. The minlen attribute for nodes is adjusted to ensure nodes do not\n * get placed on the same rank as subgraph border nodes.\n *\n * The nesting graph idea comes from Sander, \"Layout of Compound Directed\n * Graphs.\"\n */\nfunction run(g) {\n var root = util.addDummyNode(g, \"root\", {}, \"_root\");\n var depths = treeDepths(g);\n var height = _.max(_.values(depths)) - 1; // Note: depths is an Object not an array\n var nodeSep = 2 * height + 1;\n\n g.graph().nestingRoot = root;\n\n // Multiply minlen by nodeSep to align nodes on non-border ranks.\n _.forEach(g.edges(), function(e) { g.edge(e).minlen *= nodeSep; });\n\n // Calculate a weight that is sufficient to keep subgraphs vertically compact\n var weight = sumWeights(g) + 1;\n\n // Create border nodes and link them up\n _.forEach(g.children(), function(child) {\n dfs(g, root, nodeSep, weight, height, depths, child);\n });\n\n // Save the multiplier for node layers for later removal of empty border\n // layers.\n g.graph().nodeRankFactor = nodeSep;\n}\n\nfunction dfs(g, root, nodeSep, weight, height, depths, v) {\n var children = g.children(v);\n if (!children.length) {\n if (v !== root) {\n g.setEdge(root, v, { weight: 0, minlen: nodeSep });\n }\n return;\n }\n\n var top = util.addBorderNode(g, \"_bt\");\n var bottom = util.addBorderNode(g, \"_bb\");\n var label = g.node(v);\n\n g.setParent(top, v);\n label.borderTop = top;\n g.setParent(bottom, v);\n label.borderBottom = bottom;\n\n _.forEach(children, function(child) {\n dfs(g, root, nodeSep, weight, height, depths, child);\n\n var childNode = g.node(child);\n var childTop = childNode.borderTop ? childNode.borderTop : child;\n var childBottom = childNode.borderBottom ? childNode.borderBottom : child;\n var thisWeight = childNode.borderTop ? weight : 2 * weight;\n var minlen = childTop !== childBottom ? 1 : height - depths[v] + 1;\n\n g.setEdge(top, childTop, {\n weight: thisWeight,\n minlen: minlen,\n nestingEdge: true\n });\n\n g.setEdge(childBottom, bottom, {\n weight: thisWeight,\n minlen: minlen,\n nestingEdge: true\n });\n });\n\n if (!g.parent(v)) {\n g.setEdge(root, top, { weight: 0, minlen: height + depths[v] });\n }\n}\n\nfunction treeDepths(g) {\n var depths = {};\n function dfs(v, depth) {\n var children = g.children(v);\n if (children && children.length) {\n _.forEach(children, function(child) {\n dfs(child, depth + 1);\n });\n }\n depths[v] = depth;\n }\n _.forEach(g.children(), function(v) { dfs(v, 1); });\n return depths;\n}\n\nfunction sumWeights(g) {\n return _.reduce(g.edges(), function(acc, e) {\n return acc + g.edge(e).weight;\n }, 0);\n}\n\nfunction cleanup(g) {\n var graphLabel = g.graph();\n g.removeNode(graphLabel.nestingRoot);\n delete graphLabel.nestingRoot;\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.nestingEdge) {\n g.removeEdge(e);\n }\n });\n}\n" }, { "id": 323, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/add-border-segments.js", "name": "./node_modules/dagre/lib/add-border-segments.js", "index": 849, "index2": 842, "size": 993, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./add-border-segments", "loc": "11:24-56" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = addBorderSegments;\n\nfunction addBorderSegments(g) {\n function dfs(v) {\n var children = g.children(v);\n var node = g.node(v);\n if (children.length) {\n _.forEach(children, dfs);\n }\n\n if (_.has(node, \"minRank\")) {\n node.borderLeft = [];\n node.borderRight = [];\n for (var rank = node.minRank, maxRank = node.maxRank + 1;\n rank < maxRank;\n ++rank) {\n addBorderNode(g, \"borderLeft\", \"_bl\", v, node, rank);\n addBorderNode(g, \"borderRight\", \"_br\", v, node, rank);\n }\n }\n }\n\n _.forEach(g.children(), dfs);\n}\n\nfunction addBorderNode(g, prop, prefix, sg, sgNode, rank) {\n var label = { width: 0, height: 0, rank: rank, borderType: prop };\n var prev = sgNode[prop][rank - 1];\n var curr = util.addDummyNode(g, \"border\", label, prefix);\n sgNode[prop][rank] = curr;\n g.setParent(curr, sg);\n if (prev) {\n g.setEdge(prev, curr, { weight: 1 });\n }\n}\n" }, { "id": 324, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/coordinate-system.js", "name": "./node_modules/dagre/lib/coordinate-system.js", "index": 850, "index2": 843, "size": 1418, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./coordinate-system", "loc": "12:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\n\nmodule.exports = {\n adjust: adjust,\n undo: undo\n};\n\nfunction adjust(g) {\n var rankDir = g.graph().rankdir.toLowerCase();\n if (rankDir === \"lr\" || rankDir === \"rl\") {\n swapWidthHeight(g);\n }\n}\n\nfunction undo(g) {\n var rankDir = g.graph().rankdir.toLowerCase();\n if (rankDir === \"bt\" || rankDir === \"rl\") {\n reverseY(g);\n }\n\n if (rankDir === \"lr\" || rankDir === \"rl\") {\n swapXY(g);\n swapWidthHeight(g);\n }\n}\n\nfunction swapWidthHeight(g) {\n _.forEach(g.nodes(), function(v) { swapWidthHeightOne(g.node(v)); });\n _.forEach(g.edges(), function(e) { swapWidthHeightOne(g.edge(e)); });\n}\n\nfunction swapWidthHeightOne(attrs) {\n var w = attrs.width;\n attrs.width = attrs.height;\n attrs.height = w;\n}\n\nfunction reverseY(g) {\n _.forEach(g.nodes(), function(v) { reverseYOne(g.node(v)); });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, reverseYOne);\n if (_.has(edge, \"y\")) {\n reverseYOne(edge);\n }\n });\n}\n\nfunction reverseYOne(attrs) {\n attrs.y = -attrs.y;\n}\n\nfunction swapXY(g) {\n _.forEach(g.nodes(), function(v) { swapXYOne(g.node(v)); });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, swapXYOne);\n if (_.has(edge, \"x\")) {\n swapXYOne(edge);\n }\n });\n}\n\nfunction swapXYOne(attrs) {\n var x = attrs.x;\n attrs.x = attrs.y;\n attrs.y = x;\n}\n" }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "index": 851, "index2": 852, "size": 2161, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./order", "loc": "13:12-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar initOrder = require(\"./init-order\");\nvar crossCount = require(\"./cross-count\");\nvar sortSubgraph = require(\"./sort-subgraph\");\nvar buildLayerGraph = require(\"./build-layer-graph\");\nvar addSubgraphConstraints = require(\"./add-subgraph-constraints\");\nvar Graph = require(\"../graphlib\").Graph;\nvar util = require(\"../util\");\n\nmodule.exports = order;\n\n/*\n * Applies heuristics to minimize edge crossings in the graph and sets the best\n * order solution as an order attribute on each node.\n *\n * Pre-conditions:\n *\n * 1. Graph must be DAG\n * 2. Graph nodes must be objects with a \"rank\" attribute\n * 3. Graph edges must have the \"weight\" attribute\n *\n * Post-conditions:\n *\n * 1. Graph nodes will have an \"order\" attribute based on the results of the\n * algorithm.\n */\nfunction order(g) {\n var maxRank = util.maxRank(g),\n downLayerGraphs = buildLayerGraphs(g, _.range(1, maxRank + 1), \"inEdges\"),\n upLayerGraphs = buildLayerGraphs(g, _.range(maxRank - 1, -1, -1), \"outEdges\");\n\n var layering = initOrder(g);\n assignOrder(g, layering);\n\n var bestCC = Number.POSITIVE_INFINITY,\n best;\n\n for (var i = 0, lastBest = 0; lastBest < 4; ++i, ++lastBest) {\n sweepLayerGraphs(i % 2 ? downLayerGraphs : upLayerGraphs, i % 4 >= 2);\n\n layering = util.buildLayerMatrix(g);\n var cc = crossCount(g, layering);\n if (cc < bestCC) {\n lastBest = 0;\n best = _.cloneDeep(layering);\n bestCC = cc;\n }\n }\n\n assignOrder(g, best);\n}\n\nfunction buildLayerGraphs(g, ranks, relationship) {\n return _.map(ranks, function(rank) {\n return buildLayerGraph(g, rank, relationship);\n });\n}\n\nfunction sweepLayerGraphs(layerGraphs, biasRight) {\n var cg = new Graph();\n _.forEach(layerGraphs, function(lg) {\n var root = lg.graph().root;\n var sorted = sortSubgraph(lg, root, cg, biasRight);\n _.forEach(sorted.vs, function(v, i) {\n lg.node(v).order = i;\n });\n addSubgraphConstraints(lg, cg, sorted.vs);\n });\n}\n\nfunction assignOrder(g, layering) {\n _.forEach(layering, function(layer) {\n _.forEach(layer, function(v, i) {\n g.node(v).order = i;\n });\n });\n}\n" }, { "id": 326, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/init-order.js", "name": "./node_modules/dagre/lib/order/init-order.js", "index": 852, "index2": 844, "size": 1073, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "issuerId": 325, "issuerName": "./node_modules/dagre/lib/order/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 80, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "./init-order", "loc": "4:16-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = initOrder;\n\n/*\n * Assigns an initial order value for each node by performing a DFS search\n * starting from nodes in the first rank. Nodes are assigned an order in their\n * rank as they are first visited.\n *\n * This approach comes from Gansner, et al., \"A Technique for Drawing Directed\n * Graphs.\"\n *\n * Returns a layering matrix with an array per layer and each layer sorted by\n * the order of its nodes.\n */\nfunction initOrder(g) {\n var visited = {};\n var simpleNodes = _.filter(g.nodes(), function(v) {\n return !g.children(v).length;\n });\n var maxRank = _.max(_.map(simpleNodes, function(v) { return g.node(v).rank; }));\n var layers = _.map(_.range(maxRank + 1), function() { return []; });\n\n function dfs(v) {\n if (_.has(visited, v)) return;\n visited[v] = true;\n var node = g.node(v);\n layers[node.rank].push(v);\n _.forEach(g.successors(v), dfs);\n }\n\n var orderedVs = _.sortBy(simpleNodes, function(v) { return g.node(v).rank; });\n _.forEach(orderedVs, dfs);\n\n return layers;\n}\n" }, { "id": 327, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/cross-count.js", "name": "./node_modules/dagre/lib/order/cross-count.js", "index": 853, "index2": 845, "size": 1984, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "issuerId": 325, "issuerName": "./node_modules/dagre/lib/order/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 80, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "./cross-count", "loc": "5:17-41" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = crossCount;\n\n/*\n * A function that takes a layering (an array of layers, each with an array of\n * ordererd nodes) and a graph and returns a weighted crossing count.\n *\n * Pre-conditions:\n *\n * 1. Input graph must be simple (not a multigraph), directed, and include\n * only simple edges.\n * 2. Edges in the input graph must have assigned weights.\n *\n * Post-conditions:\n *\n * 1. The graph and layering matrix are left unchanged.\n *\n * This algorithm is derived from Barth, et al., \"Bilayer Cross Counting.\"\n */\nfunction crossCount(g, layering) {\n var cc = 0;\n for (var i = 1; i < layering.length; ++i) {\n cc += twoLayerCrossCount(g, layering[i-1], layering[i]);\n }\n return cc;\n}\n\nfunction twoLayerCrossCount(g, northLayer, southLayer) {\n // Sort all of the edges between the north and south layers by their position\n // in the north layer and then the south. Map these edges to the position of\n // their head in the south layer.\n var southPos = _.zipObject(southLayer,\n _.map(southLayer, function (v, i) { return i; }));\n var southEntries = _.flatten(_.map(northLayer, function(v) {\n return _.sortBy(_.map(g.outEdges(v), function(e) {\n return { pos: southPos[e.w], weight: g.edge(e).weight };\n }), \"pos\");\n }), true);\n\n // Build the accumulator tree\n var firstIndex = 1;\n while (firstIndex < southLayer.length) firstIndex <<= 1;\n var treeSize = 2 * firstIndex - 1;\n firstIndex -= 1;\n var tree = _.map(new Array(treeSize), function() { return 0; });\n\n // Calculate the weighted crossings\n var cc = 0;\n _.forEach(southEntries.forEach(function(entry) {\n var index = entry.pos + firstIndex;\n tree[index] += entry.weight;\n var weightSum = 0;\n while (index > 0) {\n if (index % 2) {\n weightSum += tree[index + 1];\n }\n index = (index - 1) >> 1;\n tree[index] += entry.weight;\n }\n cc += entry.weight * weightSum;\n }));\n\n return cc;\n}\n" }, { "id": 328, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "name": "./node_modules/dagre/lib/order/sort-subgraph.js", "index": 854, "index2": 849, "size": 2144, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "issuerId": 325, "issuerName": "./node_modules/dagre/lib/order/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 80, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "./sort-subgraph", "loc": "6:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"../lodash\");\nvar barycenter = require(\"./barycenter\");\nvar resolveConflicts = require(\"./resolve-conflicts\");\nvar sort = require(\"./sort\");\n\nmodule.exports = sortSubgraph;\n\nfunction sortSubgraph(g, v, cg, biasRight) {\n var movable = g.children(v);\n var node = g.node(v);\n var bl = node ? node.borderLeft : undefined;\n var br = node ? node.borderRight: undefined;\n var subgraphs = {};\n\n if (bl) {\n movable = _.filter(movable, function(w) {\n return w !== bl && w !== br;\n });\n }\n\n var barycenters = barycenter(g, movable);\n _.forEach(barycenters, function(entry) {\n if (g.children(entry.v).length) {\n var subgraphResult = sortSubgraph(g, entry.v, cg, biasRight);\n subgraphs[entry.v] = subgraphResult;\n if (_.has(subgraphResult, \"barycenter\")) {\n mergeBarycenters(entry, subgraphResult);\n }\n }\n });\n\n var entries = resolveConflicts(barycenters, cg);\n expandSubgraphs(entries, subgraphs);\n\n var result = sort(entries, biasRight);\n\n if (bl) {\n result.vs = _.flatten([bl, result.vs, br], true);\n if (g.predecessors(bl).length) {\n var blPred = g.node(g.predecessors(bl)[0]),\n brPred = g.node(g.predecessors(br)[0]);\n if (!_.has(result, \"barycenter\")) {\n result.barycenter = 0;\n result.weight = 0;\n }\n result.barycenter = (result.barycenter * result.weight +\n blPred.order + brPred.order) / (result.weight + 2);\n result.weight += 2;\n }\n }\n\n return result;\n}\n\nfunction expandSubgraphs(entries, subgraphs) {\n _.forEach(entries, function(entry) {\n entry.vs = _.flatten(entry.vs.map(function(v) {\n if (subgraphs[v]) {\n return subgraphs[v].vs;\n }\n return v;\n }), true);\n });\n}\n\nfunction mergeBarycenters(target, other) {\n if (!_.isUndefined(target.barycenter)) {\n target.barycenter = (target.barycenter * target.weight +\n other.barycenter * other.weight) /\n (target.weight + other.weight);\n target.weight += other.weight;\n } else {\n target.barycenter = other.barycenter;\n target.weight = other.weight;\n }\n}\n" }, { "id": 329, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/barycenter.js", "name": "./node_modules/dagre/lib/order/barycenter.js", "index": 855, "index2": 846, "size": 623, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "issuerId": 328, "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 328, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "name": "./node_modules/dagre/lib/order/sort-subgraph.js", "profile": { "factory": 80, "building": 24, "dependencies": 0 } } ], "profile": { "factory": 59, "building": 30, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 328, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "module": "./node_modules/dagre/lib/order/sort-subgraph.js", "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", "type": "cjs require", "userRequest": "./barycenter", "loc": "2:17-40" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = barycenter;\n\nfunction barycenter(g, movable) {\n return _.map(movable, function(v) {\n var inV = g.inEdges(v);\n if (!inV.length) {\n return { v: v };\n } else {\n var result = _.reduce(inV, function(acc, e) {\n var edge = g.edge(e),\n nodeU = g.node(e.v);\n return {\n sum: acc.sum + (edge.weight * nodeU.order),\n weight: acc.weight + edge.weight\n };\n }, { sum: 0, weight: 0 });\n\n return {\n v: v,\n barycenter: result.sum / result.weight,\n weight: result.weight\n };\n }\n });\n}\n\n" }, { "id": 330, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/resolve-conflicts.js", "name": "./node_modules/dagre/lib/order/resolve-conflicts.js", "index": 856, "index2": 847, "size": 3329, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "issuerId": 328, "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 328, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "name": "./node_modules/dagre/lib/order/sort-subgraph.js", "profile": { "factory": 80, "building": 24, "dependencies": 0 } } ], "profile": { "factory": 59, "building": 30, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 328, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "module": "./node_modules/dagre/lib/order/sort-subgraph.js", "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", "type": "cjs require", "userRequest": "./resolve-conflicts", "loc": "3:23-53" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = resolveConflicts;\n\n/*\n * Given a list of entries of the form {v, barycenter, weight} and a\n * constraint graph this function will resolve any conflicts between the\n * constraint graph and the barycenters for the entries. If the barycenters for\n * an entry would violate a constraint in the constraint graph then we coalesce\n * the nodes in the conflict into a new node that respects the contraint and\n * aggregates barycenter and weight information.\n *\n * This implementation is based on the description in Forster, \"A Fast and\n * Simple Hueristic for Constrained Two-Level Crossing Reduction,\" thought it\n * differs in some specific details.\n *\n * Pre-conditions:\n *\n * 1. Each entry has the form {v, barycenter, weight}, or if the node has\n * no barycenter, then {v}.\n *\n * Returns:\n *\n * A new list of entries of the form {vs, i, barycenter, weight}. The list\n * `vs` may either be a singleton or it may be an aggregation of nodes\n * ordered such that they do not violate constraints from the constraint\n * graph. The property `i` is the lowest original index of any of the\n * elements in `vs`.\n */\nfunction resolveConflicts(entries, cg) {\n var mappedEntries = {};\n _.forEach(entries, function(entry, i) {\n var tmp = mappedEntries[entry.v] = {\n indegree: 0,\n \"in\": [],\n out: [],\n vs: [entry.v],\n i: i\n };\n if (!_.isUndefined(entry.barycenter)) {\n tmp.barycenter = entry.barycenter;\n tmp.weight = entry.weight;\n }\n });\n\n _.forEach(cg.edges(), function(e) {\n var entryV = mappedEntries[e.v];\n var entryW = mappedEntries[e.w];\n if (!_.isUndefined(entryV) && !_.isUndefined(entryW)) {\n entryW.indegree++;\n entryV.out.push(mappedEntries[e.w]);\n }\n });\n\n var sourceSet = _.filter(mappedEntries, function(entry) {\n return !entry.indegree;\n });\n\n return doResolveConflicts(sourceSet);\n}\n\nfunction doResolveConflicts(sourceSet) {\n var entries = [];\n\n function handleIn(vEntry) {\n return function(uEntry) {\n if (uEntry.merged) {\n return;\n }\n if (_.isUndefined(uEntry.barycenter) ||\n _.isUndefined(vEntry.barycenter) ||\n uEntry.barycenter >= vEntry.barycenter) {\n mergeEntries(vEntry, uEntry);\n }\n };\n }\n\n function handleOut(vEntry) {\n return function(wEntry) {\n wEntry[\"in\"].push(vEntry);\n if (--wEntry.indegree === 0) {\n sourceSet.push(wEntry);\n }\n };\n }\n\n while (sourceSet.length) {\n var entry = sourceSet.pop();\n entries.push(entry);\n _.forEach(entry[\"in\"].reverse(), handleIn(entry));\n _.forEach(entry.out, handleOut(entry));\n }\n\n return _.map(_.filter(entries, function(entry) { return !entry.merged; }),\n function(entry) {\n return _.pick(entry, [\"vs\", \"i\", \"barycenter\", \"weight\"]);\n });\n\n}\n\nfunction mergeEntries(target, source) {\n var sum = 0;\n var weight = 0;\n\n if (target.weight) {\n sum += target.barycenter * target.weight;\n weight += target.weight;\n }\n\n if (source.weight) {\n sum += source.barycenter * source.weight;\n weight += source.weight;\n }\n\n target.vs = source.vs.concat(target.vs);\n target.barycenter = sum / weight;\n target.weight = weight;\n target.i = Math.min(source.i, target.i);\n source.merged = true;\n}\n" }, { "id": 331, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort.js", "name": "./node_modules/dagre/lib/order/sort.js", "index": 857, "index2": 848, "size": 1374, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "issuerId": 328, "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } }, { "id": 328, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "name": "./node_modules/dagre/lib/order/sort-subgraph.js", "profile": { "factory": 80, "building": 24, "dependencies": 0 } } ], "profile": { "factory": 59, "building": 30, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 328, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/sort-subgraph.js", "module": "./node_modules/dagre/lib/order/sort-subgraph.js", "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", "type": "cjs require", "userRequest": "./sort", "loc": "4:11-28" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var _ = require(\"../lodash\");\nvar util = require(\"../util\");\n\nmodule.exports = sort;\n\nfunction sort(entries, biasRight) {\n var parts = util.partition(entries, function(entry) {\n return _.has(entry, \"barycenter\");\n });\n var sortable = parts.lhs,\n unsortable = _.sortBy(parts.rhs, function(entry) { return -entry.i; }),\n vs = [],\n sum = 0,\n weight = 0,\n vsIndex = 0;\n\n sortable.sort(compareWithBias(!!biasRight));\n\n vsIndex = consumeUnsortable(vs, unsortable, vsIndex);\n\n _.forEach(sortable, function (entry) {\n vsIndex += entry.vs.length;\n vs.push(entry.vs);\n sum += entry.barycenter * entry.weight;\n weight += entry.weight;\n vsIndex = consumeUnsortable(vs, unsortable, vsIndex);\n });\n\n var result = { vs: _.flatten(vs, true) };\n if (weight) {\n result.barycenter = sum / weight;\n result.weight = weight;\n }\n return result;\n}\n\nfunction consumeUnsortable(vs, unsortable, index) {\n var last;\n while (unsortable.length && (last = _.last(unsortable)).i <= index) {\n unsortable.pop();\n vs.push(last.vs);\n index++;\n }\n return index;\n}\n\nfunction compareWithBias(bias) {\n return function(entryV, entryW) {\n if (entryV.barycenter < entryW.barycenter) {\n return -1;\n } else if (entryV.barycenter > entryW.barycenter) {\n return 1;\n }\n\n return !bias ? entryV.i - entryW.i : entryW.i - entryV.i;\n };\n}\n" }, { "id": 332, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/build-layer-graph.js", "name": "./node_modules/dagre/lib/order/build-layer-graph.js", "index": 858, "index2": 850, "size": 2568, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "issuerId": 325, "issuerName": "./node_modules/dagre/lib/order/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 80, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "./build-layer-graph", "loc": "7:22-52" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\n\nmodule.exports = buildLayerGraph;\n\n/*\n * Constructs a graph that can be used to sort a layer of nodes. The graph will\n * contain all base and subgraph nodes from the request layer in their original\n * hierarchy and any edges that are incident on these nodes and are of the type\n * requested by the \"relationship\" parameter.\n *\n * Nodes from the requested rank that do not have parents are assigned a root\n * node in the output graph, which is set in the root graph attribute. This\n * makes it easy to walk the hierarchy of movable nodes during ordering.\n *\n * Pre-conditions:\n *\n * 1. Input graph is a DAG\n * 2. Base nodes in the input graph have a rank attribute\n * 3. Subgraph nodes in the input graph has minRank and maxRank attributes\n * 4. Edges have an assigned weight\n *\n * Post-conditions:\n *\n * 1. Output graph has all nodes in the movable rank with preserved\n * hierarchy.\n * 2. Root nodes in the movable layer are made children of the node\n * indicated by the root attribute of the graph.\n * 3. Non-movable nodes incident on movable nodes, selected by the\n * relationship parameter, are included in the graph (without hierarchy).\n * 4. Edges incident on movable nodes, selected by the relationship\n * parameter, are added to the output graph.\n * 5. The weights for copied edges are aggregated as need, since the output\n * graph is not a multi-graph.\n */\nfunction buildLayerGraph(g, rank, relationship) {\n var root = createRootNode(g),\n result = new Graph({ compound: true }).setGraph({ root: root })\n .setDefaultNodeLabel(function(v) { return g.node(v); });\n\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v),\n parent = g.parent(v);\n\n if (node.rank === rank || node.minRank <= rank && rank <= node.maxRank) {\n result.setNode(v);\n result.setParent(v, parent || root);\n\n // This assumes we have only short edges!\n _.forEach(g[relationship](v), function(e) {\n var u = e.v === v ? e.w : e.v,\n edge = result.edge(u, v),\n weight = !_.isUndefined(edge) ? edge.weight : 0;\n result.setEdge(u, v, { weight: g.edge(e).weight + weight });\n });\n\n if (_.has(node, \"minRank\")) {\n result.setNode(v, {\n borderLeft: node.borderLeft[rank],\n borderRight: node.borderRight[rank]\n });\n }\n }\n });\n\n return result;\n}\n\nfunction createRootNode(g) {\n var v;\n while (g.hasNode((v = _.uniqueId(\"_root\"))));\n return v;\n}\n" }, { "id": 333, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/add-subgraph-constraints.js", "name": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", "index": 859, "index2": 851, "size": 1219, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "issuerId": 325, "issuerName": "./node_modules/dagre/lib/order/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 325, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "name": "./node_modules/dagre/lib/order/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 80, "building": 24, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 325, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/order/index.js", "module": "./node_modules/dagre/lib/order/index.js", "moduleName": "./node_modules/dagre/lib/order/index.js", "type": "cjs require", "userRequest": "./add-subgraph-constraints", "loc": "8:29-66" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "var _ = require(\"../lodash\");\n\nmodule.exports = addSubgraphConstraints;\n\nfunction addSubgraphConstraints(g, cg, vs) {\n var prev = {},\n rootPrev;\n\n _.forEach(vs, function(v) {\n var child = g.parent(v),\n parent,\n prevChild;\n while (child) {\n parent = g.parent(child);\n if (parent) {\n prevChild = prev[parent];\n prev[parent] = child;\n } else {\n prevChild = rootPrev;\n rootPrev = child;\n }\n if (prevChild && prevChild !== child) {\n cg.setEdge(prevChild, child);\n return;\n }\n child = parent;\n }\n });\n\n /*\n function dfs(v) {\n var children = v ? g.children(v) : g.children();\n if (children.length) {\n var min = Number.POSITIVE_INFINITY,\n subgraphs = [];\n _.each(children, function(child) {\n var childMin = dfs(child);\n if (g.children(child).length) {\n subgraphs.push({ v: child, order: childMin });\n }\n min = Math.min(min, childMin);\n });\n _.reduce(_.sortBy(subgraphs, \"order\"), function(prev, curr) {\n cg.setEdge(prev.v, curr.v);\n return curr;\n });\n return min;\n }\n return g.node(v).order;\n }\n dfs(undefined);\n */\n}\n" }, { "id": 334, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "name": "./node_modules/dagre/lib/position/index.js", "index": 860, "index2": 854, "size": 666, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "issuerId": 282, "issuerName": "./node_modules/dagre/lib/layout.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } } ], "profile": { "factory": 322, "building": 17, "dependencies": 54 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 282, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "module": "./node_modules/dagre/lib/layout.js", "moduleName": "./node_modules/dagre/lib/layout.js", "type": "cjs require", "userRequest": "./position", "loc": "14:15-36" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar util = require(\"../util\");\nvar positionX = require(\"./bk\").positionX;\n\nmodule.exports = position;\n\nfunction position(g) {\n g = util.asNonCompoundGraph(g);\n\n positionY(g);\n _.forEach(positionX(g), function(x, v) {\n g.node(v).x = x;\n });\n}\n\nfunction positionY(g) {\n var layering = util.buildLayerMatrix(g);\n var rankSep = g.graph().ranksep;\n var prevY = 0;\n _.forEach(layering, function(layer) {\n var maxHeight = _.max(_.map(layer, function(v) { return g.node(v).height; }));\n _.forEach(layer, function(v) {\n g.node(v).y = prevY + maxHeight / 2;\n });\n prevY += maxHeight + rankSep;\n });\n}\n\n" }, { "id": 335, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/bk.js", "name": "./node_modules/dagre/lib/position/bk.js", "index": 861, "index2": 853, "size": 11912, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "issuerId": 334, "issuerName": "./node_modules/dagre/lib/position/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } }, { "id": 282, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/layout.js", "name": "./node_modules/dagre/lib/layout.js", "profile": { "factory": 84, "building": 98, "dependencies": 119 } }, { "id": 334, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "name": "./node_modules/dagre/lib/position/index.js", "profile": { "factory": 322, "building": 17, "dependencies": 54 } } ], "profile": { "factory": 64, "building": 38, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 334, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/position/index.js", "module": "./node_modules/dagre/lib/position/index.js", "moduleName": "./node_modules/dagre/lib/position/index.js", "type": "cjs require", "userRequest": "./bk", "loc": "5:16-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\nvar util = require(\"../util\");\n\n/*\n * This module provides coordinate assignment based on Brandes and Köpf, \"Fast\n * and Simple Horizontal Coordinate Assignment.\"\n */\n\nmodule.exports = {\n positionX: positionX,\n findType1Conflicts: findType1Conflicts,\n findType2Conflicts: findType2Conflicts,\n addConflict: addConflict,\n hasConflict: hasConflict,\n verticalAlignment: verticalAlignment,\n horizontalCompaction: horizontalCompaction,\n alignCoordinates: alignCoordinates,\n findSmallestWidthAlignment: findSmallestWidthAlignment,\n balance: balance\n};\n\n/*\n * Marks all edges in the graph with a type-1 conflict with the \"type1Conflict\"\n * property. A type-1 conflict is one where a non-inner segment crosses an\n * inner segment. An inner segment is an edge with both incident nodes marked\n * with the \"dummy\" property.\n *\n * This algorithm scans layer by layer, starting with the second, for type-1\n * conflicts between the current layer and the previous layer. For each layer\n * it scans the nodes from left to right until it reaches one that is incident\n * on an inner segment. It then scans predecessors to determine if they have\n * edges that cross that inner segment. At the end a final scan is done for all\n * nodes on the current rank to see if they cross the last visited inner\n * segment.\n *\n * This algorithm (safely) assumes that a dummy node will only be incident on a\n * single node in the layers being scanned.\n */\nfunction findType1Conflicts(g, layering) {\n var conflicts = {};\n\n function visitLayer(prevLayer, layer) {\n var\n // last visited node in the previous layer that is incident on an inner\n // segment.\n k0 = 0,\n // Tracks the last node in this layer scanned for crossings with a type-1\n // segment.\n scanPos = 0,\n prevLayerLength = prevLayer.length,\n lastNode = _.last(layer);\n\n _.forEach(layer, function(v, i) {\n var w = findOtherInnerSegmentNode(g, v),\n k1 = w ? g.node(w).order : prevLayerLength;\n\n if (w || v === lastNode) {\n _.forEach(layer.slice(scanPos, i +1), function(scanNode) {\n _.forEach(g.predecessors(scanNode), function(u) {\n var uLabel = g.node(u),\n uPos = uLabel.order;\n if ((uPos < k0 || k1 < uPos) &&\n !(uLabel.dummy && g.node(scanNode).dummy)) {\n addConflict(conflicts, u, scanNode);\n }\n });\n });\n scanPos = i + 1;\n k0 = k1;\n }\n });\n\n return layer;\n }\n\n _.reduce(layering, visitLayer);\n return conflicts;\n}\n\nfunction findType2Conflicts(g, layering) {\n var conflicts = {};\n\n function scan(south, southPos, southEnd, prevNorthBorder, nextNorthBorder) {\n var v;\n _.forEach(_.range(southPos, southEnd), function(i) {\n v = south[i];\n if (g.node(v).dummy) {\n _.forEach(g.predecessors(v), function(u) {\n var uNode = g.node(u);\n if (uNode.dummy &&\n (uNode.order < prevNorthBorder || uNode.order > nextNorthBorder)) {\n addConflict(conflicts, u, v);\n }\n });\n }\n });\n }\n\n\n function visitLayer(north, south) {\n var prevNorthPos = -1,\n nextNorthPos,\n southPos = 0;\n\n _.forEach(south, function(v, southLookahead) {\n if (g.node(v).dummy === \"border\") {\n var predecessors = g.predecessors(v);\n if (predecessors.length) {\n nextNorthPos = g.node(predecessors[0]).order;\n scan(south, southPos, southLookahead, prevNorthPos, nextNorthPos);\n southPos = southLookahead;\n prevNorthPos = nextNorthPos;\n }\n }\n scan(south, southPos, south.length, nextNorthPos, north.length);\n });\n\n return south;\n }\n\n _.reduce(layering, visitLayer);\n return conflicts;\n}\n\nfunction findOtherInnerSegmentNode(g, v) {\n if (g.node(v).dummy) {\n return _.find(g.predecessors(v), function(u) {\n return g.node(u).dummy;\n });\n }\n}\n\nfunction addConflict(conflicts, v, w) {\n if (v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n\n var conflictsV = conflicts[v];\n if (!conflictsV) {\n conflicts[v] = conflictsV = {};\n }\n conflictsV[w] = true;\n}\n\nfunction hasConflict(conflicts, v, w) {\n if (v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n return _.has(conflicts[v], w);\n}\n\n/*\n * Try to align nodes into vertical \"blocks\" where possible. This algorithm\n * attempts to align a node with one of its median neighbors. If the edge\n * connecting a neighbor is a type-1 conflict then we ignore that possibility.\n * If a previous node has already formed a block with a node after the node\n * we're trying to form a block with, we also ignore that possibility - our\n * blocks would be split in that scenario.\n */\nfunction verticalAlignment(g, layering, conflicts, neighborFn) {\n var root = {},\n align = {},\n pos = {};\n\n // We cache the position here based on the layering because the graph and\n // layering may be out of sync. The layering matrix is manipulated to\n // generate different extreme alignments.\n _.forEach(layering, function(layer) {\n _.forEach(layer, function(v, order) {\n root[v] = v;\n align[v] = v;\n pos[v] = order;\n });\n });\n\n _.forEach(layering, function(layer) {\n var prevIdx = -1;\n _.forEach(layer, function(v) {\n var ws = neighborFn(v);\n if (ws.length) {\n ws = _.sortBy(ws, function(w) { return pos[w]; });\n var mp = (ws.length - 1) / 2;\n for (var i = Math.floor(mp), il = Math.ceil(mp); i <= il; ++i) {\n var w = ws[i];\n if (align[v] === v &&\n prevIdx < pos[w] &&\n !hasConflict(conflicts, v, w)) {\n align[w] = v;\n align[v] = root[v] = root[w];\n prevIdx = pos[w];\n }\n }\n }\n });\n });\n\n return { root: root, align: align };\n}\n\nfunction horizontalCompaction(g, layering, root, align, reverseSep) {\n // This portion of the algorithm differs from BK due to a number of problems.\n // Instead of their algorithm we construct a new block graph and do two\n // sweeps. The first sweep places blocks with the smallest possible\n // coordinates. The second sweep removes unused space by moving blocks to the\n // greatest coordinates without violating separation.\n var xs = {},\n blockG = buildBlockGraph(g, layering, root, reverseSep),\n borderType = reverseSep ? \"borderLeft\" : \"borderRight\";\n\n function iterate(setXsFunc, nextNodesFunc) {\n var stack = blockG.nodes();\n var elem = stack.pop();\n var visited = {};\n while (elem) {\n if (visited[elem]) {\n setXsFunc(elem);\n } else {\n visited[elem] = true;\n stack.push(elem);\n stack = stack.concat(nextNodesFunc(elem));\n }\n\n elem = stack.pop();\n }\n }\n\n // First pass, assign smallest coordinates\n function pass1(elem) {\n xs[elem] = blockG.inEdges(elem).reduce(function(acc, e) {\n return Math.max(acc, xs[e.v] + blockG.edge(e));\n }, 0);\n }\n\n // Second pass, assign greatest coordinates\n function pass2(elem) {\n var min = blockG.outEdges(elem).reduce(function(acc, e) {\n return Math.min(acc, xs[e.w] - blockG.edge(e));\n }, Number.POSITIVE_INFINITY);\n\n var node = g.node(elem);\n if (min !== Number.POSITIVE_INFINITY && node.borderType !== borderType) {\n xs[elem] = Math.max(xs[elem], min);\n }\n }\n\n iterate(pass1, blockG.predecessors.bind(blockG));\n iterate(pass2, blockG.successors.bind(blockG));\n\n // Assign x coordinates to all nodes\n _.forEach(align, function(v) {\n xs[v] = xs[root[v]];\n });\n\n return xs;\n}\n\n\nfunction buildBlockGraph(g, layering, root, reverseSep) {\n var blockGraph = new Graph(),\n graphLabel = g.graph(),\n sepFn = sep(graphLabel.nodesep, graphLabel.edgesep, reverseSep);\n\n _.forEach(layering, function(layer) {\n var u;\n _.forEach(layer, function(v) {\n var vRoot = root[v];\n blockGraph.setNode(vRoot);\n if (u) {\n var uRoot = root[u],\n prevMax = blockGraph.edge(uRoot, vRoot);\n blockGraph.setEdge(uRoot, vRoot, Math.max(sepFn(g, v, u), prevMax || 0));\n }\n u = v;\n });\n });\n\n return blockGraph;\n}\n\n/*\n * Returns the alignment that has the smallest width of the given alignments.\n */\nfunction findSmallestWidthAlignment(g, xss) {\n return _.minBy(_.values(xss), function (xs) {\n var max = Number.NEGATIVE_INFINITY;\n var min = Number.POSITIVE_INFINITY;\n\n _.forIn(xs, function (x, v) {\n var halfWidth = width(g, v) / 2;\n\n max = Math.max(x + halfWidth, max);\n min = Math.min(x - halfWidth, min);\n });\n\n return max - min;\n });\n}\n\n/*\n * Align the coordinates of each of the layout alignments such that\n * left-biased alignments have their minimum coordinate at the same point as\n * the minimum coordinate of the smallest width alignment and right-biased\n * alignments have their maximum coordinate at the same point as the maximum\n * coordinate of the smallest width alignment.\n */\nfunction alignCoordinates(xss, alignTo) {\n var alignToVals = _.values(alignTo),\n alignToMin = _.min(alignToVals),\n alignToMax = _.max(alignToVals);\n\n _.forEach([\"u\", \"d\"], function(vert) {\n _.forEach([\"l\", \"r\"], function(horiz) {\n var alignment = vert + horiz,\n xs = xss[alignment],\n delta;\n if (xs === alignTo) return;\n\n var xsVals = _.values(xs);\n delta = horiz === \"l\" ? alignToMin - _.min(xsVals) : alignToMax - _.max(xsVals);\n\n if (delta) {\n xss[alignment] = _.mapValues(xs, function(x) { return x + delta; });\n }\n });\n });\n}\n\nfunction balance(xss, align) {\n return _.mapValues(xss.ul, function(ignore, v) {\n if (align) {\n return xss[align.toLowerCase()][v];\n } else {\n var xs = _.sortBy(_.map(xss, v));\n return (xs[1] + xs[2]) / 2;\n }\n });\n}\n\nfunction positionX(g) {\n var layering = util.buildLayerMatrix(g);\n var conflicts = _.merge(\n findType1Conflicts(g, layering),\n findType2Conflicts(g, layering));\n\n var xss = {};\n var adjustedLayering;\n _.forEach([\"u\", \"d\"], function(vert) {\n adjustedLayering = vert === \"u\" ? layering : _.values(layering).reverse();\n _.forEach([\"l\", \"r\"], function(horiz) {\n if (horiz === \"r\") {\n adjustedLayering = _.map(adjustedLayering, function(inner) {\n return _.values(inner).reverse();\n });\n }\n\n var neighborFn = (vert === \"u\" ? g.predecessors : g.successors).bind(g);\n var align = verticalAlignment(g, adjustedLayering, conflicts, neighborFn);\n var xs = horizontalCompaction(g, adjustedLayering,\n align.root, align.align, horiz === \"r\");\n if (horiz === \"r\") {\n xs = _.mapValues(xs, function(x) { return -x; });\n }\n xss[vert + horiz] = xs;\n });\n });\n\n var smallestWidth = findSmallestWidthAlignment(g, xss);\n alignCoordinates(xss, smallestWidth);\n return balance(xss, g.graph().align);\n}\n\nfunction sep(nodeSep, edgeSep, reverseSep) {\n return function(g, v, w) {\n var vLabel = g.node(v);\n var wLabel = g.node(w);\n var sum = 0;\n var delta;\n\n sum += vLabel.width / 2;\n if (_.has(vLabel, \"labelpos\")) {\n switch (vLabel.labelpos.toLowerCase()) {\n case \"l\": delta = -vLabel.width / 2; break;\n case \"r\": delta = vLabel.width / 2; break;\n }\n }\n if (delta) {\n sum += reverseSep ? delta : -delta;\n }\n delta = 0;\n\n sum += (vLabel.dummy ? edgeSep : nodeSep) / 2;\n sum += (wLabel.dummy ? edgeSep : nodeSep) / 2;\n\n sum += wLabel.width / 2;\n if (_.has(wLabel, \"labelpos\")) {\n switch (wLabel.labelpos.toLowerCase()) {\n case \"l\": delta = wLabel.width / 2; break;\n case \"r\": delta = -wLabel.width / 2; break;\n }\n }\n if (delta) {\n sum += reverseSep ? delta : -delta;\n }\n delta = 0;\n\n return sum;\n };\n}\n\nfunction width(g, v) {\n return g.node(v).width;\n}\n" }, { "id": 336, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/debug.js", "name": "./node_modules/dagre/lib/debug.js", "index": 862, "index2": 856, "size": 775, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "issuerId": 21, "issuerName": "./node_modules/dagre/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 98, "dependencies": 119 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/debug", "loc": "27:9-31" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = {\n debugOrdering: debugOrdering\n};\n\n/* istanbul ignore next */\nfunction debugOrdering(g) {\n var layerMatrix = util.buildLayerMatrix(g);\n\n var h = new Graph({ compound: true, multigraph: true }).setGraph({});\n\n _.forEach(g.nodes(), function(v) {\n h.setNode(v, { label: v });\n h.setParent(v, \"layer\" + g.node(v).rank);\n });\n\n _.forEach(g.edges(), function(e) {\n h.setEdge(e.v, e.w, {}, e.name);\n });\n\n _.forEach(layerMatrix, function(layer, i) {\n var layerV = \"layer\" + i;\n h.setNode(layerV, { rank: \"same\" });\n _.reduce(layer, function(u, v) {\n h.setEdge(u, v, { style: \"invis\" });\n return v;\n });\n });\n\n return h;\n}\n" }, { "id": 337, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/lib/version.js", "name": "./node_modules/dagre/lib/version.js", "index": 863, "index2": 857, "size": 26, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "issuerId": 21, "issuerName": "./node_modules/dagre/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "name": "./node_modules/dagre/index.js", "profile": { "factory": 1912, "building": 395, "dependencies": 0 } } ], "profile": { "factory": 84, "building": 98, "dependencies": 119 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre/index.js", "module": "./node_modules/dagre/index.js", "moduleName": "./node_modules/dagre/index.js", "type": "cjs require", "userRequest": "./lib/version", "loc": "32:11-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "module.exports = \"0.8.5\";\n" }, { "id": 338, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/index.js", "name": "./node_modules/dagre-d3/lib/intersect/index.js", "index": 864, "index2": 866, "size": 222, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "issuerId": 5, "issuerName": "./node_modules/dagre-d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 313, "building": 36, "dependencies": 79 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/intersect", "loc": "26:13-39" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "module.exports = {\n node: require(\"./intersect-node\"),\n circle: require(\"./intersect-circle\"),\n ellipse: require(\"./intersect-ellipse\"),\n polygon: require(\"./intersect-polygon\"),\n rect: require(\"./intersect-rect\")\n};\n" }, { "id": 339, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-line.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-line.js", "index": 869, "index2": 863, "size": 2010, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "issuerId": 150, "issuerName": "./node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 350, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "name": "./node_modules/dagre-d3/lib/shapes.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } }, { "id": 150, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "name": "./node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "profile": { "factory": 78, "building": 33, "dependencies": 0 } } ], "profile": { "factory": 64, "building": 36 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 150, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "module": "./node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "moduleName": "./node_modules/dagre-d3/lib/intersect/intersect-polygon.js", "type": "cjs require", "userRequest": "./intersect-line", "loc": "3:20-47" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "module.exports = intersectLine;\n\n/*\n * Returns the point at which two lines, p and q, intersect or returns\n * undefined if they do not intersect.\n */\nfunction intersectLine(p1, p2, q1, q2) {\n // Algorithm from J. Avro, (ed.) Graphics Gems, No 2, Morgan Kaufmann, 1994,\n // p7 and p473.\n\n var a1, a2, b1, b2, c1, c2;\n var r1, r2 , r3, r4;\n var denom, offset, num;\n var x, y;\n\n // Compute a1, b1, c1, where line joining points 1 and 2 is F(x,y) = a1 x +\n // b1 y + c1 = 0.\n a1 = p2.y - p1.y;\n b1 = p1.x - p2.x;\n c1 = (p2.x * p1.y) - (p1.x * p2.y);\n\n // Compute r3 and r4.\n r3 = ((a1 * q1.x) + (b1 * q1.y) + c1);\n r4 = ((a1 * q2.x) + (b1 * q2.y) + c1);\n\n // Check signs of r3 and r4. If both point 3 and point 4 lie on\n // same side of line 1, the line segments do not intersect.\n if ((r3 !== 0) && (r4 !== 0) && sameSign(r3, r4)) {\n return /*DONT_INTERSECT*/;\n }\n\n // Compute a2, b2, c2 where line joining points 3 and 4 is G(x,y) = a2 x + b2 y + c2 = 0\n a2 = q2.y - q1.y;\n b2 = q1.x - q2.x;\n c2 = (q2.x * q1.y) - (q1.x * q2.y);\n\n // Compute r1 and r2\n r1 = (a2 * p1.x) + (b2 * p1.y) + c2;\n r2 = (a2 * p2.x) + (b2 * p2.y) + c2;\n\n // Check signs of r1 and r2. If both point 1 and point 2 lie\n // on same side of second line segment, the line segments do\n // not intersect.\n if ((r1 !== 0) && (r2 !== 0) && (sameSign(r1, r2))) {\n return /*DONT_INTERSECT*/;\n }\n\n // Line segments intersect: compute intersection point.\n denom = (a1 * b2) - (a2 * b1);\n if (denom === 0) {\n return /*COLLINEAR*/;\n }\n\n offset = Math.abs(denom / 2);\n\n // The denom/2 is to get rounding instead of truncating. It\n // is added or subtracted to the numerator, depending upon the\n // sign of the numerator.\n num = (b1 * c2) - (b2 * c1);\n x = (num < 0) ? ((num - offset) / denom) : ((num + offset) / denom);\n\n num = (a2 * c1) - (a1 * c2);\n y = (num < 0) ? ((num - offset) / denom) : ((num + offset) / denom);\n\n return { x: x, y: y };\n}\n\nfunction sameSign(r1, r2) {\n return r1 * r2 > 0;\n}\n" }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "index": 871, "index2": 883, "size": 4207, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "issuerId": 5, "issuerName": "./node_modules/dagre-d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 313, "building": 36, "dependencies": 79 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/render", "loc": "27:10-33" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "var _ = require(\"./lodash\");\nvar d3 = require(\"./d3\");\nvar layout = require(\"./dagre\").layout;\n\nmodule.exports = render;\n\n// This design is based on http://bost.ocks.org/mike/chart/.\nfunction render() {\n var createNodes = require(\"./create-nodes\");\n var createClusters = require(\"./create-clusters\");\n var createEdgeLabels = require(\"./create-edge-labels\");\n var createEdgePaths = require(\"./create-edge-paths\");\n var positionNodes = require(\"./position-nodes\");\n var positionEdgeLabels = require(\"./position-edge-labels\");\n var positionClusters = require(\"./position-clusters\");\n var shapes = require(\"./shapes\");\n var arrows = require(\"./arrows\");\n\n var fn = function(svg, g) {\n preProcessGraph(g);\n\n var outputGroup = createOrSelectGroup(svg, \"output\");\n var clustersGroup = createOrSelectGroup(outputGroup, \"clusters\");\n var edgePathsGroup = createOrSelectGroup(outputGroup, \"edgePaths\");\n var edgeLabels = createEdgeLabels(createOrSelectGroup(outputGroup, \"edgeLabels\"), g);\n var nodes = createNodes(createOrSelectGroup(outputGroup, \"nodes\"), g, shapes);\n\n layout(g);\n\n positionNodes(nodes, g);\n positionEdgeLabels(edgeLabels, g);\n createEdgePaths(edgePathsGroup, g, arrows);\n\n var clusters = createClusters(clustersGroup, g);\n positionClusters(clusters, g);\n\n postProcessGraph(g);\n };\n\n fn.createNodes = function(value) {\n if (!arguments.length) return createNodes;\n createNodes = value;\n return fn;\n };\n\n fn.createClusters = function(value) {\n if (!arguments.length) return createClusters;\n createClusters = value;\n return fn;\n };\n\n fn.createEdgeLabels = function(value) {\n if (!arguments.length) return createEdgeLabels;\n createEdgeLabels = value;\n return fn;\n };\n\n fn.createEdgePaths = function(value) {\n if (!arguments.length) return createEdgePaths;\n createEdgePaths = value;\n return fn;\n };\n\n fn.shapes = function(value) {\n if (!arguments.length) return shapes;\n shapes = value;\n return fn;\n };\n\n fn.arrows = function(value) {\n if (!arguments.length) return arrows;\n arrows = value;\n return fn;\n };\n\n return fn;\n}\n\nvar NODE_DEFAULT_ATTRS = {\n paddingLeft: 10,\n paddingRight: 10,\n paddingTop: 10,\n paddingBottom: 10,\n rx: 0,\n ry: 0,\n shape: \"rect\"\n};\n\nvar EDGE_DEFAULT_ATTRS = {\n arrowhead: \"normal\",\n curve: d3.curveLinear\n};\n\nfunction preProcessGraph(g) {\n g.nodes().forEach(function(v) {\n var node = g.node(v);\n if (!_.has(node, \"label\") && !g.children(v).length) { node.label = v; }\n\n if (_.has(node, \"paddingX\")) {\n _.defaults(node, {\n paddingLeft: node.paddingX,\n paddingRight: node.paddingX\n });\n }\n\n if (_.has(node, \"paddingY\")) {\n _.defaults(node, {\n paddingTop: node.paddingY,\n paddingBottom: node.paddingY\n });\n }\n\n if (_.has(node, \"padding\")) {\n _.defaults(node, {\n paddingLeft: node.padding,\n paddingRight: node.padding,\n paddingTop: node.padding,\n paddingBottom: node.padding\n });\n }\n\n _.defaults(node, NODE_DEFAULT_ATTRS);\n\n _.each([\"paddingLeft\", \"paddingRight\", \"paddingTop\", \"paddingBottom\"], function(k) {\n node[k] = Number(node[k]);\n });\n\n // Save dimensions for restore during post-processing\n if (_.has(node, \"width\")) { node._prevWidth = node.width; }\n if (_.has(node, \"height\")) { node._prevHeight = node.height; }\n });\n\n g.edges().forEach(function(e) {\n var edge = g.edge(e);\n if (!_.has(edge, \"label\")) { edge.label = \"\"; }\n _.defaults(edge, EDGE_DEFAULT_ATTRS);\n });\n}\n\nfunction postProcessGraph(g) {\n _.each(g.nodes(), function(v) {\n var node = g.node(v);\n\n // Restore original dimensions\n if (_.has(node, \"_prevWidth\")) {\n node.width = node._prevWidth;\n } else {\n delete node.width;\n }\n\n if (_.has(node, \"_prevHeight\")) {\n node.height = node._prevHeight;\n } else {\n delete node.height;\n }\n\n delete node._prevWidth;\n delete node._prevHeight;\n });\n}\n\nfunction createOrSelectGroup(root, name) {\n var selection = root.select(\"g.\" + name);\n if (selection.empty()) {\n selection = root.append(\"g\").attr(\"class\", name);\n }\n return selection;\n}\n" }, { "id": 341, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-nodes.js", "name": "./node_modules/dagre-d3/lib/create-nodes.js", "index": 874, "index2": 874, "size": 2192, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./create-nodes", "loc": "9:20-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar addLabel = require(\"./label/add-label\");\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\n\nmodule.exports = createNodes;\n\nfunction createNodes(selection, g, shapes) {\n var simpleNodes = g.nodes().filter(function(v) { return !util.isSubgraph(g, v); });\n var svgNodes = selection.selectAll(\"g.node\")\n .data(simpleNodes, function(v) { return v; })\n .classed(\"update\", true);\n\n svgNodes.exit().remove();\n\n svgNodes.enter().append(\"g\")\n .attr(\"class\", \"node\")\n .style(\"opacity\", 0);\n\n svgNodes = selection.selectAll(\"g.node\"); \n\n svgNodes.each(function(v) {\n var node = g.node(v);\n var thisGroup = d3.select(this);\n util.applyClass(thisGroup, node[\"class\"],\n (thisGroup.classed(\"update\") ? \"update \" : \"\") + \"node\");\n\n thisGroup.select(\"g.label\").remove();\n var labelGroup = thisGroup.append(\"g\").attr(\"class\", \"label\");\n var labelDom = addLabel(labelGroup, node);\n var shape = shapes[node.shape];\n var bbox = _.pick(labelDom.node().getBBox(), \"width\", \"height\");\n\n node.elem = this;\n\n if (node.id) { thisGroup.attr(\"id\", node.id); }\n if (node.labelId) { labelGroup.attr(\"id\", node.labelId); }\n\n if (_.has(node, \"width\")) { bbox.width = node.width; }\n if (_.has(node, \"height\")) { bbox.height = node.height; }\n\n bbox.width += node.paddingLeft + node.paddingRight;\n bbox.height += node.paddingTop + node.paddingBottom;\n labelGroup.attr(\"transform\", \"translate(\" +\n ((node.paddingLeft - node.paddingRight) / 2) + \",\" +\n ((node.paddingTop - node.paddingBottom) / 2) + \")\");\n\n var root = d3.select(this);\n root.select(\".label-container\").remove();\n var shapeSvg = shape(root, bbox, node).classed(\"label-container\", true);\n util.applyStyle(shapeSvg, node.style);\n\n var shapeBBox = shapeSvg.node().getBBox();\n node.width = shapeBBox.width;\n node.height = shapeBBox.height;\n });\n\n var exitSelection;\n\n if (svgNodes.exit) {\n exitSelection = svgNodes.exit();\n } else {\n exitSelection = svgNodes.selectAll(null); // empty selection\n }\n\n util.applyTransition(exitSelection, g)\n .style(\"opacity\", 0)\n .remove();\n\n return svgNodes;\n}\n" }, { "id": 342, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-text-label.js", "name": "./node_modules/dagre-d3/lib/label/add-text-label.js", "index": 876, "index2": 870, "size": 939, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "issuerId": 89, "issuerName": "./node_modules/dagre-d3/lib/label/add-label.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 345, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "name": "./node_modules/dagre-d3/lib/create-edge-labels.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } }, { "id": 89, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "name": "./node_modules/dagre-d3/lib/label/add-label.js", "profile": { "factory": 69, "building": 34, "dependencies": 58 } } ], "profile": { "factory": 74, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 89, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "module": "./node_modules/dagre-d3/lib/label/add-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-label.js", "type": "cjs require", "userRequest": "./add-text-label", "loc": "1:19-46" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var util = require(\"../util\");\n\nmodule.exports = addTextLabel;\n\n/*\n * Attaches a text label to the specified root. Handles escape sequences.\n */\nfunction addTextLabel(root, node) {\n var domNode = root.append(\"text\");\n\n var lines = processEscapeSequences(node.label).split(\"\\n\");\n for (var i = 0; i < lines.length; i++) {\n domNode.append(\"tspan\")\n .attr(\"xml:space\", \"preserve\")\n .attr(\"dy\", \"1em\")\n .attr(\"x\", \"1\")\n .text(lines[i]);\n }\n\n util.applyStyle(domNode, node.labelStyle);\n\n return domNode;\n}\n\nfunction processEscapeSequences(text) {\n var newText = \"\";\n var escaped = false;\n var ch;\n for (var i = 0; i < text.length; ++i) {\n ch = text[i];\n if (escaped) {\n switch(ch) {\n case \"n\": newText += \"\\n\"; break;\n default: newText += ch;\n }\n escaped = false;\n } else if (ch === \"\\\\\") {\n escaped = true;\n } else {\n newText += ch;\n }\n }\n return newText;\n}\n" }, { "id": 343, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-svg-label.js", "name": "./node_modules/dagre-d3/lib/label/add-svg-label.js", "index": 879, "index2": 872, "size": 230, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "issuerId": 89, "issuerName": "./node_modules/dagre-d3/lib/label/add-label.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } }, { "id": 345, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "name": "./node_modules/dagre-d3/lib/create-edge-labels.js", "profile": { "factory": 131, "building": 28, "dependencies": 74 } }, { "id": 89, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "name": "./node_modules/dagre-d3/lib/label/add-label.js", "profile": { "factory": 69, "building": 34, "dependencies": 58 } } ], "profile": { "factory": 74, "building": 27, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 89, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/label/add-label.js", "module": "./node_modules/dagre-d3/lib/label/add-label.js", "moduleName": "./node_modules/dagre-d3/lib/label/add-label.js", "type": "cjs require", "userRequest": "./add-svg-label", "loc": "3:19-45" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 7, "source": "var util = require(\"../util\");\n\nmodule.exports = addSVGLabel;\n\nfunction addSVGLabel(root, node) {\n var domNode = root;\n\n domNode.node().appendChild(node.label);\n\n util.applyStyle(domNode, node.labelStyle);\n\n return domNode;\n}\n" }, { "id": 344, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-clusters.js", "name": "./node_modules/dagre-d3/lib/create-clusters.js", "index": 880, "index2": 875, "size": 1399, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./create-clusters", "loc": "10:23-51" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var util = require(\"./util\");\nvar d3 = require(\"./d3\");\nvar addLabel = require(\"./label/add-label\");\n\nmodule.exports = createClusters;\n\nfunction createClusters(selection, g) {\n var clusters = g.nodes().filter(function(v) { return util.isSubgraph(g, v); });\n var svgClusters = selection.selectAll(\"g.cluster\")\n .data(clusters, function(v) { return v; });\n\n svgClusters.selectAll(\"*\").remove();\n svgClusters.enter().append(\"g\")\n .attr(\"class\", \"cluster\")\n .attr(\"id\",function(v){\n var node = g.node(v);\n return node.id;\n })\n .style(\"opacity\", 0);\n \n svgClusters = selection.selectAll(\"g.cluster\");\n\n util.applyTransition(svgClusters, g)\n .style(\"opacity\", 1);\n\n svgClusters.each(function(v) {\n var node = g.node(v);\n var thisGroup = d3.select(this);\n d3.select(this).append(\"rect\");\n var labelGroup = thisGroup.append(\"g\").attr(\"class\", \"label\");\n addLabel(labelGroup, node, node.clusterLabelPos);\n });\n\n svgClusters.selectAll(\"rect\").each(function(c) {\n var node = g.node(c);\n var domCluster = d3.select(this);\n util.applyStyle(domCluster, node.style);\n });\n\n var exitSelection;\n\n if (svgClusters.exit) {\n exitSelection = svgClusters.exit();\n } else {\n exitSelection = svgClusters.selectAll(null); // empty selection\n }\n\n util.applyTransition(exitSelection, g)\n .style(\"opacity\", 0)\n .remove();\n\n return svgClusters;\n}\n" }, { "id": 345, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-labels.js", "name": "./node_modules/dagre-d3/lib/create-edge-labels.js", "index": 881, "index2": 876, "size": 1273, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./create-edge-labels", "loc": "11:25-56" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar addLabel = require(\"./label/add-label\");\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\n\nmodule.exports = createEdgeLabels;\n\nfunction createEdgeLabels(selection, g) {\n var svgEdgeLabels = selection.selectAll(\"g.edgeLabel\")\n .data(g.edges(), function(e) { return util.edgeToId(e); })\n .classed(\"update\", true);\n\n svgEdgeLabels.exit().remove();\n svgEdgeLabels.enter().append(\"g\")\n .classed(\"edgeLabel\", true)\n .style(\"opacity\", 0);\n\n svgEdgeLabels = selection.selectAll(\"g.edgeLabel\");\n\n svgEdgeLabels.each(function(e) {\n var root = d3.select(this);\n root.select(\".label\").remove();\n var edge = g.edge(e);\n var label = addLabel(root, g.edge(e), 0, 0).classed(\"label\", true);\n var bbox = label.node().getBBox();\n\n if (edge.labelId) { label.attr(\"id\", edge.labelId); }\n if (!_.has(edge, \"width\")) { edge.width = bbox.width; }\n if (!_.has(edge, \"height\")) { edge.height = bbox.height; }\n });\n\n var exitSelection;\n\n if (svgEdgeLabels.exit) {\n exitSelection = svgEdgeLabels.exit();\n } else {\n exitSelection = svgEdgeLabels.selectAll(null); // empty selection\n }\n\n util.applyTransition(exitSelection, g)\n .style(\"opacity\", 0)\n .remove();\n\n return svgEdgeLabels;\n}\n" }, { "id": 346, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/create-edge-paths.js", "name": "./node_modules/dagre-d3/lib/create-edge-paths.js", "index": 882, "index2": 877, "size": 3300, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./create-edge-paths", "loc": "12:24-54" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar intersectNode = require(\"./intersect/intersect-node\");\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\nmodule.exports = createEdgePaths;\n\nfunction createEdgePaths(selection, g, arrows) {\n var previousPaths = selection.selectAll(\"g.edgePath\")\n .data(g.edges(), function(e) { return util.edgeToId(e); })\n .classed(\"update\", true);\n\n var newPaths = enter(previousPaths, g);\n exit(previousPaths, g);\n\n var svgPaths = previousPaths.merge !== undefined ? previousPaths.merge(newPaths) : previousPaths;\n util.applyTransition(svgPaths, g)\n .style(\"opacity\", 1);\n\n // Save DOM element in the path group, and set ID and class\n svgPaths.each(function(e) {\n var domEdge = d3.select(this);\n var edge = g.edge(e);\n edge.elem = this;\n\n if (edge.id) {\n domEdge.attr(\"id\", edge.id);\n }\n\n util.applyClass(domEdge, edge[\"class\"],\n (domEdge.classed(\"update\") ? \"update \" : \"\") + \"edgePath\");\n });\n\n svgPaths.selectAll(\"path.path\")\n .each(function(e) {\n var edge = g.edge(e);\n edge.arrowheadId = _.uniqueId(\"arrowhead\");\n\n var domEdge = d3.select(this)\n .attr(\"marker-end\", function() {\n return \"url(\" + makeFragmentRef(location.href, edge.arrowheadId) + \")\";\n })\n .style(\"fill\", \"none\");\n\n util.applyTransition(domEdge, g)\n .attr(\"d\", function(e) { return calcPoints(g, e); });\n\n util.applyStyle(domEdge, edge.style);\n });\n\n svgPaths.selectAll(\"defs *\").remove();\n svgPaths.selectAll(\"defs\")\n .each(function(e) {\n var edge = g.edge(e);\n var arrowhead = arrows[edge.arrowhead];\n arrowhead(d3.select(this), edge.arrowheadId, edge, \"arrowhead\");\n });\n\n return svgPaths;\n}\n\nfunction makeFragmentRef(url, fragmentId) {\n var baseUrl = url.split(\"#\")[0];\n return baseUrl + \"#\" + fragmentId;\n}\n\nfunction calcPoints(g, e) {\n var edge = g.edge(e);\n var tail = g.node(e.v);\n var head = g.node(e.w);\n var points = edge.points.slice(1, edge.points.length - 1);\n points.unshift(intersectNode(tail, points[0]));\n points.push(intersectNode(head, points[points.length - 1]));\n\n return createLine(edge, points);\n}\n\nfunction createLine(edge, points) {\n var line = (d3.line || d3.svg.line)()\n .x(function(d) { return d.x; })\n .y(function(d) { return d.y; });\n \n (line.curve || line.interpolate)(edge.curve);\n\n return line(points);\n}\n\nfunction getCoords(elem) {\n var bbox = elem.getBBox();\n var matrix = elem.ownerSVGElement.getScreenCTM()\n .inverse()\n .multiply(elem.getScreenCTM())\n .translate(bbox.width / 2, bbox.height / 2);\n return { x: matrix.e, y: matrix.f };\n}\n\nfunction enter(svgPaths, g) {\n var svgPathsEnter = svgPaths.enter().append(\"g\")\n .attr(\"class\", \"edgePath\")\n .style(\"opacity\", 0);\n svgPathsEnter.append(\"path\")\n .attr(\"class\", \"path\")\n .attr(\"d\", function(e) {\n var edge = g.edge(e);\n var sourceElem = g.node(e.v).elem;\n var points = _.range(edge.points.length).map(function() { return getCoords(sourceElem); });\n return createLine(edge, points);\n });\n svgPathsEnter.append(\"defs\");\n return svgPathsEnter;\n}\n\nfunction exit(svgPaths, g) {\n var svgPathExit = svgPaths.exit();\n util.applyTransition(svgPathExit, g)\n .style(\"opacity\", 0)\n .remove();\n}\n" }, { "id": 347, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-nodes.js", "name": "./node_modules/dagre-d3/lib/position-nodes.js", "index": 883, "index2": 878, "size": 490, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./position-nodes", "loc": "13:22-49" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\n\nmodule.exports = positionNodes;\n\nfunction positionNodes(selection, g) {\n var created = selection.filter(function() { return !d3.select(this).classed(\"update\"); });\n\n function translate(v) {\n var node = g.node(v);\n return \"translate(\" + node.x + \",\" + node.y + \")\";\n }\n\n created.attr(\"transform\", translate);\n\n util.applyTransition(selection, g)\n .style(\"opacity\", 1)\n .attr(\"transform\", translate);\n}\n" }, { "id": 348, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-edge-labels.js", "name": "./node_modules/dagre-d3/lib/position-edge-labels.js", "index": 884, "index2": 879, "size": 553, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./position-edge-labels", "loc": "14:27-60" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\nvar _ = require(\"./lodash\");\n\nmodule.exports = positionEdgeLabels;\n\nfunction positionEdgeLabels(selection, g) {\n var created = selection.filter(function() { return !d3.select(this).classed(\"update\"); });\n\n function translate(e) {\n var edge = g.edge(e);\n return _.has(edge, \"x\") ? \"translate(\" + edge.x + \",\" + edge.y + \")\" : \"\";\n }\n\n created.attr(\"transform\", translate);\n\n util.applyTransition(selection, g)\n .style(\"opacity\", 1)\n .attr(\"transform\", translate);\n}\n" }, { "id": 349, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/position-clusters.js", "name": "./node_modules/dagre-d3/lib/position-clusters.js", "index": 885, "index2": 880, "size": 862, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./position-clusters", "loc": "15:25-55" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar util = require(\"./util\");\nvar d3 = require(\"./d3\");\n\nmodule.exports = positionClusters;\n\nfunction positionClusters(selection, g) {\n var created = selection.filter(function() { return !d3.select(this).classed(\"update\"); });\n\n function translate(v) {\n var node = g.node(v);\n return \"translate(\" + node.x + \",\" + node.y + \")\";\n }\n\n created.attr(\"transform\", translate);\n\n util.applyTransition(selection, g)\n .style(\"opacity\", 1)\n .attr(\"transform\", translate);\n\n util.applyTransition(created.selectAll(\"rect\"), g)\n .attr(\"width\", function(v) { return g.node(v).width; })\n .attr(\"height\", function(v) { return g.node(v).height; })\n .attr(\"x\", function(v) {\n var node = g.node(v);\n return -node.width / 2;\n })\n .attr(\"y\", function(v) {\n var node = g.node(v);\n return -node.height / 2;\n });\n}\n" }, { "id": 350, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/shapes.js", "name": "./node_modules/dagre-d3/lib/shapes.js", "index": 886, "index2": 881, "size": 2121, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./shapes", "loc": "16:15-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\nvar intersectRect = require(\"./intersect/intersect-rect\");\nvar intersectEllipse = require(\"./intersect/intersect-ellipse\");\nvar intersectCircle = require(\"./intersect/intersect-circle\");\nvar intersectPolygon = require(\"./intersect/intersect-polygon\");\n\nmodule.exports = {\n rect: rect,\n ellipse: ellipse,\n circle: circle,\n diamond: diamond\n};\n\nfunction rect(parent, bbox, node) {\n var shapeSvg = parent.insert(\"rect\", \":first-child\")\n .attr(\"rx\", node.rx)\n .attr(\"ry\", node.ry)\n .attr(\"x\", -bbox.width / 2)\n .attr(\"y\", -bbox.height / 2)\n .attr(\"width\", bbox.width)\n .attr(\"height\", bbox.height);\n\n node.intersect = function(point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n}\n\nfunction ellipse(parent, bbox, node) {\n var rx = bbox.width / 2;\n var ry = bbox.height / 2;\n var shapeSvg = parent.insert(\"ellipse\", \":first-child\")\n .attr(\"x\", -bbox.width / 2)\n .attr(\"y\", -bbox.height / 2)\n .attr(\"rx\", rx)\n .attr(\"ry\", ry);\n\n node.intersect = function(point) {\n return intersectEllipse(node, rx, ry, point);\n };\n\n return shapeSvg;\n}\n\nfunction circle(parent, bbox, node) {\n var r = Math.max(bbox.width, bbox.height) / 2;\n var shapeSvg = parent.insert(\"circle\", \":first-child\")\n .attr(\"x\", -bbox.width / 2)\n .attr(\"y\", -bbox.height / 2)\n .attr(\"r\", r);\n\n node.intersect = function(point) {\n return intersectCircle(node, r, point);\n };\n\n return shapeSvg;\n}\n\n// Circumscribe an ellipse for the bounding box with a diamond shape. I derived\n// the function to calculate the diamond shape from:\n// http://mathforum.org/kb/message.jspa?messageID=3750236\nfunction diamond(parent, bbox, node) {\n var w = (bbox.width * Math.SQRT2) / 2;\n var h = (bbox.height * Math.SQRT2) / 2;\n var points = [\n { x: 0, y: -h },\n { x: -w, y: 0 },\n { x: 0, y: h },\n { x: w, y: 0 }\n ];\n var shapeSvg = parent.insert(\"polygon\", \":first-child\")\n .attr(\"points\", points.map(function(p) { return p.x + \",\" + p.y; }).join(\" \"));\n\n node.intersect = function(p) {\n return intersectPolygon(node, points, p);\n };\n\n return shapeSvg;\n}\n" }, { "id": 351, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/arrows.js", "name": "./node_modules/dagre-d3/lib/arrows.js", "index": 887, "index2": 882, "size": 1867, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "issuerId": 340, "issuerName": "./node_modules/dagre-d3/lib/render.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } }, { "id": 340, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "name": "./node_modules/dagre-d3/lib/render.js", "profile": { "factory": 313, "building": 36, "dependencies": 79 } } ], "profile": { "factory": 131, "building": 28, "dependencies": 74 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 340, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/render.js", "module": "./node_modules/dagre-d3/lib/render.js", "moduleName": "./node_modules/dagre-d3/lib/render.js", "type": "cjs require", "userRequest": "./arrows", "loc": "17:15-34" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "var util = require(\"./util\");\n\nmodule.exports = {\n \"default\": normal,\n \"normal\": normal,\n \"vee\": vee,\n \"undirected\": undirected\n};\n\nfunction normal(parent, id, edge, type) {\n var marker = parent.append(\"marker\")\n .attr(\"id\", id)\n .attr(\"viewBox\", \"0 0 10 10\")\n .attr(\"refX\", 9)\n .attr(\"refY\", 5)\n .attr(\"markerUnits\", \"strokeWidth\")\n .attr(\"markerWidth\", 8)\n .attr(\"markerHeight\", 6)\n .attr(\"orient\", \"auto\");\n\n var path = marker.append(\"path\")\n .attr(\"d\", \"M 0 0 L 10 5 L 0 10 z\")\n .style(\"stroke-width\", 1)\n .style(\"stroke-dasharray\", \"1,0\");\n util.applyStyle(path, edge[type + \"Style\"]);\n if (edge[type + \"Class\"]) {\n path.attr(\"class\", edge[type + \"Class\"]);\n }\n}\n\nfunction vee(parent, id, edge, type) {\n var marker = parent.append(\"marker\")\n .attr(\"id\", id)\n .attr(\"viewBox\", \"0 0 10 10\")\n .attr(\"refX\", 9)\n .attr(\"refY\", 5)\n .attr(\"markerUnits\", \"strokeWidth\")\n .attr(\"markerWidth\", 8)\n .attr(\"markerHeight\", 6)\n .attr(\"orient\", \"auto\");\n\n var path = marker.append(\"path\")\n .attr(\"d\", \"M 0 0 L 10 5 L 0 10 L 4 5 z\")\n .style(\"stroke-width\", 1)\n .style(\"stroke-dasharray\", \"1,0\");\n util.applyStyle(path, edge[type + \"Style\"]);\n if (edge[type + \"Class\"]) {\n path.attr(\"class\", edge[type + \"Class\"]);\n }\n}\n\nfunction undirected(parent, id, edge, type) {\n var marker = parent.append(\"marker\")\n .attr(\"id\", id)\n .attr(\"viewBox\", \"0 0 10 10\")\n .attr(\"refX\", 9)\n .attr(\"refY\", 5)\n .attr(\"markerUnits\", \"strokeWidth\")\n .attr(\"markerWidth\", 8)\n .attr(\"markerHeight\", 6)\n .attr(\"orient\", \"auto\");\n\n var path = marker.append(\"path\")\n .attr(\"d\", \"M 0 5 L 10 5\")\n .style(\"stroke-width\", 1)\n .style(\"stroke-dasharray\", \"1,0\");\n util.applyStyle(path, edge[type + \"Style\"]);\n if (edge[type + \"Class\"]) {\n path.attr(\"class\", edge[type + \"Class\"]);\n }\n}\n" }, { "id": 352, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/lib/version.js", "name": "./node_modules/dagre-d3/lib/version.js", "index": 888, "index2": 884, "size": 26, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "issuerId": 5, "issuerName": "./node_modules/dagre-d3/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "name": "./node_modules/dagre-d3/index.js", "profile": { "factory": 2701, "building": 33, "dependencies": 622 } } ], "profile": { "factory": 313, "building": 36, "dependencies": 79 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 5, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/dagre-d3/index.js", "module": "./node_modules/dagre-d3/index.js", "moduleName": "./node_modules/dagre-d3/index.js", "type": "cjs require", "userRequest": "./lib/version", "loc": "29:11-35" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "module.exports = \"0.6.4\";\n" }, { "id": 353, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js aa275ae208fe2c04a77a04e16778cf3d", "name": "./src/mermaid.js + 51 modules", "index": 0, "index2": 924, "size": 420362, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": null, "module": null, "moduleName": null, "type": "single entry", "userRequest": "./src/mermaid.js", "loc": "mermaid" } ], "usedExports": true, "providedExports": [ "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/class/parser/classDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/er/parser/erDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/flowchart/parser/flow.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/gantt/parser/gantt.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/git/parser/gitGraph.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/info/parser/info.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/pie/parser/pie.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/sequence/parser/sequenceDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/state/parser/stateDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/user-journey/parser/journey.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/@braintree/sanitize-url/index.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/dagre-wrapper/intersect/intersect-node.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/d3/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/dagre-d3/lib/d3.js (referenced with cjs require))", "ModuleConcatenation bailout: Cannot concat with ./node_modules/dagre-d3/index.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/dagre-d3/lib/label/add-html-label.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/dagre/index.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/graphlib/index.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/moment-mini/moment.min.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./node_modules/scope-css/index.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./package.json (<- Module is not an ECMAScript module)" ], "depth": 0, "modules": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "index": 0, "index2": 924, "size": 5291, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "profile": { "factory": 54, "building": 197 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": null, "module": null, "moduleName": null, "type": "single entry", "userRequest": "./src/mermaid.js", "loc": "mermaid" } ], "usedExports": true, "providedExports": [ "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is an entry point" ], "depth": 0, "source": "/**\n * Web page integration module for the mermaid framework. It uses the mermaidAPI for mermaid functionality and to render\n * the diagrams to svg code.\n */\n// import { decode } from 'he';\nimport decode from 'entity-decode/browser';\nimport mermaidAPI from './mermaidAPI';\nimport { logger } from './logger';\nimport utils from './utils';\n/**\n * ## init\n * Function that goes through the document to find the chart definitions in there and render them.\n *\n * The function tags the processed attributes with the attribute data-processed and ignores found elements with the\n * attribute already set. This way the init function can be triggered several times.\n *\n * Optionally, `init` can accept in the second argument one of the following:\n * - a DOM Node\n * - an array of DOM nodes (as would come from a jQuery selector)\n * - a W3C selector, a la `.mermaid`\n *\n * ```mermaid\n * graph LR;\n * a(Find elements)-->b{Processed}\n * b-->|Yes|c(Leave element)\n * b-->|No |d(Transform)\n * ```\n * Renders the mermaid diagrams\n * @param nodes a css selector or an array of nodes\n */\n\nvar init = function init() {\n var _this = this;\n\n var conf = mermaidAPI.getConfig(); // console.log('Starting rendering diagrams (init) - mermaid.init');\n\n var nodes;\n\n if (arguments.length >= 2) {\n /*! sequence config was passed as #1 */\n if (typeof arguments[0] !== 'undefined') {\n mermaid.sequenceConfig = arguments[0];\n }\n\n nodes = arguments[1];\n } else {\n nodes = arguments[0];\n } // if last argument is a function this is the callback function\n\n\n var callback;\n\n if (typeof arguments[arguments.length - 1] === 'function') {\n callback = arguments[arguments.length - 1];\n logger.debug('Callback function found');\n } else {\n if (typeof conf.mermaid !== 'undefined') {\n if (typeof conf.mermaid.callback === 'function') {\n callback = conf.mermaid.callback;\n logger.debug('Callback function found');\n } else {\n logger.debug('No Callback function found');\n }\n }\n }\n\n nodes = nodes === undefined ? document.querySelectorAll('.mermaid') : typeof nodes === 'string' ? document.querySelectorAll(nodes) : nodes instanceof window.Node ? [nodes] : nodes; // Last case - sequence config was passed pick next\n\n logger.debug('Start On Load before: ' + mermaid.startOnLoad);\n\n if (typeof mermaid.startOnLoad !== 'undefined') {\n logger.debug('Start On Load inner: ' + mermaid.startOnLoad);\n mermaidAPI.initialize({\n startOnLoad: mermaid.startOnLoad\n });\n }\n\n if (typeof mermaid.ganttConfig !== 'undefined') {\n mermaidAPI.initialize({\n gantt: mermaid.ganttConfig\n });\n }\n\n var txt;\n\n var _loop = function _loop(i) {\n var element = nodes[i];\n /*! Check if previously processed */\n\n if (!element.getAttribute('data-processed')) {\n element.setAttribute('data-processed', true);\n } else {\n return \"continue\";\n }\n\n var id = \"mermaid-\".concat(Date.now()); // Fetch the graph definition including tags\n\n txt = element.innerHTML; // transforms the html to pure text\n\n txt = decode(txt).trim().replace(//gi, '
');\n var init = utils.detectInit(txt);\n\n if (init) {\n logger.debug('Detected early reinit: ', init);\n }\n\n try {\n mermaidAPI.render(id, txt, function (svgCode, bindFunctions) {\n element.innerHTML = svgCode;\n\n if (typeof callback !== 'undefined') {\n callback(id);\n }\n\n if (bindFunctions) bindFunctions(element);\n }, element);\n } catch (e) {\n logger.warn('Syntax Error rendering');\n logger.warn(e);\n\n if (_this.parseError) {\n _this.parseError(e);\n }\n }\n };\n\n for (var i = 0; i < nodes.length; i++) {\n var _ret = _loop(i);\n\n if (_ret === \"continue\") continue;\n }\n};\n\nvar initialize = function initialize(config) {\n mermaidAPI.reset();\n\n if (typeof config.mermaid !== 'undefined') {\n if (typeof config.mermaid.startOnLoad !== 'undefined') {\n mermaid.startOnLoad = config.mermaid.startOnLoad;\n }\n\n if (typeof config.mermaid.htmlLabels !== 'undefined') {\n mermaid.htmlLabels = config.mermaid.htmlLabels;\n }\n }\n\n mermaidAPI.initialize(config);\n};\n/**\n * ##contentLoaded\n * Callback function that is called when page is loaded. This functions fetches configuration for mermaid rendering and\n * calls init for rendering the mermaid diagrams on the page.\n */\n\n\nvar contentLoaded = function contentLoaded() {\n var config;\n\n if (mermaid.startOnLoad) {\n // No config found, do check API config\n config = mermaidAPI.getConfig();\n\n if (config.startOnLoad) {\n mermaid.init();\n }\n } else {\n if (typeof mermaid.startOnLoad === 'undefined') {\n logger.debug('In start, no config');\n config = mermaidAPI.getConfig();\n\n if (config.startOnLoad) {\n mermaid.init();\n }\n }\n }\n};\n\nif (typeof document !== 'undefined') {\n /*!\n * Wait for document loaded before starting the execution\n */\n window.addEventListener('load', function () {\n contentLoaded();\n }, false);\n}\n\nvar mermaid = {\n startOnLoad: true,\n htmlLabels: true,\n mermaidAPI: mermaidAPI,\n parse: mermaidAPI.parse,\n render: mermaidAPI.render,\n init: init,\n initialize: initialize,\n contentLoaded: contentLoaded\n};\nexport default mermaid;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/entity-decode/browser.js", "name": "./node_modules/entity-decode/browser.js", "index": 1, "index2": 0, "size": 523, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } } ], "profile": { "factory": 469, "building": 134, "dependencies": 1692 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "entity-decode/browser", "loc": "6:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "entity-decode/browser", "loc": "100:10-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 1, "source": "/**\n * @see https://github.com/vuejs/vue/commit/a855dd0564a657a73b7249469490d39817f27cf7#diff-c0a2623ea5896a83e3b630f236b47b52\n * @see https://stackoverflow.com/a/13091266/4936667\n */\n\nvar decoder;\n\nexport default function decode(html) {\n decoder = decoder || document.createElement('div');\n // Escape HTML before decoding for HTML Entities\n html = escape(html).replace(/%26/g,'&').replace(/%23/g,'#').replace(/%3B/g,';');\n // decoding\n decoder.innerHTML = html;\n\n return unescape(decoder.textContent);\n}\n" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "index": 541, "index2": 542, "size": 1937, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } } ], "profile": { "factory": 469, "building": 134, "dependencies": 1692 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "module": "./src/diagrams/info/infoDb.js", "moduleName": "./src/diagrams/info/infoDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "module": "./src/diagrams/pie/pieDb.js", "moduleName": "./src/diagrams/pie/pieDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "module": "./src/dagre-wrapper/markers.js", "moduleName": "./src/dagre-wrapper/markers.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "4:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "8:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "module": "./src/diagrams/info/infoDb.js", "moduleName": "./src/diagrams/info/infoDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "8:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "9:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "9:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "11:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "module": "./src/diagrams/pie/pieDb.js", "moduleName": "./src/diagrams/pie/pieDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "11:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "12:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "12:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "13:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "module": "./src/dagre-wrapper/markers.js", "moduleName": "./src/dagre-wrapper/markers.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "13:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "14:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "14:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "17:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "19:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "20:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "21:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "22:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "22:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "23:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "23:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "24:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "25:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "26:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "26:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "28:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "28:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "30:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "30:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "30:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "31:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "34:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "35:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "35:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "36:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "37:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "38:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "38:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "39:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "39:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "42:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "42:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "43:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "46:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "47:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "50:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "51:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "55:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "55:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "56:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "59:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "60:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "60:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "60:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "61:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "61:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "62:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "62:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "66:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "67:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "67:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "67:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "68:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "69:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "69:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "70:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "72:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "72:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "72:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "74:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "76:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "77:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "78:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "78:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "79:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "79:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "81:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "81:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "83:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "83:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "86:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "87:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "87:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "88:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "88:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "89:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "90:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "90:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "92:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "93:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "94:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "95:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "95:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "95:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "96:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "97:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "98:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "99:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "100:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "100:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "101:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "104:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "106:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "107:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "117:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "117:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "118:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "118:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "119:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "120:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "123:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "124:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "124:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "125:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "126:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "127:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "129:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "130:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "130:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "130:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "132:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "133:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "133:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "136:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "136:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "137:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "140:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "144:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "148:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "148:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "151:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "152:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "152:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "153:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "153:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "156:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "158:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "159:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "159:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "161:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "165:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "165:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "167:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "168:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "170:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "171:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "179:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "182:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "182:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "183:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "183:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "184:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "185:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "186:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "186:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "188:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "188:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "189:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "193:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "194:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "196:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "196:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "197:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "202:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "205:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "206:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "206:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "208:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "209:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "211:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "214:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "222:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "223:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "223:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "228:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "234:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "235:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "236:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "240:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "240:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "242:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "243:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "244:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "247:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "249:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "249:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "251:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "253:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "254:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "262:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "265:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "271:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "271:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "272:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "275:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "282:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "288:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "291:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "292:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "293:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "297:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "299:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "303:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "306:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "314:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "314:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "323:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "324:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "326:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "327:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "332:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "337:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "337:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "349:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "349:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "353:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "353:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "358:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "360:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "376:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "389:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "389:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "403:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "416:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "420:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "430:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "444:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "462:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "469:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "470:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "475:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "516:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "547:2-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "548:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "556:2-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "557:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "559:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "584:0-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "595:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "616:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "642:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "715:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "800:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "912:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "944:2-8" } ], "usedExports": [ "logger", "setLogLevel" ], "providedExports": [ "LEVELS", "logger", "setLogLevel" ], "optimizationBailout": [], "depth": 1, "source": "import moment from 'moment-mini'; //\n\nexport var LEVELS = {\n debug: 1,\n info: 2,\n warn: 3,\n error: 4,\n fatal: 5\n};\nexport var logger = {\n debug: function debug() {},\n info: function info() {},\n warn: function warn() {},\n error: function error() {},\n fatal: function fatal() {}\n};\nexport var setLogLevel = function setLogLevel() {\n var level = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fatal';\n\n if (isNaN(level)) {\n level = level.toLowerCase();\n\n if (LEVELS[level] !== undefined) {\n level = LEVELS[level];\n }\n }\n\n logger.trace = function () {};\n\n logger.debug = function () {};\n\n logger.info = function () {};\n\n logger.warn = function () {};\n\n logger.error = function () {};\n\n logger.fatal = function () {};\n\n if (level <= LEVELS.fatal) {\n logger.fatal = console.error ? console.error.bind(console, format('FATAL'), 'color: orange') : console.log.bind(console, '\\x1b[35m', format('FATAL'));\n }\n\n if (level <= LEVELS.error) {\n logger.error = console.error ? console.error.bind(console, format('ERROR'), 'color: orange') : console.log.bind(console, '\\x1b[31m', format('ERROR'));\n }\n\n if (level <= LEVELS.warn) {\n logger.warn = console.warn ? console.warn.bind(console, format('WARN'), 'color: orange') : console.log.bind(console, \"\\x1B[33m\", format('WARN'));\n }\n\n if (level <= LEVELS.info) {\n logger.info = console.info ? // ? console.info.bind(console, '\\x1b[34m', format('INFO'), 'color: blue')\n console.info.bind(console, format('INFO'), 'color: lightblue') : console.log.bind(console, '\\x1b[34m', format('INFO'));\n }\n\n if (level <= LEVELS.debug) {\n logger.debug = console.debug ? console.debug.bind(console, format('DEBUG'), 'color: lightgreen') : console.log.bind(console, '\\x1b[32m', format('DEBUG'));\n }\n};\n\nvar format = function format(level) {\n var time = moment().format('ss.SSS');\n return \"%c\".concat(time, \" : \").concat(level, \" : \");\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "index": 539, "index2": 544, "size": 24774, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } } ], "profile": { "factory": 469, "building": 134, "dependencies": 1692 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "5:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "5:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "6:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../utils", "loc": "6:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "7:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "9:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "10:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "10:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "13:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "20:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "37:14-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "42:17-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "43:17-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../utils", "loc": "48:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "56:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "58:22-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "63:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "65:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "66:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "70:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "101:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "160:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "172:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "174:24-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "188:24-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "197:19-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "214:19-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "217:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "223:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "227:4-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "229:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "231:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "233:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "250:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "252:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "252:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "254:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "262:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "280:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "282:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "337:32-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "396:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "437:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "441:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "527:29-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "548:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "548:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "673:38-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "674:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "736:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "739:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "770:23-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "770:66-71" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "788:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "788:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "797:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "821:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "824:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "847:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "854:17-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "855:20-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "866:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "869:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "878:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "890:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "899:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "930:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "933:2-17" } ], "usedExports": [ "default", "assignWithDepth", "getStylesFromArray", "interpolateToCurve", "generateId" ], "providedExports": [ "detectInit", "detectDirective", "detectType", "isSubstringInArray", "interpolateToCurve", "formatUrl", "runFunc", "getStylesFromArray", "generateId", "random", "assignWithDepth", "getTextObj", "drawSimpleText", "wrapLabel", "calculateTextHeight", "calculateTextWidth", "calculateTextDimensions", "default" ], "optimizationBailout": [], "depth": 1, "source": "var _this = this;\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { curveBasis, curveBasisClosed, curveBasisOpen, curveLinear, curveLinearClosed, curveMonotoneX, curveMonotoneY, curveNatural, curveStep, curveStepAfter, curveStepBefore, select } from 'd3';\nimport { logger } from './logger';\nimport { sanitizeUrl } from '@braintree/sanitize-url';\nimport common from './diagrams/common/common'; // import cryptoRandomString from 'crypto-random-string';\n// Effectively an enum of the supported curve types, accessible by name\n\nvar d3CurveTypes = {\n curveBasis: curveBasis,\n curveBasisClosed: curveBasisClosed,\n curveBasisOpen: curveBasisOpen,\n curveLinear: curveLinear,\n curveLinearClosed: curveLinearClosed,\n curveMonotoneX: curveMonotoneX,\n curveMonotoneY: curveMonotoneY,\n curveNatural: curveNatural,\n curveStep: curveStep,\n curveStepAfter: curveStepAfter,\n curveStepBefore: curveStepBefore\n};\nvar directive = /[%]{2}[{]\\s*(?:(?:(\\w+)\\s*:|(\\w+))\\s*(?:(?:(\\w+))|((?:(?![}][%]{2}).|\\r?\\n)*))?\\s*)(?:[}][%]{2})?/gi;\nvar directiveWithoutOpen = /\\s*(?:(?:(\\w+)(?=:):|(\\w+))\\s*(?:(?:(\\w+))|((?:(?![}][%]{2}).|\\r?\\n)*))?\\s*)(?:[}][%]{2})?/gi;\nvar anyComment = /\\s*%%.*\\n/gm;\n/**\n * @function detectInit\n * Detects the init config object from the text\n * ```mermaid\n * %%{init: {\"theme\": \"debug\", \"logLevel\": 1 }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n * or\n * ```mermaid\n * %%{initialize: {\"theme\": \"dark\", logLevel: \"debug\" }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @returns {object} the json object representing the init passed to mermaid.initialize()\n */\n\nexport var detectInit = function detectInit(text) {\n var inits = detectDirective(text, /(?:init\\b)|(?:initialize\\b)/);\n var results = {};\n\n if (Array.isArray(inits)) {\n var args = inits.map(function (init) {\n return init.args;\n });\n results = assignWithDepth(results, _toConsumableArray(args));\n } else {\n results = inits.args;\n }\n\n if (results) {\n var type = detectType(text);\n ['config'].forEach(function (prop) {\n if (typeof results[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n results[type] = results[prop];\n delete results[prop];\n }\n });\n }\n\n return results;\n};\n/**\n * @function detectDirective\n * Detects the directive from the text. Text can be single line or multiline. If type is null or omitted\n * the first directive encountered in text will be returned\n * ```mermaid\n * graph LR\n * %%{somedirective}%%\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @param {string|RegExp} type The directive to return (default: null)\n * @returns {object | Array} An object or Array representing the directive(s): { type: string, args: object|null } matched by the input type\n * if a single directive was found, that directive object will be returned.\n */\n\nexport var detectDirective = function detectDirective(text) {\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n try {\n var commentWithoutDirectives = new RegExp(\"[%]{2}(?![{]\".concat(directiveWithoutOpen.source, \")(?=[}][%]{2}).*\\n\"), 'ig');\n text = text.trim().replace(commentWithoutDirectives, '').replace(/'/gm, '\"');\n logger.debug(\"Detecting diagram directive\".concat(type !== null ? ' type:' + type : '', \" based on the text:\").concat(text));\n var match,\n result = [];\n\n while ((match = directive.exec(text)) !== null) {\n // This is necessary to avoid infinite loops with zero-width matches\n if (match.index === directive.lastIndex) {\n directive.lastIndex++;\n }\n\n if (match && !type || type && match[1] && match[1].match(type) || type && match[2] && match[2].match(type)) {\n var _type = match[1] ? match[1] : match[2];\n\n var args = match[3] ? match[3].trim() : match[4] ? JSON.parse(match[4].trim()) : null;\n result.push({\n type: _type,\n args: args\n });\n }\n }\n\n if (result.length === 0) {\n result.push({\n type: text,\n args: null\n });\n }\n\n return result.length === 1 ? result[0] : result;\n } catch (error) {\n logger.error(\"ERROR: \".concat(error.message, \" - Unable to parse directive\").concat(type !== null ? ' type:' + type : '', \" based on the text:\").concat(text));\n return {\n type: null,\n args: null\n };\n }\n};\n/**\n * @function detectType\n * Detects the type of the graph text. Takes into consideration the possible existence of an %%init\n * directive\n * ```mermaid\n * %%{initialize: {\"startOnLoad\": true, logLevel: \"fatal\" }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @returns {string} A graph definition key\n */\n\nexport var detectType = function detectType(text) {\n text = text.replace(directive, '').replace(anyComment, '\\n');\n logger.debug('Detecting diagram type based on the text ' + text);\n\n if (text.match(/^\\s*sequenceDiagram/)) {\n return 'sequence';\n }\n\n if (text.match(/^\\s*gantt/)) {\n return 'gantt';\n }\n\n if (text.match(/^\\s*classDiagram/)) {\n return 'class';\n }\n\n if (text.match(/^\\s*stateDiagram-v2/)) {\n return 'stateDiagram';\n }\n\n if (text.match(/^\\s*stateDiagram/)) {\n return 'state';\n }\n\n if (text.match(/^\\s*gitGraph/)) {\n return 'git';\n }\n\n if (text.match(/^\\s*flowchart/)) {\n return 'flowchart-v2';\n }\n\n if (text.match(/^\\s*info/)) {\n return 'info';\n }\n\n if (text.match(/^\\s*pie/)) {\n return 'pie';\n }\n\n if (text.match(/^\\s*erDiagram/)) {\n return 'er';\n }\n\n if (text.match(/^\\s*journey/)) {\n return 'journey';\n }\n\n return 'flowchart';\n};\n\nvar memoize = function memoize(fn, resolver) {\n var cache = {};\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var n = resolver ? resolver.apply(_this, args) : args[0];\n\n if (n in cache) {\n return cache[n];\n } else {\n var result = fn.apply(void 0, args);\n cache[n] = result;\n return result;\n }\n };\n};\n/**\n * @function isSubstringInArray\n * Detects whether a substring in present in a given array\n * @param {string} str The substring to detect\n * @param {array} arr The array to search\n * @returns {number} the array index containing the substring or -1 if not present\n **/\n\n\nexport var isSubstringInArray = function isSubstringInArray(str, arr) {\n for (var i = 0; i < arr.length; i++) {\n if (arr[i].match(str)) return i;\n }\n\n return -1;\n};\nexport var interpolateToCurve = function interpolateToCurve(interpolate, defaultCurve) {\n if (!interpolate) {\n return defaultCurve;\n }\n\n var curveName = \"curve\".concat(interpolate.charAt(0).toUpperCase() + interpolate.slice(1));\n return d3CurveTypes[curveName] || defaultCurve;\n};\nexport var formatUrl = function formatUrl(linkStr, config) {\n var url = linkStr.trim();\n\n if (url) {\n if (config.securityLevel !== 'loose') {\n return sanitizeUrl(url);\n }\n\n return url;\n }\n};\nexport var runFunc = function runFunc(functionName) {\n var _obj;\n\n var arrPaths = functionName.split('.');\n var len = arrPaths.length - 1;\n var fnName = arrPaths[len];\n var obj = window;\n\n for (var i = 0; i < len; i++) {\n obj = obj[arrPaths[i]];\n if (!obj) return;\n }\n\n for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n params[_key2 - 1] = arguments[_key2];\n }\n\n (_obj = obj)[fnName].apply(_obj, params);\n};\n\nvar distance = function distance(p1, p2) {\n return p1 && p2 ? Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2)) : 0;\n};\n\nvar traverseEdge = function traverseEdge(points) {\n var prevPoint;\n var totalDistance = 0;\n points.forEach(function (point) {\n totalDistance += distance(point, prevPoint);\n prevPoint = point;\n }); // Traverse half of total distance along points\n\n var remainingDistance = totalDistance / 2;\n var center = undefined;\n prevPoint = undefined;\n points.forEach(function (point) {\n if (prevPoint && !center) {\n var vectorDistance = distance(point, prevPoint);\n\n if (vectorDistance < remainingDistance) {\n remainingDistance -= vectorDistance;\n } else {\n // The point is remainingDistance from prevPoint in the vector between prevPoint and point\n // Calculate the coordinates\n var distanceRatio = remainingDistance / vectorDistance;\n if (distanceRatio <= 0) center = prevPoint;\n if (distanceRatio >= 1) center = {\n x: point.x,\n y: point.y\n };\n\n if (distanceRatio > 0 && distanceRatio < 1) {\n center = {\n x: (1 - distanceRatio) * prevPoint.x + distanceRatio * point.x,\n y: (1 - distanceRatio) * prevPoint.y + distanceRatio * point.y\n };\n }\n }\n }\n\n prevPoint = point;\n });\n return center;\n};\n\nvar calcLabelPosition = function calcLabelPosition(points) {\n return traverseEdge(points);\n};\n\nvar calcCardinalityPosition = function calcCardinalityPosition(isRelationTypePresent, points, initialPosition) {\n var prevPoint;\n var totalDistance = 0; // eslint-disable-line\n\n if (points[0] !== initialPosition) {\n points = points.reverse();\n }\n\n points.forEach(function (point) {\n totalDistance += distance(point, prevPoint);\n prevPoint = point;\n }); // Traverse only 25 total distance along points to find cardinality point\n\n var distanceToCardinalityPoint = 25;\n var remainingDistance = distanceToCardinalityPoint;\n var center = {\n x: 0,\n y: 0\n };\n prevPoint = undefined;\n points.forEach(function (point) {\n if (prevPoint && !center) {\n var vectorDistance = distance(point, prevPoint);\n\n if (vectorDistance < remainingDistance) {\n remainingDistance -= vectorDistance;\n } else {\n // The point is remainingDistance from prevPoint in the vector between prevPoint and point\n // Calculate the coordinates\n var distanceRatio = remainingDistance / vectorDistance;\n if (distanceRatio <= 0) center = prevPoint;\n if (distanceRatio >= 1) center = {\n x: point.x,\n y: point.y\n };\n\n if (distanceRatio > 0 && distanceRatio < 1) {\n center = {\n x: (1 - distanceRatio) * prevPoint.x + distanceRatio * point.x,\n y: (1 - distanceRatio) * prevPoint.y + distanceRatio * point.y\n };\n }\n }\n }\n\n prevPoint = point;\n }); // if relation is present (Arrows will be added), change cardinality point off-set distance (d)\n\n var d = isRelationTypePresent ? 10 : 5; //Calculate Angle for x and y axis\n\n var angle = Math.atan2(points[0].y - center.y, points[0].x - center.x);\n var cardinalityPosition = {\n x: 0,\n y: 0\n }; //Calculation cardinality position using angle, center point on the line/curve but pendicular and with offset-distance\n\n cardinalityPosition.x = Math.sin(angle) * d + (points[0].x + center.x) / 2;\n cardinalityPosition.y = -Math.cos(angle) * d + (points[0].y + center.y) / 2;\n return cardinalityPosition;\n};\n\nexport var getStylesFromArray = function getStylesFromArray(arr) {\n var style = '';\n var labelStyle = '';\n\n for (var i = 0; i < arr.length; i++) {\n if (typeof arr[i] !== 'undefined') {\n // add text properties to label style definition\n if (arr[i].startsWith('color:') || arr[i].startsWith('text-align:')) {\n labelStyle = labelStyle + arr[i] + ';';\n } else {\n style = style + arr[i] + ';';\n }\n }\n }\n\n return {\n style: style,\n labelStyle: labelStyle\n };\n};\nvar cnt = 0;\nexport var generateId = function generateId() {\n cnt++;\n return 'id-' + Math.random().toString(36).substr(2, 12) + '-' + cnt;\n};\nexport var random = function random(options) {\n // return cryptoRandomString(options);\n return 'apa';\n};\n/**\n * @function assignWithDepth\n * Extends the functionality of {@link ObjectConstructor.assign} with the ability to merge arbitrary-depth objects\n * For each key in src with path `k` (recursively) performs an Object.assign(dst[`k`], src[`k`]) with\n * a slight change from the typical handling of undefined for dst[`k`]: instead of raising an error,\n * dst[`k`] is auto-initialized to {} and effectively merged with src[`k`]\n *

\n * Additionally, dissimilar types will not clobber unless the config.clobber parameter === true. Example:\n * ```\n * let config_0 = { foo: { bar: 'bar' }, bar: 'foo' };\n * let config_1 = { foo: 'foo', bar: 'bar' };\n * let result = assignWithDepth(config_0, config_1);\n * console.log(result);\n * //-> result: { foo: { bar: 'bar' }, bar: 'bar' }\n * ```\n *

\n * Traditional Object.assign would have clobbered foo in config_0 with foo in config_1.\n *

\n * If src is a destructured array of objects and dst is not an array, assignWithDepth will apply each element of src to dst\n * in order.\n * @param dst:any - the destination of the merge\n * @param src:any - the source object(s) to merge into destination\n * @param config:{ depth: number, clobber: boolean } - depth: depth to traverse within src and dst for merging -\n * clobber: should dissimilar types clobber (default: { depth: 2, clobber: false })\n * @returns {*}\n */\n\nexport var assignWithDepth = function assignWithDepth(dst, src, config) {\n var _Object$assign = Object.assign({\n depth: 2,\n clobber: false\n }, config),\n depth = _Object$assign.depth,\n clobber = _Object$assign.clobber;\n\n if (Array.isArray(src) && !Array.isArray(dst)) {\n src.forEach(function (s) {\n return assignWithDepth(dst, s, config);\n });\n return dst;\n } else if (Array.isArray(src) && Array.isArray(dst)) {\n src.forEach(function (s) {\n if (dst.indexOf(s) === -1) {\n dst.push(s);\n }\n });\n return dst;\n }\n\n if (typeof dst === 'undefined' || depth <= 0) {\n if (dst !== undefined && dst !== null && _typeof(dst) === 'object' && _typeof(src) === 'object') {\n return Object.assign(dst, src);\n } else {\n return src;\n }\n }\n\n if (typeof src !== 'undefined' && _typeof(dst) === 'object' && _typeof(src) === 'object') {\n Object.keys(src).forEach(function (key) {\n if (_typeof(src[key]) === 'object' && (dst[key] === undefined || _typeof(dst[key]) === 'object')) {\n if (dst[key] === undefined) {\n dst[key] = Array.isArray(src[key]) ? [] : {};\n }\n\n dst[key] = assignWithDepth(dst[key], src[key], {\n depth: depth - 1,\n clobber: clobber\n });\n } else if (clobber || _typeof(dst[key]) !== 'object' && _typeof(src[key]) !== 'object') {\n dst[key] = src[key];\n }\n });\n }\n\n return dst;\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n anchor: 'start',\n style: '#666',\n width: 100,\n height: 100,\n textMargin: 0,\n rx: 0,\n ry: 0,\n valign: undefined\n };\n};\nexport var drawSimpleText = function drawSimpleText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(common.lineBreakRegex, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.style('text-anchor', textData.anchor);\n textElem.style('font-family', textData.fontFamily);\n textElem.style('font-size', textData.fontSize);\n textElem.style('font-weight', textData.fontWeight);\n textElem.attr('fill', textData.fill);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.attr('fill', textData.fill);\n span.text(nText);\n return textElem;\n};\nexport var wrapLabel = memoize(function (label, maxWidth, config) {\n if (!label) {\n return label;\n }\n\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n joinWith: '
'\n }, config);\n\n if (common.lineBreakRegex.test(label)) {\n return label;\n }\n\n var words = label.split(' ');\n var completedLines = [];\n var nextLine = '';\n words.forEach(function (word, index) {\n var wordLength = calculateTextWidth(\"\".concat(word, \" \"), config);\n var nextLineLength = calculateTextWidth(nextLine, config);\n\n if (wordLength > maxWidth) {\n var _breakString = breakString(word, maxWidth, '-', config),\n hyphenatedStrings = _breakString.hyphenatedStrings,\n remainingWord = _breakString.remainingWord;\n\n completedLines.push.apply(completedLines, [nextLine].concat(_toConsumableArray(hyphenatedStrings)));\n nextLine = remainingWord;\n } else if (nextLineLength + wordLength >= maxWidth) {\n completedLines.push(nextLine);\n nextLine = word;\n } else {\n nextLine = [nextLine, word].filter(Boolean).join(' ');\n }\n\n var currentWord = index + 1;\n var isLastWord = currentWord === words.length;\n\n if (isLastWord) {\n completedLines.push(nextLine);\n }\n });\n return completedLines.filter(function (line) {\n return line !== '';\n }).join(config.joinWith);\n}, function (label, maxWidth, config) {\n return \"\".concat(label, \"-\").concat(maxWidth, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily, \"-\").concat(config.joinWith);\n});\nvar breakString = memoize(function (word, maxWidth) {\n var hyphenCharacter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-';\n var config = arguments.length > 3 ? arguments[3] : undefined;\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n margin: 0\n }, config);\n var characters = word.split('');\n var lines = [];\n var currentLine = '';\n characters.forEach(function (character, index) {\n var nextLine = \"\".concat(currentLine).concat(character);\n var lineWidth = calculateTextWidth(nextLine, config);\n\n if (lineWidth >= maxWidth) {\n var currentCharacter = index + 1;\n var isLastLine = characters.length === currentCharacter;\n var hyphenatedNextLine = \"\".concat(nextLine).concat(hyphenCharacter);\n lines.push(isLastLine ? nextLine : hyphenatedNextLine);\n currentLine = '';\n } else {\n currentLine = nextLine;\n }\n });\n return {\n hyphenatedStrings: lines,\n remainingWord: currentLine\n };\n}, function (word, maxWidth) {\n var hyphenCharacter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-';\n var config = arguments.length > 3 ? arguments[3] : undefined;\n return \"\".concat(word, \"-\").concat(maxWidth, \"-\").concat(hyphenCharacter, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily);\n});\n/**\n * This calculates the text's height, taking into account the wrap breaks and\n * both the statically configured height, width, and the length of the text (in pixels).\n *\n * If the wrapped text text has greater height, we extend the height, so it's\n * value won't overflow.\n *\n * @return - The height for the given text\n * @param text the text to measure\n * @param config - the config for fontSize, fontFamily, and fontWeight all impacting the resulting size\n */\n\nexport var calculateTextHeight = function calculateTextHeight(text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n margin: 15\n }, config);\n return calculateTextDimensions(text, config).height;\n};\n/**\n * This calculates the width of the given text, font size and family.\n *\n * @return - The width for the given text\n * @param text - The text to calculate the width of\n * @param config - the config for fontSize, fontFamily, and fontWeight all impacting the resulting size\n */\n\nexport var calculateTextWidth = function calculateTextWidth(text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial'\n }, config);\n return calculateTextDimensions(text, config).width;\n};\n/**\n * This calculates the dimensions of the given text, font size, font family, font weight, and margins.\n *\n * @return - The width for the given text\n * @param text - The text to calculate the width of\n * @param config - the config for fontSize, fontFamily, fontWeight, and margin all impacting the resulting size\n */\n\nexport var calculateTextDimensions = memoize(function (text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial'\n }, config);\n var _config = config,\n fontSize = _config.fontSize,\n fontFamily = _config.fontFamily,\n fontWeight = _config.fontWeight;\n\n if (!text) {\n return {\n width: 0,\n height: 0\n };\n } // We can't really know if the user supplied font family will render on the user agent;\n // thus, we'll take the max width between the user supplied font family, and a default\n // of sans-serif.\n\n\n var fontFamilies = ['sans-serif', fontFamily];\n var lines = text.split(common.lineBreakRegex);\n var dims = [];\n var body = select('body'); // We don't want to leak DOM elements - if a removal operation isn't available\n // for any reason, do not continue.\n\n if (!body.remove) {\n return {\n width: 0,\n height: 0,\n lineHeight: 0\n };\n }\n\n var g = body.append('svg');\n\n for (var _i = 0, _fontFamilies = fontFamilies; _i < _fontFamilies.length; _i++) {\n var _fontFamily = _fontFamilies[_i];\n var cheight = 0;\n var dim = {\n width: 0,\n height: 0,\n lineHeight: 0\n };\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = lines[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var line = _step.value;\n var textObj = getTextObj();\n textObj.text = line;\n var textElem = drawSimpleText(g, textObj).style('font-size', fontSize).style('font-weight', fontWeight).style('font-family', _fontFamily);\n var bBox = (textElem._groups || textElem)[0][0].getBBox();\n dim.width = Math.round(Math.max(dim.width, bBox.width));\n cheight = Math.round(bBox.height);\n dim.height += cheight;\n dim.lineHeight = Math.round(Math.max(dim.lineHeight, cheight));\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n dims.push(dim);\n }\n\n g.remove();\n var index = isNaN(dims[1].height) || isNaN(dims[1].width) || isNaN(dims[1].lineHeight) || dims[0].height > dims[1].height && dims[0].width > dims[1].width && dims[0].lineHeight > dims[1].lineHeight ? 0 : 1;\n return dims[index];\n}, function (text, config) {\n return \"\".concat(text, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily);\n});\nexport default {\n assignWithDepth: assignWithDepth,\n wrapLabel: wrapLabel,\n calculateTextHeight: calculateTextHeight,\n calculateTextWidth: calculateTextWidth,\n calculateTextDimensions: calculateTextDimensions,\n detectInit: detectInit,\n detectDirective: detectDirective,\n detectType: detectType,\n isSubstringInArray: isSubstringInArray,\n interpolateToCurve: interpolateToCurve,\n calcLabelPosition: calcLabelPosition,\n calcCardinalityPosition: calcCardinalityPosition,\n formatUrl: formatUrl,\n getStylesFromArray: getStylesFromArray,\n generateId: generateId,\n random: random,\n memoize: memoize,\n runFunc: runFunc\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "index": 2, "index2": 923, "size": 19471, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } } ], "profile": { "factory": 469, "building": 134, "dependencies": 1692 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../mermaidAPI", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./mermaidAPI", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../mermaidAPI", "loc": "14:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "35:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "73:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "79:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "108:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "135:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "147:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "161:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "169:15-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "190:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "191:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "192:10-20" } ], "usedExports": [ "default" ], "providedExports": [ "encodeEntities", "decodeEntities", "default" ], "optimizationBailout": [], "depth": 1, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * This is the api to be used when optionally handling the integration with the web page, instead of using the default integration provided by mermaid.js.\n *\n * The core of this api is the [**render**](https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#render) function which, given a graph\n * definition as text, renders the graph/diagram and returns an svg element for the graph.\n *\n * It is is then up to the user of the API to make use of the svg, either insert it somewhere in the page or do something completely different.\n *\n * In addition to the render function, a number of behavioral configuration options are available.\n *\n * @name mermaidAPI\n */\nimport { select } from 'd3';\nimport scope from 'scope-css';\nimport pkg from '../package.json';\nimport { setConfig, getConfig, setSiteConfig, getSiteConfig } from './config';\nimport { logger, setLogLevel } from './logger';\nimport utils, { assignWithDepth } from './utils';\nimport flowRenderer from './diagrams/flowchart/flowRenderer';\nimport flowRendererV2 from './diagrams/flowchart/flowRenderer-v2';\nimport flowParser from './diagrams/flowchart/parser/flow';\nimport flowDb from './diagrams/flowchart/flowDb';\nimport sequenceRenderer from './diagrams/sequence/sequenceRenderer';\nimport sequenceParser from './diagrams/sequence/parser/sequenceDiagram';\nimport sequenceDb from './diagrams/sequence/sequenceDb';\nimport ganttRenderer from './diagrams/gantt/ganttRenderer';\nimport ganttParser from './diagrams/gantt/parser/gantt';\nimport ganttDb from './diagrams/gantt/ganttDb';\nimport classRenderer from './diagrams/class/classRenderer';\nimport classParser from './diagrams/class/parser/classDiagram';\nimport classDb from './diagrams/class/classDb';\nimport stateRenderer from './diagrams/state/stateRenderer';\nimport stateRendererV2 from './diagrams/state/stateRenderer-v2';\nimport stateParser from './diagrams/state/parser/stateDiagram';\nimport stateDb from './diagrams/state/stateDb';\nimport gitGraphRenderer from './diagrams/git/gitGraphRenderer';\nimport gitGraphParser from './diagrams/git/parser/gitGraph';\nimport gitGraphAst from './diagrams/git/gitGraphAst';\nimport infoRenderer from './diagrams/info/infoRenderer';\nimport errorRenderer from './errorRenderer';\nimport infoParser from './diagrams/info/parser/info';\nimport infoDb from './diagrams/info/infoDb';\nimport pieRenderer from './diagrams/pie/pieRenderer';\nimport pieParser from './diagrams/pie/parser/pie';\nimport pieDb from './diagrams/pie/pieDb';\nimport erDb from './diagrams/er/erDb';\nimport erParser from './diagrams/er/parser/erDiagram';\nimport erRenderer from './diagrams/er/erRenderer';\nimport journeyParser from './diagrams/user-journey/parser/journey';\nimport journeyDb from './diagrams/user-journey/journeyDb';\nimport journeyRenderer from './diagrams/user-journey/journeyRenderer';\nimport configApi from './config';\nvar themes = {};\n\nfor (var _i = 0, _arr = ['default', 'forest', 'dark', 'neutral']; _i < _arr.length; _i++) {\n var themeName = _arr[_i];\n themes[themeName] = require(\"./themes/\".concat(themeName, \"/index.scss\"));\n}\n\nfunction parse(text) {\n var graphInit = utils.detectInit(text);\n\n if (graphInit) {\n reinitialize(graphInit);\n logger.debug('reinit ', graphInit);\n }\n\n var graphType = utils.detectType(text);\n var parser;\n logger.debug('Type ' + graphType);\n\n switch (graphType) {\n case 'git':\n parser = gitGraphParser;\n parser.parser.yy = gitGraphAst;\n break;\n\n case 'flowchart':\n flowDb.clear();\n parser = flowParser;\n parser.parser.yy = flowDb;\n break;\n\n case 'flowchart-v2':\n flowDb.clear();\n parser = flowParser;\n parser.parser.yy = flowDb;\n break;\n\n case 'sequence':\n parser = sequenceParser;\n parser.parser.yy = sequenceDb;\n break;\n\n case 'gantt':\n parser = ganttParser;\n parser.parser.yy = ganttDb;\n break;\n\n case 'class':\n parser = classParser;\n parser.parser.yy = classDb;\n break;\n\n case 'state':\n parser = stateParser;\n parser.parser.yy = stateDb;\n break;\n\n case 'stateDiagram':\n parser = stateParser;\n parser.parser.yy = stateDb;\n break;\n\n case 'info':\n logger.debug('info info info');\n parser = infoParser;\n parser.parser.yy = infoDb;\n break;\n\n case 'pie':\n logger.debug('pie');\n parser = pieParser;\n parser.parser.yy = pieDb;\n break;\n\n case 'er':\n logger.debug('er');\n parser = erParser;\n parser.parser.yy = erDb;\n break;\n\n case 'journey':\n logger.debug('Journey');\n parser = journeyParser;\n parser.parser.yy = journeyDb;\n break;\n }\n\n parser.parser.yy.graphType = graphType;\n\n parser.parser.yy.parseError = function (str, hash) {\n var error = {\n str: str,\n hash: hash\n };\n throw error;\n };\n\n parser.parse(text);\n return parser;\n}\n\nexport var encodeEntities = function encodeEntities(text) {\n var txt = text;\n txt = txt.replace(/style.*:\\S*#.*;/g, function (s) {\n var innerTxt = s.substring(0, s.length - 1);\n return innerTxt;\n });\n txt = txt.replace(/classDef.*:\\S*#.*;/g, function (s) {\n var innerTxt = s.substring(0, s.length - 1);\n return innerTxt;\n });\n txt = txt.replace(/#\\w+;/g, function (s) {\n var innerTxt = s.substring(1, s.length - 1);\n var isInt = /^\\+?\\d+$/.test(innerTxt);\n\n if (isInt) {\n return 'fl°°' + innerTxt + '¶ß';\n } else {\n return 'fl°' + innerTxt + '¶ß';\n }\n });\n return txt;\n};\nexport var decodeEntities = function decodeEntities(text) {\n var txt = text;\n txt = txt.replace(/fl°°/g, function () {\n return '&#';\n });\n txt = txt.replace(/fl°/g, function () {\n return '&';\n });\n txt = txt.replace(/¶ß/g, function () {\n return ';';\n });\n return txt;\n};\n/**\n * Function that renders an svg with a graph from a chart definition. Usage example below.\n *\n * ```js\n * mermaidAPI.initialize({\n * startOnLoad:true\n * });\n * $(function(){\n * const graphDefinition = 'graph TB\\na-->b';\n * const cb = function(svgGraph){\n * console.log(svgGraph);\n * };\n * mermaidAPI.render('id1',graphDefinition,cb);\n * });\n *```\n * @param id the id of the element to be rendered\n * @param _txt the graph definition\n * @param cb callback which is called after rendering is finished with the svg code as inparam.\n * @param container selector to element in which a div with the graph temporarily will be inserted. In one is\n * provided a hidden div will be inserted in the body of the page instead. The element will be removed when rendering is\n * completed.\n */\n\nvar render = function render(id, _txt, cb, container) {\n var cnf = getConfig(); // Check the maximum allowed text size\n\n var txt = _txt;\n\n if (_txt.length > cnf.maxTextSize) {\n txt = 'graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa';\n }\n\n var graphInit = utils.detectInit(txt);\n\n if (graphInit) {\n reinitialize(graphInit);\n assignWithDepth(cnf, getConfig());\n }\n\n if (typeof container !== 'undefined') {\n container.innerHTML = '';\n select(container).append('div').attr('id', 'd' + id).attr('style', 'font-family: ' + cnf.fontFamily).append('svg').attr('id', id).attr('width', '100%').attr('xmlns', 'http://www.w3.org/2000/svg').append('g');\n } else {\n var existingSvg = document.getElementById(id);\n\n if (existingSvg) {\n existingSvg.remove();\n }\n\n var _element = document.querySelector('#' + 'd' + id);\n\n if (_element) {\n _element.remove();\n }\n\n select('body').append('div').attr('id', 'd' + id).append('svg').attr('id', id).attr('width', '100%').attr('xmlns', 'http://www.w3.org/2000/svg').append('g');\n }\n\n window.txt = txt;\n txt = encodeEntities(txt);\n var element = select('#d' + id).node();\n var graphType = utils.detectType(txt); // insert inline style into svg\n\n var svg = element.firstChild;\n var firstChild = svg.firstChild; // pre-defined theme\n\n var style = themes[cnf.theme];\n\n if (style === undefined) {\n style = '';\n } // user provided theme CSS\n\n\n if (cnf.themeCSS !== undefined) {\n style += \"\\n\".concat(cnf.themeCSS);\n } // user provided theme CSS\n\n\n if (cnf.fontFamily !== undefined) {\n style += \"\\n:root { --mermaid-font-family: \".concat(cnf.fontFamily, \"}\");\n } // user provided theme CSS\n\n\n if (cnf.altFontFamily !== undefined) {\n style += \"\\n:root { --mermaid-alt-font-family: \".concat(cnf.altFontFamily, \"}\");\n } // classDef\n\n\n if (graphType === 'flowchart' || graphType === 'flowchart-v2' || graphType === 'graph') {\n var classes = flowRenderer.getClasses(txt);\n\n for (var className in classes) {\n style += \"\\n.\".concat(className, \" > * { \").concat(classes[className].styles.join(' !important; '), \" !important; }\");\n\n if (classes[className].textStyles) {\n style += \"\\n.\".concat(className, \" tspan { \").concat(classes[className].textStyles.join(' !important; '), \" !important; }\");\n }\n }\n }\n\n var style1 = document.createElement('style');\n style1.innerHTML = scope(style, \"#\".concat(id));\n svg.insertBefore(style1, firstChild); // Verify that the generated svgs are ok before removing this\n // const style2 = document.createElement('style');\n // const cs = window.getComputedStyle(svg);\n // style2.innerHTML = `#d${id} * {\n // color: ${cs.color};\n // // font: ${cs.font};\n // // font-family: Arial;\n // // font-size: 24px;\n // }`;\n // svg.insertBefore(style2, firstChild);\n\n try {\n switch (graphType) {\n case 'git':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n gitGraphRenderer.setConf(cnf.git);\n gitGraphRenderer.draw(txt, id, false);\n break;\n\n case 'flowchart':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n flowRenderer.setConf(cnf.flowchart);\n flowRenderer.draw(txt, id, false);\n break;\n\n case 'flowchart-v2':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n flowRendererV2.setConf(cnf.flowchart);\n flowRendererV2.draw(txt, id, false);\n break;\n\n case 'sequence':\n cnf.sequence.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n\n if (cnf.sequenceDiagram) {\n // backwards compatibility\n sequenceRenderer.setConf(Object.assign(cnf.sequence, cnf.sequenceDiagram));\n console.error('`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.');\n } else {\n sequenceRenderer.setConf(cnf.sequence);\n }\n\n sequenceRenderer.draw(txt, id);\n break;\n\n case 'gantt':\n cnf.gantt.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n ganttRenderer.setConf(cnf.gantt);\n ganttRenderer.draw(txt, id);\n break;\n\n case 'class':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n classRenderer.setConf(cnf.class);\n classRenderer.draw(txt, id);\n break;\n\n case 'state':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n stateRenderer.setConf(cnf.state);\n stateRenderer.draw(txt, id);\n break;\n\n case 'stateDiagram':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n stateRendererV2.setConf(cnf.state);\n stateRendererV2.draw(txt, id);\n break;\n\n case 'info':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n infoRenderer.setConf(cnf.class);\n infoRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'pie':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n pieRenderer.setConf(cnf.class);\n pieRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'er':\n erRenderer.setConf(cnf.er);\n erRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'journey':\n journeyRenderer.setConf(cnf.journey);\n journeyRenderer.draw(txt, id, pkg.version);\n break;\n }\n } catch (e) {\n // errorRenderer.setConf(cnf.class);\n errorRenderer.draw(id, pkg.version);\n throw e;\n }\n\n select(\"[id=\\\"\".concat(id, \"\\\"]\")).selectAll('foreignobject > *').attr('xmlns', 'http://www.w3.org/1999/xhtml'); // if (cnf.arrowMarkerAbsolute) {\n // url =\n // window.location.protocol +\n // '//' +\n // window.location.host +\n // window.location.pathname +\n // window.location.search;\n // url = url.replace(/\\(/g, '\\\\(');\n // url = url.replace(/\\)/g, '\\\\)');\n // }\n // Fix for when the base tag is used\n\n var svgCode = select('#d' + id).node().innerHTML;\n logger.debug('cnf.arrowMarkerAbsolute', cnf.arrowMarkerAbsolute);\n\n if (!cnf.arrowMarkerAbsolute || cnf.arrowMarkerAbsolute === 'false') {\n svgCode = svgCode.replace(/marker-end=\"url\\(.*?#/g, 'marker-end=\"url(#', 'g');\n }\n\n svgCode = decodeEntities(svgCode);\n\n if (typeof cb !== 'undefined') {\n switch (graphType) {\n case 'flowchart':\n case 'flowchart-v2':\n cb(svgCode, flowDb.bindFunctions);\n break;\n\n case 'gantt':\n cb(svgCode, ganttDb.bindFunctions);\n break;\n\n case 'class':\n cb(svgCode, classDb.bindFunctions);\n break;\n\n default:\n cb(svgCode);\n }\n } else {\n logger.debug('CB = undefined!');\n }\n\n var node = select('#d' + id).node();\n\n if (node !== null && typeof node.remove === 'function') {\n select('#d' + id).node().remove();\n }\n\n return svgCode;\n};\n\nvar currentDirective = {};\n\nvar parseDirective = function parseDirective(statement, context, type) {\n try {\n if (statement !== undefined) {\n statement = statement.trim();\n\n switch (context) {\n case 'open_directive':\n currentDirective = {};\n break;\n\n case 'type_directive':\n currentDirective.type = statement.toLowerCase();\n break;\n\n case 'arg_directive':\n currentDirective.args = JSON.parse(statement);\n break;\n\n case 'close_directive':\n handleDirective(currentDirective, type);\n currentDirective = null;\n break;\n }\n }\n } catch (error) {\n logger.error(\"Error while rendering sequenceDiagram directive: \".concat(statement, \" jison context: \").concat(context));\n logger.error(error.message);\n }\n};\n\nvar handleDirective = function handleDirective(directive, type) {\n logger.debug(\"Directive type=\".concat(directive.type, \" with args:\"), directive.args);\n\n switch (directive.type) {\n case 'init':\n case 'initialize':\n {\n ['config'].forEach(function (prop) {\n if (typeof directive.args[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n directive.args[type] = directive.args[prop];\n delete directive.args[prop];\n }\n });\n reinitialize(directive.args);\n break;\n }\n\n case 'wrap':\n case 'nowrap':\n directive.args = {\n config: {\n wrap: directive.type === 'wrap'\n }\n };\n ['config'].forEach(function (prop) {\n if (typeof directive.args[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n directive.args[type] = directive.args[prop];\n delete directive.args[prop];\n }\n });\n reinitialize(directive.args);\n break;\n\n default:\n logger.warn(\"Unhandled directive: source: '%%{\".concat(directive.type, \": \").concat(JSON.stringify(directive.args ? directive.args : {}), \"}%%\"), directive);\n break;\n }\n};\n\nfunction updateRendererConfigs(conf) {\n gitGraphRenderer.setConf(conf.git);\n flowRenderer.setConf(conf.flowchart);\n flowRendererV2.setConf(conf.flowchart);\n\n if (typeof conf['sequenceDiagram'] !== 'undefined') {\n sequenceRenderer.setConf(assignWithDepth(conf.sequence, conf['sequenceDiagram']));\n }\n\n sequenceRenderer.setConf(conf.sequence);\n ganttRenderer.setConf(conf.gantt);\n classRenderer.setConf(conf.class);\n stateRenderer.setConf(conf.state);\n stateRendererV2.setConf(conf.state);\n infoRenderer.setConf(conf.class);\n pieRenderer.setConf(conf.class);\n erRenderer.setConf(conf.er);\n journeyRenderer.setConf(conf.journey);\n errorRenderer.setConf(conf.class);\n}\n\nfunction reinitialize(options) {\n console.log(\"mermaidAPI.reinitialize: v\".concat(pkg.version), options); // Set default options\n\n var config = _typeof(options) === 'object' ? setConfig(options) : getSiteConfig();\n updateRendererConfigs(config);\n setLogLevel(config.logLevel);\n logger.debug('mermaidAPI.reinitialize: ', config);\n}\n\nfunction initialize(options) {\n // console.log(`mermaidAPI.initialize: v${pkg.version}`);\n // Set default options\n var config = _typeof(options) === 'object' ? setSiteConfig(options) : getSiteConfig();\n updateRendererConfigs(config);\n setLogLevel(config.logLevel);\n logger.debug('mermaidAPI.initialize: ', config);\n} // function getConfig () {\n// console.warn('get config')\n// return config\n// }\n\n\nvar mermaidAPI = Object.freeze({\n render: render,\n parse: parse,\n parseDirective: parseDirective,\n initialize: initialize,\n reinitialize: reinitialize,\n getConfig: getConfig,\n getSiteConfig: getSiteConfig,\n reset: function reset() {\n // console.warn('reset');\n configApi.reset();\n var siteConfig = getSiteConfig();\n updateRendererConfigs(siteConfig);\n },\n globalReset: function globalReset() {\n configApi.reset(configApi.defaultConfig);\n updateRendererConfigs(getConfig());\n },\n defaultConfig: configApi.defaultConfig\n});\nsetLogLevel(getConfig().logLevel);\nconfigApi.reset(getConfig());\nexport default mermaidAPI;\n/**\n * ## mermaidAPI configuration defaults\n *

\n *\n * <script>\n *   var config = {\n *     theme:'default',\n *     logLevel:'fatal',\n *     securityLevel:'strict',\n *     startOnLoad:true,\n *     arrowMarkerAbsolute:false,\n *\n *     er:{\n *       diagramPadding:20,\n *       layoutDirection:'TB',\n *       minEntityWidth:100,\n *       minEntityHeight:75,\n *       entityPadding:15,\n *       stroke:'gray',\n *       fill:'honeydew',\n *       fontSize:12,\n *       useMaxWidth:true,\n *     },\n *     flowchart:{\n *       diagramPadding:8,\n *       htmlLabels:true,\n *       curve:'linear',\n *     },\n *     sequence:{\n *       diagramMarginX:50,\n *       diagramMarginY:10,\n *       actorMargin:50,\n *       width:150,\n *       height:65,\n *       boxMargin:10,\n *       boxTextMargin:5,\n *       noteMargin:10,\n *       messageMargin:35,\n *       messageAlign:'center',\n *       mirrorActors:true,\n *       bottomMarginAdj:1,\n *       useMaxWidth:true,\n *       rightAngles:false,\n *       showSequenceNumbers:false,\n *     },\n *     gantt:{\n *       titleTopMargin:25,\n *       barHeight:20,\n *       barGap:4,\n *       topPadding:50,\n *       leftPadding:75,\n *       gridLineStartPadding:35,\n *       fontSize:11,\n *       fontFamily:'\"Open-Sans\", \"sans-serif\"',\n *       numberSectionStyles:4,\n *       axisFormat:'%Y-%m-%d',\n *     }\n *   };\n *   mermaid.initialize(config);\n * </script>\n *
\n */" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/common/common.js", "name": "./src/diagrams/common/common.js", "index": 546, "index2": 543, "size": 1849, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "issuerId": null, "issuerName": "./src/utils.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 1707, "building": 708 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "9:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "9:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/common/common", "loc": "16:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "22:50-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "22:98-104" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "55:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "60:34-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "61:34-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "111:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "150:53-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "170:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "175:30-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "197:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "197:33-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "209:28-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "239:21-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "249:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "271:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "279:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "295:28-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "341:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "391:30-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "436:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "536:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "568:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "708:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "getRows", "removeScript", "sanitizeText", "lineBreakRegex", "hasBreaks", "splitBreaks", "default" ], "optimizationBailout": [], "depth": 2, "source": "export var getRows = function getRows(s) {\n if (!s) return 1;\n var str = breakToPlaceholder(s);\n str = str.replace(/\\\\n/g, '#br#');\n return str.split('#br#');\n};\nexport var removeScript = function removeScript(txt) {\n var rs = '';\n var idx = 0;\n\n while (idx >= 0) {\n idx = txt.indexOf('= 0) {\n rs += txt.substr(0, idx);\n txt = txt.substr(idx + 1);\n idx = txt.indexOf('');\n\n if (idx >= 0) {\n idx += 9;\n txt = txt.substr(idx);\n }\n } else {\n rs += txt;\n idx = -1;\n break;\n }\n }\n\n return rs;\n};\nexport var sanitizeText = function sanitizeText(text, config) {\n var txt = text;\n var htmlLabels = true;\n if (config.flowchart && (config.flowchart.htmlLabels === false || config.flowchart.htmlLabels === 'false')) htmlLabels = false;\n\n if (htmlLabels) {\n var level = config.securityLevel;\n\n if (level == 'antiscript') {\n txt = removeScript(txt);\n } else if (level !== 'loose') {\n // eslint-disable-line\n txt = breakToPlaceholder(txt);\n txt = txt.replace(//g, '>');\n txt = txt.replace(/=/g, '=');\n txt = placeholderToBreak(txt);\n }\n }\n\n return txt;\n};\nexport var lineBreakRegex = //gi;\nexport var hasBreaks = function hasBreaks(text) {\n return //gi.test(text);\n};\nexport var splitBreaks = function splitBreaks(text) {\n return text.split(//gi);\n};\n\nvar breakToPlaceholder = function breakToPlaceholder(s) {\n return s.replace(lineBreakRegex, '#br#');\n};\n\nvar placeholderToBreak = function placeholderToBreak(s) {\n return s.replace(/#br#/g, '
');\n};\n\nexport default {\n getRows: getRows,\n sanitizeText: sanitizeText,\n hasBreaks: hasBreaks,\n splitBreaks: splitBreaks,\n lineBreakRegex: lineBreakRegex,\n removeScript: removeScript\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "name": "./src/config.js", "index": 553, "index2": 550, "size": 29029, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "3:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "6:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "6:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "7:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "7:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "10:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "11:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "12:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:86-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:153-162" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:192-201" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:220-229" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./config", "loc": "18:0-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "20:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:92-101" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:158-167" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "23:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "26:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:117-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:162-171" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:144-153" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:208-217" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:246-255" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "32:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "41:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "41:219-228" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "44:23-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:119-128" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:164-173" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "49:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:64-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:98-107" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:132-141" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./config", "loc": "54:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:52-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:142-151" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:184-193" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "67:35-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:135-144" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:213-222" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:251-260" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "74:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "82:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "85:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "86:19-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "90:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "90:102-111" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "97:124-133" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "137:18-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "139:176-185" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "139:207-216" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "144:18-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "144:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:214-223" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:255-264" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:79-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:108-117" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:150-159" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:178-187" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:207-216" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:249-258" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:277-286" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:306-315" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:86-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:153-162" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:196-205" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:224-233" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "156:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "157:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "159:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "165:128-137" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "165:165-174" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "172:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "173:241-250" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "198:23-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "215:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "220:27-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "221:47-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "227:25-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "233:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "244:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "248:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "253:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "260:39-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "261:33-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "265:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "269:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "288:41-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "289:43-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "306:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "308:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "326:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "331:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "341:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "354:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:91-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:152-161" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:214-223" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:268-277" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "478:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "510:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "545:47-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "545:68-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "554:47-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "554:72-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "570:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "571:17-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "574:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "575:21-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "579:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "579:20-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "580:26-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "582:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "584:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "585:0-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "585:16-25" } ], "usedExports": [ "getConfig", "setConfig", "getSiteConfig", "setSiteConfig", "default" ], "providedExports": [ "defaultConfig", "setSiteConfig", "getSiteConfig", "setConfig", "getConfig", "sanitize", "reset", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { assignWithDepth } from './utils';\nimport { logger } from './logger';\n/**\n * These are the default options which can be overridden with the initialization call like so:\n * **Example 1:**\n *
\n * mermaid.initialize({\n *   flowchart:{\n *     htmlLabels: false\n *   }\n * });\n * 
\n *\n * **Example 2:**\n *
\n * <script>\n *   var config = {\n *     startOnLoad:true,\n *     flowchart:{\n *       useMaxWidth:true,\n *       htmlLabels:true,\n *       curve:'cardinal',\n *     },\n *\n *     securityLevel:'loose',\n *   };\n *   mermaid.initialize(config);\n * </script>\n * 
\n * A summary of all options and their defaults is found [here](https://github.com/knsv/mermaid/blob/master/docs/Setup.md#mermaidapi-configuration-defaults). A description of each option follows below.\n *\n * @name Configuration\n */\n\nvar config = {\n /** theme , the CSS style sheet\n *\n * theme , the CSS style sheet\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| Theme |Built in Themes| String | Optional | Values include, default, forest, dark, neutral, null|\n ***Notes:**To disable any pre-defined mermaid theme, use \"null\".\n *
\n   *  \"theme\": \"forest\",\n   *  \"themeCSS\": \".node rect { fill: red; }\"\n   * 
\n */\n theme: 'default',\n themeCSS: undefined,\n\n /* **maxTextSize** - The maximum allowed size of the users text diamgram */\n maxTextSize: 50000,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *|fontFamily | specifies the font to be used in the rendered diagrams| String | Required | Verdana, Arial, Trebuchet MS,|\n *\n ***notes: Default value is \\\\\"trebuchet ms\\\\\".\n */\n fontFamily: '\"trebuchet ms\", verdana, arial;',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| logLevel |This option decides the amount of logging to be used.| String | Required | 1, 2, 3, 4, 5 |\n *\n *\n ***Notes:**\n *- debug: 1.\n *- info: 2.\n *- warn: 3.\n *- error: 4.\n *- fatal: 5(default).\n */\n logLevel: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| securitylevel | Level of trust for parsed diagram|String | Required | Strict, Loose, antiscript |\n *\n ***Notes:\n *- **strict**: (**default**) tags in text are encoded, click functionality is disabeled\n *- **loose**: tags in text are allowed, click functionality is enabled\n *- **antiscript**: html tags in text are allowed, (only script element is removed), click functionality is enabled\n */\n securityLevel: 'strict',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| startOnLoad| Dictates whether mermaind starts on Page load | Boolean | Required | True, False |\n *\n ***Notes:**\n ***Default value: true**\n */\n startOnLoad: true,\n\n /**\n *| Parameter | Description |Type | Required |Values|\n *| --- | --- | --- | --- | --- |\n *| arrowMarkerAbsolute | Controls whether or arrow markers in html code are absolute paths or anchors | Boolean | Required | True, False |\n *\n *\n *## Notes**: This matters if you are using base tag settings.\n ***Default value: false**.\n */\n arrowMarkerAbsolute: false,\n\n /**\n * This option controls which currentConfig keys are considered _secure_ and can only be changed via\n * call to mermaidAPI.initialize. Calls to mermaidAPI.reinitialize cannot make changes to\n * the `secure` keys in the current currentConfig. This prevents malicious graph directives from\n * overriding a site's default security.\n */\n secure: ['secure', 'securityLevel', 'startOnLoad', 'maxTextSize'],\n\n /**\n * The object containing configurations specific for flowcharts\n */\n flowchart: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramPadding | amount of padding around the diagram as a whole | Integer | Required | Any Positive Value |\n *\n ***Notes:**The amount of padding around the diagram as a whole so that embedded diagrams have margins, expressed in pixels\n ***Default value: 8**.\n */\n diagramPadding: 8,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| htmlLabels | Flag for setting whether or not a html tag should be used for rendering labels on the edges. | Boolean| Required | True, False|\n *\n ***Notes: Default value: true**.\n */\n htmlLabels: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| nodeSpacing | Defines the spacing between nodes on the same level | Integer| Required | Any positive Numbers |\n *\n ***Notes:\n *Pertains to horizontal spacing for TB (top to bottom) or BT (bottom to top) graphs, and the vertical spacing for LR as well as RL graphs.**\n ***Default value 50**.\n */\n nodeSpacing: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rankSpacing | Defines the spacing between nodes on different levels | Integer | Required| Any Positive Numbers |\n *\n ***Notes: pertains to vertical spacing for TB (top to bottom) or BT (bottom to top), and the horizontal spacing for LR as well as RL graphs.\n ***Default value 50**.\n */\n rankSpacing: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| curve | Defines how mermaid renders curves for flowcharts. | String | Required | Basis, Linear, Cardinal|\n *\n ***Notes:\n *Default Vaue: Linear**\n */\n curve: 'linear',\n // Only used in new experimental rendering\n // repreesents the padding between the labels and the shape\n padding: 15\n },\n\n /**\n * The object containing configurations specific for sequence diagrams\n */\n sequence: {\n /**\n * widt of the activation rect\n * **Default value 10**.\n */\n activationWidth: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginX | margin to the right and left of the sequence diagram | Integer | Required | Any Positive Values |\n *\n ***Notes:**\n ***Default value 50**.\n */\n diagramMarginX: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginY | Margin to the over and under the sequence diagram | Integer | Required | Any Positive Values|\n *\n ***Notes:**\n ***Default value 10**.\n */\n diagramMarginY: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorMargin | Margin between actors. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n actorMargin: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| width | Width of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 150**.\n */\n width: 150,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| height | Height of actor boxes | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 65**..\n */\n height: 65,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n ***Default value 10**.\n */\n boxMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxTextMargin| margin around the text in loop/alt/opt boxes | Integer | Required| Any Positive Value|\n *\n ***Notes:**\n *\n ***Default value 5**.\n */\n boxTextMargin: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteMargin | margin around notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n ***Default value 10**.\n */\n noteMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageMargin | Space between messages. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n *Space between messages.\n ***Default value 35**.\n */\n messageMargin: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageAlign | Multiline message alignment | Integer | Required | left, center, right |\n *\n ***Notes:**center **default**\n */\n messageAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| mirrorActors | mirror actors under diagram. | Boolean| Required | True, False |\n *\n ***Notes:**\n *\n ***Default value true**.\n */\n mirrorActors: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| bottomMarginAdj | Prolongs the edge of the diagram downwards. | Integer | Required | Any Positive Value |\n *\n ***Notes:**Depending on css styling this might need adjustment.\n ***Default value 1**.\n */\n bottomMarginAdj: 1,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See Notes | Boolean | Required | True, False |\n *\n ***Notes:**\n *when this flag is set to true, the height and width is set to 100% and is then scaling with the\n *available space. If set to false, the absolute space required is used.\n ***Default value: True**.\n */\n useMaxWidth: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rightAngles | display curve arrows as right angles| Boolean | Required | True, False |\n *\n ***Notes:**\n *\n *This will display arrows that start and begin at the same node as right angles, rather than a curve\n ***Default value false**.\n */\n rightAngles: false,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| showSequenceNumbers | This will show the node numbers | Boolean | Required | True, False |\n *\n ***Notes:**\n ***Default value false**.\n */\n showSequenceNumbers: false,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorFontSize| This sets the font size of the actor's description | Integer | Require | Any Positive Value |\n *\n ***Notes:**\n ***Default value 14**..\n */\n actorFontSize: 14,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorFontFamily |This sets the font family of the actor's description | 3 | 4 | Open-Sans, Sans-Serif |\n *\n ***Notes:**\n ***Default value \"Open-Sans\", \"sans-serif\"**.\n */\n actorFontFamily: '\"Open-Sans\", \"sans-serif\"',\n\n /**\n * This sets the font weight of the actor's description\n * **Default value 400.\n */\n actorFontWeight: 400,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteFontSize |This sets the font size of actor-attached notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 14**..\n */\n noteFontSize: 14,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteFontFamily| This sets the font family of actor-attached notes. | String | Required | trebuchet ms, verdana, arial |\n *\n ***Notes:**\n ***Default value: trebuchet ms **.\n */\n noteFontFamily: '\"trebuchet ms\", verdana, arial',\n\n /**\n * This sets the font weight of the note's description\n * **Default value 400.\n */\n noteFontWeight: 400,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteAlign | This sets the text alignment of actor-attached notes. | string | required | left, center, right|\n *\n ***Notes:**\n ***Default value center**.\n */\n noteAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageFontSize | This sets the font size of actor messages. | Integer | Required | Any Positive Number |\n *\n ***Notes:**\n ***Default value 16**.\n */\n messageFontSize: 16,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageFontFamily | This sets the font family of actor messages. | String| Required | trebuchet ms\", verdana, aria |\n *\n ***Notes:**\n ***Default value:\"trebuchet ms**.\n */\n messageFontFamily: '\"trebuchet ms\", verdana, arial',\n\n /**\n * This sets the font weight of the message's description\n * **Default value 400.\n */\n messageFontWeight: 400,\n\n /**\n * This sets the auto-wrap state for the diagram\n * **Default value false.\n */\n wrap: false,\n\n /**\n * This sets the auto-wrap padding for the diagram (sides only)\n * **Default value 10.\n */\n wrapPadding: 10,\n\n /**\n * This sets the width of the loop-box (loop, alt, opt, par)\n * **Default value 50.\n */\n labelBoxWidth: 50,\n\n /**\n * This sets the height of the loop-box (loop, alt, opt, par)\n * **Default value 20.\n */\n labelBoxHeight: 20,\n messageFont: function messageFont() {\n return {\n fontFamily: this.messageFontFamily,\n fontSize: this.messageFontSize,\n fontWeight: this.messageFontWeight\n };\n },\n noteFont: function noteFont() {\n return {\n fontFamily: this.noteFontFamily,\n fontSize: this.noteFontSize,\n fontWeight: this.noteFontWeight\n };\n },\n actorFont: function actorFont() {\n return {\n fontFamily: this.actorFontFamily,\n fontSize: this.actorFontSize,\n fontWeight: this.actorFontWeight\n };\n }\n },\n\n /**\n * The object containing configurations specific for gantt diagrams*\n */\n gantt: {\n /**\n *### titleTopMargin\n *\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| titleTopMargin | Margin top for the text over the gantt diagram | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 25**.\n */\n titleTopMargin: 25,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| barHeight | The height of the bars in the graph | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 20**.\n */\n barHeight: 20,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| barGap | The margin between the different activities in the gantt diagram. | Integer | Optional |Any Positive Value |\n *\n ***Notes:**\n ***Default value 4**.\n */\n barGap: 4,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| topPadding | Margin between title and gantt diagram and between axis and gantt diagram. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n topPadding: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| leftPadding | The space allocated for the section name to the left of the activities. | Integer| Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 75**.\n */\n leftPadding: 75,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| gridLineStartPadding | Vertical starting position of the grid lines. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 35**.\n */\n gridLineStartPadding: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontSize | Font size| Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 11**.\n */\n fontSize: 11,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontFamily | font Family | string | required |\"Open-Sans\", \"sans-serif\" |\n *\n ***Notes:**\n *\n ***Default value '\"Open-Sans\", \"sans-serif\"'**.\n */\n fontFamily: '\"Open-Sans\", \"sans-serif\"',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| numberSectionStyles | The number of alternating section styles | Integer | 4 | Any Positive Value |\n *\n ***Notes:**\n ***Default value 4**.\n */\n numberSectionStyles: 4,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| axisFormat | Datetime format of the axis. | 3 | Required | Date in yy-mm-dd |\n *\n ***Notes:**\n *\n * This might need adjustment to match your locale and preferences\n ***Default value '%Y-%m-%d'**.\n */\n axisFormat: '%Y-%m-%d'\n },\n\n /**\n * The object containing configurations specific for sequence diagrams\n */\n journey: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginX | margin to the right and left of the sequence diagram | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n diagramMarginX: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginY | margin to the over and under the sequence diagram. | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 10**..\n */\n diagramMarginY: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorMargin | Margin between actors. | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 50**.\n */\n actorMargin: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| width | Width of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 150**.\n */\n width: 150,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| height | Height of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 65**.\n */\n height: 65,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 10**.\n */\n boxMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxTextMargin | margin around the text in loop/alt/opt boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n */\n boxTextMargin: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteMargin | margin around notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 10**.\n */\n noteMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageMargin |Space between messages. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n *Space between messages.\n ***Default value 35**.\n */\n messageMargin: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageAlign |Multiline message alignment | 3 | 4 | left, center, right |\n *\n ***Notes:**default:center**\n */\n messageAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| bottomMarginAdj | Prolongs the edge of the diagram downwards. | Integer | 4 | Any Positive Value |\n *\n ***Notes:**Depending on css styling this might need adjustment.\n ***Default value 1**.\n */\n bottomMarginAdj: 1,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See notes | Boolean | 4 | True, False |\n *\n ***Notes:**when this flag is set the height and width is set to 100% and is then scaling with the\n *available space if not the absolute space required is used.\n *\n ***Default value true**.\n */\n useMaxWidth: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rightAngles | Curved Arrows become Right Angles, | 3 | 4 | True, False |\n *\n ***Notes:**This will display arrows that start and begin at the same node as right angles, rather than a curves\n ***Default value false**.\n */\n rightAngles: false\n },\n class: {\n arrowMarkerAbsolute: false\n },\n git: {\n arrowMarkerAbsolute: false\n },\n state: {\n dividerMargin: 10,\n sizeUnit: 5,\n padding: 8,\n textHeight: 10,\n titleShift: -15,\n noteMargin: 10,\n forkWidth: 70,\n forkHeight: 7,\n // Used\n miniPadding: 2,\n // Font size factor, this is used to guess the width of the edges labels before rendering by dagre\n // layout. This might need updating if/when switching font\n fontSizeFactor: 5.02,\n fontSize: 24,\n labelHeight: 16,\n edgeLengthFactor: '20',\n compositTitleSize: 35,\n radius: 5\n },\n\n /**\n * The object containing configurations specific for entity relationship diagrams\n */\n er: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramPadding | amount of padding around the diagram as a whole | Integer | Required | Any Positive Value |\n *\n ***Notes:**The amount of padding around the diagram as a whole so that embedded diagrams have margins, expressed in pixels\n ***Default value: 20**.\n */\n diagramPadding: 20,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| layoutDirection | Directional bias for layout of entities. | String | Required | \"TB\", \"BT\",\"LR\",\"RL\" |\n *\n ***Notes:**\n *'TB' for Top-Bottom, 'BT'for Bottom-Top, 'LR' for Left-Right, or 'RL' for Right to Left.\n * T = top, B = bottom, L = left, and R = right.\n ***Default value: TB **.\n */\n layoutDirection: 'TB',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| minEntityWidth | The mimimum width of an entity box, | Integer | Required| Any Positive Value |\n *\n ***Notes:**expressed in pixels\n ***Default value: 100**.\n */\n minEntityWidth: 100,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| minEntityHeight| The minimum height of an entity box, | Integer | 4 | Any Positive Value |\n *\n ***Notes:**expressed in pixels\n ***Default value: 75 **\n */\n minEntityHeight: 75,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| entityPadding|minimum internal padding betweentext in box and box borders| Integer | 4 | Any Positive Value |\n *\n ***Notes:**The minimum internal padding betweentext in an entity box and the enclosing box borders, expressed in pixels.\n ***Default value: 15 **\n */\n entityPadding: 15,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| stroke | Stroke color of box edges and lines | String | 4 | Any recognized color |\n ***Default value: gray **\n */\n stroke: 'gray',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fill | Fill color of entity boxes | String | 4 | Any recognized color |\n *\n ***Notes:**\n ***Default value:'honeydew'**\n */\n fill: 'honeydew',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontSize| Font Size in pixels| Integer | | Any Positive Value |\n *\n ***Notes:**Font size (expressed as an integer representing a number of pixels)\n ***Default value: 12 **\n */\n fontSize: 12,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See Notes | Boolean | Required | true, false |\n *\n ***Notes:**\n *When this flag is set to true, the diagram width is locked to 100% and\n *scaled based on available space. If set to false, the diagram reserves its\n *absolute width.\n ***Default value: true**.\n */\n useMaxWidth: true\n }\n};\nconfig.class.arrowMarkerAbsolute = config.arrowMarkerAbsolute;\nconfig.git.arrowMarkerAbsolute = config.arrowMarkerAbsolute;\nexport var defaultConfig = Object.freeze(config);\nvar siteConfig = assignWithDepth({}, defaultConfig);\nvar currentConfig = assignWithDepth({}, defaultConfig);\n/**\n * Sets the siteConfig. The siteConfig is a protected configuration for repeat use. Calls to reset() will reset\n * the currentConfig to siteConfig. Calls to reset(configApi.defaultConfig) will reset siteConfig and currentConfig\n * to the defaultConfig\n * Note: currentConfig is set in this function\n * @param conf - the base currentConfig to use as siteConfig\n * @returns {*} - the siteConfig\n */\n\nexport var setSiteConfig = function setSiteConfig(conf) {\n assignWithDepth(currentConfig, conf, {\n clobber: true\n });\n assignWithDepth(siteConfig, conf);\n return getSiteConfig();\n};\n/**\n * Obtains the current siteConfig base configuration\n * @returns {*}\n */\n\nexport var getSiteConfig = function getSiteConfig() {\n return assignWithDepth({}, siteConfig);\n};\n/**\n * Sets the currentConfig. The param conf is sanitized based on the siteConfig.secure keys. Any\n * values found in conf with key found in siteConfig.secure will be replaced with the corresponding\n * siteConfig value.\n * @param conf - the potential currentConfig\n * @returns {*} - the currentConfig merged with the sanitized conf\n */\n\nexport var setConfig = function setConfig(conf) {\n sanitize(conf);\n assignWithDepth(currentConfig, conf);\n return getConfig();\n};\n/**\n * Obtains the currentConfig\n * @returns {*} - the currentConfig\n */\n\nexport var getConfig = function getConfig() {\n return assignWithDepth({}, currentConfig);\n};\n/**\n * Ensures options parameter does not attempt to override siteConfig secure keys\n * Note: modifies options in-place\n * @param options - the potential setConfig parameter\n */\n\nexport var sanitize = function sanitize(options) {\n Object.keys(siteConfig.secure).forEach(function (key) {\n if (typeof options[siteConfig.secure[key]] !== 'undefined') {\n // DO NOT attempt to print options[siteConfig.secure[key]] within `${}` as a malicious script\n // can exploit the logger's attempt to stringify the value and execute arbitrary code\n logger.warn(\"Denied attempt to modify a secure key \".concat(siteConfig.secure[key]), options[siteConfig.secure[key]]);\n delete options[siteConfig.secure[key]];\n }\n });\n};\n/**\n * Resets this currentConfig to conf\n * @param conf - the base currentConfig to reset to (default: current siteConfig )\n */\n\nexport var reset = function reset() {\n var conf = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getSiteConfig();\n Object.keys(siteConfig).forEach(function (key) {\n return delete siteConfig[key];\n });\n Object.keys(currentConfig).forEach(function (key) {\n return delete currentConfig[key];\n });\n assignWithDepth(siteConfig, conf, {\n clobber: true\n });\n assignWithDepth(currentConfig, conf, {\n clobber: true\n });\n};\nvar configApi = Object.freeze({\n sanitize: sanitize,\n setSiteConfig: setSiteConfig,\n getSiteConfig: getSiteConfig,\n setConfig: setConfig,\n getConfig: getConfig,\n reset: reset,\n defaultConfig: defaultConfig\n});\nexport default configApi;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "name": "./src/diagrams/flowchart/flowDb.js", "index": 552, "index2": 551, "size": 18389, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./flowDb", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "./flowDb", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowDb", "loc": "24:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "81:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "83:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "87:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "89:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "272:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "276:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "279:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "292:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "294:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "294:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "296:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "302:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "305:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "315:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "317:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "325:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "325:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "329:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "333:13-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "334:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "348:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "354:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "358:13-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "359:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "372:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "383:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "392:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "402:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "415:20-26" } ], "usedExports": [ "default" ], "providedExports": [ "addVertex", "addSingleLink", "addLink", "updateLinkInterpolate", "updateLink", "addClass", "setDirection", "setClass", "setLink", "getTooltip", "setClickEvent", "bindFunctions", "getDirection", "getVertices", "getEdges", "getClasses", "clear", "defaultStyle", "addSubGraph", "getDepthFirstPos", "indexNodes", "getSubGraphs", "firstGraph", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { select } from 'd3';\nimport { logger } from '../../logger'; // eslint-disable-line\n\nimport utils from '../../utils';\nimport { getConfig } from '../../config';\nimport common from '../common/common'; // const MERMAID_DOM_ID_PREFIX = 'mermaid-dom-id-';\n\nvar MERMAID_DOM_ID_PREFIX = '';\nvar config = getConfig();\nvar vertices = {};\nvar edges = [];\nvar classes = [];\nvar subGraphs = [];\nvar subGraphLookup = {};\nvar tooltips = {};\nvar subCount = 0;\nvar firstGraphFlag = true;\nvar direction; // Functions to be run after graph rendering\n\nvar funs = [];\n/**\n * Function called by parser when a node definition has been found\n * @param id\n * @param text\n * @param type\n * @param style\n * @param classes\n */\n\nexport var addVertex = function addVertex(_id, text, type, style, classes) {\n var txt;\n var id = _id;\n\n if (typeof id === 'undefined') {\n return;\n }\n\n if (id.trim().length === 0) {\n return;\n }\n\n if (id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] === 'undefined') {\n vertices[id] = {\n id: id,\n styles: [],\n classes: []\n };\n }\n\n if (typeof text !== 'undefined') {\n txt = common.sanitizeText(text.trim(), config); // strip quotes if string starts and ends with a quote\n\n if (txt[0] === '\"' && txt[txt.length - 1] === '\"') {\n txt = txt.substring(1, txt.length - 1);\n }\n\n vertices[id].text = txt;\n } else {\n if (typeof vertices[id].text === 'undefined') {\n vertices[id].text = _id;\n }\n }\n\n if (typeof type !== 'undefined') {\n vertices[id].type = type;\n }\n\n if (typeof style !== 'undefined') {\n if (style !== null) {\n style.forEach(function (s) {\n vertices[id].styles.push(s);\n });\n }\n }\n\n if (typeof classes !== 'undefined') {\n if (classes !== null) {\n classes.forEach(function (s) {\n vertices[id].classes.push(s);\n });\n }\n }\n};\n/**\n * Function called by parser when a link/edge definition has been found\n * @param start\n * @param end\n * @param type\n * @param linktext\n */\n\nexport var addSingleLink = function addSingleLink(_start, _end, type, linktext) {\n var start = _start;\n var end = _end;\n if (start[0].match(/\\d/)) start = MERMAID_DOM_ID_PREFIX + start;\n if (end[0].match(/\\d/)) end = MERMAID_DOM_ID_PREFIX + end; // logger.info('Got edge...', start, end);\n\n var edge = {\n start: start,\n end: end,\n type: undefined,\n text: ''\n };\n linktext = type.text;\n\n if (typeof linktext !== 'undefined') {\n edge.text = common.sanitizeText(linktext.trim(), config); // strip quotes if string starts and exnds with a quote\n\n if (edge.text[0] === '\"' && edge.text[edge.text.length - 1] === '\"') {\n edge.text = edge.text.substring(1, edge.text.length - 1);\n }\n }\n\n if (typeof type !== 'undefined') {\n edge.type = type.type;\n edge.stroke = type.stroke;\n }\n\n edges.push(edge);\n};\nexport var addLink = function addLink(_start, _end, type, linktext) {\n var i, j;\n\n for (i = 0; i < _start.length; i++) {\n for (j = 0; j < _end.length; j++) {\n addSingleLink(_start[i], _end[j], type, linktext);\n }\n }\n};\n/**\n * Updates a link's line interpolation algorithm\n * @param pos\n * @param interpolate\n */\n\nexport var updateLinkInterpolate = function updateLinkInterpolate(positions, interp) {\n positions.forEach(function (pos) {\n if (pos === 'default') {\n edges.defaultInterpolate = interp;\n } else {\n edges[pos].interpolate = interp;\n }\n });\n};\n/**\n * Updates a link with a style\n * @param pos\n * @param style\n */\n\nexport var updateLink = function updateLink(positions, style) {\n positions.forEach(function (pos) {\n if (pos === 'default') {\n edges.defaultStyle = style;\n } else {\n if (utils.isSubstringInArray('fill', style) === -1) {\n style.push('fill:none');\n }\n\n edges[pos].style = style;\n }\n });\n};\nexport var addClass = function addClass(id, style) {\n if (typeof classes[id] === 'undefined') {\n classes[id] = {\n id: id,\n styles: [],\n textStyles: []\n };\n }\n\n if (typeof style !== 'undefined') {\n if (style !== null) {\n style.forEach(function (s) {\n if (s.match('color')) {\n var newStyle1 = s.replace('fill', 'bgFill');\n var newStyle2 = newStyle1.replace('color', 'fill');\n classes[id].textStyles.push(newStyle2);\n }\n\n classes[id].styles.push(s);\n });\n }\n }\n};\n/**\n * Called by parser when a graph definition is found, stores the direction of the chart.\n * @param dir\n */\n\nexport var setDirection = function setDirection(dir) {\n direction = dir;\n\n if (direction.match(/.*/)) {\n direction = 'LR';\n }\n\n if (direction.match(/.*v/)) {\n direction = 'TB';\n }\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setClass = function setClass(ids, className) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] !== 'undefined') {\n vertices[id].classes.push(className);\n }\n\n if (typeof subGraphLookup[id] !== 'undefined') {\n subGraphLookup[id].classes.push(className);\n }\n });\n};\n\nvar setTooltip = function setTooltip(ids, tooltip) {\n ids.split(',').forEach(function (id) {\n if (typeof tooltip !== 'undefined') {\n tooltips[id] = common.sanitizeText(tooltip, config);\n }\n });\n};\n\nvar setClickFun = function setClickFun(_id, functionName) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (getConfig().securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n if (typeof vertices[id] !== 'undefined') {\n funs.push(function () {\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n utils.runFunc(functionName, id);\n }, false);\n }\n });\n }\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n * @param tooltip Tooltip for the clickable element\n */\n\n\nexport var setLink = function setLink(ids, linkStr, tooltip) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] !== 'undefined') {\n vertices[id].link = utils.formatUrl(linkStr, config);\n }\n });\n setTooltip(ids, tooltip);\n setClass(ids, 'clickable');\n};\nexport var getTooltip = function getTooltip(id) {\n return tooltips[id];\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setClickEvent = function setClickEvent(ids, functionName, tooltip) {\n ids.split(',').forEach(function (id) {\n setClickFun(id, functionName);\n });\n setTooltip(ids, tooltip);\n setClass(ids, 'clickable');\n};\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport var getDirection = function getDirection() {\n return direction.trim();\n};\n/**\n * Retrieval function for fetching the found nodes after parsing has completed.\n * @returns {{}|*|vertices}\n */\n\nexport var getVertices = function getVertices() {\n return vertices;\n};\n/**\n * Retrieval function for fetching the found links after parsing has completed.\n * @returns {{}|*|edges}\n */\n\nexport var getEdges = function getEdges() {\n return edges;\n};\n/**\n * Retrieval function for fetching the found class definitions after parsing has completed.\n * @returns {{}|*|classes}\n */\n\nexport var getClasses = function getClasses() {\n return classes;\n};\n\nvar setupToolTips = function setupToolTips(element) {\n var tooltipElem = select('.mermaidTooltip');\n\n if ((tooltipElem._groups || tooltipElem)[0][0] === null) {\n tooltipElem = select('body').append('div').attr('class', 'mermaidTooltip').style('opacity', 0);\n }\n\n var svg = select(element).select('svg');\n var nodes = svg.selectAll('g.node');\n nodes.on('mouseover', function () {\n var el = select(this);\n var title = el.attr('title'); // Dont try to draw a tooltip if no data is provided\n\n if (title === null) {\n return;\n }\n\n var rect = this.getBoundingClientRect();\n tooltipElem.transition().duration(200).style('opacity', '.9');\n tooltipElem.html(el.attr('title')).style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px').style('top', window.scrollY + rect.top - 14 + document.body.scrollTop + 'px');\n el.classed('hover', true);\n }).on('mouseout', function () {\n tooltipElem.transition().duration(500).style('opacity', 0);\n var el = select(this);\n el.classed('hover', false);\n });\n};\n\nfuns.push(setupToolTips);\n/**\n * Clears the internal graph db so that a new graph can be parsed.\n */\n\nexport var clear = function clear() {\n vertices = {};\n classes = {};\n edges = [];\n funs = [];\n funs.push(setupToolTips);\n subGraphs = [];\n subGraphLookup = {};\n subCount = 0;\n tooltips = [];\n firstGraphFlag = true;\n};\n/**\n *\n * @returns {string}\n */\n\nexport var defaultStyle = function defaultStyle() {\n return 'fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;';\n};\n/**\n * Clears the internal graph db so that a new graph can be parsed.\n */\n\nexport var addSubGraph = function addSubGraph(_id, list, _title) {\n var id = _id.trim();\n\n var title = _title;\n\n if (_id === _title && _title.match(/\\s/)) {\n id = undefined;\n }\n\n function uniq(a) {\n var prims = {\n boolean: {},\n number: {},\n string: {}\n };\n var objs = [];\n return a.filter(function (item) {\n var type = _typeof(item);\n\n if (item.trim() === '') {\n return false;\n }\n\n if (type in prims) {\n return prims[type].hasOwnProperty(item) ? false : prims[type][item] = true; // eslint-disable-line\n } else {\n return objs.indexOf(item) >= 0 ? false : objs.push(item);\n }\n });\n }\n\n var nodeList = [];\n nodeList = uniq(nodeList.concat.apply(nodeList, list));\n\n for (var i = 0; i < nodeList.length; i++) {\n if (nodeList[i][0].match(/\\d/)) nodeList[i] = MERMAID_DOM_ID_PREFIX + nodeList[i];\n }\n\n id = id || 'subGraph' + subCount;\n if (id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n title = title || '';\n title = common.sanitizeText(title, config);\n subCount = subCount + 1;\n var subGraph = {\n id: id,\n nodes: nodeList,\n title: title.trim(),\n classes: []\n };\n subGraphs.push(subGraph);\n subGraphLookup[id] = subGraph;\n return id;\n};\n\nvar getPosForId = function getPosForId(id) {\n for (var i = 0; i < subGraphs.length; i++) {\n if (subGraphs[i].id === id) {\n return i;\n }\n }\n\n return -1;\n};\n\nvar secCount = -1;\nvar posCrossRef = [];\n\nvar indexNodes2 = function indexNodes2(id, pos) {\n var nodes = subGraphs[pos].nodes;\n secCount = secCount + 1;\n\n if (secCount > 2000) {\n return;\n }\n\n posCrossRef[secCount] = pos; // Check if match\n\n if (subGraphs[pos].id === id) {\n return {\n result: true,\n count: 0\n };\n }\n\n var count = 0;\n var posCount = 1;\n\n while (count < nodes.length) {\n var childPos = getPosForId(nodes[count]); // Ignore regular nodes (pos will be -1)\n\n if (childPos >= 0) {\n var res = indexNodes2(id, childPos);\n\n if (res.result) {\n return {\n result: true,\n count: posCount + res.count\n };\n } else {\n posCount = posCount + res.count;\n }\n }\n\n count = count + 1;\n }\n\n return {\n result: false,\n count: posCount\n };\n};\n\nexport var getDepthFirstPos = function getDepthFirstPos(pos) {\n return posCrossRef[pos];\n};\nexport var indexNodes = function indexNodes() {\n secCount = -1;\n\n if (subGraphs.length > 0) {\n indexNodes2('none', subGraphs.length - 1, 0);\n }\n};\nexport var getSubGraphs = function getSubGraphs() {\n return subGraphs;\n};\nexport var firstGraph = function firstGraph() {\n if (firstGraphFlag) {\n firstGraphFlag = false;\n return true;\n }\n\n return false;\n};\n\nvar destructStartLink = function destructStartLink(_str) {\n var str = _str.trim();\n\n switch (str) {\n case '<--':\n return {\n type: 'arrow_point',\n stroke: 'normal'\n };\n\n case 'x--':\n return {\n type: 'arrow_cross',\n stroke: 'normal'\n };\n\n case 'o--':\n return {\n type: 'arrow_circle',\n stroke: 'normal'\n };\n\n case '<-.':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case 'x-.':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case 'o-.':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '<==':\n return {\n type: 'arrow_point',\n stroke: 'thick'\n };\n\n case 'x==':\n return {\n type: 'arrow_cross',\n stroke: 'thick'\n };\n\n case 'o==':\n return {\n type: 'arrow_circle',\n stroke: 'thick'\n };\n\n case '--':\n return {\n type: 'arrow_open',\n stroke: 'normal'\n };\n\n case '==':\n return {\n type: 'arrow_open',\n stroke: 'thick'\n };\n\n case '-.':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n }\n};\n\nvar destructEndLink = function destructEndLink(_str) {\n var str = _str.trim();\n\n switch (str) {\n case '--x':\n return {\n type: 'arrow_cross',\n stroke: 'normal'\n };\n\n case '-->':\n return {\n type: 'arrow_point',\n stroke: 'normal'\n };\n\n case '<-->':\n return {\n type: 'double_arrow_point',\n stroke: 'normal'\n };\n\n case 'x--x':\n return {\n type: 'double_arrow_cross',\n stroke: 'normal'\n };\n\n case 'o--o':\n return {\n type: 'double_arrow_circle',\n stroke: 'normal'\n };\n\n case 'o.-o':\n return {\n type: 'double_arrow_circle',\n stroke: 'dotted'\n };\n\n case '<==>':\n return {\n type: 'double_arrow_point',\n stroke: 'thick'\n };\n\n case 'o==o':\n return {\n type: 'double_arrow_circle',\n stroke: 'thick'\n };\n\n case 'x==x':\n return {\n type: 'double_arrow_cross',\n stroke: 'thick'\n };\n\n case 'x.-x':\n return {\n type: 'double_arrow_cross',\n stroke: 'dotted'\n };\n\n case 'x-.-x':\n return {\n type: 'double_arrow_cross',\n stroke: 'dotted'\n };\n\n case '<.->':\n return {\n type: 'double_arrow_point',\n stroke: 'dotted'\n };\n\n case '<-.->':\n return {\n type: 'double_arrow_point',\n stroke: 'dotted'\n };\n\n case 'o-.-o':\n return {\n type: 'double_arrow_circle',\n stroke: 'dotted'\n };\n\n case '--o':\n return {\n type: 'arrow_circle',\n stroke: 'normal'\n };\n\n case '---':\n return {\n type: 'arrow_open',\n stroke: 'normal'\n };\n\n case '-.-x':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case '-.->':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case '-.-o':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '-.-':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n\n case '.-x':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case '.->':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case '.-o':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '.-':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n\n case '==x':\n return {\n type: 'arrow_cross',\n stroke: 'thick'\n };\n\n case '==>':\n return {\n type: 'arrow_point',\n stroke: 'thick'\n };\n\n case '==o':\n return {\n type: 'arrow_circle',\n stroke: 'thick'\n };\n\n case '===':\n return {\n type: 'arrow_open',\n stroke: 'thick'\n };\n }\n};\n\nvar destructLink = function destructLink(_str, _startStr) {\n var info = destructEndLink(_str);\n var startInfo;\n\n if (_startStr) {\n startInfo = destructStartLink(_startStr);\n\n if (startInfo.stroke !== info.stroke) {\n return {\n type: 'INVALID',\n stroke: 'INVALID'\n };\n }\n\n if (startInfo.type === 'arrow_open') {\n // -- xyz --> - take arrow type form ending\n startInfo.type = info.type;\n } else {\n // x-- xyz --> - not supported\n if (startInfo.type !== info.type) return {\n type: 'INVALID',\n stroke: 'INVALID'\n };\n startInfo.type = 'double_' + startInfo.type;\n }\n\n if (startInfo.type === 'double_arrow') {\n startInfo.type = 'double_arrow_point';\n }\n\n return startInfo;\n }\n\n return info;\n};\n\nexport default {\n addVertex: addVertex,\n addLink: addLink,\n updateLinkInterpolate: updateLinkInterpolate,\n updateLink: updateLink,\n addClass: addClass,\n setDirection: setDirection,\n setClass: setClass,\n getTooltip: getTooltip,\n setClickEvent: setClickEvent,\n setLink: setLink,\n bindFunctions: bindFunctions,\n getDirection: getDirection,\n getVertices: getVertices,\n getEdges: getEdges,\n getClasses: getClasses,\n clear: clear,\n defaultStyle: defaultStyle,\n addSubGraph: addSubGraph,\n getDepthFirstPos: getDepthFirstPos,\n indexNodes: indexNodes,\n getSubGraphs: getSubGraphs,\n destructLink: destructLink,\n lex: {\n firstGraph: firstGraph\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "index": 571, "index2": 887, "size": 14240, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "21:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "280:18-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "314:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "315:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "523:2-14" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "addVertices", "addEdges", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select, curveLinear, selectAll } from 'd3';\nimport flowDb from './flowDb';\nimport flow from './parser/flow';\nimport { getConfig } from '../../config';\nimport dagreD3 from 'dagre-d3';\nimport addHtmlLabel from 'dagre-d3/lib/label/add-html-label.js';\nimport { logger } from '../../logger';\nimport common from '../common/common';\nimport { interpolateToCurve, getStylesFromArray } from '../../utils';\nimport flowChartShapes from './flowChartShapes';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Function that adds the vertices found in the graph definition to the graph to be rendered.\n * @param vert Object containing the vertices.\n * @param g The graph that is to be drawn.\n */\n\nexport var addVertices = function addVertices(vert, g, svgId) {\n var svg = select(\"[id=\\\"\".concat(svgId, \"\\\"]\"));\n var keys = Object.keys(vert); // Iterate through each item in the vertex object (containing all the vertices found) in the graph definition\n\n keys.forEach(function (id) {\n var vertex = vert[id];\n /**\n * Variable for storing the classes for the vertex\n * @type {string}\n */\n\n var classStr = 'default';\n\n if (vertex.classes.length > 0) {\n classStr = vertex.classes.join(' ');\n }\n\n var styles = getStylesFromArray(vertex.styles); // Use vertex id as text in the box if no text is provided by the graph definition\n\n var vertexText = vertex.text !== undefined ? vertex.text : vertex.id; // We create a SVG label, either by delegating to addHtmlLabel or manually\n\n var vertexNode;\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n var node = {\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n vertexNode = addHtmlLabel(svg, node).node();\n vertexNode.parentNode.removeChild(vertexNode);\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n var rows = vertexText.split(common.lineBreakRegex);\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '1');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n vertexNode = svgLabel;\n }\n\n var radious = 0;\n var _shape = ''; // Set the shape based parameters\n\n switch (vertex.type) {\n case 'round':\n radious = 5;\n _shape = 'rect';\n break;\n\n case 'square':\n _shape = 'rect';\n break;\n\n case 'diamond':\n _shape = 'question';\n break;\n\n case 'hexagon':\n _shape = 'hexagon';\n break;\n\n case 'odd':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'lean_right':\n _shape = 'lean_right';\n break;\n\n case 'lean_left':\n _shape = 'lean_left';\n break;\n\n case 'trapezoid':\n _shape = 'trapezoid';\n break;\n\n case 'inv_trapezoid':\n _shape = 'inv_trapezoid';\n break;\n\n case 'odd_right':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'circle':\n _shape = 'circle';\n break;\n\n case 'ellipse':\n _shape = 'ellipse';\n break;\n\n case 'stadium':\n _shape = 'stadium';\n break;\n\n case 'subroutine':\n _shape = 'subroutine';\n break;\n\n case 'cylinder':\n _shape = 'cylinder';\n break;\n\n case 'group':\n _shape = 'rect';\n break;\n\n default:\n _shape = 'rect';\n } // Add the node\n\n\n g.setNode(vertex.id, {\n labelType: 'svg',\n labelStyle: styles.labelStyle,\n shape: _shape,\n label: vertexNode,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id\n });\n });\n};\n/**\n * Add edges to graph based on parsed graph defninition\n * @param {Object} edges The edges to add to the graph\n * @param {Object} g The graph object\n */\n\nexport var addEdges = function addEdges(edges, g) {\n var cnt = 0;\n var defaultStyle;\n var defaultLabelStyle;\n\n if (typeof edges.defaultStyle !== 'undefined') {\n var defaultStyles = getStylesFromArray(edges.defaultStyle);\n defaultStyle = defaultStyles.style;\n defaultLabelStyle = defaultStyles.labelStyle;\n }\n\n edges.forEach(function (edge) {\n cnt++; // Identify Link\n\n var linkId = 'L-' + edge.start + '-' + edge.end;\n var linkNameStart = 'LS-' + edge.start;\n var linkNameEnd = 'LE-' + edge.end;\n var edgeData = {}; // Set link type for rendering\n\n if (edge.type === 'arrow_open') {\n edgeData.arrowhead = 'none';\n } else {\n edgeData.arrowhead = 'normal';\n }\n\n var style = '';\n var labelStyle = '';\n\n if (typeof edge.style !== 'undefined') {\n var styles = getStylesFromArray(edge.style);\n style = styles.style;\n labelStyle = styles.labelStyle;\n } else {\n switch (edge.stroke) {\n case 'normal':\n style = 'fill:none';\n\n if (typeof defaultStyle !== 'undefined') {\n style = defaultStyle;\n }\n\n if (typeof defaultLabelStyle !== 'undefined') {\n labelStyle = defaultLabelStyle;\n }\n\n break;\n\n case 'dotted':\n style = 'fill:none;stroke-width:2px;stroke-dasharray:3;';\n break;\n\n case 'thick':\n style = ' stroke-width: 3.5px;fill:none';\n break;\n }\n }\n\n edgeData.style = style;\n edgeData.labelStyle = labelStyle;\n\n if (typeof edge.interpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edge.interpolate, curveLinear);\n } else if (typeof edges.defaultInterpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edges.defaultInterpolate, curveLinear);\n } else {\n edgeData.curve = interpolateToCurve(conf.curve, curveLinear);\n }\n\n if (typeof edge.text === 'undefined') {\n if (typeof edge.style !== 'undefined') {\n edgeData.arrowheadStyle = 'fill: #333';\n }\n } else {\n edgeData.arrowheadStyle = 'fill: #333';\n edgeData.labelpos = 'c';\n\n if (getConfig().flowchart.htmlLabels) {\n edgeData.labelType = 'html';\n edgeData.label = \"\").concat(edge.text, \"\");\n } else {\n edgeData.labelType = 'text';\n edgeData.label = edge.text.replace(common.lineBreakRegex, '\\n');\n\n if (typeof edge.style === 'undefined') {\n edgeData.style = edgeData.style || 'stroke: #333; stroke-width: 1.5px;fill:none';\n }\n\n edgeData.labelStyle = edgeData.labelStyle.replace('color:', 'fill:');\n }\n }\n\n edgeData.id = linkId;\n edgeData.class = linkNameStart + ' ' + linkNameEnd; // Add the edge to the graph\n\n g.setEdge(edge.start, edge.end, edgeData, cnt);\n });\n};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.info('Extracting classes');\n flowDb.clear();\n\n try {\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n\n parser.parse(text);\n return flowDb.getClasses();\n } catch (e) {\n return;\n }\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing flowchart');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n // try {\n\n parser.parse(text); // } catch (err) {\n // logger.debug('Parsing failed');\n // }\n // Fetch the default direction, use TD if none was found\n\n var dir = flowDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'TD';\n }\n\n var conf = getConfig().flowchart;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: dir,\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n var subG;\n var subGraphs = flowDb.getSubGraphs();\n\n for (var _i = subGraphs.length - 1; _i >= 0; _i--) {\n subG = subGraphs[_i];\n flowDb.addVertex(subG.id, subG.title, 'group', undefined, subG.classes);\n } // Fetch the verices/nodes and edges/links from the parsed graph definition\n\n\n var vert = flowDb.getVertices();\n var edges = flowDb.getEdges();\n var i = 0;\n\n for (i = subGraphs.length - 1; i >= 0; i--) {\n subG = subGraphs[i];\n selectAll('cluster').append('text');\n\n for (var j = 0; j < subG.nodes.length; j++) {\n g.setParent(subG.nodes[j], subG.id);\n }\n }\n\n addVertices(vert, g, id);\n addEdges(edges, g); // Create the renderer\n\n var Render = dagreD3.render;\n var render = new Render(); // Add custom shapes\n\n flowChartShapes.addToRender(render); // Add our custom arrow - an empty arrowhead\n\n render.arrows().none = function normal(parent, id, edge, type) {\n var marker = parent.append('marker').attr('id', id).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'strokeWidth').attr('markerWidth', 8).attr('markerHeight', 6).attr('orient', 'auto');\n var path = marker.append('path').attr('d', 'M 0 0 L 0 0 L 0 0 z');\n dagreD3.util.applyStyle(path, edge[type + 'Style']);\n }; // Override normal arrowhead defined in d3. Remove style & add class to allow css styling.\n\n\n render.arrows().normal = function normal(parent, id) {\n var marker = parent.append('marker').attr('id', id).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'strokeWidth').attr('markerWidth', 8).attr('markerHeight', 6).attr('orient', 'auto');\n marker.append('path').attr('d', 'M 0 0 L 10 5 L 0 10 z').attr('class', 'arrowheadPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n }; // Set up an SVG group so that we can translate the final graph.\n\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g);\n element.selectAll('g.node').attr('title', function () {\n return flowDb.getTooltip(this.id);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n svg.attr('viewBox', vBox); // Index nodes\n\n flowDb.indexNodes('subGraph' + i); // reposition labels\n\n for (i = 0; i < subGraphs.length; i++) {\n subG = subGraphs[i];\n\n if (subG.title !== 'undefined') {\n var clusterRects = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"] rect');\n var clusterEl = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"]');\n var xPos = clusterRects[0].x.baseVal.value;\n var yPos = clusterRects[0].y.baseVal.value;\n var _width = clusterRects[0].width.baseVal.value;\n var cluster = select(clusterEl[0]);\n var te = cluster.select('.label');\n te.attr('transform', \"translate(\".concat(xPos + _width / 2, \", \").concat(yPos + 14, \")\"));\n te.attr('id', id + 'Text');\n\n for (var _j = 0; _j < subG.classes.length; _j++) {\n clusterEl[0].classList.add(subG.classes[_j]);\n }\n }\n } // Add label rects for non html labels\n\n\n if (!conf.htmlLabels || true) {\n // eslint-disable-line\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n } // If node has a link, wrap it in an anchor SVG object.\n\n\n var keys = Object.keys(vert);\n keys.forEach(function (key) {\n var vertex = vert[key];\n\n if (vertex.link) {\n var node = select('#' + id + ' [id=\"' + key + '\"]');\n\n if (node) {\n var link = document.createElementNS('http://www.w3.org/2000/svg', 'a');\n link.setAttributeNS('http://www.w3.org/2000/svg', 'class', vertex.classes.join(' '));\n link.setAttributeNS('http://www.w3.org/2000/svg', 'href', vertex.link);\n link.setAttributeNS('http://www.w3.org/2000/svg', 'rel', 'noopener');\n var linkNode = node.insert(function () {\n return link;\n }, ':first-child');\n var shape = node.select('.label-container');\n\n if (shape) {\n linkNode.append(function () {\n return shape.node();\n });\n }\n\n var _label = node.select('.label');\n\n if (_label) {\n linkNode.append(function () {\n return _label.node();\n });\n }\n }\n }\n });\n};\nexport default {\n setConf: setConf,\n addVertices: addVertices,\n addEdges: addEdges,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "index": 891, "index2": 905, "size": 14132, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "22:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "320:8-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "321:8-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "524:2-16" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "addVertices", "addEdges", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select, curveLinear, selectAll } from 'd3';\nimport flowDb from './flowDb';\nimport flow from './parser/flow';\nimport { getConfig } from '../../config';\nimport { render } from '../../dagre-wrapper/index.js';\nimport addHtmlLabel from 'dagre-d3/lib/label/add-html-label.js';\nimport { logger } from '../../logger';\nimport common from '../common/common';\nimport { interpolateToCurve, getStylesFromArray } from '../../utils';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Function that adds the vertices found during parsing to the graph to be rendered.\n * @param vert Object containing the vertices.\n * @param g The graph that is to be drawn.\n */\n\nexport var addVertices = function addVertices(vert, g, svgId) {\n var svg = select(\"[id=\\\"\".concat(svgId, \"\\\"]\"));\n var keys = Object.keys(vert); // Iterate through each item in the vertex object (containing all the vertices found) in the graph definition\n\n keys.forEach(function (id) {\n var vertex = vert[id];\n /**\n * Variable for storing the classes for the vertex\n * @type {string}\n */\n\n var classStr = 'default';\n\n if (vertex.classes.length > 0) {\n classStr = vertex.classes.join(' ');\n }\n\n var styles = getStylesFromArray(vertex.styles); // Use vertex id as text in the box if no text is provided by the graph definition\n\n var vertexText = vertex.text !== undefined ? vertex.text : vertex.id; // We create a SVG label, either by delegating to addHtmlLabel or manually\n\n var vertexNode;\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n var node = {\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n vertexNode = addHtmlLabel(svg, node).node();\n vertexNode.parentNode.removeChild(vertexNode);\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n var rows = vertexText.split(common.lineBreakRegex);\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '1');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n vertexNode = svgLabel;\n }\n\n var radious = 0;\n var _shape = ''; // Set the shape based parameters\n\n switch (vertex.type) {\n case 'round':\n radious = 5;\n _shape = 'rect';\n break;\n\n case 'square':\n _shape = 'rect';\n break;\n\n case 'diamond':\n _shape = 'question';\n break;\n\n case 'hexagon':\n _shape = 'hexagon';\n break;\n\n case 'odd':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'lean_right':\n _shape = 'lean_right';\n break;\n\n case 'lean_left':\n _shape = 'lean_left';\n break;\n\n case 'trapezoid':\n _shape = 'trapezoid';\n break;\n\n case 'inv_trapezoid':\n _shape = 'inv_trapezoid';\n break;\n\n case 'odd_right':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'circle':\n _shape = 'circle';\n break;\n\n case 'ellipse':\n _shape = 'ellipse';\n break;\n\n case 'stadium':\n _shape = 'stadium';\n break;\n\n case 'subroutine':\n _shape = 'subroutine';\n break;\n\n case 'cylinder':\n _shape = 'cylinder';\n break;\n\n case 'group':\n _shape = 'rect';\n break;\n\n default:\n _shape = 'rect';\n } // Add the node\n\n\n g.setNode(vertex.id, {\n labelStyle: styles.labelStyle,\n shape: _shape,\n labelText: vertexText,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id,\n width: vertex.type === 'group' ? 500 : undefined,\n type: vertex.type,\n padding: getConfig().flowchart.padding\n });\n logger.info('setNode', {\n labelStyle: styles.labelStyle,\n shape: _shape,\n labelText: vertexText,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id,\n width: vertex.type === 'group' ? 500 : undefined,\n type: vertex.type,\n padding: getConfig().flowchart.padding\n });\n });\n};\n/**\n * Add edges to graph based on parsed graph defninition\n * @param {Object} edges The edges to add to the graph\n * @param {Object} g The graph object\n */\n\nexport var addEdges = function addEdges(edges, g) {\n var cnt = 0;\n var defaultStyle;\n var defaultLabelStyle;\n\n if (typeof edges.defaultStyle !== 'undefined') {\n var defaultStyles = getStylesFromArray(edges.defaultStyle);\n defaultStyle = defaultStyles.style;\n defaultLabelStyle = defaultStyles.labelStyle;\n }\n\n edges.forEach(function (edge) {\n cnt++; // Identify Link\n\n var linkId = 'L-' + edge.start + '-' + edge.end;\n var linkNameStart = 'LS-' + edge.start;\n var linkNameEnd = 'LE-' + edge.end;\n var edgeData = {}; //edgeData.id = 'id' + cnt;\n // Set link type for rendering\n\n if (edge.type === 'arrow_open') {\n edgeData.arrowhead = 'none';\n } else {\n edgeData.arrowhead = 'normal';\n }\n\n logger.info(edgeData, edge);\n edgeData.arrowType = edge.type;\n var style = '';\n var labelStyle = '';\n\n if (typeof edge.style !== 'undefined') {\n var styles = getStylesFromArray(edge.style);\n style = styles.style;\n labelStyle = styles.labelStyle;\n } else {\n switch (edge.stroke) {\n case 'normal':\n style = 'fill:none';\n\n if (typeof defaultStyle !== 'undefined') {\n style = defaultStyle;\n }\n\n if (typeof defaultLabelStyle !== 'undefined') {\n labelStyle = defaultLabelStyle;\n }\n\n edgeData.thickness = 'normal';\n edgeData.pattern = 'solid';\n break;\n\n case 'dotted':\n edgeData.thickness = 'normal';\n edgeData.pattern = 'dotted';\n break;\n\n case 'thick':\n edgeData.thickness = 'thick';\n edgeData.pattern = 'solid';\n break;\n }\n }\n\n edgeData.style = style;\n edgeData.labelStyle = labelStyle;\n\n if (typeof edge.interpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edge.interpolate, curveLinear);\n } else if (typeof edges.defaultInterpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edges.defaultInterpolate, curveLinear);\n } else {\n edgeData.curve = interpolateToCurve(conf.curve, curveLinear);\n }\n\n if (typeof edge.text === 'undefined') {\n if (typeof edge.style !== 'undefined') {\n edgeData.arrowheadStyle = 'fill: #333';\n }\n } else {\n edgeData.arrowheadStyle = 'fill: #333';\n edgeData.labelpos = 'c';\n\n if (getConfig().flowchart.htmlLabels && false) {\n // eslint-disable-line\n edgeData.labelType = 'html';\n edgeData.label = \"\").concat(edge.text, \"\");\n } else {\n edgeData.labelType = 'text';\n edgeData.label = edge.text.replace(common.lineBreakRegex, '\\n');\n\n if (typeof edge.style === 'undefined') {\n edgeData.style = edgeData.style || 'stroke: #333; stroke-width: 1.5px;fill:none';\n }\n\n edgeData.labelStyle = edgeData.labelStyle.replace('color:', 'fill:');\n }\n }\n\n edgeData.id = linkId;\n edgeData.classes = 'flowchart-link ' + linkNameStart + ' ' + linkNameEnd; // Add the edge to the graph\n\n g.setEdge(edge.start, edge.end, edgeData, cnt);\n });\n};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.info('Extracting classes');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb;\n\n try {\n // Parse the graph definition\n parser.parse(text);\n } catch (e) {\n return;\n }\n\n return flowDb.getClasses();\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing flowchart');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n // try {\n\n parser.parse(text); // } catch (err) {\n // logger.debug('Parsing failed');\n // }\n // Fetch the default direction, use TD if none was found\n\n var dir = flowDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'TD';\n }\n\n var conf = getConfig().flowchart;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: dir,\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n var subG;\n var subGraphs = flowDb.getSubGraphs();\n logger.info('Subgraphs - ', subGraphs);\n\n for (var _i = subGraphs.length - 1; _i >= 0; _i--) {\n subG = subGraphs[_i];\n logger.info('Subgraph - ', subG);\n flowDb.addVertex(subG.id, subG.title, 'group', undefined, subG.classes);\n } // Fetch the verices/nodes and edges/links from the parsed graph definition\n\n\n var vert = flowDb.getVertices();\n var edges = flowDb.getEdges();\n logger.info(edges);\n var i = 0;\n\n for (i = subGraphs.length - 1; i >= 0; i--) {\n subG = subGraphs[i];\n selectAll('cluster').append('text');\n\n for (var j = 0; j < subG.nodes.length; j++) {\n g.setParent(subG.nodes[j], subG.id);\n }\n }\n\n addVertices(vert, g, id);\n addEdges(edges, g); // Add custom shapes\n // flowChartShapes.addToRenderV2(addShape);\n // Set up an SVG group so that we can translate the final graph.\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g, ['point', 'circle', 'cross'], 'flowchart', id); // dagre.layout(g);\n\n element.selectAll('g.node').attr('title', function () {\n return flowDb.getTooltip(this.id);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n logger.debug(\"new ViewBox 0 0 \".concat(width, \" \").concat(height), \"translate(\".concat(padding - g._label.marginx, \", \").concat(padding - g._label.marginy, \")\"));\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n }\n\n svg.attr('viewBox', \"0 0 \".concat(width, \" \").concat(height));\n svg.select('g').attr('transform', \"translate(\".concat(padding - g._label.marginx, \", \").concat(padding - svgBounds.y, \")\")); // Index nodes\n\n flowDb.indexNodes('subGraph' + i); // // reposition labels\n // for (i = 0; i < subGraphs.length; i++) {\n // subG = subGraphs[i];\n // if (subG.title !== 'undefined') {\n // const clusterRects = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"] rect');\n // const clusterEl = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"]');\n // const xPos = clusterRects[0].x.baseVal.value;\n // const yPos = clusterRects[0].y.baseVal.value;\n // const width = clusterRects[0].width.baseVal.value;\n // const cluster = d3.select(clusterEl[0]);\n // const te = cluster.select('.label');\n // te.attr('transform', `translate(${xPos + width / 2}, ${yPos + 14})`);\n // te.attr('id', id + 'Text');\n // for (let j = 0; j < subG.classes.length; j++) {\n // clusterEl[0].classList.add(subG.classes[j]);\n // }\n // }\n // }\n // Add label rects for non html labels\n\n if (!conf.htmlLabels) {\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n } // If node has a link, wrap it in an anchor SVG object.\n\n\n var keys = Object.keys(vert);\n keys.forEach(function (key) {\n var vertex = vert[key];\n\n if (vertex.link) {\n var node = select('#' + id + ' [id=\"' + key + '\"]');\n\n if (node) {\n var link = document.createElementNS('http://www.w3.org/2000/svg', 'a');\n link.setAttributeNS('http://www.w3.org/2000/svg', 'class', vertex.classes.join(' '));\n link.setAttributeNS('http://www.w3.org/2000/svg', 'href', vertex.link);\n link.setAttributeNS('http://www.w3.org/2000/svg', 'rel', 'noopener');\n var linkNode = node.insert(function () {\n return link;\n }, ':first-child');\n var shape = node.select('.label-container');\n\n if (shape) {\n linkNode.append(function () {\n return shape.node();\n });\n }\n\n var _label = node.select('.label');\n\n if (_label) {\n linkNode.append(function () {\n return _label.node();\n });\n }\n }\n }\n });\n};\nexport default {\n setConf: setConf,\n addVertices: addVertices,\n addEdges: addEdges,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "name": "./src/diagrams/sequence/sequenceDb.js", "index": 556, "index2": 554, "size": 8123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./sequenceDb", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./sequenceDb", "loc": "8:12-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/sequenceDb", "loc": "27:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceDb", "loc": "94:25-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./sequenceDb", "loc": "360:6-16" } ], "usedExports": [ "default" ], "providedExports": [ "parseDirective", "addActor", "addMessage", "addSignal", "getMessages", "getActors", "getActor", "getActorKeys", "getTitle", "getTitleWrapped", "enableSequenceNumbers", "showSequenceNumbers", "setWrap", "autoWrap", "clear", "parseMessage", "LINETYPE", "ARROWTYPE", "PLACEMENT", "addNote", "setTitle", "apply", "default" ], "optimizationBailout": [], "depth": 2, "source": "import mermaidAPI from '../../mermaidAPI';\nimport configApi from '../../config';\nimport common from '../common/common';\nimport { logger } from '../../logger';\nvar prevActor = undefined;\nvar actors = {};\nvar messages = [];\nvar notes = [];\nvar title = '';\nvar titleWrapped = false;\nvar sequenceNumbersEnabled = false;\nvar wrapEnabled = false;\nexport var parseDirective = function parseDirective(statement, context, type) {\n mermaidAPI.parseDirective(statement, context, type);\n};\nexport var addActor = function addActor(id, name, description) {\n // Don't allow description nulling\n var old = actors[id];\n if (old && name === old.name && description == null) return; // Don't allow null descriptions, either\n\n if (description == null || description.text == null) {\n description = {\n text: name,\n wrap: null\n };\n }\n\n actors[id] = {\n name: name,\n description: description.text,\n wrap: description.wrap === undefined && autoWrap() || !!description.wrap,\n prevActor: prevActor\n };\n\n if (prevActor && actors[prevActor]) {\n actors[prevActor].nextActor = id;\n }\n\n prevActor = id;\n};\n\nvar activationCount = function activationCount(part) {\n var i;\n var count = 0;\n\n for (i = 0; i < messages.length; i++) {\n // console.warn(i, messages[i]);\n if (messages[i].type === LINETYPE.ACTIVE_START) {\n if (messages[i].from.actor === part) {\n count++;\n }\n }\n\n if (messages[i].type === LINETYPE.ACTIVE_END) {\n if (messages[i].from.actor === part) {\n count--;\n }\n }\n }\n\n return count;\n};\n\nexport var addMessage = function addMessage(idFrom, idTo, message, answer) {\n messages.push({\n from: idFrom,\n to: idTo,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n answer: answer\n });\n};\nexport var addSignal = function addSignal(idFrom, idTo) {\n var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n text: undefined,\n wrap: undefined\n };\n var messageType = arguments.length > 3 ? arguments[3] : undefined;\n\n if (messageType === LINETYPE.ACTIVE_END) {\n var cnt = activationCount(idFrom.actor);\n\n if (cnt < 1) {\n // Bail out as there is an activation signal from an inactive participant\n var error = new Error('Trying to inactivate an inactive participant (' + idFrom.actor + ')');\n error.hash = {\n text: '->>-',\n token: '->>-',\n line: '1',\n loc: {\n first_line: 1,\n last_line: 1,\n first_column: 1,\n last_column: 1\n },\n expected: [\"'ACTIVE_PARTICIPANT'\"]\n };\n throw error;\n }\n }\n\n messages.push({\n from: idFrom,\n to: idTo,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n type: messageType\n });\n return true;\n};\nexport var getMessages = function getMessages() {\n return messages;\n};\nexport var getActors = function getActors() {\n return actors;\n};\nexport var getActor = function getActor(id) {\n return actors[id];\n};\nexport var getActorKeys = function getActorKeys() {\n return Object.keys(actors);\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var getTitleWrapped = function getTitleWrapped() {\n return titleWrapped;\n};\nexport var enableSequenceNumbers = function enableSequenceNumbers() {\n sequenceNumbersEnabled = true;\n};\nexport var showSequenceNumbers = function showSequenceNumbers() {\n return sequenceNumbersEnabled;\n};\nexport var setWrap = function setWrap(wrapSetting) {\n wrapEnabled = wrapSetting;\n};\nexport var autoWrap = function autoWrap() {\n return wrapEnabled;\n};\nexport var clear = function clear() {\n actors = {};\n messages = [];\n};\nexport var parseMessage = function parseMessage(str) {\n var _str = str.trim();\n\n var message = {\n text: _str.replace(/^[:]?(?:no)?wrap:/, '').trim(),\n wrap: _str.match(/^[:]?(?:no)?wrap:/) === null ? common.hasBreaks(_str) || autoWrap() : _str.match(/^[:]?wrap:/) !== null ? true : _str.match(/^[:]?nowrap:/) !== null ? false : autoWrap()\n };\n logger.debug('parseMessage:', message);\n return message;\n};\nexport var LINETYPE = {\n SOLID: 0,\n DOTTED: 1,\n NOTE: 2,\n SOLID_CROSS: 3,\n DOTTED_CROSS: 4,\n SOLID_OPEN: 5,\n DOTTED_OPEN: 6,\n LOOP_START: 10,\n LOOP_END: 11,\n ALT_START: 12,\n ALT_ELSE: 13,\n ALT_END: 14,\n OPT_START: 15,\n OPT_END: 16,\n ACTIVE_START: 17,\n ACTIVE_END: 18,\n PAR_START: 19,\n PAR_AND: 20,\n PAR_END: 21,\n RECT_START: 22,\n RECT_END: 23\n};\nexport var ARROWTYPE = {\n FILLED: 0,\n OPEN: 1\n};\nexport var PLACEMENT = {\n LEFTOF: 0,\n RIGHTOF: 1,\n OVER: 2\n};\nexport var addNote = function addNote(actor, placement, message) {\n var note = {\n actor: actor,\n placement: placement,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap\n }; // Coerce actor into a [to, from, ...] array\n\n var actors = [].concat(actor, actor);\n notes.push(note);\n messages.push({\n from: actors[0],\n to: actors[1],\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n type: LINETYPE.NOTE,\n placement: placement\n });\n};\nexport var setTitle = function setTitle(titleWrap) {\n title = titleWrap.text;\n titleWrapped = titleWrap.wrap === undefined && autoWrap() || !!titleWrap.wrap;\n};\nexport var apply = function apply(param) {\n if (param instanceof Array) {\n param.forEach(function (item) {\n apply(item);\n });\n } else {\n switch (param.type) {\n case 'addActor':\n addActor(param.actor, param.actor, param.description);\n break;\n\n case 'activeStart':\n addSignal(param.actor, undefined, undefined, param.signalType);\n break;\n\n case 'activeEnd':\n addSignal(param.actor, undefined, undefined, param.signalType);\n break;\n\n case 'addNote':\n addNote(param.actor, param.placement, param.text);\n break;\n\n case 'addMessage':\n addSignal(param.from, param.to, param.msg, param.signalType);\n break;\n\n case 'loopStart':\n addSignal(undefined, undefined, param.loopText, param.signalType);\n break;\n\n case 'loopEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'rectStart':\n addSignal(undefined, undefined, param.color, param.signalType);\n break;\n\n case 'rectEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'optStart':\n addSignal(undefined, undefined, param.optText, param.signalType);\n break;\n\n case 'optEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'altStart':\n addSignal(undefined, undefined, param.altText, param.signalType);\n break;\n\n case 'else':\n addSignal(undefined, undefined, param.altText, param.signalType);\n break;\n\n case 'altEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'setTitle':\n setTitle(param.text);\n break;\n\n case 'parStart':\n addSignal(undefined, undefined, param.parText, param.signalType);\n break;\n\n case 'and':\n addSignal(undefined, undefined, param.parText, param.signalType);\n break;\n\n case 'parEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n }\n }\n};\nexport default {\n addActor: addActor,\n addMessage: addMessage,\n addSignal: addSignal,\n autoWrap: autoWrap,\n setWrap: setWrap,\n enableSequenceNumbers: enableSequenceNumbers,\n showSequenceNumbers: showSequenceNumbers,\n getMessages: getMessages,\n getActors: getActors,\n getActor: getActor,\n getActorKeys: getActorKeys,\n getTitle: getTitle,\n parseDirective: parseDirective,\n getConfig: function getConfig() {\n return configApi.getConfig().sequence;\n },\n getTitleWrapped: getTitleWrapped,\n clear: clear,\n parseMessage: parseMessage,\n LINETYPE: LINETYPE,\n ARROWTYPE: ARROWTYPE,\n PLACEMENT: PLACEMENT,\n addNote: addNote,\n setTitle: setTitle,\n apply: apply\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "name": "./src/diagrams/sequence/sequenceRenderer.js", "index": 908, "index2": 907, "size": 35513, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "25:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "329:10-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "332:10-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "335:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "527:4-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "530:2-18" } ], "usedExports": [ "default" ], "providedExports": [ "bounds", "drawActors", "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select, selectAll } from 'd3';\nimport svgDraw, { drawText } from './svgDraw';\nimport { logger } from '../../logger';\nimport { parser } from './parser/sequenceDiagram';\nimport common from '../common/common';\nimport sequenceDb from './sequenceDb';\nimport utils, { assignWithDepth } from '../../utils';\nparser.yy = sequenceDb;\nvar conf = {};\nexport var bounds = {\n data: {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n },\n verticalPos: 0,\n sequenceItems: [],\n activations: [],\n models: {\n getHeight: function getHeight() {\n return Math.max.apply(null, this.actors.length === 0 ? [0] : this.actors.map(function (actor) {\n return actor.height || 0;\n })) + (this.loops.length === 0 ? 0 : this.loops.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n })) + (this.messages.length === 0 ? 0 : this.messages.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n })) + (this.notes.length === 0 ? 0 : this.notes.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n }));\n },\n clear: function clear() {\n this.actors = [];\n this.loops = [];\n this.messages = [];\n this.notes = [];\n },\n addActor: function addActor(actorModel) {\n this.actors.push(actorModel);\n },\n addLoop: function addLoop(loopModel) {\n this.loops.push(loopModel);\n },\n addMessage: function addMessage(msgModel) {\n this.messages.push(msgModel);\n },\n addNote: function addNote(noteModel) {\n this.notes.push(noteModel);\n },\n lastActor: function lastActor() {\n return this.actors[this.actors.length - 1];\n },\n lastLoop: function lastLoop() {\n return this.loops[this.loops.length - 1];\n },\n lastMessage: function lastMessage() {\n return this.messages[this.messages.length - 1];\n },\n lastNote: function lastNote() {\n return this.notes[this.notes.length - 1];\n },\n actors: [],\n loops: [],\n messages: [],\n notes: []\n },\n init: function init() {\n this.sequenceItems = [];\n this.activations = [];\n this.models.clear();\n this.data = {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n };\n this.verticalPos = 0;\n setConf(parser.yy.getConfig());\n },\n updateVal: function updateVal(obj, key, val, fun) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = val;\n } else {\n obj[key] = fun(val, obj[key]);\n }\n },\n updateBounds: function updateBounds(startx, starty, stopx, stopy) {\n var _self = this;\n\n var cnt = 0;\n\n function updateFn(type) {\n return function updateItemBounds(item) {\n cnt++; // The loop sequenceItems is a stack so the biggest margins in the beginning of the sequenceItems\n\n var n = _self.sequenceItems.length - cnt + 1;\n\n _self.updateVal(item, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopy', stopy + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n if (!(type === 'activation')) {\n _self.updateVal(item, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopy', stopy + n * conf.boxMargin, Math.max);\n }\n };\n }\n\n this.sequenceItems.forEach(updateFn());\n this.activations.forEach(updateFn('activation'));\n },\n insert: function insert(startx, starty, stopx, stopy) {\n var _startx = Math.min(startx, stopx);\n\n var _stopx = Math.max(startx, stopx);\n\n var _starty = Math.min(starty, stopy);\n\n var _stopy = Math.max(starty, stopy);\n\n this.updateVal(bounds.data, 'startx', _startx, Math.min);\n this.updateVal(bounds.data, 'starty', _starty, Math.min);\n this.updateVal(bounds.data, 'stopx', _stopx, Math.max);\n this.updateVal(bounds.data, 'stopy', _stopy, Math.max);\n this.updateBounds(_startx, _starty, _stopx, _stopy);\n },\n newActivation: function newActivation(message, diagram, actors) {\n var actorRect = actors[message.from.actor];\n var stackedSize = actorActivations(message.from.actor).length || 0;\n var x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;\n this.activations.push({\n startx: x,\n starty: this.verticalPos + 2,\n stopx: x + conf.activationWidth,\n stopy: undefined,\n actor: message.from.actor,\n anchored: svgDraw.anchorElement(diagram)\n });\n },\n endActivation: function endActivation(message) {\n // find most recent activation for given actor\n var lastActorActivationIdx = this.activations.map(function (activation) {\n return activation.actor;\n }).lastIndexOf(message.from.actor);\n return this.activations.splice(lastActorActivationIdx, 1)[0];\n },\n createLoop: function createLoop() {\n var title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n message: undefined,\n wrap: false,\n width: undefined\n };\n var fill = arguments.length > 1 ? arguments[1] : undefined;\n return {\n startx: undefined,\n starty: this.verticalPos,\n stopx: undefined,\n stopy: undefined,\n title: title.message,\n wrap: title.wrap,\n width: title.width,\n height: 0,\n fill: fill\n };\n },\n newLoop: function newLoop() {\n var title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n message: undefined,\n wrap: false,\n width: undefined\n };\n var fill = arguments.length > 1 ? arguments[1] : undefined;\n this.sequenceItems.push(this.createLoop(title, fill));\n },\n endLoop: function endLoop() {\n return this.sequenceItems.pop();\n },\n addSectionToLoop: function addSectionToLoop(message) {\n var loop = this.sequenceItems.pop();\n loop.sections = loop.sections || [];\n loop.sectionTitles = loop.sectionTitles || [];\n loop.sections.push({\n y: bounds.getVerticalPos(),\n height: 0\n });\n loop.sectionTitles.push(message);\n this.sequenceItems.push(loop);\n },\n bumpVerticalPos: function bumpVerticalPos(bump) {\n this.verticalPos = this.verticalPos + bump;\n this.data.stopy = this.verticalPos;\n },\n getVerticalPos: function getVerticalPos() {\n return this.verticalPos;\n },\n getBounds: function getBounds() {\n return {\n bounds: this.data,\n models: this.models\n };\n }\n};\n/**\n * Draws an note in the diagram with the attached line\n * @param elem - The diagram to draw to.\n * @param noteModel:{x: number, y: number, message: string, width: number} - startx: x axis start position, verticalPos: y axis position, messsage: the message to be shown, width: Set this with a custom width to override the default configured width.\n */\n\nvar drawNote = function drawNote(elem, noteModel) {\n bounds.bumpVerticalPos(conf.boxMargin);\n noteModel.height = conf.boxMargin;\n noteModel.starty = bounds.getVerticalPos();\n var rect = svgDraw.getNoteRect();\n rect.x = noteModel.startx;\n rect.y = noteModel.starty;\n rect.width = noteModel.width || conf.width;\n rect.class = 'note';\n var g = elem.append('g');\n var rectElem = svgDraw.drawRect(g, rect);\n var textObj = svgDraw.getTextObj();\n textObj.x = noteModel.startx;\n textObj.y = noteModel.starty;\n textObj.width = rect.width;\n textObj.dy = '1em';\n textObj.text = noteModel.message;\n textObj.class = 'noteText';\n textObj.fontFamily = conf.noteFontFamily;\n textObj.fontSize = conf.noteFontSize;\n textObj.fontWeight = conf.noteFontWeight;\n textObj.anchor = conf.noteAlign;\n textObj.textMargin = conf.noteMargin;\n textObj.valign = conf.noteAlign;\n textObj.wrap = true;\n var textElem = drawText(g, textObj);\n var textHeight = Math.round(textElem.map(function (te) {\n return (te._groups || te)[0][0].getBBox().height;\n }).reduce(function (acc, curr) {\n return acc + curr;\n }));\n rectElem.attr('height', textHeight + 2 * conf.noteMargin);\n noteModel.height += textHeight + 2 * conf.noteMargin;\n bounds.bumpVerticalPos(textHeight + 2 * conf.noteMargin);\n noteModel.stopy = noteModel.starty + textHeight + 2 * conf.noteMargin;\n noteModel.stopx = noteModel.startx + rect.width;\n bounds.insert(noteModel.startx, noteModel.starty, noteModel.stopx, noteModel.stopy);\n bounds.models.addNote(noteModel);\n};\n/**\n * Draws a message\n * @param g - the parent of the message element\n * @param msgModel - the model containing fields describing a message\n */\n\n\nvar drawMessage = function drawMessage(g, msgModel) {\n bounds.bumpVerticalPos(10);\n var startx = msgModel.startx,\n stopx = msgModel.stopx,\n starty = msgModel.starty,\n message = msgModel.message,\n type = msgModel.type,\n sequenceIndex = msgModel.sequenceIndex,\n wrap = msgModel.wrap;\n var lines = common.splitBreaks(message).length;\n var textDims = utils.calculateTextDimensions(message, conf.messageFont());\n var lineHeight = textDims.height / lines;\n msgModel.height += lineHeight;\n bounds.bumpVerticalPos(lineHeight);\n var textObj = svgDraw.getTextObj();\n textObj.x = startx;\n textObj.y = starty + 10;\n textObj.width = stopx - startx;\n textObj.class = 'messageText';\n textObj.dy = '1em';\n textObj.text = message;\n textObj.fontFamily = conf.messageFontFamily;\n textObj.fontSize = conf.messageFontSize;\n textObj.fontWeight = conf.messageFontWeight;\n textObj.anchor = conf.messageAlign;\n textObj.valign = conf.messageAlign;\n textObj.textMargin = conf.wrapPadding;\n textObj.tspan = false;\n textObj.wrap = wrap;\n drawText(g, textObj);\n var totalOffset = textDims.height - 10;\n var textWidth = textDims.width;\n var line, lineStarty;\n\n if (startx === stopx) {\n lineStarty = bounds.getVerticalPos() + totalOffset;\n\n if (conf.rightAngles) {\n line = g.append('path').attr('d', \"M \".concat(startx, \",\").concat(lineStarty, \" H \").concat(startx + Math.max(conf.width / 2, textWidth / 2), \" V \").concat(lineStarty + 25, \" H \").concat(startx));\n } else {\n totalOffset += conf.boxMargin;\n lineStarty = bounds.getVerticalPos() + totalOffset;\n line = g.append('path').attr('d', 'M ' + startx + ',' + lineStarty + ' C ' + (startx + 60) + ',' + (lineStarty - 10) + ' ' + (startx + 60) + ',' + (lineStarty + 30) + ' ' + startx + ',' + (lineStarty + 20));\n }\n\n totalOffset += 30;\n var dx = Math.max(textWidth / 2, conf.width / 2);\n bounds.insert(startx - dx, bounds.getVerticalPos() - 10 + totalOffset, stopx + dx, bounds.getVerticalPos() + 30 + totalOffset);\n } else {\n totalOffset += conf.boxMargin;\n lineStarty = bounds.getVerticalPos() + totalOffset;\n line = g.append('line');\n line.attr('x1', startx);\n line.attr('y1', lineStarty);\n line.attr('x2', stopx);\n line.attr('y2', lineStarty);\n bounds.insert(startx, lineStarty - 10, stopx, lineStarty);\n } // Make an SVG Container\n // Draw the line\n\n\n if (type === parser.yy.LINETYPE.DOTTED || type === parser.yy.LINETYPE.DOTTED_CROSS || type === parser.yy.LINETYPE.DOTTED_OPEN) {\n line.style('stroke-dasharray', '3, 3');\n line.attr('class', 'messageLine1');\n } else {\n line.attr('class', 'messageLine0');\n }\n\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n line.attr('stroke-width', 2);\n line.attr('stroke', 'none'); // handled by theme/css anyway\n\n line.style('fill', 'none'); // remove any fill colour\n\n if (type === parser.yy.LINETYPE.SOLID || type === parser.yy.LINETYPE.DOTTED) {\n line.attr('marker-end', 'url(' + url + '#arrowhead)');\n }\n\n if (type === parser.yy.LINETYPE.SOLID_CROSS || type === parser.yy.LINETYPE.DOTTED_CROSS) {\n line.attr('marker-end', 'url(' + url + '#crosshead)');\n } // add node number\n\n\n if (sequenceDb.showSequenceNumbers() || conf.showSequenceNumbers) {\n line.attr('marker-start', 'url(' + url + '#sequencenumber)');\n g.append('text').attr('x', startx).attr('y', lineStarty + 4).attr('font-family', 'sans-serif').attr('font-size', '12px').attr('text-anchor', 'middle').attr('textLength', '16px').attr('class', 'sequenceNumber').text(sequenceIndex);\n }\n\n bounds.bumpVerticalPos(totalOffset);\n msgModel.height += totalOffset;\n msgModel.stopy = msgModel.starty + msgModel.height;\n bounds.insert(msgModel.fromBounds, msgModel.starty, msgModel.toBounds, msgModel.stopy);\n};\n\nexport var drawActors = function drawActors(diagram, actors, actorKeys, verticalPos) {\n // Draw the actors\n var prevWidth = 0;\n var prevMargin = 0;\n\n for (var i = 0; i < actorKeys.length; i++) {\n var actor = actors[actorKeys[i]]; // Add some rendering data to the object\n\n actor.width = actor.width || conf.width;\n actor.height = Math.max(actor.height || conf.height, conf.height);\n actor.margin = actor.margin || conf.actorMargin;\n actor.x = prevWidth + prevMargin;\n actor.y = verticalPos; // Draw the box with the attached line\n\n svgDraw.drawActor(diagram, actor, conf);\n bounds.insert(actor.x, verticalPos, actor.x + actor.width, actor.height);\n prevWidth += actor.width;\n prevMargin += actor.margin;\n bounds.models.addActor(actor);\n } // Add a margin between the actor boxes and the first arrow\n\n\n bounds.bumpVerticalPos(conf.height);\n};\nexport var setConf = function setConf(cnf) {\n assignWithDepth(conf, cnf);\n\n if (cnf.fontFamily) {\n conf.actorFontFamily = conf.noteFontFamily = conf.messageFontFamily = cnf.fontFamily;\n }\n\n if (cnf.fontSize) {\n conf.actorFontSize = conf.noteFontSize = conf.messageFontSize = cnf.fontSize;\n }\n\n if (cnf.fontWeight) {\n conf.actorFontWeight = conf.noteFontWeight = conf.messageFontWeight = cnf.fontWeight;\n }\n};\n\nvar actorActivations = function actorActivations(actor) {\n return bounds.activations.filter(function (activation) {\n return activation.actor === actor;\n });\n};\n\nvar activationBounds = function activationBounds(actor, actors) {\n // handle multiple stacked activations for same actor\n var actorObj = actors[actor];\n var activations = actorActivations(actor);\n var left = activations.reduce(function (acc, activation) {\n return Math.min(acc, activation.startx);\n }, actorObj.x + actorObj.width / 2);\n var right = activations.reduce(function (acc, activation) {\n return Math.max(acc, activation.stopx);\n }, actorObj.x + actorObj.width / 2);\n return [left, right];\n};\n\nfunction adjustLoopHeightForWrap(loopWidths, msg, preMargin, postMargin, addLoopFn) {\n bounds.bumpVerticalPos(preMargin);\n var heightAdjust = postMargin;\n\n if (msg.id && msg.message && loopWidths[msg.id]) {\n var loopWidth = loopWidths[msg.id].width;\n var textConf = conf.messageFont();\n msg.message = utils.wrapLabel(\"[\".concat(msg.message, \"]\"), loopWidth - 2 * conf.wrapPadding, textConf);\n msg.width = loopWidth;\n msg.wrap = true; // const lines = common.splitBreaks(msg.message).length;\n\n var textDims = utils.calculateTextDimensions(msg.message, textConf);\n var totalOffset = Math.max(textDims.height, conf.labelBoxHeight);\n heightAdjust = postMargin + totalOffset;\n logger.debug(\"\".concat(totalOffset, \" - \").concat(msg.message));\n }\n\n addLoopFn(msg);\n bounds.bumpVerticalPos(heightAdjust);\n}\n/**\n * Draws a sequenceDiagram in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.yy.setWrap(conf.wrap);\n parser.parse(text + '\\n');\n bounds.init();\n logger.debug(\"C:\".concat(JSON.stringify(conf, null, 2)));\n var diagram = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Fetch data from the parsing\n\n var actors = parser.yy.getActors();\n var actorKeys = parser.yy.getActorKeys();\n var messages = parser.yy.getMessages();\n var title = parser.yy.getTitle();\n var maxMessageWidthPerActor = getMaxMessageWidthPerActor(actors, messages);\n conf.height = calculateActorMargins(actors, maxMessageWidthPerActor);\n drawActors(diagram, actors, actorKeys, 0);\n var loopWidths = calculateLoopBounds(messages, actors, maxMessageWidthPerActor); // The arrow head definition is attached to the svg once\n\n svgDraw.insertArrowHead(diagram);\n svgDraw.insertArrowCrossHead(diagram);\n svgDraw.insertSequenceNumber(diagram);\n\n function activeEnd(msg, verticalPos) {\n var activationData = bounds.endActivation(msg);\n\n if (activationData.starty + 18 > verticalPos) {\n activationData.starty = verticalPos - 6;\n verticalPos += 12;\n }\n\n svgDraw.drawActivation(diagram, activationData, verticalPos, conf, actorActivations(msg.from.actor).length);\n bounds.insert(activationData.startx, verticalPos - 10, activationData.stopx, verticalPos);\n } // Draw the messages/signals\n\n\n var sequenceIndex = 1;\n messages.forEach(function (msg) {\n var loopModel, noteModel, msgModel;\n\n switch (msg.type) {\n case parser.yy.LINETYPE.NOTE:\n noteModel = msg.noteModel;\n drawNote(diagram, noteModel);\n break;\n\n case parser.yy.LINETYPE.ACTIVE_START:\n bounds.newActivation(msg, diagram, actors);\n break;\n\n case parser.yy.LINETYPE.ACTIVE_END:\n activeEnd(msg, bounds.getVerticalPos());\n break;\n\n case parser.yy.LINETYPE.LOOP_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.LOOP_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'loop', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.RECT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin, function (message) {\n return bounds.newLoop(undefined, message.message);\n });\n break;\n\n case parser.yy.LINETYPE.RECT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawBackgroundRect(diagram, loopModel);\n bounds.models.addLoop(loopModel);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n break;\n\n case parser.yy.LINETYPE.OPT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.OPT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'opt', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.ALT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.ALT_ELSE:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin + conf.boxTextMargin, conf.boxMargin, function (message) {\n return bounds.addSectionToLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.ALT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'alt', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.PAR_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.PAR_AND:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin + conf.boxTextMargin, conf.boxMargin, function (message) {\n return bounds.addSectionToLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.PAR_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'par', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n default:\n try {\n // lastMsg = msg\n msgModel = msg.msgModel;\n msgModel.starty = bounds.getVerticalPos();\n msgModel.sequenceIndex = sequenceIndex;\n drawMessage(diagram, msgModel);\n bounds.models.addMessage(msgModel);\n } catch (e) {\n logger.error('error while drawing message', e);\n }\n\n } // Increment sequence counter if msg.type is a line (and not another event like activation or note, etc)\n\n\n if ([parser.yy.LINETYPE.SOLID_OPEN, parser.yy.LINETYPE.DOTTED_OPEN, parser.yy.LINETYPE.SOLID, parser.yy.LINETYPE.DOTTED, parser.yy.LINETYPE.SOLID_CROSS, parser.yy.LINETYPE.DOTTED_CROSS].includes(msg.type)) {\n sequenceIndex++;\n }\n });\n\n if (conf.mirrorActors) {\n // Draw actors below diagram\n bounds.bumpVerticalPos(conf.boxMargin * 2);\n drawActors(diagram, actors, actorKeys, bounds.getVerticalPos());\n }\n\n var _bounds$getBounds = bounds.getBounds(),\n box = _bounds$getBounds.bounds; // Adjust line height of actor lines now that the height of the diagram is known\n\n\n logger.debug('For line height fix Querying: #' + id + ' .actor-line');\n var actorLines = selectAll('#' + id + ' .actor-line');\n actorLines.attr('y2', box.stopy);\n var height = box.stopy - box.starty + 2 * conf.diagramMarginY;\n\n if (conf.mirrorActors) {\n height = height - conf.boxMargin + conf.bottomMarginAdj;\n }\n\n var width = box.stopx - box.startx + 2 * conf.diagramMarginX;\n\n if (title) {\n diagram.append('text').text(title).attr('x', (box.stopx - box.startx) / 2 - 2 * conf.diagramMarginX).attr('y', -25);\n }\n\n if (conf.useMaxWidth) {\n diagram.attr('height', '100%');\n diagram.attr('width', '100%');\n diagram.attr('style', 'max-width:' + width + 'px;'); // diagram.attr('style', 'max-width:100%;');\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n }\n\n var extraVertForTitle = title ? 40 : 0;\n diagram.attr('viewBox', box.startx - conf.diagramMarginX + ' -' + (conf.diagramMarginY + extraVertForTitle) + ' ' + width + ' ' + (height + extraVertForTitle));\n logger.debug(\"models:\", bounds.models);\n};\n/**\n * Retrieves the max message width of each actor, supports signals (messages, loops)\n * and notes.\n *\n * It will enumerate each given message, and will determine its text width, in relation\n * to the actor it originates from, and destined to.\n *\n * @param actors - The actors map\n * @param messages - A list of message objects to iterate\n */\n\nvar getMaxMessageWidthPerActor = function getMaxMessageWidthPerActor(actors, messages) {\n var maxMessageWidthPerActor = {};\n messages.forEach(function (msg) {\n if (actors[msg.to] && actors[msg.from]) {\n var actor = actors[msg.to]; // If this is the first actor, and the message is left of it, no need to calculate the margin\n\n if (msg.placement === parser.yy.PLACEMENT.LEFTOF && !actor.prevActor) {\n return;\n } // If this is the last actor, and the message is right of it, no need to calculate the margin\n\n\n if (msg.placement === parser.yy.PLACEMENT.RIGHTOF && !actor.nextActor) {\n return;\n }\n\n var isNote = msg.placement !== undefined;\n var isMessage = !isNote;\n var textFont = isNote ? conf.noteFont() : conf.messageFont();\n var wrappedMessage = msg.wrap ? utils.wrapLabel(msg.message, conf.width - 2 * conf.wrapPadding, textFont) : msg.message;\n var messageDimensions = utils.calculateTextDimensions(wrappedMessage, textFont);\n var messageWidth = messageDimensions.width + 2 * conf.wrapPadding;\n /*\n * The following scenarios should be supported:\n *\n * - There's a message (non-note) between fromActor and toActor\n * - If fromActor is on the right and toActor is on the left, we should\n * define the toActor's margin\n * - If fromActor is on the left and toActor is on the right, we should\n * define the fromActor's margin\n * - There's a note, in which case fromActor == toActor\n * - If the note is to the left of the actor, we should define the previous actor\n * margin\n * - If the note is on the actor, we should define both the previous and next actor\n * margins, each being the half of the note size\n * - If the note is on the right of the actor, we should define the current actor\n * margin\n */\n\n if (isMessage && msg.from === actor.nextActor) {\n maxMessageWidthPerActor[msg.to] = Math.max(maxMessageWidthPerActor[msg.to] || 0, messageWidth);\n } else if (isMessage && msg.from === actor.prevActor) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth);\n } else if (isMessage && msg.from === msg.to) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth / 2);\n maxMessageWidthPerActor[msg.to] = Math.max(maxMessageWidthPerActor[msg.to] || 0, messageWidth / 2);\n } else if (msg.placement === parser.yy.PLACEMENT.RIGHTOF) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth);\n } else if (msg.placement === parser.yy.PLACEMENT.LEFTOF) {\n maxMessageWidthPerActor[actor.prevActor] = Math.max(maxMessageWidthPerActor[actor.prevActor] || 0, messageWidth);\n } else if (msg.placement === parser.yy.PLACEMENT.OVER) {\n if (actor.prevActor) {\n maxMessageWidthPerActor[actor.prevActor] = Math.max(maxMessageWidthPerActor[actor.prevActor] || 0, messageWidth / 2);\n }\n\n if (actor.nextActor) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth / 2);\n }\n }\n }\n });\n logger.debug('maxMessageWidthPerActor:', maxMessageWidthPerActor);\n return maxMessageWidthPerActor;\n};\n/**\n * This will calculate the optimal margin for each given actor, for a given\n * actor->messageWidth map.\n *\n * An actor's margin is determined by the width of the actor, the width of the\n * largest message that originates from it, and the configured conf.actorMargin.\n *\n * @param actors - The actors map to calculate margins for\n * @param actorToMessageWidth - A map of actor key -> max message width it holds\n */\n\n\nvar calculateActorMargins = function calculateActorMargins(actors, actorToMessageWidth) {\n var maxHeight = 0;\n Object.keys(actors).forEach(function (prop) {\n var actor = actors[prop];\n\n if (actor.wrap) {\n actor.description = utils.wrapLabel(actor.description, conf.width - 2 * conf.wrapPadding, conf.actorFont());\n }\n\n var actDims = utils.calculateTextDimensions(actor.description, conf.actorFont());\n actor.width = actor.wrap ? conf.width : Math.max(conf.width, actDims.width + 2 * conf.wrapPadding);\n actor.height = actor.wrap ? Math.max(actDims.height, conf.height) : conf.height;\n maxHeight = Math.max(maxHeight, actor.height);\n });\n\n for (var actorKey in actorToMessageWidth) {\n var actor = actors[actorKey];\n\n if (!actor) {\n continue;\n }\n\n var nextActor = actors[actor.nextActor]; // No need to space out an actor that doesn't have a next link\n\n if (!nextActor) {\n continue;\n }\n\n var messageWidth = actorToMessageWidth[actorKey];\n var actorWidth = messageWidth + conf.actorMargin - actor.width / 2 - nextActor.width / 2;\n actor.margin = Math.max(actorWidth, conf.actorMargin);\n }\n\n return Math.max(maxHeight, conf.height);\n};\n\nvar buildNoteModel = function buildNoteModel(msg, actors) {\n var startx = actors[msg.from].x;\n var stopx = actors[msg.to].x;\n var shouldWrap = msg.wrap && msg.message;\n var textDimensions = utils.calculateTextDimensions(shouldWrap ? utils.wrapLabel(msg.message, conf.width, conf.noteFont()) : msg.message, conf.noteFont());\n var noteModel = {\n width: shouldWrap ? conf.width : Math.max(conf.width, textDimensions.width + 2 * conf.noteMargin),\n height: 0,\n startx: actors[msg.from].x,\n stopx: 0,\n starty: 0,\n stopy: 0,\n message: msg.message\n };\n\n if (msg.placement === parser.yy.PLACEMENT.RIGHTOF) {\n noteModel.width = shouldWrap ? Math.max(conf.width, textDimensions.width) : Math.max(actors[msg.from].width / 2 + actors[msg.to].width / 2, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx + (actors[msg.from].width + conf.actorMargin) / 2;\n } else if (msg.placement === parser.yy.PLACEMENT.LEFTOF) {\n noteModel.width = shouldWrap ? Math.max(conf.width, textDimensions.width + 2 * conf.noteMargin) : Math.max(actors[msg.from].width / 2 + actors[msg.to].width / 2, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx - noteModel.width + (actors[msg.from].width - conf.actorMargin) / 2;\n } else if (msg.to === msg.from) {\n textDimensions = utils.calculateTextDimensions(shouldWrap ? utils.wrapLabel(msg.message, Math.max(conf.width, actors[msg.from].width), conf.noteFont()) : msg.message, conf.noteFont());\n noteModel.width = shouldWrap ? Math.max(conf.width, actors[msg.from].width) : Math.max(actors[msg.from].width, conf.width, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx + (actors[msg.from].width - noteModel.width) / 2;\n } else {\n noteModel.width = Math.abs(startx + actors[msg.from].width / 2 - (stopx + actors[msg.to].width / 2)) + conf.actorMargin;\n noteModel.startx = startx < stopx ? startx + actors[msg.from].width / 2 - conf.actorMargin / 2 : stopx + actors[msg.to].width / 2 - conf.actorMargin / 2;\n }\n\n if (shouldWrap) {\n noteModel.message = utils.wrapLabel(msg.message, noteModel.width - 2 * conf.wrapPadding, conf.noteFont());\n }\n\n logger.debug(\"NM:[\".concat(noteModel.startx, \",\").concat(noteModel.stopx, \",\").concat(noteModel.starty, \",\").concat(noteModel.stopy, \":\").concat(noteModel.width, \",\").concat(noteModel.height, \"=\").concat(msg.message, \"]\"));\n return noteModel;\n};\n\nvar buildMessageModel = function buildMessageModel(msg, actors) {\n var process = false;\n\n if ([parser.yy.LINETYPE.SOLID_OPEN, parser.yy.LINETYPE.DOTTED_OPEN, parser.yy.LINETYPE.SOLID, parser.yy.LINETYPE.DOTTED, parser.yy.LINETYPE.SOLID_CROSS, parser.yy.LINETYPE.DOTTED_CROSS].includes(msg.type)) {\n process = true;\n }\n\n if (!process) {\n return {};\n }\n\n var fromBounds = activationBounds(msg.from, actors);\n var toBounds = activationBounds(msg.to, actors);\n var fromIdx = fromBounds[0] <= toBounds[0] ? 1 : 0;\n var toIdx = fromBounds[0] < toBounds[0] ? 0 : 1;\n var allBounds = fromBounds.concat(toBounds);\n var boundedWidth = Math.abs(toBounds[toIdx] - fromBounds[fromIdx]);\n var msgDims = utils.calculateTextDimensions(msg.message, conf.messageFont());\n\n if (msg.wrap && msg.message) {\n msg.message = utils.wrapLabel(msg.message, Math.max(boundedWidth + 2 * conf.wrapPadding, conf.width), conf.messageFont());\n }\n\n return {\n width: Math.max(msg.wrap ? 0 : msgDims.width + 2 * conf.wrapPadding, boundedWidth + 2 * conf.wrapPadding, conf.width),\n height: 0,\n startx: fromBounds[fromIdx],\n stopx: toBounds[toIdx],\n starty: 0,\n stopy: 0,\n message: msg.message,\n type: msg.type,\n wrap: msg.wrap,\n fromBounds: Math.min.apply(null, allBounds),\n toBounds: Math.max.apply(null, allBounds)\n };\n};\n\nvar calculateLoopBounds = function calculateLoopBounds(messages, actors) {\n var loops = {};\n var stack = [];\n var current, noteModel, msgModel;\n messages.forEach(function (msg) {\n msg.id = utils.random({\n length: 10\n });\n\n switch (msg.type) {\n case parser.yy.LINETYPE.LOOP_START:\n case parser.yy.LINETYPE.ALT_START:\n case parser.yy.LINETYPE.OPT_START:\n case parser.yy.LINETYPE.PAR_START:\n stack.push({\n id: msg.id,\n msg: msg.message,\n from: Number.MAX_SAFE_INTEGER,\n to: Number.MIN_SAFE_INTEGER,\n width: 0\n });\n break;\n\n case parser.yy.LINETYPE.ALT_ELSE:\n case parser.yy.LINETYPE.PAR_AND:\n if (msg.message) {\n current = stack.pop();\n loops[current.id] = current;\n loops[msg.id] = current;\n stack.push(current);\n }\n\n break;\n\n case parser.yy.LINETYPE.LOOP_END:\n case parser.yy.LINETYPE.ALT_END:\n case parser.yy.LINETYPE.OPT_END:\n case parser.yy.LINETYPE.PAR_END:\n current = stack.pop();\n loops[current.id] = current;\n break;\n\n case parser.yy.LINETYPE.ACTIVE_START:\n {\n var actorRect = actors[msg.from ? msg.from.actor : msg.to.actor];\n var stackedSize = actorActivations(msg.from ? msg.from.actor : msg.to.actor).length;\n var x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;\n var toAdd = {\n startx: x,\n stopx: x + conf.activationWidth,\n actor: msg.from.actor,\n enabled: true\n };\n bounds.activations.push(toAdd);\n }\n break;\n\n case parser.yy.LINETYPE.ACTIVE_END:\n {\n var lastActorActivationIdx = bounds.activations.map(function (a) {\n return a.actor;\n }).lastIndexOf(msg.from.actor);\n delete bounds.activations.splice(lastActorActivationIdx, 1)[0];\n }\n break;\n }\n\n var isNote = msg.placement !== undefined;\n\n if (isNote) {\n noteModel = buildNoteModel(msg, actors);\n msg.noteModel = noteModel;\n stack.forEach(function (stk) {\n current = stk;\n current.from = Math.min(current.from, noteModel.startx);\n current.to = Math.max(current.to, noteModel.startx + noteModel.width);\n current.width = Math.max(current.width, Math.abs(current.from - current.to)) - conf.labelBoxWidth;\n });\n } else {\n msgModel = buildMessageModel(msg, actors);\n msg.msgModel = msgModel;\n\n if (msgModel.startx && msgModel.stopx && stack.length > 0) {\n stack.forEach(function (stk) {\n current = stk;\n\n if (msgModel.startx === msgModel.stopx) {\n var from = actors[msg.from];\n var to = actors[msg.to];\n current.from = Math.min(from.x - msgModel.width / 2, from.x - from.width / 2, current.from);\n current.to = Math.max(to.x + msgModel.width / 2, to.x + from.width / 2, current.to);\n current.width = Math.max(current.width, Math.abs(current.to - current.from)) - conf.labelBoxWidth;\n } else {\n current.from = Math.min(msgModel.startx, current.from);\n current.to = Math.max(msgModel.stopx, current.to);\n current.width = Math.max(current.width, msgModel.width) - conf.labelBoxWidth;\n }\n });\n }\n }\n });\n bounds.activations = [];\n logger.debug('Loop type widths:', loops);\n return loops;\n};\n\nexport default {\n bounds: bounds,\n drawActors: drawActors,\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "name": "./src/diagrams/gantt/ganttDb.js", "index": 558, "index2": 556, "size": 16304, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./ganttDb", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "./ganttDb", "loc": "5:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/ganttDb", "loc": "30:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttDb", "loc": "99:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "./ganttDb", "loc": "331:22-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttDb", "loc": "419:20-27" } ], "usedExports": [ "default" ], "providedExports": [ "clear", "setAxisFormat", "getAxisFormat", "setTodayMarker", "getTodayMarker", "setDateFormat", "enableInclusiveEndDates", "endDatesAreInclusive", "getDateFormat", "setExcludes", "getExcludes", "setTitle", "getTitle", "addSection", "getSections", "getTasks", "addTask", "findTaskById", "addTaskOrg", "setLink", "setClass", "setClickEvent", "bindFunctions", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport moment from 'moment-mini';\nimport { sanitizeUrl } from '@braintree/sanitize-url';\nimport { logger } from '../../logger';\nimport { getConfig } from '../../config';\nimport utils from '../../utils';\nvar dateFormat = '';\nvar axisFormat = '';\nvar todayMarker = '';\nvar excludes = [];\nvar title = '';\nvar sections = [];\nvar tasks = [];\nvar currentSection = '';\nvar tags = ['active', 'done', 'crit', 'milestone'];\nvar funs = [];\nvar inclusiveEndDates = false; // The serial order of the task in the script\n\nvar lastOrder = 0;\nexport var clear = function clear() {\n sections = [];\n tasks = [];\n currentSection = '';\n funs = [];\n title = '';\n taskCnt = 0;\n lastTask = undefined;\n lastTaskID = undefined;\n rawTasks = [];\n dateFormat = '';\n axisFormat = '';\n todayMarker = '';\n excludes = [];\n inclusiveEndDates = false;\n lastOrder = 0;\n};\nexport var setAxisFormat = function setAxisFormat(txt) {\n axisFormat = txt;\n};\nexport var getAxisFormat = function getAxisFormat() {\n return axisFormat;\n};\nexport var setTodayMarker = function setTodayMarker(txt) {\n todayMarker = txt;\n};\nexport var getTodayMarker = function getTodayMarker() {\n return todayMarker;\n};\nexport var setDateFormat = function setDateFormat(txt) {\n dateFormat = txt;\n};\nexport var enableInclusiveEndDates = function enableInclusiveEndDates() {\n inclusiveEndDates = true;\n};\nexport var endDatesAreInclusive = function endDatesAreInclusive() {\n return inclusiveEndDates;\n};\nexport var getDateFormat = function getDateFormat() {\n return dateFormat;\n};\nexport var setExcludes = function setExcludes(txt) {\n excludes = txt.toLowerCase().split(/[\\s,]+/);\n};\nexport var getExcludes = function getExcludes() {\n return excludes;\n};\nexport var setTitle = function setTitle(txt) {\n title = txt;\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var addSection = function addSection(txt) {\n currentSection = txt;\n sections.push(txt);\n};\nexport var getSections = function getSections() {\n return sections;\n};\nexport var getTasks = function getTasks() {\n var allItemsPricessed = compileTasks();\n var maxDepth = 10;\n var iterationCount = 0;\n\n while (!allItemsPricessed && iterationCount < maxDepth) {\n allItemsPricessed = compileTasks();\n iterationCount++;\n }\n\n tasks = rawTasks;\n return tasks;\n};\n\nvar isInvalidDate = function isInvalidDate(date, dateFormat, excludes) {\n if (date.isoWeekday() >= 6 && excludes.indexOf('weekends') >= 0) {\n return true;\n }\n\n if (excludes.indexOf(date.format('dddd').toLowerCase()) >= 0) {\n return true;\n }\n\n return excludes.indexOf(date.format(dateFormat.trim())) >= 0;\n};\n\nvar checkTaskDates = function checkTaskDates(task, dateFormat, excludes) {\n if (!excludes.length || task.manualEndTime) return;\n var startTime = moment(task.startTime, dateFormat, true);\n startTime.add(1, 'd');\n var endTime = moment(task.endTime, dateFormat, true);\n var renderEndTime = fixTaskDates(startTime, endTime, dateFormat, excludes);\n task.endTime = endTime.toDate();\n task.renderEndTime = renderEndTime;\n};\n\nvar fixTaskDates = function fixTaskDates(startTime, endTime, dateFormat, excludes) {\n var invalid = false;\n var renderEndTime = null;\n\n while (startTime <= endTime) {\n if (!invalid) {\n renderEndTime = endTime.toDate();\n }\n\n invalid = isInvalidDate(startTime, dateFormat, excludes);\n\n if (invalid) {\n endTime.add(1, 'd');\n }\n\n startTime.add(1, 'd');\n }\n\n return renderEndTime;\n};\n\nvar getStartDate = function getStartDate(prevTime, dateFormat, str) {\n str = str.trim(); // Test for after\n\n var re = /^after\\s+([\\d\\w- ]+)/;\n var afterStatement = re.exec(str.trim());\n\n if (afterStatement !== null) {\n // check all after ids and take the latest\n var latestEndingTask = null;\n afterStatement[1].split(' ').forEach(function (id) {\n var task = findTaskById(id);\n\n if (typeof task !== 'undefined') {\n if (!latestEndingTask) {\n latestEndingTask = task;\n } else {\n if (task.endTime > latestEndingTask.endTime) {\n latestEndingTask = task;\n }\n }\n }\n });\n\n if (!latestEndingTask) {\n var dt = new Date();\n dt.setHours(0, 0, 0, 0);\n return dt;\n } else {\n return latestEndingTask.endTime;\n }\n } // Check for actual date set\n\n\n var mDate = moment(str, dateFormat.trim(), true);\n\n if (mDate.isValid()) {\n return mDate.toDate();\n } else {\n logger.debug('Invalid date:' + str);\n logger.debug('With date format:' + dateFormat.trim());\n } // Default date - now\n\n\n return new Date();\n};\n\nvar durationToDate = function durationToDate(durationStatement, relativeTime) {\n if (durationStatement !== null) {\n switch (durationStatement[2]) {\n case 's':\n relativeTime.add(durationStatement[1], 'seconds');\n break;\n\n case 'm':\n relativeTime.add(durationStatement[1], 'minutes');\n break;\n\n case 'h':\n relativeTime.add(durationStatement[1], 'hours');\n break;\n\n case 'd':\n relativeTime.add(durationStatement[1], 'days');\n break;\n\n case 'w':\n relativeTime.add(durationStatement[1], 'weeks');\n break;\n }\n } // Default date - now\n\n\n return relativeTime.toDate();\n};\n\nvar getEndDate = function getEndDate(prevTime, dateFormat, str, inclusive) {\n inclusive = inclusive || false;\n str = str.trim(); // Check for actual date\n\n var mDate = moment(str, dateFormat.trim(), true);\n\n if (mDate.isValid()) {\n if (inclusive) {\n mDate.add(1, 'd');\n }\n\n return mDate.toDate();\n }\n\n return durationToDate(/^([\\d]+)([wdhms])/.exec(str.trim()), moment(prevTime));\n};\n\nvar taskCnt = 0;\n\nvar parseId = function parseId(idStr) {\n if (typeof idStr === 'undefined') {\n taskCnt = taskCnt + 1;\n return 'task' + taskCnt;\n }\n\n return idStr;\n}; // id, startDate, endDate\n// id, startDate, length\n// id, after x, endDate\n// id, after x, length\n// startDate, endDate\n// startDate, length\n// after x, endDate\n// after x, length\n// endDate\n// length\n\n\nvar compileData = function compileData(prevTask, dataStr) {\n var ds;\n\n if (dataStr.substr(0, 1) === ':') {\n ds = dataStr.substr(1, dataStr.length);\n } else {\n ds = dataStr;\n }\n\n var data = ds.split(',');\n var task = {}; // Get tags like active, done, crit and milestone\n\n getTaskTags(data, task, tags);\n\n for (var i = 0; i < data.length; i++) {\n data[i] = data[i].trim();\n }\n\n var endTimeData = '';\n\n switch (data.length) {\n case 1:\n task.id = parseId();\n task.startTime = prevTask.endTime;\n endTimeData = data[0];\n break;\n\n case 2:\n task.id = parseId();\n task.startTime = getStartDate(undefined, dateFormat, data[0]);\n endTimeData = data[1];\n break;\n\n case 3:\n task.id = parseId(data[0]);\n task.startTime = getStartDate(undefined, dateFormat, data[1]);\n endTimeData = data[2];\n break;\n\n default:\n }\n\n if (endTimeData) {\n task.endTime = getEndDate(task.startTime, dateFormat, endTimeData, inclusiveEndDates);\n task.manualEndTime = moment(endTimeData, 'YYYY-MM-DD', true).isValid();\n checkTaskDates(task, dateFormat, excludes);\n }\n\n return task;\n};\n\nvar parseData = function parseData(prevTaskId, dataStr) {\n var ds;\n\n if (dataStr.substr(0, 1) === ':') {\n ds = dataStr.substr(1, dataStr.length);\n } else {\n ds = dataStr;\n }\n\n var data = ds.split(',');\n var task = {}; // Get tags like active, done, crit and milestone\n\n getTaskTags(data, task, tags);\n\n for (var i = 0; i < data.length; i++) {\n data[i] = data[i].trim();\n }\n\n switch (data.length) {\n case 1:\n task.id = parseId();\n task.startTime = {\n type: 'prevTaskEnd',\n id: prevTaskId\n };\n task.endTime = {\n data: data[0]\n };\n break;\n\n case 2:\n task.id = parseId();\n task.startTime = {\n type: 'getStartDate',\n startData: data[0]\n };\n task.endTime = {\n data: data[1]\n };\n break;\n\n case 3:\n task.id = parseId(data[0]);\n task.startTime = {\n type: 'getStartDate',\n startData: data[1]\n };\n task.endTime = {\n data: data[2]\n };\n break;\n\n default:\n }\n\n return task;\n};\n\nvar lastTask;\nvar lastTaskID;\nvar rawTasks = [];\nvar taskDb = {};\nexport var addTask = function addTask(descr, data) {\n var rawTask = {\n section: currentSection,\n type: currentSection,\n processed: false,\n manualEndTime: false,\n renderEndTime: null,\n raw: {\n data: data\n },\n task: descr,\n classes: []\n };\n var taskInfo = parseData(lastTaskID, data);\n rawTask.raw.startTime = taskInfo.startTime;\n rawTask.raw.endTime = taskInfo.endTime;\n rawTask.id = taskInfo.id;\n rawTask.prevTaskId = lastTaskID;\n rawTask.active = taskInfo.active;\n rawTask.done = taskInfo.done;\n rawTask.crit = taskInfo.crit;\n rawTask.milestone = taskInfo.milestone;\n rawTask.order = lastOrder;\n lastOrder++;\n var pos = rawTasks.push(rawTask);\n lastTaskID = rawTask.id; // Store cross ref\n\n taskDb[rawTask.id] = pos - 1;\n};\nexport var findTaskById = function findTaskById(id) {\n var pos = taskDb[id];\n return rawTasks[pos];\n};\nexport var addTaskOrg = function addTaskOrg(descr, data) {\n var newTask = {\n section: currentSection,\n type: currentSection,\n description: descr,\n task: descr,\n classes: []\n };\n var taskInfo = compileData(lastTask, data);\n newTask.startTime = taskInfo.startTime;\n newTask.endTime = taskInfo.endTime;\n newTask.id = taskInfo.id;\n newTask.active = taskInfo.active;\n newTask.done = taskInfo.done;\n newTask.crit = taskInfo.crit;\n newTask.milestone = taskInfo.milestone;\n lastTask = newTask;\n tasks.push(newTask);\n};\n\nvar compileTasks = function compileTasks() {\n var compileTask = function compileTask(pos) {\n var task = rawTasks[pos];\n var startTime = '';\n\n switch (rawTasks[pos].raw.startTime.type) {\n case 'prevTaskEnd':\n {\n var prevTask = findTaskById(task.prevTaskId);\n task.startTime = prevTask.endTime;\n break;\n }\n\n case 'getStartDate':\n startTime = getStartDate(undefined, dateFormat, rawTasks[pos].raw.startTime.startData);\n\n if (startTime) {\n rawTasks[pos].startTime = startTime;\n }\n\n break;\n }\n\n if (rawTasks[pos].startTime) {\n rawTasks[pos].endTime = getEndDate(rawTasks[pos].startTime, dateFormat, rawTasks[pos].raw.endTime.data, inclusiveEndDates);\n\n if (rawTasks[pos].endTime) {\n rawTasks[pos].processed = true;\n rawTasks[pos].manualEndTime = moment(rawTasks[pos].raw.endTime.data, 'YYYY-MM-DD', true).isValid();\n checkTaskDates(rawTasks[pos], dateFormat, excludes);\n }\n }\n\n return rawTasks[pos].processed;\n };\n\n var allProcessed = true;\n\n for (var i = 0; i < rawTasks.length; i++) {\n compileTask(i);\n allProcessed = allProcessed && rawTasks[i].processed;\n }\n\n return allProcessed;\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n */\n\n\nexport var setLink = function setLink(ids, _linkStr) {\n var linkStr = _linkStr;\n\n if (getConfig().securityLevel !== 'loose') {\n linkStr = sanitizeUrl(_linkStr);\n }\n\n ids.split(',').forEach(function (id) {\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n pushFun(id, function () {\n window.open(linkStr, '_self');\n });\n }\n });\n setClass(ids, 'clickable');\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setClass = function setClass(ids, className) {\n ids.split(',').forEach(function (id) {\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n rawTask.classes.push(className);\n }\n });\n};\n\nvar setClickFun = function setClickFun(id, functionName, functionArgs) {\n if (getConfig().securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n var argList = [];\n\n if (typeof functionArgs === 'string') {\n /* Splits functionArgs by ',', ignoring all ',' in double quoted strings */\n argList = functionArgs.split(/,(?=(?:(?:[^\"]*\"){2})*[^\"]*$)/);\n\n for (var i = 0; i < argList.length; i++) {\n var item = argList[i].trim();\n /* Removes all double quotes at the start and end of an argument */\n\n /* This preserves all starting and ending whitespace inside */\n\n if (item.charAt(0) === '\"' && item.charAt(item.length - 1) === '\"') {\n item = item.substr(1, item.length - 2);\n }\n\n argList[i] = item;\n }\n }\n /* if no arguments passed into callback, default to passing in id */\n\n\n if (argList.length === 0) {\n argList.push(id);\n }\n\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n pushFun(id, function () {\n utils.runFunc.apply(utils, [functionName].concat(_toConsumableArray(argList)));\n });\n }\n};\n/**\n * The callbackFunction is executed in a click event bound to the task with the specified id or the task's assigned text\n * @param id The task's id\n * @param callbackFunction A function to be executed when clicked on the task or the task's text\n */\n\n\nvar pushFun = function pushFun(id, callbackFunction) {\n funs.push(function () {\n // const elem = d3.select(element).select(`[id=\"${id}\"]`)\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n callbackFunction();\n });\n }\n });\n funs.push(function () {\n // const elem = d3.select(element).select(`[id=\"${id}-text\"]`)\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"-text\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n callbackFunction();\n });\n }\n });\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param functionArgs Function args the function should be called with\n */\n\n\nexport var setClickEvent = function setClickEvent(ids, functionName, functionArgs) {\n ids.split(',').forEach(function (id) {\n setClickFun(id, functionName, functionArgs);\n });\n setClass(ids, 'clickable');\n};\n/**\n * Binds all functions previously added to fun (specified through click) to the element\n * @param element\n */\n\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport default {\n clear: clear,\n setDateFormat: setDateFormat,\n getDateFormat: getDateFormat,\n enableInclusiveEndDates: enableInclusiveEndDates,\n endDatesAreInclusive: endDatesAreInclusive,\n setAxisFormat: setAxisFormat,\n getAxisFormat: getAxisFormat,\n setTodayMarker: setTodayMarker,\n getTodayMarker: getTodayMarker,\n setTitle: setTitle,\n getTitle: getTitle,\n addSection: addSection,\n getSections: getSections,\n getTasks: getTasks,\n addTask: addTask,\n findTaskById: findTaskById,\n addTaskOrg: addTaskOrg,\n setExcludes: setExcludes,\n getExcludes: getExcludes,\n setClickEvent: setClickEvent,\n setLink: setLink,\n bindFunctions: bindFunctions,\n durationToDate: durationToDate\n};\n\nfunction getTaskTags(data, task, tags) {\n var matchFound = true;\n\n while (matchFound) {\n matchFound = false;\n tags.forEach(function (t) {\n var pattern = '^\\\\s*' + t + '\\\\s*$';\n var regex = new RegExp(pattern);\n\n if (data[0].match(regex)) {\n task[t] = true;\n data.shift(1);\n matchFound = true;\n }\n });\n }\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "name": "./src/diagrams/gantt/ganttRenderer.js", "index": 910, "index2": 908, "size": 12233, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "28:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "340:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "341:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "531:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select, scaleTime, min, max, scaleLinear, interpolateHcl, axisBottom, timeFormat } from 'd3';\nimport { parser } from './parser/gantt';\nimport common from '../common/common';\nimport ganttDb from './ganttDb';\nparser.yy = ganttDb;\nvar conf = {\n titleTopMargin: 25,\n barHeight: 20,\n barGap: 4,\n topPadding: 50,\n rightPadding: 75,\n leftPadding: 75,\n gridLineStartPadding: 35,\n fontSize: 11,\n fontFamily: '\"Open-Sans\", \"sans-serif\"'\n};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\nvar w;\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.parse(text);\n var elem = document.getElementById(id);\n w = elem.parentElement.offsetWidth;\n\n if (typeof w === 'undefined') {\n w = 1200;\n }\n\n if (typeof conf.useWidth !== 'undefined') {\n w = conf.useWidth;\n }\n\n var taskArray = parser.yy.getTasks(); // Set height based on number of tasks\n\n var h = taskArray.length * (conf.barHeight + conf.barGap) + 2 * conf.topPadding;\n elem.setAttribute('height', '100%'); // Set viewBox\n\n elem.setAttribute('viewBox', '0 0 ' + w + ' ' + h);\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Set timescale\n\n var timeScale = scaleTime().domain([min(taskArray, function (d) {\n return d.startTime;\n }), max(taskArray, function (d) {\n return d.endTime;\n })]).rangeRound([0, w - conf.leftPadding - conf.rightPadding]);\n var categories = [];\n\n for (var i = 0; i < taskArray.length; i++) {\n categories.push(taskArray[i].type);\n }\n\n var catsUnfiltered = categories; // for vert labels\n\n categories = checkUnique(categories);\n\n function taskCompare(a, b) {\n var taskA = a.startTime;\n var taskB = b.startTime;\n var result = 0;\n\n if (taskA > taskB) {\n result = 1;\n } else if (taskA < taskB) {\n result = -1;\n }\n\n return result;\n } // Sort the task array using the above taskCompare() so that\n // tasks are created based on their order of startTime\n\n\n taskArray.sort(taskCompare);\n makeGant(taskArray, w, h);\n\n if (typeof conf.useWidth !== 'undefined') {\n elem.setAttribute('width', w);\n }\n\n svg.append('text').text(parser.yy.getTitle()).attr('x', w / 2).attr('y', conf.titleTopMargin).attr('class', 'titleText');\n\n function makeGant(tasks, pageWidth, pageHeight) {\n var barHeight = conf.barHeight;\n var gap = barHeight + conf.barGap;\n var topPadding = conf.topPadding;\n var leftPadding = conf.leftPadding;\n var colorScale = scaleLinear().domain([0, categories.length]).range(['#00B9FA', '#F95002']).interpolate(interpolateHcl);\n makeGrid(leftPadding, topPadding, pageWidth, pageHeight);\n drawRects(tasks, gap, topPadding, leftPadding, barHeight, colorScale, pageWidth, pageHeight);\n vertLabels(gap, topPadding, leftPadding, barHeight, colorScale);\n drawToday(leftPadding, topPadding, pageWidth, pageHeight);\n }\n\n function drawRects(theArray, theGap, theTopPad, theSidePad, theBarHeight, theColorScale, w) {\n // Draw background rects covering the entire width of the graph, these form the section rows.\n svg.append('g').selectAll('rect').data(theArray).enter().append('rect').attr('x', 0).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + theTopPad - 2;\n }).attr('width', function () {\n return w - conf.rightPadding / 2;\n }).attr('height', theGap).attr('class', function (d) {\n for (var _i = 0; _i < categories.length; _i++) {\n if (d.type === categories[_i]) {\n return 'section section' + _i % conf.numberSectionStyles;\n }\n }\n\n return 'section section0';\n }); // Draw the rects representing the tasks\n\n var rectangles = svg.append('g').selectAll('rect').data(theArray).enter();\n rectangles.append('rect').attr('id', function (d) {\n return d.id;\n }).attr('rx', 3).attr('ry', 3).attr('x', function (d) {\n if (d.milestone) {\n return timeScale(d.startTime) + theSidePad + 0.5 * (timeScale(d.endTime) - timeScale(d.startTime)) - 0.5 * theBarHeight;\n }\n\n return timeScale(d.startTime) + theSidePad;\n }).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + theTopPad;\n }).attr('width', function (d) {\n if (d.milestone) {\n return theBarHeight;\n }\n\n return timeScale(d.renderEndTime || d.endTime) - timeScale(d.startTime);\n }).attr('height', theBarHeight).attr('transform-origin', function (d, i) {\n return (timeScale(d.startTime) + theSidePad + 0.5 * (timeScale(d.endTime) - timeScale(d.startTime))).toString() + 'px ' + (i * theGap + theTopPad + 0.5 * theBarHeight).toString() + 'px';\n }).attr('class', function (d) {\n var res = 'task';\n var classStr = '';\n\n if (d.classes.length > 0) {\n classStr = d.classes.join(' ');\n }\n\n var secNum = 0;\n\n for (var _i2 = 0; _i2 < categories.length; _i2++) {\n if (d.type === categories[_i2]) {\n secNum = _i2 % conf.numberSectionStyles;\n }\n }\n\n var taskClass = '';\n\n if (d.active) {\n if (d.crit) {\n taskClass += ' activeCrit';\n } else {\n taskClass = ' active';\n }\n } else if (d.done) {\n if (d.crit) {\n taskClass = ' doneCrit';\n } else {\n taskClass = ' done';\n }\n } else {\n if (d.crit) {\n taskClass += ' crit';\n }\n }\n\n if (taskClass.length === 0) {\n taskClass = ' task';\n }\n\n if (d.milestone) {\n taskClass = ' milestone ' + taskClass;\n }\n\n taskClass += secNum;\n taskClass += ' ' + classStr;\n return res + taskClass;\n }); // Append task labels\n\n rectangles.append('text').attr('id', function (d) {\n return d.id + '-text';\n }).text(function (d) {\n return d.task;\n }).attr('font-size', conf.fontSize).attr('x', function (d) {\n var startX = timeScale(d.startTime);\n var endX = timeScale(d.renderEndTime || d.endTime);\n\n if (d.milestone) {\n startX += 0.5 * (timeScale(d.endTime) - timeScale(d.startTime)) - 0.5 * theBarHeight;\n }\n\n if (d.milestone) {\n endX = startX + theBarHeight;\n }\n\n var textWidth = this.getBBox().width; // Check id text width > width of rectangle\n\n if (textWidth > endX - startX) {\n if (endX + textWidth + 1.5 * conf.leftPadding > w) {\n return startX + theSidePad - 5;\n } else {\n return endX + theSidePad + 5;\n }\n } else {\n return (endX - startX) / 2 + startX + theSidePad;\n }\n }).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + conf.barHeight / 2 + (conf.fontSize / 2 - 2) + theTopPad;\n }).attr('text-height', theBarHeight).attr('class', function (d) {\n var startX = timeScale(d.startTime);\n var endX = timeScale(d.endTime);\n\n if (d.milestone) {\n endX = startX + theBarHeight;\n }\n\n var textWidth = this.getBBox().width;\n var classStr = '';\n\n if (d.classes.length > 0) {\n classStr = d.classes.join(' ');\n }\n\n var secNum = 0;\n console.log(conf);\n\n for (var _i3 = 0; _i3 < categories.length; _i3++) {\n if (d.type === categories[_i3]) {\n secNum = _i3 % conf.numberSectionStyles;\n }\n }\n\n var taskType = '';\n\n if (d.active) {\n if (d.crit) {\n taskType = 'activeCritText' + secNum;\n } else {\n taskType = 'activeText' + secNum;\n }\n }\n\n if (d.done) {\n if (d.crit) {\n taskType = taskType + ' doneCritText' + secNum;\n } else {\n taskType = taskType + ' doneText' + secNum;\n }\n } else {\n if (d.crit) {\n taskType = taskType + ' critText' + secNum;\n }\n }\n\n if (d.milestone) {\n taskType += ' milestoneText';\n } // Check id text width > width of rectangle\n\n\n if (textWidth > endX - startX) {\n if (endX + textWidth + 1.5 * conf.leftPadding > w) {\n return classStr + ' taskTextOutsideLeft taskTextOutside' + secNum + ' ' + taskType;\n } else {\n return classStr + ' taskTextOutsideRight taskTextOutside' + secNum + ' ' + taskType + ' width-' + textWidth;\n }\n } else {\n return classStr + ' taskText taskText' + secNum + ' ' + taskType + ' width-' + textWidth;\n }\n });\n }\n\n function makeGrid(theSidePad, theTopPad, w, h) {\n var xAxis = axisBottom(timeScale).tickSize(-h + theTopPad + conf.gridLineStartPadding).tickFormat(timeFormat(parser.yy.getAxisFormat() || conf.axisFormat || '%Y-%m-%d'));\n svg.append('g').attr('class', 'grid').attr('transform', 'translate(' + theSidePad + ', ' + (h - 50) + ')').call(xAxis).selectAll('text').style('text-anchor', 'middle').attr('fill', '#000').attr('stroke', 'none').attr('font-size', 10).attr('dy', '1em');\n }\n\n function vertLabels(theGap, theTopPad) {\n var numOccurances = [];\n var prevGap = 0;\n\n for (var _i4 = 0; _i4 < categories.length; _i4++) {\n numOccurances[_i4] = [categories[_i4], getCount(categories[_i4], catsUnfiltered)];\n }\n\n svg.append('g') // without doing this, impossible to put grid lines behind text\n .selectAll('text').data(numOccurances).enter().append(function (d) {\n var rows = d[0].split(common.lineBreakRegex);\n var dy = -(rows.length - 1) / 2;\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('dy', dy + 'em');\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttribute('alignment-baseline', 'central');\n tspan.setAttribute('x', '10');\n if (j > 0) tspan.setAttribute('dy', '1em');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n return svgLabel;\n }).attr('x', 10).attr('y', function (d, i) {\n if (i > 0) {\n for (var j = 0; j < i; j++) {\n prevGap += numOccurances[i - 1][1];\n return d[1] * theGap / 2 + prevGap * theGap + theTopPad;\n }\n } else {\n return d[1] * theGap / 2 + theTopPad;\n }\n }).attr('class', function (d) {\n for (var _i5 = 0; _i5 < categories.length; _i5++) {\n if (d[0] === categories[_i5]) {\n return 'sectionTitle sectionTitle' + _i5 % conf.numberSectionStyles;\n }\n }\n\n return 'sectionTitle';\n });\n }\n\n function drawToday(theSidePad, theTopPad, w, h) {\n var todayMarker = ganttDb.getTodayMarker();\n\n if (todayMarker === 'off') {\n return;\n }\n\n var todayG = svg.append('g').attr('class', 'today');\n var today = new Date();\n var todayLine = todayG.append('line');\n todayLine.attr('x1', timeScale(today) + theSidePad).attr('x2', timeScale(today) + theSidePad).attr('y1', conf.titleTopMargin).attr('y2', h - conf.titleTopMargin).attr('class', 'today');\n\n if (todayMarker !== '') {\n todayLine.attr('style', todayMarker.replace(/,/g, ';'));\n }\n } // from this stackexchange question: http://stackoverflow.com/questions/1890203/unique-for-arrays-in-javascript\n\n\n function checkUnique(arr) {\n var hash = {};\n var result = [];\n\n for (var _i6 = 0, l = arr.length; _i6 < l; ++_i6) {\n if (!hash.hasOwnProperty(arr[_i6])) {\n // eslint-disable-line\n // it works with objects! in FF, at least\n hash[arr[_i6]] = true;\n result.push(arr[_i6]);\n }\n }\n\n return result;\n } // from this stackexchange question: http://stackoverflow.com/questions/14227981/count-how-many-strings-in-an-array-have-duplicates-in-the-same-array\n\n\n function getCounts(arr) {\n var i = arr.length; // const to loop over\n\n var obj = {}; // obj to store results\n\n while (i) {\n obj[arr[--i]] = (obj[arr[i]] || 0) + 1; // count occurrences\n }\n\n return obj;\n } // get specific from everything\n\n\n function getCount(word, arr) {\n return getCounts(arr)[word] || 0;\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "name": "./src/diagrams/class/classDb.js", "index": 560, "index2": 558, "size": 8112, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "./classDb", "loc": "2:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./classDb", "loc": "5:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "8:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "9:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "12:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "15:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "18:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/classDb", "loc": "33:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "77:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "91:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "102:19-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classDb", "loc": "104:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "115:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classDb", "loc": "423:20-27" } ], "usedExports": [ "default", "lookUpDomId", "relationType" ], "providedExports": [ "addClass", "lookUpDomId", "clear", "getClass", "getClasses", "getRelations", "addRelation", "addAnnotation", "addMember", "addMembers", "cleanupLabel", "setCssClass", "setLink", "setClickEvent", "bindFunctions", "lineType", "relationType", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport { logger } from '../../logger';\nimport { getConfig } from '../../config';\nimport common from '../common/common';\nimport utils from '../../utils';\nvar MERMAID_DOM_ID_PREFIX = 'classid-';\nvar config = getConfig();\nvar relations = [];\nvar classes = {};\nvar classCounter = 0;\nvar funs = [];\n\nvar splitClassNameAndType = function splitClassNameAndType(id) {\n var genericType = '';\n var className = id;\n\n if (id.indexOf('~') > 0) {\n var split = id.split('~');\n className = split[0];\n genericType = split[1];\n }\n\n return {\n className: className,\n type: genericType\n };\n};\n/**\n * Function called by parser when a node definition has been found.\n * @param id\n * @public\n */\n\n\nexport var addClass = function addClass(id) {\n var classId = splitClassNameAndType(id); // Only add class if not exists\n\n if (typeof classes[classId.className] !== 'undefined') return;\n classes[classId.className] = {\n id: classId.className,\n type: classId.type,\n cssClasses: [],\n methods: [],\n members: [],\n annotations: [],\n domId: MERMAID_DOM_ID_PREFIX + classId.className + '-' + classCounter\n };\n classCounter++;\n};\n/**\n * Function to lookup domId from id in the graph definition.\n * @param id\n * @public\n */\n\nexport var lookUpDomId = function lookUpDomId(id) {\n var classKeys = Object.keys(classes);\n\n for (var i = 0; i < classKeys.length; i++) {\n if (classes[classKeys[i]].id === id) {\n return classes[classKeys[i]].domId;\n }\n }\n};\nexport var clear = function clear() {\n relations = [];\n classes = {};\n funs = [];\n funs.push(setupToolTips);\n};\nexport var getClass = function getClass(id) {\n return classes[id];\n};\nexport var getClasses = function getClasses() {\n return classes;\n};\nexport var getRelations = function getRelations() {\n return relations;\n};\nexport var addRelation = function addRelation(relation) {\n logger.debug('Adding relation: ' + JSON.stringify(relation));\n addClass(relation.id1);\n addClass(relation.id2);\n relation.id1 = splitClassNameAndType(relation.id1).className;\n relation.id2 = splitClassNameAndType(relation.id2).className;\n relations.push(relation);\n};\n/**\n * Adds an annotation to the specified class\n * Annotations mark special properties of the given type (like 'interface' or 'service')\n * @param className The class name\n * @param annotation The name of the annotation without any brackets\n * @public\n */\n\nexport var addAnnotation = function addAnnotation(className, annotation) {\n var validatedClassName = splitClassNameAndType(className).className;\n classes[validatedClassName].annotations.push(annotation);\n};\n/**\n * Adds a member to the specified class\n * @param className The class name\n * @param member The full name of the member.\n * If the member is enclosed in <> it is treated as an annotation\n * If the member is ending with a closing bracket ) it is treated as a method\n * Otherwise the member will be treated as a normal property\n * @public\n */\n\nexport var addMember = function addMember(className, member) {\n var validatedClassName = splitClassNameAndType(className).className;\n var theClass = classes[validatedClassName];\n\n if (typeof member === 'string') {\n // Member can contain white spaces, we trim them out\n var memberString = member.trim();\n\n if (memberString.startsWith('<<') && memberString.endsWith('>>')) {\n // Remove leading and trailing brackets\n theClass.annotations.push(memberString.substring(2, memberString.length - 2));\n } else if (memberString.indexOf(')') > 0) {\n theClass.methods.push(memberString);\n } else if (memberString) {\n theClass.members.push(memberString);\n }\n }\n};\nexport var addMembers = function addMembers(className, members) {\n if (Array.isArray(members)) {\n members.reverse();\n members.forEach(function (member) {\n return addMember(className, member);\n });\n }\n};\nexport var cleanupLabel = function cleanupLabel(label) {\n if (label.substring(0, 1) === ':') {\n return label.substr(1).trim();\n } else {\n return label.trim();\n }\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setCssClass = function setCssClass(ids, className) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof classes[id] !== 'undefined') {\n classes[id].cssClasses.push(className);\n }\n });\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setLink = function setLink(ids, linkStr, tooltip) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof classes[id] !== 'undefined') {\n classes[id].link = utils.formatUrl(linkStr, config);\n\n if (tooltip) {\n classes[id].tooltip = common.sanitizeText(tooltip, config);\n }\n }\n });\n setCssClass(ids, 'clickable');\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setClickEvent = function setClickEvent(ids, functionName, tooltip) {\n ids.split(',').forEach(function (id) {\n setClickFunc(id, functionName, tooltip);\n });\n setCssClass(ids, 'clickable');\n};\n\nvar setClickFunc = function setClickFunc(domId, functionName, tooltip) {\n var id = domId;\n var elemId = lookUpDomId(id);\n\n if (config.securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n if (typeof classes[id] !== 'undefined') {\n if (tooltip) {\n classes[id].tooltip = common.sanitizeText(tooltip, config);\n }\n\n funs.push(function () {\n var elem = document.querySelector(\"[id=\\\"\".concat(elemId, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n utils.runFunc(functionName, elemId);\n }, false);\n }\n });\n }\n};\n\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport var lineType = {\n LINE: 0,\n DOTTED_LINE: 1\n};\nexport var relationType = {\n AGGREGATION: 0,\n EXTENSION: 1,\n COMPOSITION: 2,\n DEPENDENCY: 3\n};\n\nvar setupToolTips = function setupToolTips(element) {\n var tooltipElem = select('.mermaidTooltip');\n\n if ((tooltipElem._groups || tooltipElem)[0][0] === null) {\n tooltipElem = select('body').append('div').attr('class', 'mermaidTooltip').style('opacity', 0);\n }\n\n var svg = select(element).select('svg');\n var nodes = svg.selectAll('g.node');\n nodes.on('mouseover', function () {\n var el = select(this);\n var title = el.attr('title'); // Dont try to draw a tooltip if no data is provided\n\n if (title === null) {\n return;\n }\n\n var rect = this.getBoundingClientRect();\n tooltipElem.transition().duration(200).style('opacity', '.9');\n tooltipElem.html(el.attr('title')).style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px').style('top', window.scrollY + rect.top - 14 + document.body.scrollTop + 'px');\n el.classed('hover', true);\n }).on('mouseout', function () {\n tooltipElem.transition().duration(500).style('opacity', 0);\n var el = select(this);\n el.classed('hover', false);\n });\n};\n\nfuns.push(setupToolTips);\nexport default {\n addClass: addClass,\n bindFunctions: bindFunctions,\n clear: clear,\n getClass: getClass,\n getClasses: getClasses,\n addAnnotation: addAnnotation,\n getRelations: getRelations,\n addRelation: addRelation,\n addMember: addMember,\n addMembers: addMembers,\n cleanupLabel: cleanupLabel,\n lineType: lineType,\n relationType: relationType,\n setClickEvent: setClickEvent,\n setCssClass: setCssClass,\n setLink: setLink,\n lookUpDomId: lookUpDomId\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "index": 911, "index2": 910, "size": 5731, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/classRenderer", "loc": "31:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "346:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "347:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "532:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport { logger } from '../../logger';\nimport classDb, { lookUpDomId } from './classDb';\nimport { parser } from './parser/classDiagram';\nimport svgDraw from './svgDraw';\nparser.yy = classDb;\nvar idCache = {};\nvar padding = 20;\nvar conf = {\n dividerMargin: 10,\n padding: 5,\n textHeight: 10\n}; // Todo optimize\n\nvar getGraphId = function getGraphId(label) {\n var keys = Object.keys(idCache);\n\n for (var i = 0; i < keys.length; i++) {\n if (idCache[keys[i]].label === label) {\n return keys[i];\n }\n }\n\n return undefined;\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\n\nvar insertMarkers = function insertMarkers(elem) {\n elem.append('defs').append('marker').attr('id', 'extensionStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 1,7 L18,13 V 1 Z');\n elem.append('defs').append('marker').attr('id', 'extensionEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 1,1 V 13 L18,7 Z'); // this is actual shape for arrowhead\n\n elem.append('defs').append('marker').attr('id', 'compositionStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'compositionEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'aggregationStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'aggregationEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'dependencyStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 5,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'dependencyEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L14,7 L9,1 Z');\n};\n\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n idCache = {};\n parser.yy.clear();\n parser.parse(text);\n logger.info('Rendering diagram ' + text); // Fetch the default direction, use TD if none was found\n\n var diagram = select(\"[id='\".concat(id, \"']\"));\n insertMarkers(diagram); // Layout graph, Create a new directed graph\n\n var g = new graphlib.Graph({\n multigraph: true\n }); // Set an object for the graph label\n\n g.setGraph({\n isMultiGraph: true\n }); // Default to assigning a new object as a label for each new edge.\n\n g.setDefaultEdgeLabel(function () {\n return {};\n });\n var classes = classDb.getClasses();\n var keys = Object.keys(classes);\n\n for (var i = 0; i < keys.length; i++) {\n var classDef = classes[keys[i]];\n var node = svgDraw.drawClass(diagram, classDef, conf);\n idCache[node.id] = node; // Add nodes to the graph. The first argument is the node id. The second is\n // metadata about the node. In this case we're going to add labels to each of\n // our nodes.\n\n g.setNode(node.id, node);\n logger.info('Org height: ' + node.height);\n }\n\n var relations = classDb.getRelations();\n relations.forEach(function (relation) {\n logger.info('tjoho' + getGraphId(relation.id1) + getGraphId(relation.id2) + JSON.stringify(relation));\n g.setEdge(getGraphId(relation.id1), getGraphId(relation.id2), {\n relation: relation\n }, relation.title || 'DEFAULT');\n });\n dagre.layout(g);\n g.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof g.node(v) !== 'undefined') {\n logger.debug('Node ' + v + ': ' + JSON.stringify(g.node(v)));\n select('#' + lookUpDomId(v)).attr('transform', 'translate(' + (g.node(v).x - g.node(v).width / 2) + ',' + (g.node(v).y - g.node(v).height / 2) + ' )');\n }\n });\n g.edges().forEach(function (e) {\n if (typeof e !== 'undefined' && typeof g.edge(e) !== 'undefined') {\n logger.debug('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(g.edge(e)));\n svgDraw.drawEdge(diagram, g.edge(e), g.edge(e).relation, conf);\n }\n });\n var svgBounds = diagram.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n diagram.attr('width', '100%');\n diagram.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n diagram.attr('viewBox', vBox);\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "name": "./src/diagrams/state/stateDb.js", "index": 562, "index2": 560, "size": 6456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "5:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "11:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "24:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "26:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "29:9-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateDb", "loc": "37:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "51:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateDb", "loc": "109:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateDb", "loc": "114:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "121:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "122:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "123:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "215:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "218:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "227:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "249:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "250:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "250:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "251:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "252:26-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "298:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "301:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "304:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "307:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "332:66-73" } ], "usedExports": [ "default" ], "providedExports": [ "addState", "clear", "getState", "getStates", "logDocuments", "getRelations", "addRelation", "cleanupLabel", "lineType", "relationType", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { logger } from '../../logger';\nimport { generateId } from '../../utils';\n\nvar clone = function clone(o) {\n return JSON.parse(JSON.stringify(o));\n};\n\nvar rootDoc = [];\n\nvar setRootDoc = function setRootDoc(o) {\n logger.info('Setting root doc', o); // rootDoc = { id: 'root', doc: o };\n\n rootDoc = o;\n};\n\nvar getRootDoc = function getRootDoc() {\n return rootDoc;\n};\n\nvar docTranslator = function docTranslator(parent, node, first) {\n if (node.stmt === 'relation') {\n docTranslator(parent, node.state1, true);\n docTranslator(parent, node.state2, false);\n } else {\n if (node.stmt === 'state') {\n if (node.id === '[*]') {\n node.id = first ? parent.id + '_start' : parent.id + '_end';\n node.start = first;\n }\n }\n\n if (node.doc) {\n var doc = []; // Check for concurrency\n\n var i = 0;\n var currentDoc = [];\n\n for (i = 0; i < node.doc.length; i++) {\n if (node.doc[i].type === 'divider') {\n // debugger;\n var newNode = clone(node.doc[i]);\n newNode.doc = clone(currentDoc);\n doc.push(newNode);\n currentDoc = [];\n } else {\n currentDoc.push(node.doc[i]);\n }\n } // If any divider was encountered\n\n\n if (doc.length > 0 && currentDoc.length > 0) {\n var _newNode = {\n stmt: 'state',\n id: generateId(),\n type: 'divider',\n doc: clone(currentDoc)\n };\n doc.push(clone(_newNode));\n node.doc = doc;\n }\n\n node.doc.forEach(function (docNode) {\n return docTranslator(node, docNode, true);\n });\n }\n }\n};\n\nvar getRootDocV2 = function getRootDocV2() {\n docTranslator({\n id: 'root'\n }, {\n id: 'root',\n doc: rootDoc\n }, true);\n return {\n id: 'root',\n doc: rootDoc\n };\n};\n\nvar extract = function extract(_doc) {\n // const res = { states: [], relations: [] };\n var doc;\n\n if (_doc.doc) {\n doc = _doc.doc;\n } else {\n doc = _doc;\n } // let doc = root.doc;\n // if (!doc) {\n // doc = root;\n // }\n\n\n logger.info(doc);\n clear();\n logger.info('Extract', doc);\n doc.forEach(function (item) {\n if (item.stmt === 'state') {\n addState(item.id, item.type, item.doc, item.description, item.note);\n }\n\n if (item.stmt === 'relation') {\n addRelation(item.state1.id, item.state2.id, item.description);\n }\n });\n};\n\nvar newDoc = function newDoc() {\n return {\n relations: [],\n states: {},\n documents: {}\n };\n};\n\nvar documents = {\n root: newDoc()\n};\nvar currentDocument = documents.root;\nvar startCnt = 0;\nvar endCnt = 0; // eslint-disable-line\n// let stateCnt = 0;\n\n/**\n * Function called by parser when a node definition has been found.\n * @param id\n * @param text\n * @param type\n * @param style\n */\n\nexport var addState = function addState(id, type, doc, descr, note) {\n if (typeof currentDocument.states[id] === 'undefined') {\n currentDocument.states[id] = {\n id: id,\n descriptions: [],\n type: type,\n doc: doc,\n note: note\n };\n } else {\n if (!currentDocument.states[id].doc) {\n currentDocument.states[id].doc = doc;\n }\n\n if (!currentDocument.states[id].type) {\n currentDocument.states[id].type = type;\n }\n }\n\n if (descr) {\n logger.info('Adding state ', id, descr);\n if (typeof descr === 'string') addDescription(id, descr.trim());\n\n if (_typeof(descr) === 'object') {\n descr.forEach(function (des) {\n return addDescription(id, des.trim());\n });\n }\n }\n\n if (note) currentDocument.states[id].note = note;\n};\nexport var clear = function clear() {\n documents = {\n root: newDoc()\n };\n currentDocument = documents.root;\n currentDocument = documents.root;\n startCnt = 0;\n endCnt = 0; // eslint-disable-line\n\n classes = [];\n};\nexport var getState = function getState(id) {\n return currentDocument.states[id];\n};\nexport var getStates = function getStates() {\n return currentDocument.states;\n};\nexport var logDocuments = function logDocuments() {\n logger.info('Documents = ', documents);\n};\nexport var getRelations = function getRelations() {\n return currentDocument.relations;\n};\nexport var addRelation = function addRelation(_id1, _id2, title) {\n var id1 = _id1;\n var id2 = _id2;\n var type1 = 'default';\n var type2 = 'default';\n\n if (_id1 === '[*]') {\n startCnt++;\n id1 = 'start' + startCnt;\n type1 = 'start';\n }\n\n if (_id2 === '[*]') {\n endCnt++;\n id2 = 'end' + startCnt;\n type2 = 'end';\n }\n\n addState(id1, type1);\n addState(id2, type2);\n currentDocument.relations.push({\n id1: id1,\n id2: id2,\n title: title\n });\n};\n\nvar addDescription = function addDescription(id, _descr) {\n var theState = currentDocument.states[id];\n var descr = _descr;\n\n if (descr[0] === ':') {\n descr = descr.substr(1).trim();\n }\n\n theState.descriptions.push(descr);\n};\n\nexport var cleanupLabel = function cleanupLabel(label) {\n if (label.substring(0, 1) === ':') {\n return label.substr(2).trim();\n } else {\n return label.trim();\n }\n};\nexport var lineType = {\n LINE: 0,\n DOTTED_LINE: 1\n};\nvar dividerCnt = 0;\n\nvar getDividerId = function getDividerId() {\n dividerCnt++;\n return 'divider-id-' + dividerCnt;\n};\n\nvar classes = [];\n\nvar getClasses = function getClasses() {\n return classes;\n};\n\nvar getDirection = function getDirection() {\n return 'TB';\n};\n\nexport var relationType = {\n AGGREGATION: 0,\n EXTENSION: 1,\n COMPOSITION: 2,\n DEPENDENCY: 3\n};\n\nvar trimColon = function trimColon(str) {\n return str && str[0] === ':' ? str.substr(1).trim() : str.trim();\n};\n\nexport default {\n addState: addState,\n clear: clear,\n getState: getState,\n getStates: getStates,\n getRelations: getRelations,\n getClasses: getClasses,\n getDirection: getDirection,\n addRelation: addRelation,\n getDividerId: getDividerId,\n // addDescription,\n cleanupLabel: cleanupLabel,\n lineType: lineType,\n relationType: relationType,\n logDocuments: logDocuments,\n getRootDoc: getRootDoc,\n setRootDoc: setRootDoc,\n getRootDocV2: getRootDocV2,\n extract: extract,\n trimColon: trimColon\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "index": 913, "index2": 913, "size": 8188, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateRenderer", "loc": "34:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "352:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "353:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "533:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport { logger } from '../../logger';\nimport stateDb from './stateDb';\nimport common from '../common/common';\nimport { parser } from './parser/stateDiagram'; // import idCache from './id-cache';\n\nimport { drawState, addTitleAndBox, drawEdge } from './shapes';\nimport { getConfig } from '../../config';\nparser.yy = stateDb; // TODO Move conf object to main conf in mermaidAPI\n\nvar conf;\nvar transformationLog = {};\nexport var setConf = function setConf() {}; // Todo optimize\n\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nvar insertMarkers = function insertMarkers(elem) {\n elem.append('defs').append('marker').attr('id', 'dependencyEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 19,7 L9,13 L14,7 L9,1 Z');\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n conf = getConfig().state;\n parser.yy.clear();\n parser.parse(text);\n logger.debug('Rendering diagram ' + text); // Fetch the default direction, use TD if none was found\n\n var diagram = select(\"[id='\".concat(id, \"']\"));\n insertMarkers(diagram); // Layout graph, Create a new directed graph\n\n var graph = new graphlib.Graph({\n multigraph: true,\n compound: true,\n // acyclicer: 'greedy',\n rankdir: 'RL' // ranksep: '20'\n\n }); // Default to assigning a new object as a label for each new edge.\n\n graph.setDefaultEdgeLabel(function () {\n return {};\n });\n var rootDoc = stateDb.getRootDoc();\n renderDoc(rootDoc, diagram, undefined, false);\n var padding = conf.padding;\n var bounds = diagram.node().getBBox();\n var width = bounds.width + padding * 2;\n var height = bounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n diagram.attr('width', '100%');\n diagram.attr('style', \"max-width: \".concat(width * 1.75, \"px;\"));\n } else {\n // Zoom in a bit\n diagram.attr('width', width * 1.75);\n } // diagram.attr('height', bounds.height * 3 + conf.padding * 2);\n\n\n diagram.attr('viewBox', \"\".concat(bounds.x - conf.padding, \" \").concat(bounds.y - conf.padding, \" \") + width + ' ' + height);\n};\n\nvar getLabelWidth = function getLabelWidth(text) {\n return text ? text.length * conf.fontSizeFactor : 1;\n};\n\nvar renderDoc = function renderDoc(doc, diagram, parentId, altBkg) {\n // // Layout graph, Create a new directed graph\n var graph = new graphlib.Graph({\n compound: true,\n multigraph: true\n });\n var i;\n var edgeFreeDoc = true;\n\n for (i = 0; i < doc.length; i++) {\n if (doc[i].stmt === 'relation') {\n edgeFreeDoc = false;\n break;\n }\n } // Set an object for the graph label\n\n\n if (parentId) graph.setGraph({\n rankdir: 'LR',\n multigraph: true,\n compound: true,\n // acyclicer: 'greedy',\n ranker: 'tight-tree',\n ranksep: edgeFreeDoc ? 1 : conf.edgeLengthFactor,\n nodeSep: edgeFreeDoc ? 1 : 50,\n isMultiGraph: true // ranksep: 5,\n // nodesep: 1\n\n });else {\n graph.setGraph({\n rankdir: 'TB',\n multigraph: true,\n compound: true,\n // isCompound: true,\n // acyclicer: 'greedy',\n // ranker: 'longest-path'\n ranksep: edgeFreeDoc ? 1 : conf.edgeLengthFactor,\n nodeSep: edgeFreeDoc ? 1 : 50,\n ranker: 'tight-tree',\n // ranker: 'network-simplex'\n isMultiGraph: true\n });\n } // Default to assigning a new object as a label for each new edge.\n\n graph.setDefaultEdgeLabel(function () {\n return {};\n });\n stateDb.extract(doc);\n var states = stateDb.getStates();\n var relations = stateDb.getRelations();\n var keys = Object.keys(states);\n var first = true;\n\n for (var _i = 0; _i < keys.length; _i++) {\n var stateDef = states[keys[_i]];\n\n if (parentId) {\n stateDef.parentId = parentId;\n }\n\n var node = void 0;\n\n if (stateDef.doc) {\n var sub = diagram.append('g').attr('id', stateDef.id).attr('class', 'stateGroup');\n node = renderDoc(stateDef.doc, sub, stateDef.id, !altBkg);\n\n if (first) {\n // first = false;\n sub = addTitleAndBox(sub, stateDef, altBkg);\n var boxBounds = sub.node().getBBox();\n node.width = boxBounds.width;\n node.height = boxBounds.height + conf.padding / 2;\n transformationLog[stateDef.id] = {\n y: conf.compositTitleSize\n };\n } else {\n // sub = addIdAndBox(sub, stateDef);\n var _boxBounds = sub.node().getBBox();\n\n node.width = _boxBounds.width;\n node.height = _boxBounds.height; // transformationLog[stateDef.id] = { y: conf.compositTitleSize };\n }\n } else {\n node = drawState(diagram, stateDef, graph);\n }\n\n if (stateDef.note) {\n // Draw note note\n var noteDef = {\n descriptions: [],\n id: stateDef.id + '-note',\n note: stateDef.note,\n type: 'note'\n };\n var note = drawState(diagram, noteDef, graph); // graph.setNode(node.id, node);\n\n if (stateDef.note.position === 'left of') {\n graph.setNode(node.id + '-note', note);\n graph.setNode(node.id, node);\n } else {\n graph.setNode(node.id, node);\n graph.setNode(node.id + '-note', note);\n } // graph.setNode(node.id);\n\n\n graph.setParent(node.id, node.id + '-group');\n graph.setParent(node.id + '-note', node.id + '-group');\n } else {\n // Add nodes to the graph. The first argument is the node id. The second is\n // metadata about the node. In this case we're going to add labels to each of\n // our nodes.\n graph.setNode(node.id, node);\n }\n }\n\n logger.debug('Count=', graph.nodeCount(), graph);\n var cnt = 0;\n relations.forEach(function (relation) {\n cnt++;\n logger.debug('Setting edge', relation);\n graph.setEdge(relation.id1, relation.id2, {\n relation: relation,\n width: getLabelWidth(relation.title),\n height: conf.labelHeight * common.getRows(relation.title).length,\n labelpos: 'c'\n }, 'id' + cnt);\n });\n dagre.layout(graph);\n logger.debug('Graph after layout', graph.nodes());\n var svgElem = diagram.node();\n graph.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof graph.node(v) !== 'undefined') {\n logger.warn('Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n select('#' + svgElem.id + ' #' + v).attr('transform', 'translate(' + (graph.node(v).x - graph.node(v).width / 2) + ',' + (graph.node(v).y + (transformationLog[v] ? transformationLog[v].y : 0) - graph.node(v).height / 2) + ' )');\n select('#' + svgElem.id + ' #' + v).attr('data-x-shift', graph.node(v).x - graph.node(v).width / 2);\n var dividers = document.querySelectorAll('#' + svgElem.id + ' #' + v + ' .divider');\n dividers.forEach(function (divider) {\n var parent = divider.parentElement;\n var pWidth = 0;\n var pShift = 0;\n\n if (parent) {\n if (parent.parentElement) pWidth = parent.parentElement.getBBox().width;\n pShift = parseInt(parent.getAttribute('data-x-shift'), 10);\n\n if (Number.isNaN(pShift)) {\n pShift = 0;\n }\n }\n\n divider.setAttribute('x1', 0 - pShift + 8);\n divider.setAttribute('x2', pWidth - pShift - 8);\n });\n } else {\n logger.debug('No Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n }\n });\n var stateBox = svgElem.getBBox();\n graph.edges().forEach(function (e) {\n if (typeof e !== 'undefined' && typeof graph.edge(e) !== 'undefined') {\n logger.debug('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(graph.edge(e)));\n drawEdge(diagram, graph.edge(e), graph.edge(e).relation);\n }\n });\n stateBox = svgElem.getBBox();\n var stateInfo = {\n id: parentId ? parentId : 'root',\n label: parentId ? parentId : 'root',\n width: 0,\n height: 0\n };\n stateInfo.width = stateBox.width + 2 * conf.padding;\n stateInfo.height = stateBox.height + 2 * conf.padding;\n logger.debug('Doc rendered', stateInfo, graph);\n return stateInfo;\n};\n\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "name": "./src/diagrams/state/stateRenderer-v2.js", "index": 916, "index2": 914, "size": 9719, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "35:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "358:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "359:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "534:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select } from 'd3';\nimport stateDb from './stateDb';\nimport state from './parser/stateDiagram';\nimport { getConfig } from '../../config';\nimport { render } from '../../dagre-wrapper/index.js';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\nvar nodeDb = {};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.trace('Extracting classes');\n stateDb.clear();\n var parser = state.parser;\n parser.yy = stateDb; // Parse the graph definition\n\n parser.parse(text);\n return stateDb.getClasses();\n};\n\nvar setupNode = function setupNode(g, parent, node, altFlag) {\n // Add the node\n if (node.id !== 'root') {\n var shape = 'rect';\n\n if (node.start === true) {\n shape = 'start';\n }\n\n if (node.start === false) {\n shape = 'end';\n }\n\n if (node.type !== 'default') {\n shape = node.type;\n }\n\n if (!nodeDb[node.id]) {\n nodeDb[node.id] = {\n id: node.id,\n shape: shape,\n description: node.id,\n classes: 'statediagram-state'\n };\n } // Build of the array of description strings accordinging\n\n\n if (node.description) {\n if (Array.isArray(nodeDb[node.id].description)) {\n // There already is an array of strings,add to it\n nodeDb[node.id].shape = 'rectWithTitle';\n nodeDb[node.id].description.push(node.description);\n } else {\n if (nodeDb[node.id].description.length > 0) {\n // if there is a description already transformit to an array\n nodeDb[node.id].shape = 'rectWithTitle';\n\n if (nodeDb[node.id].description === node.id) {\n // If the previous description was the is, remove it\n nodeDb[node.id].description = [node.description];\n } else {\n nodeDb[node.id].description = [nodeDb[node.id].description, node.description];\n }\n } else {\n nodeDb[node.id].shape = 'rect';\n nodeDb[node.id].description = node.description;\n }\n }\n } // Save data for description and group so that for instance a statement without description overwrites\n // one with description\n // group\n\n\n if (!nodeDb[node.id].type && node.doc) {\n logger.info('Setting cluser for ', node.id);\n nodeDb[node.id].type = 'group';\n nodeDb[node.id].shape = node.type === 'divider' ? 'divider' : 'roundedWithTitle';\n nodeDb[node.id].classes = nodeDb[node.id].classes + ' ' + (altFlag ? 'statediagram-cluster statediagram-cluster-alt' : 'statediagram-cluster');\n }\n\n var nodeData = {\n labelStyle: '',\n shape: nodeDb[node.id].shape,\n labelText: nodeDb[node.id].description,\n classes: nodeDb[node.id].classes,\n //classStr,\n style: '',\n //styles.style,\n id: node.id,\n type: nodeDb[node.id].type,\n padding: 15 //getConfig().flowchart.padding\n\n };\n\n if (node.note) {\n // Todo: set random id\n var noteData = {\n labelStyle: '',\n shape: 'note',\n labelText: node.note.text,\n classes: 'statediagram-note',\n //classStr,\n style: '',\n //styles.style,\n id: node.id + '----note',\n type: nodeDb[node.id].type,\n padding: 15 //getConfig().flowchart.padding\n\n };\n var groupData = {\n labelStyle: '',\n shape: 'noteGroup',\n labelText: node.note.text,\n classes: nodeDb[node.id].classes,\n //classStr,\n style: '',\n //styles.style,\n id: node.id + '----parent',\n type: 'group',\n padding: 0 //getConfig().flowchart.padding\n\n };\n g.setNode(node.id + '----parent', groupData);\n g.setNode(noteData.id, noteData);\n g.setNode(node.id, nodeData);\n g.setParent(node.id, node.id + '----parent');\n g.setParent(noteData.id, node.id + '----parent');\n var from = node.id;\n var to = noteData.id;\n\n if (node.note.position === 'left of') {\n from = noteData.id;\n to = node.id;\n }\n\n g.setEdge(from, to, {\n arrowhead: 'none',\n arrowType: '',\n style: 'fill:none',\n labelStyle: '',\n classes: 'transition note-edge',\n arrowheadStyle: 'fill: #333',\n labelpos: 'c',\n labelType: 'text',\n thickness: 'normal'\n });\n } else {\n g.setNode(node.id, nodeData);\n }\n }\n\n if (parent) {\n if (parent.id !== 'root') {\n logger.info('Setting node ', node.id, ' to be child of its parent ', parent.id);\n g.setParent(node.id, parent.id);\n }\n }\n\n if (node.doc) {\n logger.info('Adding nodes children ');\n setupDoc(g, node, node.doc, !altFlag);\n }\n};\n\nvar cnt = 0;\n\nvar setupDoc = function setupDoc(g, parent, doc, altFlag) {\n logger.trace('items', doc);\n doc.forEach(function (item) {\n if (item.stmt === 'state' || item.stmt === 'default') {\n setupNode(g, parent, item, altFlag);\n } else if (item.stmt === 'relation') {\n setupNode(g, parent, item.state1, altFlag);\n setupNode(g, parent, item.state2, altFlag);\n var edgeData = {\n id: 'edge' + cnt,\n arrowhead: 'normal',\n arrowType: 'arrow_barb',\n style: 'fill:none',\n labelStyle: '',\n label: item.description,\n arrowheadStyle: 'fill: #333',\n labelpos: 'c',\n labelType: 'text',\n thickness: 'normal',\n classes: 'transition'\n };\n var startId = item.state1.id;\n var endId = item.state2.id;\n g.setEdge(startId, endId, edgeData, cnt);\n cnt++;\n }\n });\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing state diagram (v2)', id);\n stateDb.clear();\n nodeDb = {};\n var parser = state.parser;\n parser.yy = stateDb; // Parse the graph definition\n\n try {\n parser.parse(text);\n } catch (err) {\n logger.debug('Parsing failed');\n } // Fetch the default direction, use TD if none was found\n\n\n var dir = stateDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'LR';\n }\n\n var conf = getConfig().state;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: 'TB',\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n logger.info(stateDb.getRootDocV2());\n stateDb.extract(stateDb.getRootDocV2());\n logger.info(stateDb.getRootDocV2());\n setupNode(g, undefined, stateDb.getRootDocV2(), true); // Set up an SVG group so that we can translate the final graph.\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g, ['barb'], 'statediagram', id);\n var padding = 8; // const svgBounds = svg.node().getBBox();\n // const width = svgBounds.width + padding * 2;\n // const height = svgBounds.height + padding * 2;\n // logger.debug(\n // `new ViewBox 0 0 ${width} ${height}`,\n // `translate(${padding + g._label.marginx}, ${padding + g._label.marginy})`\n // );\n // if (conf.useMaxWidth) {\n // svg.attr('width', '100%');\n // svg.attr('style', `max-width: ${width}px;`);\n // } else {\n // svg.attr('height', height);\n // svg.attr('width', width);\n // }\n // svg.attr('viewBox', `0 0 ${width} ${height}`);\n // svg\n // .select('g')\n // .attr('transform', `translate(${padding - g._label.marginx}, ${padding - svgBounds.y})`);\n\n var bounds = svg.node().getBBox();\n var width = bounds.width + padding * 2;\n var height = bounds.height + padding * 2; // diagram.attr('height', '100%');\n // diagram.attr('style', `width: ${bounds.width * 3 + conf.padding * 2};`);\n // diagram.attr('height', height);\n // Zoom in a bit\n\n svg.attr('width', width * 1.75);\n svg.attr('class', 'statediagram'); // diagram.attr('height', bounds.height * 3 + conf.padding * 2);\n // svg.attr(\n // 'viewBox',\n // `${bounds.x - conf.padding} ${bounds.y - conf.padding} ` + width + ' ' + height\n // );\n\n var svgBounds = svg.node().getBBox();\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n svg.attr('viewBox', vBox); // Add label rects for non html labels\n\n if (!conf.htmlLabels) {\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n }\n};\nexport default {\n setConf: setConf,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "name": "./src/diagrams/git/gitGraphAst.js", "index": 551, "index2": 549, "size": 6939, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./gitGraphAst", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/gitGraphAst", "loc": "40:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphAst", "loc": "77:25-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "238:16-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "243:46-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "245:20-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "246:21-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "247:19-21" } ], "usedExports": [ "default" ], "providedExports": [ "setDirection", "setOptions", "getOptions", "commit", "branch", "merge", "checkout", "reset", "prettyPrint", "clear", "getBranchesAsObjArray", "getBranches", "getCommits", "getCommitsArray", "getCurrentBranch", "getDirection", "getHead", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { logger } from '../../logger';\nvar commits = {};\nvar head = null;\nvar branches = {\n master: head\n};\nvar curBranch = 'master';\nvar direction = 'LR';\nvar seq = 0;\n\nfunction makeid(length) {\n var result = '';\n var characters = '0123456789abcdef';\n var charactersLength = characters.length;\n\n for (var i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n\n return result;\n}\n\nfunction getId() {\n return makeid(7);\n}\n\nfunction isfastforwardable(currentCommit, otherCommit) {\n logger.debug('Entering isfastforwardable:', currentCommit.id, otherCommit.id);\n\n while (currentCommit.seq <= otherCommit.seq && currentCommit !== otherCommit) {\n // only if other branch has more commits\n if (otherCommit.parent == null) break;\n\n if (Array.isArray(otherCommit.parent)) {\n logger.debug('In merge commit:', otherCommit.parent);\n return isfastforwardable(currentCommit, commits[otherCommit.parent[0]]) || isfastforwardable(currentCommit, commits[otherCommit.parent[1]]);\n } else {\n otherCommit = commits[otherCommit.parent];\n }\n }\n\n logger.debug(currentCommit.id, otherCommit.id);\n return currentCommit.id === otherCommit.id;\n}\n\nfunction isReachableFrom(currentCommit, otherCommit) {\n var currentSeq = currentCommit.seq;\n var otherSeq = otherCommit.seq;\n if (currentSeq > otherSeq) return isfastforwardable(otherCommit, currentCommit);\n return false;\n}\n\nfunction uniqBy(list, fn) {\n var recordMap = Object.create(null);\n return list.reduce(function (out, item) {\n var key = fn(item);\n\n if (!recordMap[key]) {\n recordMap[key] = true;\n out.push(item);\n }\n\n return out;\n }, []);\n}\n\nexport var setDirection = function setDirection(dir) {\n direction = dir;\n};\nvar options = {};\nexport var setOptions = function setOptions(rawOptString) {\n logger.debug('options str', rawOptString);\n rawOptString = rawOptString && rawOptString.trim();\n rawOptString = rawOptString || '{}';\n\n try {\n options = JSON.parse(rawOptString);\n } catch (e) {\n logger.error('error while parsing gitGraph options', e.message);\n }\n};\nexport var getOptions = function getOptions() {\n return options;\n};\nexport var commit = function commit(msg) {\n var commit = {\n id: getId(),\n message: msg,\n seq: seq++,\n parent: head == null ? null : head.id\n };\n head = commit;\n commits[commit.id] = commit;\n branches[curBranch] = commit.id;\n logger.debug('in pushCommit ' + commit.id);\n};\nexport var branch = function branch(name) {\n branches[name] = head != null ? head.id : null;\n logger.debug('in createBranch');\n};\nexport var merge = function merge(otherBranch) {\n var currentCommit = commits[branches[curBranch]];\n var otherCommit = commits[branches[otherBranch]];\n\n if (isReachableFrom(currentCommit, otherCommit)) {\n logger.debug('Already merged');\n return;\n }\n\n if (isfastforwardable(currentCommit, otherCommit)) {\n branches[curBranch] = branches[otherBranch];\n head = commits[branches[curBranch]];\n } else {\n // create merge commit\n var _commit = {\n id: getId(),\n message: 'merged branch ' + otherBranch + ' into ' + curBranch,\n seq: seq++,\n parent: [head == null ? null : head.id, branches[otherBranch]]\n };\n head = _commit;\n commits[_commit.id] = _commit;\n branches[curBranch] = _commit.id;\n }\n\n logger.debug(branches);\n logger.debug('in mergeBranch');\n};\nexport var checkout = function checkout(branch) {\n logger.debug('in checkout');\n curBranch = branch;\n var id = branches[curBranch];\n head = commits[id];\n};\nexport var reset = function reset(commitRef) {\n logger.debug('in reset', commitRef);\n var ref = commitRef.split(':')[0];\n var parentCount = parseInt(commitRef.split(':')[1]);\n var commit = ref === 'HEAD' ? head : commits[branches[ref]];\n logger.debug(commit, parentCount);\n\n while (parentCount > 0) {\n commit = commits[commit.parent];\n parentCount--;\n\n if (!commit) {\n var err = 'Critical error - unique parent commit not found during reset';\n logger.error(err);\n throw err;\n }\n }\n\n head = commit;\n branches[curBranch] = commit.id;\n};\n\nfunction upsert(arr, key, newval) {\n var index = arr.indexOf(key);\n\n if (index === -1) {\n arr.push(newval);\n } else {\n arr.splice(index, 1, newval);\n }\n}\n\nfunction prettyPrintCommitHistory(commitArr) {\n var commit = commitArr.reduce(function (out, commit) {\n if (out.seq > commit.seq) return out;\n return commit;\n }, commitArr[0]);\n var line = '';\n commitArr.forEach(function (c) {\n if (c === commit) {\n line += '\\t*';\n } else {\n line += '\\t|';\n }\n });\n var label = [line, commit.id, commit.seq];\n\n for (var _branch in branches) {\n if (branches[_branch] === commit.id) label.push(_branch);\n }\n\n logger.debug(label.join(' '));\n\n if (Array.isArray(commit.parent)) {\n var newCommit = commits[commit.parent[0]];\n upsert(commitArr, commit, newCommit);\n commitArr.push(commits[commit.parent[1]]);\n } else if (commit.parent == null) {\n return;\n } else {\n var nextCommit = commits[commit.parent];\n upsert(commitArr, commit, nextCommit);\n }\n\n commitArr = uniqBy(commitArr, function (c) {\n return c.id;\n });\n prettyPrintCommitHistory(commitArr);\n}\n\nexport var prettyPrint = function prettyPrint() {\n logger.debug(commits);\n var node = getCommitsArray()[0];\n prettyPrintCommitHistory([node]);\n};\nexport var clear = function clear() {\n commits = {};\n head = null;\n branches = {\n master: head\n };\n curBranch = 'master';\n seq = 0;\n};\nexport var getBranchesAsObjArray = function getBranchesAsObjArray() {\n var branchArr = [];\n\n for (var _branch2 in branches) {\n branchArr.push({\n name: _branch2,\n commit: commits[branches[_branch2]]\n });\n }\n\n return branchArr;\n};\nexport var getBranches = function getBranches() {\n return branches;\n};\nexport var getCommits = function getCommits() {\n return commits;\n};\nexport var getCommitsArray = function getCommitsArray() {\n var commitArr = Object.keys(commits).map(function (key) {\n return commits[key];\n });\n commitArr.forEach(function (o) {\n logger.debug(o.id);\n });\n commitArr.sort(function (a, b) {\n return b.seq - a.seq;\n });\n return commitArr;\n};\nexport var getCurrentBranch = function getCurrentBranch() {\n return curBranch;\n};\nexport var getDirection = function getDirection() {\n return direction;\n};\nexport var getHead = function getHead() {\n return head;\n};\nexport default {\n setDirection: setDirection,\n setOptions: setOptions,\n getOptions: getOptions,\n commit: commit,\n branch: branch,\n merge: merge,\n checkout: checkout,\n reset: reset,\n prettyPrint: prettyPrint,\n clear: clear,\n getBranchesAsObjArray: getBranchesAsObjArray,\n getBranches: getBranches,\n getCommits: getCommits,\n getCommitsArray: getCommitsArray,\n getCurrentBranch: getCurrentBranch,\n getDirection: getDirection,\n getHead: getHead\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "name": "./src/diagrams/git/gitGraphRenderer.js", "index": 890, "index2": 888, "size": 9304, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "38:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "308:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "309:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "522:2-18" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { curveBasis, line, select } from 'd3';\nimport db from './gitGraphAst';\nimport gitGraphParser from './parser/gitGraph';\nimport { logger } from '../../logger';\nimport { interpolateToCurve } from '../../utils';\nvar allCommitsDict = {};\nvar branchNum;\nvar config = {\n nodeSpacing: 150,\n nodeFillColor: 'yellow',\n nodeStrokeWidth: 2,\n nodeStrokeColor: 'grey',\n lineStrokeWidth: 4,\n branchOffset: 50,\n lineColor: 'grey',\n leftMargin: 50,\n branchColors: ['#442f74', '#983351', '#609732', '#AA9A39'],\n nodeRadius: 10,\n nodeLabel: {\n width: 75,\n height: 100,\n x: -25,\n y: 0\n }\n};\nvar apiConfig = {};\nexport var setConf = function setConf(c) {\n apiConfig = c;\n};\n\nfunction svgCreateDefs(svg) {\n svg.append('defs').append('g').attr('id', 'def-commit').append('circle').attr('r', config.nodeRadius).attr('cx', 0).attr('cy', 0);\n svg.select('#def-commit').append('foreignObject').attr('width', config.nodeLabel.width).attr('height', config.nodeLabel.height).attr('x', config.nodeLabel.x).attr('y', config.nodeLabel.y).attr('class', 'node-label').attr('requiredFeatures', 'http://www.w3.org/TR/SVG11/feature#Extensibility').append('p').html('');\n}\n\nfunction svgDrawLine(svg, points, colorIdx, interpolate) {\n var curve = interpolateToCurve(interpolate, curveBasis);\n var color = config.branchColors[colorIdx % config.branchColors.length];\n var lineGen = line().x(function (d) {\n return Math.round(d.x);\n }).y(function (d) {\n return Math.round(d.y);\n }).curve(curve);\n svg.append('svg:path').attr('d', lineGen(points)).style('stroke', color).style('stroke-width', config.lineStrokeWidth).style('fill', 'none');\n} // Pass in the element and its pre-transform coords\n\n\nfunction getElementCoords(element, coords) {\n coords = coords || element.node().getBBox();\n var ctm = element.node().getCTM();\n var xn = ctm.e + coords.x * ctm.a;\n var yn = ctm.f + coords.y * ctm.d;\n return {\n left: xn,\n top: yn,\n width: coords.width,\n height: coords.height\n };\n}\n\nfunction svgDrawLineForCommits(svg, fromId, toId, direction, color) {\n logger.debug('svgDrawLineForCommits: ', fromId, toId);\n var fromBbox = getElementCoords(svg.select('#node-' + fromId + ' circle'));\n var toBbox = getElementCoords(svg.select('#node-' + toId + ' circle'));\n\n switch (direction) {\n case 'LR':\n // (toBbox)\n // +--------\n // + (fromBbox)\n if (fromBbox.left - toBbox.left > config.nodeSpacing) {\n var lineStart = {\n x: fromBbox.left - config.nodeSpacing,\n y: toBbox.top + toBbox.height / 2\n };\n var lineEnd = {\n x: toBbox.left + toBbox.width,\n y: toBbox.top + toBbox.height / 2\n };\n svgDrawLine(svg, [lineStart, lineEnd], color, 'linear');\n svgDrawLine(svg, [{\n x: fromBbox.left,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: lineStart.y\n }, lineStart], color);\n } else {\n svgDrawLine(svg, [{\n x: fromBbox.left,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: toBbox.top + toBbox.height / 2\n }, {\n x: toBbox.left + toBbox.width,\n y: toBbox.top + toBbox.height / 2\n }], color);\n }\n\n break;\n\n case 'BT':\n // + (fromBbox)\n // |\n // |\n // + (toBbox)\n if (toBbox.top - fromBbox.top > config.nodeSpacing) {\n var _lineStart = {\n x: toBbox.left + toBbox.width / 2,\n y: fromBbox.top + fromBbox.height + config.nodeSpacing\n };\n var _lineEnd = {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top\n };\n svgDrawLine(svg, [_lineStart, _lineEnd], color, 'linear');\n svgDrawLine(svg, [{\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height\n }, {\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height + config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: _lineStart.y - config.nodeSpacing / 2\n }, _lineStart], color);\n } else {\n svgDrawLine(svg, [{\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height\n }, {\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top - config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top\n }], color);\n }\n\n break;\n }\n}\n\nfunction cloneNode(svg, selector) {\n return svg.select(selector).node().cloneNode(true);\n}\n\nfunction renderCommitHistory(svg, commitid, branches, direction) {\n var commit;\n var numCommits = Object.keys(allCommitsDict).length;\n\n if (typeof commitid === 'string') {\n do {\n commit = allCommitsDict[commitid];\n logger.debug('in renderCommitHistory', commit.id, commit.seq);\n\n if (svg.select('#node-' + commitid).size() > 0) {\n return;\n }\n\n svg.append(function () {\n return cloneNode(svg, '#def-commit');\n }).attr('class', 'commit').attr('id', function () {\n return 'node-' + commit.id;\n }).attr('transform', function () {\n switch (direction) {\n case 'LR':\n return 'translate(' + (commit.seq * config.nodeSpacing + config.leftMargin) + ', ' + branchNum * config.branchOffset + ')';\n\n case 'BT':\n return 'translate(' + (branchNum * config.branchOffset + config.leftMargin) + ', ' + (numCommits - commit.seq) * config.nodeSpacing + ')';\n }\n }).attr('fill', config.nodeFillColor).attr('stroke', config.nodeStrokeColor).attr('stroke-width', config.nodeStrokeWidth);\n var branch = void 0;\n\n for (var branchName in branches) {\n if (branches[branchName].commit === commit) {\n branch = branches[branchName];\n break;\n }\n }\n\n if (branch) {\n logger.debug('found branch ', branch.name);\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'branch-label').text(branch.name + ', ');\n }\n\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'commit-id').text(commit.id);\n\n if (commit.message !== '' && direction === 'BT') {\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'commit-msg').text(', ' + commit.message);\n }\n\n commitid = commit.parent;\n } while (commitid && allCommitsDict[commitid]);\n }\n\n if (Array.isArray(commitid)) {\n logger.debug('found merge commmit', commitid);\n renderCommitHistory(svg, commitid[0], branches, direction);\n branchNum++;\n renderCommitHistory(svg, commitid[1], branches, direction);\n branchNum--;\n }\n}\n\nfunction renderLines(svg, commit, direction, branchColor) {\n branchColor = branchColor || 0;\n\n while (commit.seq > 0 && !commit.lineDrawn) {\n if (typeof commit.parent === 'string') {\n svgDrawLineForCommits(svg, commit.id, commit.parent, direction, branchColor);\n commit.lineDrawn = true;\n commit = allCommitsDict[commit.parent];\n } else if (Array.isArray(commit.parent)) {\n svgDrawLineForCommits(svg, commit.id, commit.parent[0], direction, branchColor);\n svgDrawLineForCommits(svg, commit.id, commit.parent[1], direction, branchColor + 1);\n renderLines(svg, allCommitsDict[commit.parent[1]], direction, branchColor + 1);\n commit.lineDrawn = true;\n commit = allCommitsDict[commit.parent[0]];\n }\n }\n}\n\nexport var draw = function draw(txt, id, ver) {\n try {\n var parser = gitGraphParser.parser;\n parser.yy = db;\n parser.yy.clear();\n logger.debug('in gitgraph renderer', txt + '\\n', 'id:', id, ver); // Parse the graph definition\n\n parser.parse(txt + '\\n');\n config = Object.assign(config, apiConfig, db.getOptions());\n logger.debug('effective options', config);\n var direction = db.getDirection();\n allCommitsDict = db.getCommits();\n var branches = db.getBranchesAsObjArray();\n\n if (direction === 'BT') {\n config.nodeLabel.x = branches.length * config.branchOffset;\n config.nodeLabel.width = '100%';\n config.nodeLabel.y = -1 * 2 * config.nodeRadius;\n }\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\"));\n svgCreateDefs(svg);\n branchNum = 1;\n\n for (var branch in branches) {\n var v = branches[branch];\n renderCommitHistory(svg, v.commit.id, branches, direction);\n renderLines(svg, v.commit, direction);\n branchNum++;\n }\n\n svg.attr('height', function () {\n if (direction === 'BT') return Object.keys(allCommitsDict).length * config.nodeSpacing;\n return (branches.length + 1) * config.branchOffset;\n });\n } catch (e) {\n logger.error('Error while rendering gitgraph');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "name": "./src/diagrams/info/infoDb.js", "index": 564, "index2": 562, "size": 645, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./infoDb", "loc": "5:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "./infoDb", "loc": "24:16-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/infoDb", "loc": "44:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoDb", "loc": "120:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "setMessage", "getMessage", "setInfo", "getInfo", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 15-01-14.\n */\nimport { logger } from '../../logger';\nvar message = '';\nvar info = false;\nexport var setMessage = function setMessage(txt) {\n logger.debug('Setting message to: ' + txt);\n message = txt;\n};\nexport var getMessage = function getMessage() {\n return message;\n};\nexport var setInfo = function setInfo(inf) {\n info = inf;\n};\nexport var getInfo = function getInfo() {\n return info;\n}; // export const parseError = (err, hash) => {\n// global.mermaidAPI.parseError(err, hash)\n// }\n\nexport default {\n setMessage: setMessage,\n getMessage: getMessage,\n setInfo: setInfo,\n getInfo: getInfo // parseError\n\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "name": "./src/diagrams/info/infoRenderer.js", "index": 917, "index2": 915, "size": 1276, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/infoRenderer", "loc": "41:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "364:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "365:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "535:2-14" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 14-12-11.\n */\nimport { select } from 'd3';\nimport db from './infoDb';\nimport infoParser from './parser/info';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a an info picture in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(txt, id, ver) {\n try {\n var parser = infoParser.parser;\n parser.yy = db;\n logger.debug('Renering info diagram\\n' + txt); // Parse the graph definition\n\n parser.parse(txt);\n logger.debug('Parsed info diagram'); // Fetch the default direction, use TD if none was found\n\n var svg = select('#' + id);\n var g = svg.append('g');\n g.append('text') // text label for the x axis\n .attr('x', 100).attr('y', 40).attr('class', 'version').attr('font-size', '32px').style('text-anchor', 'middle').text('v ' + ver);\n svg.attr('height', 100);\n svg.attr('width', 400); // svg.attr('viewBox', '0 0 300 150');\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "name": "./src/errorRenderer.js", "index": 924, "index2": 922, "size": 2972, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./errorRenderer", "loc": "42:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./errorRenderer", "loc": "386:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./errorRenderer", "loc": "539:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 14-12-11.\n */\nimport { select } from 'd3';\nimport { logger } from './logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a an info picture in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(id, ver) {\n try {\n logger.debug('Renering svg for syntax error\\n');\n var svg = select('#' + id);\n var g = svg.append('g');\n g.append('path').attr('class', 'error-icon').attr('d', 'm411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z');\n g.append('text') // text label for the x axis\n .attr('class', 'error-text').attr('x', 1240).attr('y', 250).attr('font-size', '150px').style('text-anchor', 'middle').text('Syntax error in graph');\n g.append('text') // text label for the x axis\n .attr('class', 'error-text').attr('x', 1050).attr('y', 400).attr('font-size', '100px').style('text-anchor', 'middle').text('mermaid version ' + ver);\n svg.attr('height', 100);\n svg.attr('width', 400);\n svg.attr('viewBox', '768 0 512 512');\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "name": "./src/diagrams/pie/pieDb.js", "index": 566, "index2": 564, "size": 995, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./pieDb", "loc": "5:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "./pieDb", "loc": "25:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/pieDb", "loc": "47:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "./pieDb", "loc": "55:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieDb", "loc": "126:25-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n *\n */\nimport { logger } from '../../logger';\nvar sections = {};\nvar title = '';\n\nvar addSection = function addSection(id, value) {\n if (typeof sections[id] === 'undefined') {\n sections[id] = value;\n logger.debug('Added new section :', id);\n }\n};\n\nvar getSections = function getSections() {\n return sections;\n};\n\nvar setTitle = function setTitle(txt) {\n title = txt;\n};\n\nvar getTitle = function getTitle() {\n return title;\n};\n\nvar cleanupValue = function cleanupValue(value) {\n if (value.substring(0, 1) === ':') {\n value = value.substring(1).trim();\n return Number(value.trim());\n } else {\n return Number(value.trim());\n }\n};\n\nvar clear = function clear() {\n sections = {};\n title = '';\n}; // export const parseError = (err, hash) => {\n// global.mermaidAPI.parseError(err, hash)\n// }\n\n\nexport default {\n addSection: addSection,\n getSections: getSections,\n cleanupValue: cleanupValue,\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle // parseError\n\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "name": "./src/diagrams/pie/pieRenderer.js", "index": 919, "index2": 917, "size": 3794, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/pieRenderer", "loc": "45:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "370:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "371:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "536:2-13" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by AshishJ on 11-09-2019.\n */\nimport { select, scaleOrdinal, schemeSet2, pie as d3pie, entries, arc } from 'd3';\nimport pieData from './pieDb';\nimport pieParser from './parser/pie';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a Pie Chart with the data given in text.\n * @param text\n * @param id\n */\n\nvar w;\nexport var draw = function draw(txt, id) {\n try {\n var parser = pieParser.parser;\n parser.yy = pieData;\n logger.debug('Rendering info diagram\\n' + txt); // Parse the Pie Chart definition\n\n parser.yy.clear();\n parser.parse(txt);\n logger.debug('Parsed info diagram');\n var elem = document.getElementById(id);\n w = elem.parentElement.offsetWidth;\n\n if (typeof w === 'undefined') {\n w = 1200;\n }\n\n if (typeof conf.useWidth !== 'undefined') {\n w = conf.useWidth;\n }\n\n var h = 450;\n elem.setAttribute('height', '100%'); // Set viewBox\n\n elem.setAttribute('viewBox', '0 0 ' + w + ' ' + h); // Fetch the default direction, use TD if none was found\n\n var width = w; // 450\n\n var height = 450;\n var margin = 40;\n var legendRectSize = 18;\n var legendSpacing = 4;\n var radius = Math.min(width, height) / 2 - margin;\n var svg = select('#' + id).append('svg').attr('width', width).attr('height', height).append('g').attr('transform', 'translate(' + width / 2 + ',' + height / 2 + ')');\n var data = pieData.getSections();\n var sum = 0;\n Object.keys(data).forEach(function (key) {\n sum += data[key];\n });\n logger.info(data); // set the color scale\n\n var color = scaleOrdinal().domain(data).range(schemeSet2); // Compute the position of each group on the pie:\n\n var pie = d3pie().value(function (d) {\n return d.value;\n });\n var dataReady = pie(entries(data)); // shape helper to build arcs:\n\n var arcGenerator = arc().innerRadius(0).outerRadius(radius); // Build the pie chart: Basically, each part of the pie is a path that we build using the arc function.\n\n svg.selectAll('mySlices').data(dataReady).enter().append('path').attr('d', arcGenerator).attr('fill', function (d) {\n return color(d.data.key);\n }).attr('stroke', 'black').style('stroke-width', '2px').style('opacity', 0.7); // Now add the Percentage. Use the centroid method to get the best coordinates\n\n svg.selectAll('mySlices').data(dataReady).enter().append('text').text(function (d) {\n return (d.data.value / sum * 100).toFixed(0) + '%';\n }).attr('transform', function (d) {\n return 'translate(' + arcGenerator.centroid(d) + ')';\n }).style('text-anchor', 'middle').attr('class', 'slice').style('font-size', 17);\n svg.append('text').text(parser.yy.getTitle()).attr('x', 0).attr('y', -(h - 50) / 2).attr('class', 'pieTitleText'); //Add the slegend/annotations for each section\n\n var legend = svg.selectAll('.legend').data(color.domain()).enter().append('g').attr('class', 'legend').attr('transform', function (d, i) {\n var height = legendRectSize + legendSpacing;\n var offset = height * color.domain().length / 2;\n var horz = 12 * legendRectSize;\n var vert = i * height - offset;\n return 'translate(' + horz + ',' + vert + ')';\n });\n legend.append('rect').attr('width', legendRectSize).attr('height', legendRectSize).style('fill', color).style('stroke', color);\n legend.append('text').attr('x', legendRectSize + legendSpacing).attr('y', legendRectSize - legendSpacing).text(function (d) {\n return d;\n });\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "name": "./src/diagrams/er/erDb.js", "index": 568, "index2": 566, "size": 1728, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./erDb", "loc": "3:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/erDb", "loc": "48:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "115:30-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "132:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erDb", "loc": "132:25-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "136:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "140:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "144:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "150:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "154:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "158:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "162:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "189:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "191:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "239:38-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "242:39-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n *\n */\nimport { logger } from '../../logger';\nvar entities = {};\nvar relationships = [];\nvar title = '';\nvar Cardinality = {\n ZERO_OR_ONE: 'ZERO_OR_ONE',\n ZERO_OR_MORE: 'ZERO_OR_MORE',\n ONE_OR_MORE: 'ONE_OR_MORE',\n ONLY_ONE: 'ONLY_ONE'\n};\nvar Identification = {\n NON_IDENTIFYING: 'NON_IDENTIFYING',\n IDENTIFYING: 'IDENTIFYING'\n};\n\nvar addEntity = function addEntity(name) {\n if (typeof entities[name] === 'undefined') {\n entities[name] = name;\n logger.debug('Added new entity :', name);\n }\n};\n\nvar getEntities = function getEntities() {\n return entities;\n};\n/**\n * Add a relationship\n * @param entA The first entity in the relationship\n * @param rolA The role played by the first entity in relation to the second\n * @param entB The second entity in the relationship\n * @param rSpec The details of the relationship between the two entities\n */\n\n\nvar addRelationship = function addRelationship(entA, rolA, entB, rSpec) {\n var rel = {\n entityA: entA,\n roleA: rolA,\n entityB: entB,\n relSpec: rSpec\n };\n relationships.push(rel);\n logger.debug('Added new relationship :', rel);\n};\n\nvar getRelationships = function getRelationships() {\n return relationships;\n}; // Keep this - TODO: revisit...allow the diagram to have a title\n\n\nvar setTitle = function setTitle(txt) {\n title = txt;\n};\n\nvar getTitle = function getTitle() {\n return title;\n};\n\nvar clear = function clear() {\n entities = {};\n relationships = [];\n title = '';\n};\n\nexport default {\n Cardinality: Cardinality,\n Identification: Identification,\n addEntity: addEntity,\n getEntities: getEntities,\n addRelationship: addRelationship,\n getRelationships: getRelationships,\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "name": "./src/diagrams/er/erRenderer.js", "index": 920, "index2": 919, "size": 11270, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/erRenderer", "loc": "50:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "375:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "376:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "537:2-12" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { line, curveBasis, select } from 'd3';\nimport erDb from './erDb';\nimport erParser from './parser/erDiagram';\nimport dagre from 'dagre';\nimport { getConfig } from '../../config';\nimport { logger } from '../../logger';\nimport erMarkers from './erMarkers';\nvar conf = {};\n/**\n * Allows the top-level API module to inject config specific to this renderer,\n * storing it in the local conf object. Note that generic config still needs to be\n * retrieved using getConfig() imported from the config module\n */\n\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Use D3 to construct the svg elements for the entities\n * @param svgNode the svg node that contains the diagram\n * @param entities The entities to be drawn\n * @param graph The graph that contains the vertex and edge definitions post-layout\n * @return The first entity that was inserted\n */\n\nvar drawEntities = function drawEntities(svgNode, entities, graph) {\n var keys = Object.keys(entities);\n var firstOne;\n keys.forEach(function (id) {\n // Create a group for each entity\n var groupNode = svgNode.append('g').attr('id', id);\n firstOne = firstOne === undefined ? id : firstOne; // Label the entity - this is done first so that we can get the bounding box\n // which then determines the size of the rectangle\n\n var textId = 'entity-' + id;\n var textNode = groupNode.append('text').attr('class', 'er entityLabel').attr('id', textId).attr('x', 0).attr('y', 0).attr('dominant-baseline', 'middle').attr('text-anchor', 'middle').attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize + 'px').text(id); // Calculate the width and height of the entity\n\n var textBBox = textNode.node().getBBox();\n var entityWidth = Math.max(conf.minEntityWidth, textBBox.width + conf.entityPadding * 2);\n var entityHeight = Math.max(conf.minEntityHeight, textBBox.height + conf.entityPadding * 2); // Make sure the text gets centred relative to the entity box\n\n textNode.attr('transform', 'translate(' + entityWidth / 2 + ',' + entityHeight / 2 + ')'); // Draw the rectangle - insert it before the text so that the text is not obscured\n\n var rectNode = groupNode.insert('rect', '#' + textId).attr('class', 'er entityBox').attr('fill', conf.fill).attr('fill-opacity', '100%').attr('stroke', conf.stroke).attr('x', 0).attr('y', 0).attr('width', entityWidth).attr('height', entityHeight);\n var rectBBox = rectNode.node().getBBox(); // Add the entity to the graph\n\n graph.setNode(id, {\n width: rectBBox.width,\n height: rectBBox.height,\n shape: 'rect',\n id: id\n });\n });\n return firstOne;\n}; // drawEntities\n\n\nvar adjustEntities = function adjustEntities(svgNode, graph) {\n graph.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof graph.node(v) !== 'undefined') {\n svgNode.select('#' + v).attr('transform', 'translate(' + (graph.node(v).x - graph.node(v).width / 2) + ',' + (graph.node(v).y - graph.node(v).height / 2) + ' )');\n }\n });\n return;\n};\n\nvar getEdgeName = function getEdgeName(rel) {\n return (rel.entityA + rel.roleA + rel.entityB).replace(/\\s/g, '');\n};\n/**\n * Add each relationship to the graph\n * @param relationships the relationships to be added\n * @param g the graph\n * @return {Array} The array of relationships\n */\n\n\nvar addRelationships = function addRelationships(relationships, g) {\n relationships.forEach(function (r) {\n g.setEdge(r.entityA, r.entityB, {\n relationship: r\n }, getEdgeName(r));\n });\n return relationships;\n}; // addRelationships\n\n\nvar relCnt = 0;\n/**\n * Draw a relationship using edge information from the graph\n * @param svg the svg node\n * @param rel the relationship to draw in the svg\n * @param g the graph containing the edge information\n * @param insert the insertion point in the svg DOM (because relationships have markers that need to sit 'behind' opaque entity boxes)\n */\n\nvar drawRelationshipFromLayout = function drawRelationshipFromLayout(svg, rel, g, insert) {\n relCnt++; // Find the edge relating to this relationship\n\n var edge = g.edge(rel.entityA, rel.entityB, getEdgeName(rel)); // Get a function that will generate the line path\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis); // Insert the line at the right place\n\n var svgPath = svg.insert('path', '#' + insert).attr('class', 'er relationshipLine').attr('d', lineFunction(edge.points)).attr('stroke', conf.stroke).attr('fill', 'none'); // ...and with dashes if necessary\n\n if (rel.relSpec.relType === erDb.Identification.NON_IDENTIFYING) {\n svgPath.attr('stroke-dasharray', '8,8');\n } // TODO: Understand this better\n\n\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n } // Decide which start and end markers it needs. It may be possible to be more concise here\n // by reversing a start marker to make an end marker...but this will do for now\n // Note that the 'A' entity's marker is at the end of the relationship and the 'B' entity's marker is at the start\n\n\n switch (rel.relSpec.cardA) {\n case erDb.Cardinality.ZERO_OR_ONE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_ONE_END + ')');\n break;\n\n case erDb.Cardinality.ZERO_OR_MORE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_MORE_END + ')');\n break;\n\n case erDb.Cardinality.ONE_OR_MORE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ONE_OR_MORE_END + ')');\n break;\n\n case erDb.Cardinality.ONLY_ONE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ONLY_ONE_END + ')');\n break;\n }\n\n switch (rel.relSpec.cardB) {\n case erDb.Cardinality.ZERO_OR_ONE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_ONE_START + ')');\n break;\n\n case erDb.Cardinality.ZERO_OR_MORE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_MORE_START + ')');\n break;\n\n case erDb.Cardinality.ONE_OR_MORE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ONE_OR_MORE_START + ')');\n break;\n\n case erDb.Cardinality.ONLY_ONE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ONLY_ONE_START + ')');\n break;\n } // Now label the relationship\n // Find the half-way point\n\n\n var len = svgPath.node().getTotalLength();\n var labelPoint = svgPath.node().getPointAtLength(len * 0.5); // Append a text node containing the label\n\n var labelId = 'rel' + relCnt;\n var labelNode = svg.append('text').attr('class', 'er relationshipLabel').attr('id', labelId).attr('x', labelPoint.x).attr('y', labelPoint.y).attr('text-anchor', 'middle').attr('dominant-baseline', 'middle').attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize + 'px').text(rel.roleA); // Figure out how big the opaque 'container' rectangle needs to be\n\n var labelBBox = labelNode.node().getBBox(); // Insert the opaque rectangle before the text label\n\n svg.insert('rect', '#' + labelId).attr('class', 'er relationshipLabelBox').attr('x', labelPoint.x - labelBBox.width / 2).attr('y', labelPoint.y - labelBBox.height / 2).attr('width', labelBBox.width).attr('height', labelBBox.height).attr('fill', 'white').attr('fill-opacity', '85%');\n return;\n};\n/**\n * Draw en E-R diagram in the tag with id: id based on the text definition of the diagram\n * @param text the text of the diagram\n * @param id the unique id of the DOM node that contains the diagram\n */\n\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing ER diagram');\n erDb.clear();\n var parser = erParser.parser;\n parser.yy = erDb; // Parse the text to populate erDb\n\n try {\n parser.parse(text);\n } catch (err) {\n logger.debug('Parsing failed');\n } // Get a reference to the svg node that contains the text\n\n\n var svg = select(\"[id='\".concat(id, \"']\")); // Add cardinality marker definitions to the svg\n\n erMarkers.insertMarkers(svg, conf); // Now we have to construct the diagram in a specific way:\n // ---\n // 1. Create all the entities in the svg node at 0,0, but with the correct dimensions (allowing for text content)\n // 2. Make sure they are all added to the graph\n // 3. Add all the edges (relationships) to the graph aswell\n // 4. Let dagre do its magic to layout the graph. This assigns:\n // - the centre co-ordinates for each node, bearing in mind the dimensions and edge relationships\n // - the path co-ordinates for each edge\n // But it has no impact on the svg child nodes - the diagram remains with every entity rooted at 0,0\n // 5. Now assign a transform to each entity in the svg node so that it gets drawn in the correct place, as determined by\n // its centre point, which is obtained from the graph, and it's width and height\n // 6. And finally, create all the edges in the svg node using information from the graph\n // ---\n // Create the graph\n\n var g; // TODO: Explore directed vs undirected graphs, and how the layout is affected\n // An E-R diagram could be said to be undirected, but there is merit in setting\n // the direction from parent to child in a one-to-many as this influences graphlib to\n // put the parent above the child (does it?), which is intuitive. Most relationships\n // in ER diagrams are one-to-many.\n\n g = new graphlib.Graph({\n multigraph: true,\n directed: true,\n compound: false\n }).setGraph({\n rankdir: conf.layoutDirection,\n marginx: 20,\n marginy: 20,\n nodesep: 100,\n edgesep: 100,\n ranksep: 100\n }).setDefaultEdgeLabel(function () {\n return {};\n }); // Draw the entities (at 0,0), returning the first svg node that got\n // inserted - this represents the insertion point for relationship paths\n\n var firstEntity = drawEntities(svg, erDb.getEntities(), g); // TODO: externalise the addition of entities to the graph - it's a bit 'buried' in the above\n // Add all the relationships to the graph\n\n var relationships = addRelationships(erDb.getRelationships(), g);\n dagre.layout(g); // Node and edge positions will be updated\n // Adjust the positions of the entities so that they adhere to the layout\n\n adjustEntities(svg, g); // Draw the relationships\n\n relationships.forEach(function (rel) {\n drawRelationshipFromLayout(svg, rel, g, firstEntity);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n }\n\n svg.attr('viewBox', \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height));\n}; // draw\n\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyDb.js", "name": "./src/diagrams/user-journey/journeyDb.js", "index": 570, "index2": 568, "size": 3069, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./journeyDb", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./journeyDb", "loc": "5:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/journeyDb", "loc": "52:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyDb", "loc": "138:25-34" } ], "usedExports": [ "default" ], "providedExports": [ "clear", "setTitle", "getTitle", "addSection", "getSections", "getTasks", "addTask", "addTaskOrg", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nvar title = '';\nvar currentSection = '';\nvar sections = [];\nvar tasks = [];\nvar rawTasks = [];\nexport var clear = function clear() {\n sections.length = 0;\n tasks.length = 0;\n currentSection = '';\n title = '';\n rawTasks.length = 0;\n};\nexport var setTitle = function setTitle(txt) {\n title = txt;\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var addSection = function addSection(txt) {\n currentSection = txt;\n sections.push(txt);\n};\nexport var getSections = function getSections() {\n return sections;\n};\nexport var getTasks = function getTasks() {\n var allItemsProcessed = compileTasks();\n var maxDepth = 100;\n var iterationCount = 0;\n\n while (!allItemsProcessed && iterationCount < maxDepth) {\n allItemsProcessed = compileTasks();\n iterationCount++;\n }\n\n tasks.push.apply(tasks, rawTasks);\n return tasks;\n};\n\nvar updateActors = function updateActors() {\n var tempActors = [];\n tasks.forEach(function (task) {\n if (task.people) {\n tempActors.push.apply(tempActors, _toConsumableArray(task.people));\n }\n });\n var unique = new Set(tempActors);\n return _toConsumableArray(unique).sort();\n};\n\nexport var addTask = function addTask(descr, taskData) {\n var pieces = taskData.substr(1).split(':');\n var score = 0;\n var peeps = [];\n\n if (pieces.length === 1) {\n score = Number(pieces[0]);\n peeps = [];\n } else {\n score = Number(pieces[0]);\n peeps = pieces[1].split(',');\n }\n\n var peopleList = peeps.map(function (s) {\n return s.trim();\n });\n var rawTask = {\n section: currentSection,\n type: currentSection,\n people: peopleList,\n task: descr,\n score: score\n };\n rawTasks.push(rawTask);\n};\nexport var addTaskOrg = function addTaskOrg(descr) {\n var newTask = {\n section: currentSection,\n type: currentSection,\n description: descr,\n task: descr,\n classes: []\n };\n tasks.push(newTask);\n};\n\nvar compileTasks = function compileTasks() {\n var compileTask = function compileTask(pos) {\n return rawTasks[pos].processed;\n };\n\n var allProcessed = true;\n\n for (var i = 0; i < rawTasks.length; i++) {\n compileTask(i);\n allProcessed = allProcessed && rawTasks[i].processed;\n }\n\n return allProcessed;\n};\n\nvar getActors = function getActors() {\n return updateActors();\n};\n\nexport default {\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle,\n addSection: addSection,\n getSections: getSections,\n getTasks: getTasks,\n addTask: addTask,\n addTaskOrg: addTaskOrg,\n getActors: getActors\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "name": "./src/diagrams/user-journey/journeyRenderer.js", "index": 922, "index2": 921, "size": 7798, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } } ], "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "53:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "380:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "381:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "538:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "bounds", "drawTasks", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport { parser } from './parser/journey';\nimport journeyDb from './journeyDb';\nimport svgDraw from './svgDraw';\nparser.yy = journeyDb;\nvar conf = {\n leftMargin: 150,\n diagramMarginX: 50,\n diagramMarginY: 20,\n // Margin between tasks\n taskMargin: 50,\n // Width of task boxes\n width: 150,\n // Height of task boxes\n height: 50,\n taskFontSize: 14,\n taskFontFamily: '\"Open-Sans\", \"sans-serif\"',\n // Margin around loop boxes\n boxMargin: 10,\n boxTextMargin: 5,\n noteMargin: 10,\n // Space between messages\n messageMargin: 35,\n // Multiline message alignment\n messageAlign: 'center',\n // Depending on css styling this might need adjustment\n // Projects the edge of the diagram downwards\n bottomMarginAdj: 1,\n // width of activation box\n activationWidth: 10,\n // text placement as: tspan | fo | old only text as before\n textPlacement: 'fo',\n actorColours: ['#8FBC8F', '#7CFC00', '#00FFFF', '#20B2AA', '#B0E0E6', '#FFFFE0'],\n sectionFills: ['#191970', '#8B008B', '#4B0082', '#2F4F4F', '#800000', '#8B4513', '#00008B'],\n sectionColours: ['#fff']\n};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\nvar actors = {};\n\nfunction drawActorLegend(diagram) {\n // Draw the actors\n var yPos = 60;\n Object.keys(actors).forEach(function (person) {\n var colour = actors[person];\n var circleData = {\n cx: 20,\n cy: yPos,\n r: 7,\n fill: colour,\n stroke: '#000'\n };\n svgDraw.drawCircle(diagram, circleData);\n var labelData = {\n x: 40,\n y: yPos + 7,\n fill: '#666',\n text: person\n };\n svgDraw.drawText(diagram, labelData);\n yPos += 20;\n });\n}\n\nvar LEFT_MARGIN = conf.leftMargin;\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.parse(text + '\\n');\n bounds.init();\n var diagram = select('#' + id);\n diagram.attr('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n svgDraw.initGraphics(diagram);\n var tasks = parser.yy.getTasks();\n var title = parser.yy.getTitle();\n var actorNames = parser.yy.getActors();\n\n for (var member in actors) {\n delete actors[member];\n }\n\n var actorPos = 0;\n actorNames.forEach(function (actorName) {\n actors[actorName] = conf.actorColours[actorPos % conf.actorColours.length];\n actorPos++;\n });\n drawActorLegend(diagram);\n bounds.insert(0, 0, LEFT_MARGIN, Object.keys(actors).length * 50);\n drawTasks(diagram, tasks, 0);\n var box = bounds.getBounds();\n\n if (title) {\n diagram.append('text').text(title).attr('x', LEFT_MARGIN).attr('font-size', '4ex').attr('font-weight', 'bold').attr('y', 25);\n }\n\n var height = box.stopy - box.starty + 2 * conf.diagramMarginY;\n var width = LEFT_MARGIN + box.stopx + 2 * conf.diagramMarginX;\n\n if (conf.useMaxWidth) {\n diagram.attr('height', '100%');\n diagram.attr('width', '100%');\n diagram.attr('style', 'max-width:' + width + 'px;');\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n } // Draw activity line\n\n\n diagram.append('line').attr('x1', LEFT_MARGIN).attr('y1', conf.height * 4) // One section head + one task + margins\n .attr('x2', width - LEFT_MARGIN - 4) // Subtract stroke width so arrow point is retained\n .attr('y2', conf.height * 4).attr('stroke-width', 4).attr('stroke', 'black').attr('marker-end', 'url(#arrowhead)');\n var extraVertForTitle = title ? 70 : 0;\n diagram.attr('viewBox', \"\".concat(box.startx, \" -25 \").concat(width, \" \").concat(height + extraVertForTitle));\n diagram.attr('preserveAspectRatio', 'xMinYMin meet');\n};\nexport var bounds = {\n data: {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n },\n verticalPos: 0,\n sequenceItems: [],\n init: function init() {\n this.sequenceItems = [];\n this.data = {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n };\n this.verticalPos = 0;\n },\n updateVal: function updateVal(obj, key, val, fun) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = val;\n } else {\n obj[key] = fun(val, obj[key]);\n }\n },\n updateBounds: function updateBounds(startx, starty, stopx, stopy) {\n var _self = this;\n\n var cnt = 0;\n\n function updateFn(type) {\n return function updateItemBounds(item) {\n cnt++; // The loop sequenceItems is a stack so the biggest margins in the beginning of the sequenceItems\n\n var n = _self.sequenceItems.length - cnt + 1;\n\n _self.updateVal(item, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopy', stopy + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n if (!(type === 'activation')) {\n _self.updateVal(item, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopy', stopy + n * conf.boxMargin, Math.max);\n }\n };\n }\n\n this.sequenceItems.forEach(updateFn());\n },\n insert: function insert(startx, starty, stopx, stopy) {\n var _startx = Math.min(startx, stopx);\n\n var _stopx = Math.max(startx, stopx);\n\n var _starty = Math.min(starty, stopy);\n\n var _stopy = Math.max(starty, stopy);\n\n this.updateVal(bounds.data, 'startx', _startx, Math.min);\n this.updateVal(bounds.data, 'starty', _starty, Math.min);\n this.updateVal(bounds.data, 'stopx', _stopx, Math.max);\n this.updateVal(bounds.data, 'stopy', _stopy, Math.max);\n this.updateBounds(_startx, _starty, _stopx, _stopy);\n },\n bumpVerticalPos: function bumpVerticalPos(bump) {\n this.verticalPos = this.verticalPos + bump;\n this.data.stopy = this.verticalPos;\n },\n getVerticalPos: function getVerticalPos() {\n return this.verticalPos;\n },\n getBounds: function getBounds() {\n return this.data;\n }\n};\nvar fills = conf.sectionFills;\nvar textColours = conf.sectionColours;\nexport var drawTasks = function drawTasks(diagram, tasks, verticalPos) {\n var lastSection = '';\n var sectionVHeight = conf.height * 2 + conf.diagramMarginY;\n var taskPos = verticalPos + sectionVHeight;\n var sectionNumber = 0;\n var fill = '#CCC';\n var colour = 'black'; // Draw the tasks\n\n for (var i = 0; i < tasks.length; i++) {\n var task = tasks[i];\n\n if (lastSection !== task.section) {\n fill = fills[sectionNumber % fills.length];\n colour = textColours[sectionNumber % textColours.length];\n var section = {\n x: i * conf.taskMargin + i * conf.width + LEFT_MARGIN,\n y: 50,\n text: task.section,\n fill: fill,\n colour: colour\n };\n svgDraw.drawSection(diagram, section, conf);\n lastSection = task.section;\n sectionNumber++;\n } // Collect the actors involved in the task\n\n\n var taskActors = task.people.reduce(function (acc, actorName) {\n if (actors[actorName]) {\n acc[actorName] = actors[actorName];\n }\n\n return acc;\n }, {}); // Add some rendering data to the object\n\n task.x = i * conf.taskMargin + i * conf.width + LEFT_MARGIN;\n task.y = taskPos;\n task.width = conf.diagramMarginX;\n task.height = conf.diagramMarginY;\n task.colour = colour;\n task.fill = fill;\n task.actors = taskActors; // Draw the box with the attached line\n\n svgDraw.drawTask(diagram, task, conf);\n bounds.insert(task.x, task.y, task.x + task.width + conf.taskMargin, 300 + 5 * 30); // stopy is the length of the descenders.\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowChartShapes.js", "name": "./src/diagrams/flowchart/flowChartShapes.js", "index": 889, "index2": 886, "size": 7760, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 2701, "building": 33, "dependencies": 622 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./flowChartShapes", "loc": "11:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowChartShapes", "loc": "352:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "addToRender", "addToRenderV2", "default" ], "optimizationBailout": [], "depth": 3, "source": "import dagreD3 from 'dagre-d3';\n\nfunction question(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var s = (w + h) * 0.9;\n var points = [{\n x: s / 2,\n y: 0\n }, {\n x: s,\n y: -s / 2\n }, {\n x: s / 2,\n y: -s\n }, {\n x: 0,\n y: -s / 2\n }];\n var shapeSvg = insertPolygonShape(parent, s, s, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction hexagon(parent, bbox, node) {\n var f = 4;\n var h = bbox.height;\n var m = h / f;\n var w = bbox.width + 2 * m;\n var points = [{\n x: m,\n y: 0\n }, {\n x: w - m,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w - m,\n y: -h\n }, {\n x: m,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction rect_left_inv_arrow(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -h / 2,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: -h / 2,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction lean_right(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction lean_left(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 2 * h / 6,\n y: 0\n }, {\n x: w + h / 6,\n y: 0\n }, {\n x: w - 2 * h / 6,\n y: -h\n }, {\n x: -h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction trapezoid(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction inv_trapezoid(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: -2 * h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction rect_right_inv_arrow(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w + h / 2,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w + h / 2,\n y: -h\n }, {\n x: 0,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction stadium(parent, bbox, node) {\n var h = bbox.height;\n var w = bbox.width + h / 4;\n var shapeSvg = parent.insert('rect', ':first-child').attr('rx', h / 2).attr('ry', h / 2).attr('x', -w / 2).attr('y', -h / 2).attr('width', w).attr('height', h);\n\n node.intersect = function (point) {\n return dagreD3.intersect.rect(node, point);\n };\n\n return shapeSvg;\n}\n\nfunction subroutine(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: 0,\n y: -h\n }, {\n x: 0,\n y: 0\n }, {\n x: -8,\n y: 0\n }, {\n x: w + 8,\n y: 0\n }, {\n x: w + 8,\n y: -h\n }, {\n x: -8,\n y: -h\n }, {\n x: -8,\n y: 0\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction cylinder(parent, bbox, node) {\n var w = bbox.width;\n var rx = w / 2;\n var ry = rx / (2.5 + w / 50);\n var h = bbox.height + ry;\n var shape = 'M 0,' + ry + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 a ' + rx + ',' + ry + ' 0,0,0 ' + -w + ' 0 l 0,' + h + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 l 0,' + -h;\n var shapeSvg = parent.attr('label-offset-y', ry).insert('path', ':first-child').attr('d', shape).attr('transform', 'translate(' + -w / 2 + ',' + -(h / 2 + ry) + ')');\n\n node.intersect = function (point) {\n var pos = dagreD3.intersect.rect(node, point);\n var x = pos.x - node.x;\n\n if (rx != 0 && (Math.abs(x) < node.width / 2 || Math.abs(x) == node.width / 2 && Math.abs(pos.y - node.y) > node.height / 2 - ry)) {\n // ellipsis equation: x*x / a*a + y*y / b*b = 1\n // solve for y to get adjustion value for pos.y\n var y = ry * ry * (1 - x * x / (rx * rx));\n if (y != 0) y = Math.sqrt(y);\n y = ry - y;\n if (point.y - node.y > 0) y = -y;\n pos.y += y;\n }\n\n return pos;\n };\n\n return shapeSvg;\n}\n\nexport function addToRender(render) {\n render.shapes().question = question;\n render.shapes().hexagon = hexagon;\n render.shapes().stadium = stadium;\n render.shapes().subroutine = subroutine;\n render.shapes().cylinder = cylinder; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().rect_left_inv_arrow = rect_left_inv_arrow; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().lean_right = lean_right; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().lean_left = lean_left; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().trapezoid = trapezoid; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().inv_trapezoid = inv_trapezoid; // Add custom shape for box with inverted arrow on right side\n\n render.shapes().rect_right_inv_arrow = rect_right_inv_arrow;\n}\nexport function addToRenderV2(addShape) {\n addShape({\n question: question\n });\n addShape({\n hexagon: hexagon\n });\n addShape({\n stadium: stadium\n });\n addShape({\n subroutine: subroutine\n });\n addShape({\n cylinder: cylinder\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n rect_left_inv_arrow: rect_left_inv_arrow\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n lean_right: lean_right\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n lean_left: lean_left\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n trapezoid: trapezoid\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n inv_trapezoid: inv_trapezoid\n }); // Add custom shape for box with inverted arrow on right side\n\n addShape({\n rect_right_inv_arrow: rect_right_inv_arrow\n });\n}\n\nfunction insertPolygonShape(parent, w, h, points) {\n return parent.insert('polygon', ':first-child').attr('points', points.map(function (d) {\n return d.x + ',' + d.y;\n }).join(' ')).attr('transform', 'translate(' + -w / 2 + ',' + h / 2 + ')');\n}\n\nexport default {\n addToRender: addToRender,\n addToRenderV2: addToRenderV2\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "index": 892, "index2": 904, "size": 5901, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer-v2.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 2194, "building": 106, "dependencies": 1505 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../dagre-wrapper/index.js", "loc": "6:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../dagre-wrapper/index.js", "loc": "6:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../dagre-wrapper/index.js", "loc": "257:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../dagre-wrapper/index.js", "loc": "380:2-8" } ], "usedExports": [ "render" ], "providedExports": [ "render" ], "optimizationBailout": [], "depth": 3, "source": "import dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport insertMarkers from './markers';\nimport { updateNodeBounds } from './shapes/util';\nimport { clear as clearGraphlib, clusterDb, adjustClustersAndEdges, findNonClusterChild } from './mermaid-graphlib';\nimport { insertNode, positionNode, clear as clearNodes, setNodeElem } from './nodes';\nimport { insertCluster, clear as clearClusters } from './clusters';\nimport { insertEdgeLabel, positionEdgeLabel, insertEdge, clear as clearEdges } from './edges';\nimport { logger as log } from '../logger';\n\nvar recursiveRender = function recursiveRender(_elem, graph, diagramtype, parentCluster) {\n log.info('Graph in recursive render:', graphlib.json.write(graph), parentCluster);\n var dir = graph.graph().rankdir;\n log.warn('Dir in recursive render - dir:', dir);\n\n var elem = _elem.insert('g').attr('class', 'root'); // eslint-disable-line\n\n\n if (!graph.nodes()) {\n log.trace('No nodes found for', graph);\n } else {\n log.trace('Recursive render', graph.nodes());\n }\n\n if (graph.edges().length > 0) {\n log.trace('Recursive edges', graph.edge(graph.edges()[0]));\n }\n\n var clusters = elem.insert('g').attr('class', 'clusters'); // eslint-disable-line\n\n var edgePaths = elem.insert('g').attr('class', 'edgePaths');\n var edgeLabels = elem.insert('g').attr('class', 'edgeLabels');\n var nodes = elem.insert('g').attr('class', 'nodes'); // Insert nodes, this will insert them into the dom and each node will get a size. The size is updated\n // to the abstract node and is later used by dagre for the layout\n\n graph.nodes().forEach(function (v) {\n var node = graph.node(v);\n\n if (typeof parentCluster !== 'undefined') {\n var data = JSON.parse(JSON.stringify(parentCluster.clusterData)); // data.clusterPositioning = true;\n\n log.trace('Setting data for cluster', data);\n graph.setNode(parentCluster.id, data);\n graph.setParent(v, parentCluster.id, data);\n }\n\n log.trace('(Insert) Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n\n if (node && node.clusterNode) {\n // const children = graph.children(v);\n log.trace('Cluster identified', v, node, graph.node(v));\n var newEl = recursiveRender(nodes, node.graph, diagramtype, graph.node(v));\n updateNodeBounds(node, newEl);\n setNodeElem(newEl, node);\n log.warn('Recursive render complete', newEl, node);\n } else {\n if (graph.children(v).length > 0) {\n // This is a cluster but not to be rendered recusively\n // Render as before\n log.trace('Cluster - the non recursive path', v, node.id, node, graph);\n log.trace(findNonClusterChild(node.id, graph));\n clusterDb[node.id] = {\n id: findNonClusterChild(node.id, graph),\n node: node\n }; // insertCluster(clusters, graph.node(v));\n } else {\n log.trace('Node - the non recursive path', v, node.id, node);\n insertNode(nodes, graph.node(v), dir);\n }\n }\n }); // Insert labels, this will insert them into the dom so that the width can be calculated\n // Also figure out which edges point to/from clusters and adjust them accordingly\n // Edges from/to clusters really points to the first child in the cluster.\n // TODO: pick optimal child in the cluster to us as link anchor\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e.v, e.w, e.name);\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ', e, ' ', JSON.stringify(graph.edge(e))); // Check if link is either from or to a cluster\n\n log.trace('Fix', clusterDb, 'ids:', e.v, e.w, 'Translateing: ', clusterDb[e.v], clusterDb[e.w]);\n insertEdgeLabel(edgeLabels, edge);\n });\n graph.edges().forEach(function (e) {\n log.info('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n });\n log.info('#############################################');\n log.info('### Layout ###');\n log.info('#############################################');\n log.info(graph);\n dagre.layout(graph);\n log.trace('Graph after layout:', graphlib.json.write(graph)); // Move the nodes to the correct place\n\n graph.nodes().forEach(function (v) {\n var node = graph.node(v);\n log.trace('Position ' + v + ': ' + JSON.stringify(graph.node(v)));\n log.info('Position ' + v + ': (' + node.x, ',' + node.y, ') width: ', node.width, ' height: ', node.height);\n\n if (node && node.clusterNode) {\n // clusterDb[node.id].node = node;\n positionNode(node);\n } else {\n // Non cluster node\n if (graph.children(v).length > 0) {\n // A cluster in the non-recurive way\n // positionCluster(node);\n insertCluster(clusters, node);\n clusterDb[node.id].node = node;\n } else {\n positionNode(node);\n }\n }\n }); // Move the edge labels to the correct place after layout\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e);\n log.info('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(edge), edge);\n var updatedPath = insertEdge(edgePaths, e, edge, clusterDb, diagramtype, graph);\n positionEdgeLabel(edge, updatedPath);\n });\n return elem;\n};\n\nexport var render = function render(elem, graph, markers, diagramtype, id) {\n insertMarkers(elem, markers, diagramtype, id);\n clearNodes();\n clearEdges();\n clearClusters();\n clearGraphlib();\n log.warn('Graph before:', graphlib.json.write(graph));\n adjustClustersAndEdges(graph);\n log.warn('Graph after:', graphlib.json.write(graph));\n log.warn('Graph ever after:', graph.graph());\n recursiveRender(elem, graph, diagramtype);\n}; // const shapeDefinitions = {};\n// export const addShape = ({ shapeType: fun }) => {\n// shapeDefinitions[shapeType] = fun;\n// };\n// const arrowDefinitions = {};\n// export const addArrow = ({ arrowType: fun }) => {\n// arrowDefinitions[arrowType] = fun;\n// };" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "name": "./src/diagrams/sequence/svgDraw.js", "index": 909, "index2": 906, "size": 15081, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/sequence/sequenceRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "name": "./src/diagrams/sequence/sequenceRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1467, "building": 447, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "152:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "228:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "234:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "235:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "249:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "284:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "299:2-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "385:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "474:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "475:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "476:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "486:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "517:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "530:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "543:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "562:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "581:8-15" } ], "usedExports": [ "default", "drawText" ], "providedExports": [ "drawRect", "drawText", "drawLabel", "drawActor", "anchorElement", "drawActivation", "drawLoop", "drawBackgroundRect", "insertArrowHead", "insertSequenceNumber", "insertArrowCrossHead", "getTextObj", "getNoteRect", "default" ], "optimizationBailout": [], "depth": 3, "source": "import common from '../common/common';\nexport var drawRect = function drawRect(elem, rectData) {\n var rectElem = elem.append('rect');\n rectElem.attr('x', rectData.x);\n rectElem.attr('y', rectData.y);\n rectElem.attr('fill', rectData.fill);\n rectElem.attr('stroke', rectData.stroke);\n rectElem.attr('width', rectData.width);\n rectElem.attr('height', rectData.height);\n rectElem.attr('rx', rectData.rx);\n rectElem.attr('ry', rectData.ry);\n\n if (typeof rectData.class !== 'undefined') {\n rectElem.attr('class', rectData.class);\n }\n\n return rectElem;\n};\nexport var drawText = function drawText(elem, textData) {\n var prevTextHeight = 0,\n textHeight = 0;\n var lines = textData.wrap ? textData.text.split(common.lineBreakRegex) : [textData.text.replace(common.lineBreakRegex, ' ')];\n var textElems = [];\n var dy = 0;\n\n var yfunc = function yfunc() {\n return textData.y;\n };\n\n if (typeof textData.valign !== 'undefined' && typeof textData.textMargin !== 'undefined' && textData.textMargin > 0) {\n switch (textData.valign) {\n case 'top':\n case 'start':\n yfunc = function yfunc() {\n return Math.round(textData.y + textData.textMargin);\n };\n\n break;\n\n case 'middle':\n case 'center':\n yfunc = function yfunc() {\n return Math.round(textData.y + (prevTextHeight + textHeight + textData.textMargin) / 2);\n };\n\n break;\n\n case 'bottom':\n case 'end':\n yfunc = function yfunc() {\n return Math.round(textData.y + (prevTextHeight + textHeight + 2 * textData.textMargin) - textData.textMargin);\n };\n\n break;\n }\n }\n\n if (typeof textData.anchor !== 'undefined' && typeof textData.textMargin !== 'undefined' && typeof textData.width !== 'undefined') {\n switch (textData.anchor) {\n case 'left':\n case 'start':\n textData.x = Math.round(textData.x + textData.textMargin);\n textData.anchor = 'start';\n textData.dominantBaseline = 'text-after-edge';\n textData.alignmentBaseline = 'middle';\n break;\n\n case 'middle':\n case 'center':\n textData.x = Math.round(textData.x + textData.width / 2);\n textData.anchor = 'middle';\n textData.dominantBaseline = 'middle';\n textData.alignmentBaseline = 'middle';\n break;\n\n case 'right':\n case 'end':\n textData.x = Math.round(textData.x + textData.width - textData.textMargin);\n textData.anchor = 'end';\n textData.dominantBaseline = 'text-before-edge';\n textData.alignmentBaseline = 'middle';\n break;\n }\n }\n\n for (var i = 0; i < lines.length; i++) {\n var line = lines[i];\n\n if (typeof textData.textMargin !== 'undefined' && textData.textMargin === 0 && typeof textData.fontSize !== 'undefined') {\n dy = i * textData.fontSize;\n }\n\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', yfunc());\n\n if (typeof textData.anchor !== 'undefined') {\n textElem.attr('text-anchor', textData.anchor).attr('dominant-baseline', textData.dominantBaseline).attr('alignment-baseline', textData.alignmentBaseline);\n }\n\n if (typeof textData.fontFamily !== 'undefined') {\n textElem.style('font-family', textData.fontFamily);\n }\n\n if (typeof textData.fontSize !== 'undefined') {\n textElem.style('font-size', textData.fontSize);\n }\n\n if (typeof textData.fontWeight !== 'undefined') {\n textElem.style('font-weight', textData.fontWeight);\n }\n\n if (typeof textData.fill !== 'undefined') {\n textElem.attr('fill', textData.fill);\n }\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n if (typeof textData.dy !== 'undefined') {\n textElem.attr('dy', textData.dy);\n } else if (dy !== 0) {\n textElem.attr('dy', dy);\n }\n\n if (textData.tspan) {\n var span = textElem.append('tspan');\n span.attr('x', textData.x);\n\n if (typeof textData.fill !== 'undefined') {\n span.attr('fill', textData.fill);\n }\n\n span.text(line);\n } else {\n textElem.text(line);\n }\n\n if (typeof textData.valign !== 'undefined' && typeof textData.textMargin !== 'undefined' && textData.textMargin > 0) {\n textHeight += (textElem._groups || textElem)[0][0].getBBox().height;\n prevTextHeight = textHeight;\n }\n\n textElems.push(textElem);\n }\n\n return textElems;\n};\nexport var drawLabel = function drawLabel(elem, txtObject) {\n function genPoints(x, y, width, height, cut) {\n return x + ',' + y + ' ' + (x + width) + ',' + y + ' ' + (x + width) + ',' + (y + height - cut) + ' ' + (x + width - cut * 1.2) + ',' + (y + height) + ' ' + x + ',' + (y + height);\n }\n\n var polygon = elem.append('polygon');\n polygon.attr('points', genPoints(txtObject.x, txtObject.y, txtObject.width, txtObject.height, 7));\n polygon.attr('class', 'labelBox');\n txtObject.y = txtObject.y + txtObject.height / 2;\n drawText(elem, txtObject);\n return polygon;\n};\nvar actorCnt = -1;\n/**\n * Draws an actor in the diagram with the attached line\n * @param elem - The diagram we'll draw to.\n * @param actor - The actor to draw.\n * @param conf - drawText implementation discriminator object\n */\n\nexport var drawActor = function drawActor(elem, actor, conf) {\n var center = actor.x + actor.width / 2;\n var g = elem.append('g');\n\n if (actor.y === 0) {\n actorCnt++;\n g.append('line').attr('id', 'actor' + actorCnt).attr('x1', center).attr('y1', 5).attr('x2', center).attr('y2', 2000).attr('class', 'actor-line').attr('stroke-width', '0.5px').attr('stroke', '#999');\n }\n\n var rect = getNoteRect();\n rect.x = actor.x;\n rect.y = actor.y;\n rect.fill = '#eaeaea';\n rect.width = actor.width;\n rect.height = actor.height;\n rect.class = 'actor';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n\n _drawTextCandidateFunc(conf)(actor.description, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'actor'\n }, conf);\n};\nexport var anchorElement = function anchorElement(elem) {\n return elem.append('g');\n};\n/**\n * Draws an activation in the diagram\n * @param elem - element to append activation rect.\n * @param bounds - activation box bounds.\n * @param verticalPos - precise y cooridnate of bottom activation box edge.\n * @param conf - sequence diagram config object.\n * @param actorActivations - number of activations on the actor.\n */\n\nexport var drawActivation = function drawActivation(elem, bounds, verticalPos, conf, actorActivations) {\n var rect = getNoteRect();\n var g = bounds.anchored;\n rect.x = bounds.startx;\n rect.y = bounds.starty;\n rect.class = 'activation' + actorActivations % 3; // Will evaluate to 0, 1 or 2\n\n rect.width = bounds.stopx - bounds.startx;\n rect.height = verticalPos - bounds.starty;\n drawRect(g, rect);\n};\n/**\n * Draws a loop in the diagram\n * @param elem - elemenet to append the loop to.\n * @param loopModel - loopModel of the given loop.\n * @param labelText - Text within the loop.\n * @param conf - diagrom configuration\n */\n\nexport var drawLoop = function drawLoop(elem, loopModel, labelText, conf) {\n var boxMargin = conf.boxMargin,\n boxTextMargin = conf.boxTextMargin,\n labelBoxHeight = conf.labelBoxHeight,\n labelBoxWidth = conf.labelBoxWidth,\n fontFamily = conf.messageFontFamily,\n fontSize = conf.messageFontSize,\n fontWeight = conf.messageFontWeight;\n var g = elem.append('g');\n\n var drawLoopLine = function drawLoopLine(startx, starty, stopx, stopy) {\n return g.append('line').attr('x1', startx).attr('y1', starty).attr('x2', stopx).attr('y2', stopy).attr('class', 'loopLine');\n };\n\n drawLoopLine(loopModel.startx, loopModel.starty, loopModel.stopx, loopModel.starty);\n drawLoopLine(loopModel.stopx, loopModel.starty, loopModel.stopx, loopModel.stopy);\n drawLoopLine(loopModel.startx, loopModel.stopy, loopModel.stopx, loopModel.stopy);\n drawLoopLine(loopModel.startx, loopModel.starty, loopModel.startx, loopModel.stopy);\n\n if (typeof loopModel.sections !== 'undefined') {\n loopModel.sections.forEach(function (item) {\n drawLoopLine(loopModel.startx, item.y, loopModel.stopx, item.y).style('stroke-dasharray', '3, 3');\n });\n }\n\n var txt = getTextObj();\n txt.text = labelText;\n txt.x = loopModel.startx;\n txt.y = loopModel.starty;\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.tspan = false;\n txt.width = labelBoxWidth || 50;\n txt.height = labelBoxHeight || 20;\n txt.textMargin = boxTextMargin;\n txt.class = 'labelText';\n drawLabel(g, txt);\n txt = getTextObj();\n txt.text = loopModel.title;\n txt.x = loopModel.startx + labelBoxWidth / 2 + (loopModel.stopx - loopModel.startx) / 2;\n txt.y = loopModel.starty + boxMargin + boxTextMargin;\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.textMargin = boxTextMargin;\n txt.class = 'loopText';\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.wrap = true;\n var textElem = drawText(g, txt);\n\n if (typeof loopModel.sectionTitles !== 'undefined') {\n loopModel.sectionTitles.forEach(function (item, idx) {\n if (item.message) {\n txt.text = item.message;\n txt.x = loopModel.startx + (loopModel.stopx - loopModel.startx) / 2;\n txt.y = loopModel.sections[idx].y + boxMargin + boxTextMargin;\n txt.class = 'loopText';\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.tspan = false;\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.wrap = loopModel.wrap;\n textElem = drawText(g, txt);\n var sectionHeight = Math.round(textElem.map(function (te) {\n return (te._groups || te)[0][0].getBBox().height;\n }).reduce(function (acc, curr) {\n return acc + curr;\n }));\n loopModel.sections[idx].height += sectionHeight - (boxMargin + boxTextMargin);\n }\n });\n }\n\n loopModel.height = Math.round(loopModel.stopy - loopModel.starty);\n return g;\n};\n/**\n * Draws a background rectangle\n * @param elem diagram (reference for bounds)\n * @param bounds shape of the rectangle\n */\n\nexport var drawBackgroundRect = function drawBackgroundRect(elem, bounds) {\n var rectElem = drawRect(elem, {\n x: bounds.startx,\n y: bounds.starty,\n width: bounds.stopx - bounds.startx,\n height: bounds.stopy - bounds.starty,\n fill: bounds.fill,\n class: 'rect'\n });\n rectElem.lower();\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nexport var insertArrowHead = function insertArrowHead(elem) {\n elem.append('defs').append('marker').attr('id', 'arrowhead').attr('refX', 5).attr('refY', 2).attr('markerWidth', 6).attr('markerHeight', 4).attr('orient', 'auto').append('path').attr('d', 'M 0,0 V 4 L6,2 Z'); // this is actual shape for arrowhead\n};\n/**\n * Setup node number. The result is appended to the svg.\n */\n\nexport var insertSequenceNumber = function insertSequenceNumber(elem) {\n elem.append('defs').append('marker').attr('id', 'sequencenumber').attr('refX', 15).attr('refY', 15).attr('markerWidth', 60).attr('markerHeight', 40).attr('orient', 'auto').append('circle').attr('cx', 15).attr('cy', 15).attr('r', 6); // .style(\"fill\", '#f00');\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nexport var insertArrowCrossHead = function insertArrowCrossHead(elem) {\n var defs = elem.append('defs');\n var marker = defs.append('marker').attr('id', 'crosshead').attr('markerWidth', 15).attr('markerHeight', 8).attr('orient', 'auto').attr('refX', 16).attr('refY', 4); // The arrow\n\n marker.append('path').attr('fill', 'black').attr('stroke', '#000000').style('stroke-dasharray', '0, 0').attr('stroke-width', '1px').attr('d', 'M 9,2 V 6 L16,4 Z'); // The cross\n\n marker.append('path').attr('fill', 'none').attr('stroke', '#000000').style('stroke-dasharray', '0, 0').attr('stroke-width', '1px').attr('d', 'M 0,1 L 6,7 M 6,1 L 0,7'); // this is actual shape for arrowhead\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n anchor: undefined,\n style: '#666',\n width: undefined,\n height: undefined,\n textMargin: 0,\n rx: 0,\n ry: 0,\n tspan: true,\n valign: undefined\n };\n};\nexport var getNoteRect = function getNoteRect() {\n return {\n x: 0,\n y: 0,\n fill: '#EDF2AE',\n stroke: '#666',\n width: 100,\n anchor: 'start',\n height: 100,\n rx: 0,\n ry: 0\n };\n};\n\nvar _drawTextCandidateFunc = function () {\n function byText(content, g, x, y, width, height, textAttrs) {\n var text = g.append('text').attr('x', x + width / 2).attr('y', y + height / 2 + 5).style('text-anchor', 'middle').text(content);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function byTspan(content, g, x, y, width, height, textAttrs, conf) {\n var actorFontSize = conf.actorFontSize,\n actorFontFamily = conf.actorFontFamily,\n actorFontWeight = conf.actorFontWeight;\n var lines = content.split(common.lineBreakRegex);\n\n for (var i = 0; i < lines.length; i++) {\n var dy = i * actorFontSize - actorFontSize * (lines.length - 1) / 2;\n var text = g.append('text').attr('x', x + width / 2).attr('y', y).style('text-anchor', 'middle').style('font-size', actorFontSize).style('font-weight', actorFontWeight).style('font-family', actorFontFamily);\n text.append('tspan').attr('x', x + width / 2).attr('dy', dy).text(lines[i]);\n text.attr('y', y + height / 2.0).attr('dominant-baseline', 'central').attr('alignment-baseline', 'central');\n\n _setTextAttrs(text, textAttrs);\n }\n }\n\n function byFo(content, g, x, y, width, height, textAttrs, conf) {\n var s = g.append('switch');\n var f = s.append('foreignObject').attr('x', x).attr('y', y).attr('width', width).attr('height', height);\n var text = f.append('div').style('display', 'table').style('height', '100%').style('width', '100%');\n text.append('div').style('display', 'table-cell').style('text-align', 'center').style('vertical-align', 'middle').text(content);\n byTspan(content, s, x, y, width, height, textAttrs, conf);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function _setTextAttrs(toText, fromTextAttrsDict) {\n for (var key in fromTextAttrsDict) {\n if (fromTextAttrsDict.hasOwnProperty(key)) {\n // eslint-disable-line\n toText.attr(key, fromTextAttrsDict[key]);\n }\n }\n }\n\n return function (conf) {\n return conf.textPlacement === 'fo' ? byFo : conf.textPlacement === 'old' ? byText : byTspan;\n };\n}();\n\nexport default {\n drawRect: drawRect,\n drawText: drawText,\n drawLabel: drawLabel,\n drawActor: drawActor,\n anchorElement: anchorElement,\n drawActivation: drawActivation,\n drawLoop: drawLoop,\n drawBackgroundRect: drawBackgroundRect,\n insertArrowHead: insertArrowHead,\n insertSequenceNumber: insertSequenceNumber,\n insertArrowCrossHead: insertArrowCrossHead,\n getTextObj: getTextObj,\n getNoteRect: getNoteRect\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "name": "./src/diagrams/class/svgDraw.js", "index": 912, "index2": 909, "size": 11509, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/class/classRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1912, "building": 395, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "7:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "82:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "108:6-13" } ], "usedExports": [ "default" ], "providedExports": [ "drawEdge", "drawClass", "parseMember", "default" ], "optimizationBailout": [], "depth": 3, "source": "import { line, curveBasis } from 'd3';\nimport { lookUpDomId, relationType } from './classDb';\nimport utils from '../../utils';\nimport { logger } from '../../logger';\nvar edgeCount = 0;\nexport var drawEdge = function drawEdge(elem, path, relation, conf) {\n var getRelationType = function getRelationType(type) {\n switch (type) {\n case relationType.AGGREGATION:\n return 'aggregation';\n\n case relationType.EXTENSION:\n return 'extension';\n\n case relationType.COMPOSITION:\n return 'composition';\n\n case relationType.DEPENDENCY:\n return 'dependency';\n }\n };\n\n path.points = path.points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // The data for our line\n\n var lineData = path.points; // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis);\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', 'edge' + edgeCount).attr('class', 'relation');\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n if (relation.relation.lineType == 1) {\n svgPath.attr('class', 'relation dashed-line');\n }\n\n if (relation.relation.type1 !== 'none') {\n svgPath.attr('marker-start', 'url(' + url + '#' + getRelationType(relation.relation.type1) + 'Start' + ')');\n }\n\n if (relation.relation.type2 !== 'none') {\n svgPath.attr('marker-end', 'url(' + url + '#' + getRelationType(relation.relation.type2) + 'End' + ')');\n }\n\n var x, y;\n var l = path.points.length; // Calculate Label position\n\n var labelPosition = utils.calcLabelPosition(path.points);\n x = labelPosition.x;\n y = labelPosition.y;\n var p1_card_x, p1_card_y;\n var p2_card_x, p2_card_y;\n\n if (l % 2 !== 0 && l > 1) {\n var cardinality_1_point = utils.calcCardinalityPosition(relation.relation.type1 !== 'none', path.points, path.points[0]);\n var cardinality_2_point = utils.calcCardinalityPosition(relation.relation.type2 !== 'none', path.points, path.points[l - 1]);\n logger.debug('cardinality_1_point ' + JSON.stringify(cardinality_1_point));\n logger.debug('cardinality_2_point ' + JSON.stringify(cardinality_2_point));\n p1_card_x = cardinality_1_point.x;\n p1_card_y = cardinality_1_point.y;\n p2_card_x = cardinality_2_point.x;\n p2_card_y = cardinality_2_point.y;\n }\n\n if (typeof relation.title !== 'undefined') {\n var g = elem.append('g').attr('class', 'classLabel');\n var label = g.append('text').attr('class', 'label').attr('x', x).attr('y', y).attr('fill', 'red').attr('text-anchor', 'middle').text(relation.title);\n window.label = label;\n var bounds = label.node().getBBox();\n g.insert('rect', ':first-child').attr('class', 'box').attr('x', bounds.x - conf.padding / 2).attr('y', bounds.y - conf.padding / 2).attr('width', bounds.width + conf.padding).attr('height', bounds.height + conf.padding);\n }\n\n logger.info('Rendering relation ' + JSON.stringify(relation));\n\n if (typeof relation.relationTitle1 !== 'undefined' && relation.relationTitle1 !== 'none') {\n var _g = elem.append('g').attr('class', 'cardinality');\n\n _g.append('text').attr('class', 'type1').attr('x', p1_card_x).attr('y', p1_card_y).attr('fill', 'black').attr('font-size', '6').text(relation.relationTitle1);\n }\n\n if (typeof relation.relationTitle2 !== 'undefined' && relation.relationTitle2 !== 'none') {\n var _g2 = elem.append('g').attr('class', 'cardinality');\n\n _g2.append('text').attr('class', 'type2').attr('x', p2_card_x).attr('y', p2_card_y).attr('fill', 'black').attr('font-size', '6').text(relation.relationTitle2);\n }\n\n edgeCount++;\n};\nexport var drawClass = function drawClass(elem, classDef, conf) {\n logger.info('Rendering class ' + classDef);\n var cssClassStr = 'classGroup ';\n\n if (classDef.cssClasses.length > 0) {\n cssClassStr = cssClassStr + classDef.cssClasses.join(' ');\n }\n\n var id = classDef.id;\n var classInfo = {\n id: id,\n label: classDef.id,\n width: 0,\n height: 0\n }; // add class group\n\n var g = elem.append('g').attr('id', lookUpDomId(id)).attr('class', cssClassStr); // add title\n\n var title;\n\n if (classDef.link) {\n title = g.append('svg:a').attr('xlink:href', classDef.link).attr('target', '_blank').append('text').attr('y', conf.textHeight + conf.padding).attr('x', 0);\n } else {\n title = g.append('text').attr('y', conf.textHeight + conf.padding).attr('x', 0);\n } // add annotations\n\n\n var isFirst = true;\n classDef.annotations.forEach(function (member) {\n var titleText2 = title.append('tspan').text('«' + member + '»');\n if (!isFirst) titleText2.attr('dy', conf.textHeight);\n isFirst = false;\n });\n var classTitleString = classDef.id;\n\n if (classDef.type !== undefined && classDef.type !== '') {\n classTitleString += '<' + classDef.type + '>';\n }\n\n var classTitle = title.append('tspan').text(classTitleString).attr('class', 'title'); // If class has annotations the title needs to have an offset of the text height\n\n if (!isFirst) classTitle.attr('dy', conf.textHeight);\n var titleHeight = title.node().getBBox().height;\n var membersLine = g.append('line') // text label for the x axis\n .attr('x1', 0).attr('y1', conf.padding + titleHeight + conf.dividerMargin / 2).attr('y2', conf.padding + titleHeight + conf.dividerMargin / 2);\n var members = g.append('text') // text label for the x axis\n .attr('x', conf.padding).attr('y', titleHeight + conf.dividerMargin + conf.textHeight).attr('fill', 'white').attr('class', 'classText');\n isFirst = true;\n classDef.members.forEach(function (member) {\n addTspan(members, member, isFirst, conf);\n isFirst = false;\n });\n var membersBox = members.node().getBBox();\n var methodsLine = g.append('line') // text label for the x axis\n .attr('x1', 0).attr('y1', conf.padding + titleHeight + conf.dividerMargin + membersBox.height).attr('y2', conf.padding + titleHeight + conf.dividerMargin + membersBox.height);\n var methods = g.append('text') // text label for the x axis\n .attr('x', conf.padding).attr('y', titleHeight + 2 * conf.dividerMargin + membersBox.height + conf.textHeight).attr('fill', 'white').attr('class', 'classText');\n isFirst = true;\n classDef.methods.forEach(function (method) {\n addTspan(methods, method, isFirst, conf);\n isFirst = false;\n });\n var classBox = g.node().getBBox();\n var rect = g.insert('rect', ':first-child').attr('x', 0).attr('y', 0).attr('width', classBox.width + 2 * conf.padding).attr('height', classBox.height + conf.padding + 0.5 * conf.dividerMargin);\n var rectWidth = rect.node().getBBox().width; // Center title\n // We subtract the width of each text element from the class box width and divide it by 2\n\n title.node().childNodes.forEach(function (x) {\n x.setAttribute('x', (rectWidth - x.getBBox().width) / 2);\n });\n\n if (classDef.tooltip) {\n title.insert('title').text(classDef.tooltip);\n }\n\n membersLine.attr('x2', rectWidth);\n methodsLine.attr('x2', rectWidth);\n classInfo.width = rectWidth;\n classInfo.height = classBox.height + conf.padding + 0.5 * conf.dividerMargin;\n return classInfo;\n};\nexport var parseMember = function parseMember(text) {\n var fieldRegEx = /(\\+|-|~|#)?(\\w+)(~\\w+~|\\[\\])?\\s+(\\w+)/;\n var methodRegEx = /^([+|\\-|~|#])?(\\w+) *\\( *(.*)\\) *(\\*|\\$)? *(\\w*[~|[\\]]*\\s*\\w*~?)$/;\n var fieldMatch = text.match(fieldRegEx);\n var methodMatch = text.match(methodRegEx);\n\n if (fieldMatch && !methodMatch) {\n return buildFieldDisplay(fieldMatch);\n } else if (methodMatch) {\n return buildMethodDisplay(methodMatch);\n } else {\n return buildLegacyDisplay(text);\n }\n};\n\nvar buildFieldDisplay = function buildFieldDisplay(parsedText) {\n var displayText = '';\n\n try {\n var visibility = parsedText[1] ? parsedText[1].trim() : '';\n var fieldType = parsedText[2] ? parsedText[2].trim() : '';\n var genericType = parsedText[3] ? parseGenericTypes(parsedText[3].trim()) : '';\n var fieldName = parsedText[4] ? parsedText[4].trim() : '';\n displayText = visibility + fieldType + genericType + ' ' + fieldName;\n } catch (err) {\n displayText = parsedText;\n }\n\n return {\n displayText: displayText,\n cssStyle: ''\n };\n};\n\nvar buildMethodDisplay = function buildMethodDisplay(parsedText) {\n var cssStyle = '';\n var displayText = '';\n\n try {\n var visibility = parsedText[1] ? parsedText[1].trim() : '';\n var methodName = parsedText[2] ? parsedText[2].trim() : '';\n var parameters = parsedText[3] ? parseGenericTypes(parsedText[3].trim()) : '';\n var classifier = parsedText[4] ? parsedText[4].trim() : '';\n var returnType = parsedText[5] ? ' : ' + parseGenericTypes(parsedText[5]).trim() : '';\n displayText = visibility + methodName + '(' + parameters + ')' + returnType;\n cssStyle = parseClassifier(classifier);\n } catch (err) {\n displayText = parsedText;\n }\n\n return {\n displayText: displayText,\n cssStyle: cssStyle\n };\n};\n\nvar buildLegacyDisplay = function buildLegacyDisplay(text) {\n // if for some reason we dont have any match, use old format to parse text\n var displayText = '';\n var cssStyle = '';\n var memberText = '';\n var returnType = '';\n var methodStart = text.indexOf('(');\n var methodEnd = text.indexOf(')');\n\n if (methodStart > 1 && methodEnd > methodStart && methodEnd <= text.length) {\n var visibility = '';\n var methodName = '';\n var firstChar = text.substring(0, 1);\n\n if (firstChar.match(/\\w/)) {\n methodName = text.substring(0, methodStart).trim();\n } else {\n if (firstChar.match(/\\+|-|~|#/)) {\n visibility = firstChar;\n }\n\n methodName = text.substring(1, methodStart).trim();\n }\n\n var parameters = text.substring(methodStart + 1, methodEnd);\n var classifier = text.substring(methodEnd + 1, 1);\n cssStyle = parseClassifier(classifier);\n displayText = visibility + methodName + '(' + parseGenericTypes(parameters.trim()) + ')';\n\n if (methodEnd < memberText.length) {\n returnType = text.substring(methodEnd + 2).trim();\n\n if (returnType !== '') {\n returnType = ' : ' + parseGenericTypes(returnType);\n }\n }\n } else {\n // finally - if all else fails, just send the text back as written (other than parsing for generic types)\n displayText = parseGenericTypes(text);\n }\n\n return {\n displayText: displayText,\n cssStyle: cssStyle\n };\n};\n\nvar addTspan = function addTspan(textEl, txt, isFirst, conf) {\n var member = parseMember(txt);\n var tSpan = textEl.append('tspan').attr('x', conf.padding).text(member.displayText);\n\n if (member.cssStyle !== '') {\n tSpan.attr('style', member.cssStyle);\n }\n\n if (!isFirst) {\n tSpan.attr('dy', conf.textHeight);\n }\n};\n\nvar parseGenericTypes = function parseGenericTypes(text) {\n var cleanedText = text;\n\n if (text.indexOf('~') != -1) {\n cleanedText = cleanedText.replace('~', '<');\n cleanedText = cleanedText.replace('~', '>');\n return parseGenericTypes(cleanedText);\n } else {\n return cleanedText;\n }\n};\n\nvar parseClassifier = function parseClassifier(classifier) {\n switch (classifier) {\n case '*':\n return 'font-style:italic;';\n\n case '$':\n return 'text-decoration:underline;';\n\n default:\n return '';\n }\n};\n\nexport default {\n drawClass: drawClass,\n drawEdge: drawEdge,\n parseMember: parseMember\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "name": "./src/diagrams/state/shapes.js", "index": 914, "index2": 912, "size": 15372, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/state/stateRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1874, "building": 443, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./shapes", "loc": "9:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "142:14-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "157:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "168:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "235:6-14" } ], "usedExports": [ "addTitleAndBox", "drawState", "drawEdge" ], "providedExports": [ "drawStartState", "drawDivider", "drawSimpleState", "drawDescrState", "addTitleAndBox", "drawText", "drawNote", "drawState", "drawEdge" ], "optimizationBailout": [], "depth": 3, "source": "import { line, curveBasis } from 'd3';\nimport idCache from './id-cache.js';\nimport stateDb from './stateDb';\nimport utils from '../../utils';\nimport common from '../common/common';\nimport { getConfig } from '../../config';\nimport { logger } from '../../logger'; // let conf;\n\n/**\n * Draws a start state as a black circle\n */\n\nexport var drawStartState = function drawStartState(g) {\n return g.append('circle').style('stroke', 'black').style('fill', 'black').attr('r', getConfig().state.sizeUnit).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit);\n};\n/**\n * Draws a start state as a black circle\n */\n\nexport var drawDivider = function drawDivider(g) {\n return g.append('line').style('stroke', 'grey').style('stroke-dasharray', '3').attr('x1', getConfig().state.textHeight).attr('class', 'divider').attr('x2', getConfig().state.textHeight * 2).attr('y1', 0).attr('y2', 0);\n};\n/**\n * Draws a an end state as a black circle\n */\n\nexport var drawSimpleState = function drawSimpleState(g, stateDef) {\n var state = g.append('text').attr('x', 2 * getConfig().state.padding).attr('y', getConfig().state.textHeight + 2 * getConfig().state.padding).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.id);\n var classBox = state.node().getBBox();\n g.insert('rect', ':first-child').attr('x', getConfig().state.padding).attr('y', getConfig().state.padding).attr('width', classBox.width + 2 * getConfig().state.padding).attr('height', classBox.height + 2 * getConfig().state.padding).attr('rx', getConfig().state.radius);\n return state;\n};\n/**\n * Draws a state with descriptions\n * @param {*} g\n * @param {*} stateDef\n */\n\nexport var drawDescrState = function drawDescrState(g, stateDef) {\n var addTspan = function addTspan(textEl, txt, isFirst) {\n var tSpan = textEl.append('tspan').attr('x', 2 * getConfig().state.padding).text(txt);\n\n if (!isFirst) {\n tSpan.attr('dy', getConfig().state.textHeight);\n }\n };\n\n var title = g.append('text').attr('x', 2 * getConfig().state.padding).attr('y', getConfig().state.textHeight + 1.3 * getConfig().state.padding).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.descriptions[0]);\n var titleBox = title.node().getBBox();\n var titleHeight = titleBox.height;\n var description = g.append('text') // text label for the x axis\n .attr('x', getConfig().state.padding).attr('y', titleHeight + getConfig().state.padding * 0.4 + getConfig().state.dividerMargin + getConfig().state.textHeight).attr('class', 'state-description');\n var isFirst = true;\n var isSecond = true;\n stateDef.descriptions.forEach(function (descr) {\n if (!isFirst) {\n addTspan(description, descr, isSecond);\n isSecond = false;\n }\n\n isFirst = false;\n });\n var descrLine = g.append('line') // text label for the x axis\n .attr('x1', getConfig().state.padding).attr('y1', getConfig().state.padding + titleHeight + getConfig().state.dividerMargin / 2).attr('y2', getConfig().state.padding + titleHeight + getConfig().state.dividerMargin / 2).attr('class', 'descr-divider');\n var descrBox = description.node().getBBox();\n var width = Math.max(descrBox.width, titleBox.width);\n descrLine.attr('x2', width + 3 * getConfig().state.padding); // const classBox = title.node().getBBox();\n\n g.insert('rect', ':first-child').attr('x', getConfig().state.padding).attr('y', getConfig().state.padding).attr('width', width + 2 * getConfig().state.padding).attr('height', descrBox.height + titleHeight + 2 * getConfig().state.padding).attr('rx', getConfig().state.radius);\n return g;\n};\n/**\n * Adds the creates a box around the existing content and adds a\n * panel for the id on top of the content.\n */\n\n/**\n * Function that creates an title row and a frame around a substate for a composit state diagram.\n * The function returns a new d3 svg object with updated width and height properties;\n * @param {*} g The d3 svg object for the substate to framed\n * @param {*} stateDef The info about the\n */\n\nexport var addTitleAndBox = function addTitleAndBox(g, stateDef, altBkg) {\n var pad = getConfig().state.padding;\n var dblPad = 2 * getConfig().state.padding;\n var orgBox = g.node().getBBox();\n var orgWidth = orgBox.width;\n var orgX = orgBox.x;\n var title = g.append('text').attr('x', 0).attr('y', getConfig().state.titleShift).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.id);\n var titleBox = title.node().getBBox();\n var titleWidth = titleBox.width + dblPad;\n var width = Math.max(titleWidth, orgWidth); // + dblPad;\n\n if (width === orgWidth) {\n width = width + dblPad;\n }\n\n var startX; // const lineY = 1 - getConfig().state.textHeight;\n // const descrLine = g\n // .append('line') // text label for the x axis\n // .attr('x1', 0)\n // .attr('y1', lineY)\n // .attr('y2', lineY)\n // .attr('class', 'descr-divider');\n\n var graphBox = g.node().getBBox(); // console.warn(width / 2, titleWidth / 2, getConfig().state.padding, orgBox);\n // descrLine.attr('x2', graphBox.width + getConfig().state.padding);\n\n if (stateDef.doc) {// cnsole.warn(\n // stateDef.id,\n // 'orgX: ',\n // orgX,\n // 'width: ',\n // width,\n // 'titleWidth: ',\n // titleWidth,\n // 'orgWidth: ',\n // orgWidth,\n // 'width',\n // width\n // );\n }\n\n startX = orgX - pad;\n\n if (titleWidth > orgWidth) {\n startX = (orgWidth - width) / 2 + pad;\n }\n\n if (Math.abs(orgX - graphBox.x) < pad) {\n if (titleWidth > orgWidth) {\n startX = orgX - (titleWidth - orgWidth) / 2;\n }\n }\n\n var lineY = 1 - getConfig().state.textHeight; // White color\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', lineY).attr('class', altBkg ? 'alt-composit' : 'composit').attr('width', width).attr('height', graphBox.height + getConfig().state.textHeight + getConfig().state.titleShift + 1).attr('rx', '0');\n title.attr('x', startX + pad);\n if (titleWidth <= orgWidth) title.attr('x', orgX + (width - dblPad) / 2 - titleWidth / 2 + pad); // Title background\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', getConfig().state.titleShift - getConfig().state.textHeight - getConfig().state.padding).attr('width', width) // Just needs to be higher then the descr line, will be clipped by the white color box\n .attr('height', getConfig().state.textHeight * 3).attr('rx', getConfig().state.radius); // Full background\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', getConfig().state.titleShift - getConfig().state.textHeight - getConfig().state.padding).attr('width', width).attr('height', graphBox.height + 3 + 2 * getConfig().state.textHeight).attr('rx', getConfig().state.radius);\n return g;\n};\n\nvar drawEndState = function drawEndState(g) {\n g.append('circle').style('stroke', 'black').style('fill', 'white').attr('r', getConfig().state.sizeUnit + getConfig().state.miniPadding).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit + getConfig().state.miniPadding).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit + getConfig().state.miniPadding);\n return g.append('circle').style('stroke', 'black').style('fill', 'black').attr('r', getConfig().state.sizeUnit).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit + 2).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit + 2);\n};\n\nvar drawForkJoinState = function drawForkJoinState(g, stateDef) {\n var width = getConfig().state.forkWidth;\n var height = getConfig().state.forkHeight;\n\n if (stateDef.parentId) {\n var tmp = width;\n width = height;\n height = tmp;\n }\n\n return g.append('rect').style('stroke', 'black').style('fill', 'black').attr('width', width).attr('height', height).attr('x', getConfig().state.padding).attr('y', getConfig().state.padding);\n};\n\nexport var drawText = function drawText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(common.lineBreakRegex, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.style('text-anchor', textData.anchor);\n textElem.attr('fill', textData.fill);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.attr('fill', textData.fill);\n span.text(nText);\n return textElem;\n};\n\nvar _drawLongText = function _drawLongText(_text, x, y, g) {\n var textHeight = 0;\n var textElem = g.append('text');\n textElem.style('text-anchor', 'start');\n textElem.attr('class', 'noteText');\n\n var text = _text.replace(/\\r\\n/g, '
');\n\n text = text.replace(/\\n/g, '
');\n var lines = text.split(common.lineBreakRegex);\n var tHeight = 1.25 * getConfig().state.noteMargin;\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = lines[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var _line = _step.value;\n\n var txt = _line.trim();\n\n if (txt.length > 0) {\n var span = textElem.append('tspan');\n span.text(txt);\n\n if (tHeight === 0) {\n var textBounds = span.node().getBBox();\n tHeight += textBounds.height;\n } // console.warn('textBounds', textBounds);\n\n\n textHeight += tHeight;\n span.attr('x', x + getConfig().state.noteMargin);\n span.attr('y', y + textHeight + 1.25 * getConfig().state.noteMargin);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return {\n textWidth: textElem.node().getBBox().width,\n textHeight: textHeight\n };\n};\n/**\n * Draws a note to the diagram\n * @param text - The text of the given note.\n * @param g - The element the note is attached to.\n */\n\n\nexport var drawNote = function drawNote(text, g) {\n g.attr('class', 'state-note');\n var note = g.append('rect').attr('x', 0).attr('y', getConfig().state.padding);\n var rectElem = g.append('g');\n\n var _drawLongText2 = _drawLongText(text, 0, 0, rectElem),\n textWidth = _drawLongText2.textWidth,\n textHeight = _drawLongText2.textHeight;\n\n note.attr('height', textHeight + 2 * getConfig().state.noteMargin);\n note.attr('width', textWidth + getConfig().state.noteMargin * 2);\n return note;\n};\n/**\n * Starting point for drawing a state. The function finds out the specifics\n * about the state and renders with approprtiate function.\n * @param {*} elem\n * @param {*} stateDef\n */\n\nexport var drawState = function drawState(elem, stateDef) {\n var id = stateDef.id;\n var stateInfo = {\n id: id,\n label: stateDef.id,\n width: 0,\n height: 0\n };\n var g = elem.append('g').attr('id', id).attr('class', 'stateGroup');\n if (stateDef.type === 'start') drawStartState(g);\n if (stateDef.type === 'end') drawEndState(g);\n if (stateDef.type === 'fork' || stateDef.type === 'join') drawForkJoinState(g, stateDef);\n if (stateDef.type === 'note') drawNote(stateDef.note.text, g);\n if (stateDef.type === 'divider') drawDivider(g);\n if (stateDef.type === 'default' && stateDef.descriptions.length === 0) drawSimpleState(g, stateDef);\n if (stateDef.type === 'default' && stateDef.descriptions.length > 0) drawDescrState(g, stateDef);\n var stateBox = g.node().getBBox();\n stateInfo.width = stateBox.width + 2 * getConfig().state.padding;\n stateInfo.height = stateBox.height + 2 * getConfig().state.padding;\n idCache.set(id, stateInfo); // stateCnt++;\n\n return stateInfo;\n};\nvar edgeCount = 0;\nexport var drawEdge = function drawEdge(elem, path, relation) {\n var getRelationType = function getRelationType(type) {\n switch (type) {\n case stateDb.relationType.AGGREGATION:\n return 'aggregation';\n\n case stateDb.relationType.EXTENSION:\n return 'extension';\n\n case stateDb.relationType.COMPOSITION:\n return 'composition';\n\n case stateDb.relationType.DEPENDENCY:\n return 'dependency';\n }\n };\n\n path.points = path.points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // The data for our line\n\n var lineData = path.points; // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis);\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', 'edge' + edgeCount).attr('class', 'transition');\n var url = '';\n\n if (getConfig().state.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n svgPath.attr('marker-end', 'url(' + url + '#' + getRelationType(stateDb.relationType.DEPENDENCY) + 'End' + ')');\n\n if (typeof relation.title !== 'undefined') {\n var label = elem.append('g').attr('class', 'stateLabel');\n\n var _utils$calcLabelPosit = utils.calcLabelPosition(path.points),\n x = _utils$calcLabelPosit.x,\n y = _utils$calcLabelPosit.y;\n\n var rows = common.getRows(relation.title); // console.warn(rows);\n\n var titleHeight = 0;\n var titleRows = [];\n var maxWidth = 0;\n var minX = 0;\n\n for (var i = 0; i <= rows.length; i++) {\n var title = label.append('text').attr('text-anchor', 'middle').text(rows[i]).attr('x', x).attr('y', y + titleHeight);\n var boundstmp = title.node().getBBox();\n maxWidth = Math.max(maxWidth, boundstmp.width);\n minX = Math.min(minX, boundstmp.x);\n logger.info(boundstmp.x, x, y + titleHeight);\n\n if (titleHeight === 0) {\n var titleBox = title.node().getBBox();\n titleHeight = titleBox.height;\n logger.info('Title height', titleHeight, y);\n }\n\n titleRows.push(title);\n }\n\n var boxHeight = titleHeight * rows.length;\n\n if (rows.length > 1) {\n var heightAdj = (rows.length - 1) * titleHeight * 0.5;\n titleRows.forEach(function (title, i) {\n return title.attr('y', y + i * titleHeight - heightAdj);\n });\n boxHeight = titleHeight * rows.length;\n }\n\n var bounds = label.node().getBBox();\n label.insert('rect', ':first-child').attr('class', 'box').attr('x', x - maxWidth / 2 - getConfig().state.padding / 2).attr('y', y - boxHeight / 2 - getConfig().state.padding / 2 - 3.5).attr('width', maxWidth + getConfig().state.padding).attr('height', boxHeight + getConfig().state.padding);\n logger.info(bounds); //label.attr('transform', '0 -' + (bounds.y / 2));\n // Debug points\n // path.points.forEach(point => {\n // g.append('circle')\n // .style('stroke', 'red')\n // .style('fill', 'red')\n // .attr('r', 1)\n // .attr('cx', point.x)\n // .attr('cy', point.y);\n // });\n // g.append('circle')\n // .style('stroke', 'blue')\n // .style('fill', 'blue')\n // .attr('r', 1)\n // .attr('cx', x)\n // .attr('cy', y);\n }\n\n edgeCount++;\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erMarkers.js", "name": "./src/diagrams/er/erMarkers.js", "index": 921, "index2": 918, "size": 3422, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/er/erRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "name": "./src/diagrams/er/erRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1660, "building": 393 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./erMarkers", "loc": "8:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "133:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "137:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "141:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "145:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "151:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "155:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "159:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "163:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "202:2-11" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 3, "source": "var ERMarkers = {\n ONLY_ONE_START: 'ONLY_ONE_START',\n ONLY_ONE_END: 'ONLY_ONE_END',\n ZERO_OR_ONE_START: 'ZERO_OR_ONE_START',\n ZERO_OR_ONE_END: 'ZERO_OR_ONE_END',\n ONE_OR_MORE_START: 'ONE_OR_MORE_START',\n ONE_OR_MORE_END: 'ONE_OR_MORE_END',\n ZERO_OR_MORE_START: 'ZERO_OR_MORE_START',\n ZERO_OR_MORE_END: 'ZERO_OR_MORE_END'\n};\n/**\n * Put the markers into the svg DOM for later use with edge paths\n */\n\nvar insertMarkers = function insertMarkers(elem, conf) {\n var marker;\n elem.append('defs').append('marker').attr('id', ERMarkers.ONLY_ONE_START).attr('refX', 0).attr('refY', 9).attr('markerWidth', 18).attr('markerHeight', 18).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M9,0 L9,18 M15,0 L15,18');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONLY_ONE_END).attr('refX', 18).attr('refY', 9).attr('markerWidth', 18).attr('markerHeight', 18).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M3,0 L3,18 M9,0 L9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_ONE_START).attr('refX', 0).attr('refY', 9).attr('markerWidth', 30).attr('markerHeight', 18).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 21).attr('cy', 9).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M9,0 L9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_ONE_END).attr('refX', 30).attr('refY', 9).attr('markerWidth', 30).attr('markerHeight', 18).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 9).attr('cy', 9).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M21,0 L21,18');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONE_OR_MORE_START).attr('refX', 18).attr('refY', 18).attr('markerWidth', 45).attr('markerHeight', 36).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONE_OR_MORE_END).attr('refX', 27).attr('refY', 18).attr('markerWidth', 45).attr('markerHeight', 36).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_MORE_START).attr('refX', 18).attr('refY', 18).attr('markerWidth', 57).attr('markerHeight', 36).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 48).attr('cy', 18).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M0,18 Q18,0 36,18 Q18,36 0,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_MORE_END).attr('refX', 39).attr('refY', 18).attr('markerWidth', 57).attr('markerHeight', 36).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 9).attr('cy', 18).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M21,18 Q39,0 57,18 Q39,36 21,18');\n return;\n};\n\nexport default {\n ERMarkers: ERMarkers,\n insertMarkers: insertMarkers\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/svgDraw.js", "name": "./src/diagrams/user-journey/svgDraw.js", "index": 923, "index2": 920, "size": 9389, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/user-journey/journeyRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "name": "./src/diagrams/user-journey/journeyRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } } ], "profile": { "factory": 1120, "building": 474, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "57:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "64:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "76:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "227:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "249:4-11" } ], "usedExports": [ "default" ], "providedExports": [ "drawRect", "drawFace", "drawCircle", "drawText", "drawLabel", "drawSection", "drawTask", "drawBackgroundRect", "getTextObj", "getNoteRect", "default" ], "optimizationBailout": [], "depth": 3, "source": "import { arc as d3arc } from 'd3';\nexport var drawRect = function drawRect(elem, rectData) {\n var rectElem = elem.append('rect');\n rectElem.attr('x', rectData.x);\n rectElem.attr('y', rectData.y);\n rectElem.attr('fill', rectData.fill);\n rectElem.attr('stroke', rectData.stroke);\n rectElem.attr('width', rectData.width);\n rectElem.attr('height', rectData.height);\n rectElem.attr('rx', rectData.rx);\n rectElem.attr('ry', rectData.ry);\n\n if (typeof rectData.class !== 'undefined') {\n rectElem.attr('class', rectData.class);\n }\n\n return rectElem;\n};\nexport var drawFace = function drawFace(element, faceData) {\n var radius = 15;\n var circleElement = element.append('circle').attr('cx', faceData.cx).attr('cy', faceData.cy).attr('fill', '#FFF8DC').attr('stroke', '#999').attr('r', radius).attr('stroke-width', 2).attr('overflow', 'visible');\n var face = element.append('g'); //left eye\n\n face.append('circle').attr('cx', faceData.cx - radius / 3).attr('cy', faceData.cy - radius / 3).attr('r', 1.5).attr('stroke-width', 2).attr('fill', '#666').attr('stroke', '#666'); //right eye\n\n face.append('circle').attr('cx', faceData.cx + radius / 3).attr('cy', faceData.cy - radius / 3).attr('r', 1.5).attr('stroke-width', 2).attr('fill', '#666').attr('stroke', '#666');\n\n function smile(face) {\n var arc = d3arc().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2); //mouth\n\n face.append('path').attr('d', arc).attr('transform', 'translate(' + faceData.cx + ',' + (faceData.cy + 2) + ')');\n }\n\n function sad(face) {\n var arc = d3arc().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2); //mouth\n\n face.append('path').attr('d', arc).attr('transform', 'translate(' + faceData.cx + ',' + (faceData.cy + 7) + ')');\n }\n\n function ambivalent(face) {\n face.append('line').attr('stroke', 2).attr('x1', faceData.cx - 5).attr('y1', faceData.cy + 7).attr('x2', faceData.cx + 5).attr('y2', faceData.cy + 7).attr('class', 'task-line').attr('stroke-width', '1px').attr('stroke', '#666');\n }\n\n if (faceData.score > 3) {\n smile(face);\n } else if (faceData.score < 3) {\n sad(face);\n } else {\n ambivalent(face);\n }\n\n return circleElement;\n};\nexport var drawCircle = function drawCircle(element, circleData) {\n var circleElement = element.append('circle');\n circleElement.attr('cx', circleData.cx);\n circleElement.attr('cy', circleData.cy);\n circleElement.attr('fill', circleData.fill);\n circleElement.attr('stroke', circleData.stroke);\n circleElement.attr('r', circleData.r);\n\n if (typeof circleElement.class !== 'undefined') {\n circleElement.attr('class', circleElement.class);\n }\n\n if (typeof circleData.title !== 'undefined') {\n circleElement.append('title').text(circleData.title);\n }\n\n return circleElement;\n};\nexport var drawText = function drawText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(//gi, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.attr('fill', textData.fill);\n textElem.style('text-anchor', textData.anchor);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.text(nText);\n return textElem;\n};\nexport var drawLabel = function drawLabel(elem, txtObject) {\n function genPoints(x, y, width, height, cut) {\n return x + ',' + y + ' ' + (x + width) + ',' + y + ' ' + (x + width) + ',' + (y + height - cut) + ' ' + (x + width - cut * 1.2) + ',' + (y + height) + ' ' + x + ',' + (y + height);\n }\n\n var polygon = elem.append('polygon');\n polygon.attr('points', genPoints(txtObject.x, txtObject.y, 50, 20, 7));\n polygon.attr('class', 'labelBox');\n txtObject.y = txtObject.y + txtObject.labelMargin;\n txtObject.x = txtObject.x + 0.5 * txtObject.labelMargin;\n drawText(elem, txtObject);\n};\nexport var drawSection = function drawSection(elem, section, conf) {\n var g = elem.append('g');\n var rect = getNoteRect();\n rect.x = section.x;\n rect.y = section.y;\n rect.fill = section.fill;\n rect.width = conf.width;\n rect.height = conf.height;\n rect.class = 'journey-section';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n\n _drawTextCandidateFunc(conf)(section.text, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'journey-section'\n }, conf, section.colour);\n};\nvar taskCount = -1;\n/**\n * Draws an actor in the diagram with the attaced line\n * @param elem The HTML element\n * @param task The task to render\n * @param conf The global configuration\n */\n\nexport var drawTask = function drawTask(elem, task, conf) {\n var center = task.x + conf.width / 2;\n var g = elem.append('g');\n taskCount++;\n var maxHeight = 300 + 5 * 30;\n g.append('line').attr('id', 'task' + taskCount).attr('x1', center).attr('y1', task.y).attr('x2', center).attr('y2', maxHeight).attr('class', 'task-line').attr('stroke-width', '1px').attr('stroke-dasharray', '4 2').attr('stroke', '#666');\n drawFace(g, {\n cx: center,\n cy: 300 + (5 - task.score) * 30,\n score: task.score\n });\n var rect = getNoteRect();\n rect.x = task.x;\n rect.y = task.y;\n rect.fill = task.fill;\n rect.width = conf.width;\n rect.height = conf.height;\n rect.class = 'task';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n var xPos = task.x + 14;\n task.people.forEach(function (person) {\n var colour = task.actors[person];\n var circle = {\n cx: xPos,\n cy: task.y,\n r: 7,\n fill: colour,\n stroke: '#000',\n title: person\n };\n drawCircle(g, circle);\n xPos += 10;\n });\n\n _drawTextCandidateFunc(conf)(task.task, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'task'\n }, conf, task.colour);\n};\n/**\n * Draws a background rectangle\n * @param elem The html element\n * @param bounds The bounds of the drawing\n */\n\nexport var drawBackgroundRect = function drawBackgroundRect(elem, bounds) {\n var rectElem = drawRect(elem, {\n x: bounds.startx,\n y: bounds.starty,\n width: bounds.stopx - bounds.startx,\n height: bounds.stopy - bounds.starty,\n fill: bounds.fill,\n class: 'rect'\n });\n rectElem.lower();\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n 'text-anchor': 'start',\n width: 100,\n height: 100,\n textMargin: 0,\n rx: 0,\n ry: 0\n };\n};\nexport var getNoteRect = function getNoteRect() {\n return {\n x: 0,\n y: 0,\n width: 100,\n anchor: 'start',\n height: 100,\n rx: 0,\n ry: 0\n };\n};\n\nvar _drawTextCandidateFunc = function () {\n function byText(content, g, x, y, width, height, textAttrs, colour) {\n var text = g.append('text').attr('x', x + width / 2).attr('y', y + height / 2 + 5).style('font-color', colour).style('text-anchor', 'middle').text(content);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function byTspan(content, g, x, y, width, height, textAttrs, conf, colour) {\n var taskFontSize = conf.taskFontSize,\n taskFontFamily = conf.taskFontFamily;\n var lines = content.split(//gi);\n\n for (var i = 0; i < lines.length; i++) {\n var dy = i * taskFontSize - taskFontSize * (lines.length - 1) / 2;\n var text = g.append('text').attr('x', x + width / 2).attr('y', y).attr('fill', colour).style('text-anchor', 'middle').style('font-size', taskFontSize).style('font-family', taskFontFamily);\n text.append('tspan').attr('x', x + width / 2).attr('dy', dy).text(lines[i]);\n text.attr('y', y + height / 2.0).attr('dominant-baseline', 'central').attr('alignment-baseline', 'central');\n\n _setTextAttrs(text, textAttrs);\n }\n }\n\n function byFo(content, g, x, y, width, height, textAttrs, conf, colour) {\n var body = g.append('switch');\n var f = body.append('foreignObject').attr('x', x).attr('y', y).attr('width', width).attr('height', height).attr('position', 'fixed');\n var text = f.append('div').style('display', 'table').style('height', '100%').style('width', '100%');\n text.append('div').style('display', 'table-cell').style('text-align', 'center').style('vertical-align', 'middle').style('color', colour).text(content);\n byTspan(content, body, x, y, width, height, textAttrs, conf);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function _setTextAttrs(toText, fromTextAttrsDict) {\n for (var key in fromTextAttrsDict) {\n if (key in fromTextAttrsDict) {\n // eslint-disable-line\n // noinspection JSUnfilteredForInLoop\n toText.attr(key, fromTextAttrsDict[key]);\n }\n }\n }\n\n return function (conf) {\n return conf.textPlacement === 'fo' ? byFo : conf.textPlacement === 'old' ? byText : byTspan;\n };\n}();\n\nvar initGraphics = function initGraphics(graphics) {\n graphics.append('defs').append('marker').attr('id', 'arrowhead').attr('refX', 5).attr('refY', 2).attr('markerWidth', 6).attr('markerHeight', 4).attr('orient', 'auto').append('path').attr('d', 'M 0,0 V 4 L6,2 Z'); // this is actual shape for arrowhead\n};\n\nexport default {\n drawRect: drawRect,\n drawCircle: drawCircle,\n drawSection: drawSection,\n drawText: drawText,\n drawLabel: drawLabel,\n drawTask: drawTask,\n drawBackgroundRect: drawBackgroundRect,\n getTextObj: getTextObj,\n getNoteRect: getNoteRect,\n initGraphics: initGraphics\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "name": "./src/dagre-wrapper/markers.js", "index": 907, "index2": 903, "size": 6123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./markers", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./markers", "loc": "125:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\nimport { logger } from '../logger'; // Only add the number of markers that the diagram needs\n\nvar insertMarkers = function insertMarkers(elem, markerArray, type, id) {\n markerArray.forEach(function (markerName) {\n markers[markerName](elem, type, id);\n });\n};\n\nvar extension = function extension(elem, type, id) {\n logger.trace('Making markers for ', id);\n elem.append('defs').append('marker').attr('id', type + '-extensionStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 1,7 L18,13 V 1 Z');\n elem.append('defs').append('marker').attr('id', type + '-extensionEnd ' + type).attr('class', 'marker extension ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 1,1 V 13 L18,7 Z'); // this is actual shape for arrowhead\n};\n\nvar composition = function composition(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-compositionStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-compositionEnd').attr('class', 'marker extension ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n};\n\nvar aggregation = function aggregation(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-aggregationStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-aggregationEnd').attr('class', 'marker ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n};\n\nvar dependency = function dependency(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-dependencyStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 5,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-dependencyEnd').attr('class', 'marker ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L14,7 L9,1 Z');\n};\n\nvar point = function point(elem, type) {\n elem.append('marker').attr('id', type + '-pointEnd').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 12).attr('markerHeight', 12).attr('orient', 'auto').append('path').attr('d', 'M 0 0 L 10 5 L 0 10 z').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-pointStart').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 0).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 12).attr('markerHeight', 12).attr('orient', 'auto').append('path').attr('d', 'M 0 5 L 10 10 L 10 0 z').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n};\n\nvar circle = function circle(elem, type) {\n elem.append('marker').attr('id', type + '-circleEnd').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 11).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('circle').attr('cx', '5').attr('cy', '5').attr('r', '5').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-circleStart').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', -1).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('circle').attr('cx', '5').attr('cy', '5').attr('r', '5').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n};\n\nvar cross = function cross(elem, type) {\n elem.append('marker').attr('id', type + '-crossEnd').attr('class', 'marker cross ' + type).attr('viewBox', '0 0 11 11').attr('refX', 12).attr('refY', 5.2).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('path') // .attr('stroke', 'black')\n .attr('d', 'M 1,1 l 9,9 M 10,1 l -9,9').attr('class', 'arrowMarkerPath').style('stroke-width', 2).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-crossStart').attr('class', 'marker cross ' + type).attr('viewBox', '0 0 11 11').attr('refX', -1).attr('refY', 5.2).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('path') // .attr('stroke', 'black')\n .attr('d', 'M 1,1 l 9,9 M 10,1 l -9,9').attr('class', 'arrowMarkerPath').style('stroke-width', 2).style('stroke-dasharray', '1,0');\n};\n\nvar barb = function barb(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-barbEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 14).attr('markerUnits', 0).attr('orient', 'auto').append('path').attr('d', 'M 19,7 L9,13 L14,7 L9,1 Z');\n}; // TODO rename the class diagram markers to something shape descriptive and semanitc free\n\n\nvar markers = {\n extension: extension,\n composition: composition,\n aggregation: aggregation,\n dependency: dependency,\n point: point,\n circle: circle,\n cross: cross,\n barb: barb\n};\nexport default insertMarkers;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "name": "./src/dagre-wrapper/shapes/util.js", "index": 893, "index2": 890, "size": 1604, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "./util", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/util", "loc": "4:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/util", "loc": "5:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "./util", "loc": "7:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "11:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "./util", "loc": "16:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "32:21-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "33:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "44:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "53:6-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "71:12-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "72:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "82:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "104:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "105:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "115:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "134:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "135:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "145:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "164:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "165:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "175:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "194:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "195:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "205:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "224:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "225:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "235:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "257:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "258:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "268:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "278:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "301:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "310:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "380:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "390:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "398:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "408:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "417:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "428:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "465:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "466:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "480:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "500:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "517:2-18" } ], "usedExports": [ "updateNodeBounds", "labelHelper", "insertPolygonShape" ], "providedExports": [ "labelHelper", "updateNodeBounds", "insertPolygonShape" ], "optimizationBailout": [], "depth": 4, "source": "import createLabel from '../createLabel';\nimport { getConfig } from '../../config';\nimport { select } from 'd3';\nexport var labelHelper = function labelHelper(parent, node, _classes, isNode) {\n var classes;\n\n if (!_classes) {\n classes = 'node default';\n } else {\n classes = _classes;\n } // Add outer g element\n\n\n var shapeSvg = parent.insert('g').attr('class', classes).attr('id', node.id); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'label');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, false, isNode)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n var halfPadding = node.padding / 2; // Center the label\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + -bbox.height / 2 + ')');\n return {\n shapeSvg: shapeSvg,\n bbox: bbox,\n halfPadding: halfPadding,\n label: label\n };\n};\nexport var updateNodeBounds = function updateNodeBounds(node, element) {\n var bbox = element.node().getBBox();\n node.width = bbox.width;\n node.height = bbox.height;\n};\nexport function insertPolygonShape(parent, w, h, points) {\n return parent.insert('polygon', ':first-child').attr('points', points.map(function (d) {\n return d.x + ',' + d.y;\n }).join(' ')).attr('class', 'label-container').attr('transform', 'translate(' + -w / 2 + ',' + h / 2 + ')');\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "name": "./src/dagre-wrapper/mermaid-graphlib.js", "index": 904, "index2": 900, "size": 11877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./mermaid-graphlib", "loc": "5:0-116" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "61:18-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "62:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "63:14-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:21-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:68-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:84-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "108:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "118:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "129:2-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "131:2-24" } ], "usedExports": [ "findNonClusterChild", "clusterDb", "clear", "adjustClustersAndEdges" ], "providedExports": [ "clusterDb", "clear", "extractDecendants", "validate", "findNonClusterChild", "adjustClustersAndEdges", "extractor" ], "optimizationBailout": [], "depth": 4, "source": "/**\n * Decorates with functions required by mermaids dagre-wrapper.\n */\nimport { logger as log } from '../logger';\nimport graphlib from 'graphlib';\nexport var clusterDb = {};\nvar decendants = {};\nvar parents = {};\nexport var clear = function clear() {\n decendants = {};\n parents = {};\n clusterDb = {};\n};\n\nvar isDecendant = function isDecendant(id, ancenstorId) {\n // if (id === ancenstorId) return true;\n log.debug('In isDecendant', ancenstorId, ' ', id, ' = ', decendants[ancenstorId].indexOf(id) >= 0);\n if (decendants[ancenstorId].indexOf(id) >= 0) return true;\n return false;\n};\n\nvar edgeInCluster = function edgeInCluster(edge, clusterId) {\n log.info('Decendants of ', clusterId, ' is ', decendants[clusterId]);\n log.info('Edge is ', edge); // Edges to/from the cluster is not in the cluster, they are in the parent\n\n if (edge.v === clusterId) return false;\n if (edge.w === clusterId) return false;\n\n if (!decendants[clusterId]) {\n log.debug('Tilt, ', clusterId, ',not in decendants');\n return false;\n }\n\n log.info('Here ');\n if (decendants[clusterId].indexOf(edge.v) >= 0) return true;\n if (isDecendant(edge.v, clusterId)) return true;\n if (isDecendant(edge.w, clusterId)) return true;\n if (decendants[clusterId].indexOf(edge.w) >= 0) return true;\n return false;\n};\n\nvar copy = function copy(clusterId, graph, newGraph, rootId) {\n log.info('Copying children of ', clusterId, 'root', rootId, 'data', graph.node(clusterId), rootId);\n var nodes = graph.children(clusterId) || []; // Include cluster node if it is not the root\n\n if (clusterId !== rootId) {\n nodes.push(clusterId);\n }\n\n log.debug('Copying (nodes) clusterId', clusterId, 'nodes', nodes);\n nodes.forEach(function (node) {\n if (graph.children(node).length > 0) {\n copy(node, graph, newGraph, rootId);\n } else {\n var data = graph.node(node);\n log.info('cp ', node, ' to ', rootId, ' with parent ', clusterId); //,node, data, ' parent is ', clusterId);\n\n newGraph.setNode(node, data);\n log.debug('Setting parent', node, graph.parent(node));\n\n if (rootId !== graph.parent(node)) {\n newGraph.setParent(node, graph.parent(node));\n }\n\n if (clusterId !== rootId && node !== clusterId) {\n log.debug('Setting parent', node, clusterId);\n newGraph.setParent(node, clusterId);\n } else {\n log.info('In copy ', clusterId, 'root', rootId, 'data', graph.node(clusterId), rootId);\n log.debug('Not Setting parent for node=', node, 'cluster!==rootId', clusterId !== rootId, 'node!==clusterId', node !== clusterId);\n }\n\n var edges = graph.edges(node);\n log.debug('Copying Edges', edges);\n edges.forEach(function (edge) {\n log.info('Edge', edge);\n var data = graph.edge(edge.v, edge.w, edge.name);\n log.info('Edge data', data, rootId);\n\n try {\n // Do not copy edges in and out of the root cluster, they belong to the parent graph\n if (edgeInCluster(edge, rootId)) {\n log.info('Copying as ', edge.v, edge.w, data, edge.name);\n newGraph.setEdge(edge.v, edge.w, data, edge.name);\n log.info('newGraph edges ', newGraph.edges(), newGraph.edge(newGraph.edges()[0]));\n } else {\n log.info('Skipping copy of edge ', edge.v, '-->', edge.w, ' rootId: ', rootId, ' clusterId:', clusterId);\n }\n } catch (e) {\n log.error(e);\n }\n });\n }\n\n log.debug('Removing node', node);\n graph.removeNode(node);\n });\n};\n\nexport var extractDecendants = function extractDecendants(id, graph) {\n // log.debug('Extracting ', id);\n var children = graph.children(id);\n var res = [].concat(children);\n\n for (var i = 0; i < children.length; i++) {\n parents[children[i]] = id;\n res = res.concat(extractDecendants(children[i], graph));\n }\n\n return res;\n};\n/**\n * Validates the graph, checking that all parent child relation points to existing nodes and that\n * edges between nodes also ia correct. When not correct the function logs the discrepancies.\n * @param {graphlib graph} g\n */\n\nexport var validate = function validate(graph) {\n var edges = graph.edges();\n log.trace('Edges: ', edges);\n\n for (var i = 0; i < edges.length; i++) {\n if (graph.children(edges[i].v).length > 0) {\n log.trace('The node ', edges[i].v, ' is part of and edge even though it has children');\n return false;\n }\n\n if (graph.children(edges[i].w).length > 0) {\n log.trace('The node ', edges[i].w, ' is part of and edge even though it has children');\n return false;\n }\n }\n\n return true;\n};\n/**\n * Finds a child that is not a cluster. When faking a edge between a node and a cluster.\n * @param {Finds a } id\n * @param {*} graph\n */\n\nexport var findNonClusterChild = function findNonClusterChild(id, graph) {\n // const node = graph.node(id);\n log.trace('Searching', id); // const children = graph.children(id).reverse();\n\n var children = graph.children(id); //.reverse();\n\n log.trace('Searching children of id ', id, children);\n\n if (children.length < 1) {\n log.trace('This is a valid node', id);\n return id;\n }\n\n for (var i = 0; i < children.length; i++) {\n var _id = findNonClusterChild(children[i], graph);\n\n if (_id) {\n log.trace('Found replacement for', id, ' => ', _id);\n return _id;\n }\n }\n};\n\nvar getAnchorId = function getAnchorId(id) {\n if (!clusterDb[id]) {\n return id;\n } // If the cluster has no external connections\n\n\n if (!clusterDb[id].externalConnections) {\n return id;\n } // Return the replacement node\n\n\n if (clusterDb[id]) {\n return clusterDb[id].id;\n }\n\n return id;\n};\n\nexport var adjustClustersAndEdges = function adjustClustersAndEdges(graph, depth) {\n if (!graph || depth > 10) {\n log.debug('Opting out, no graph ');\n return;\n } else {\n log.debug('Opting in, graph ');\n } // Go through the nodes and for each cluster found, save a replacment node, this can be used when\n // faking a link to a cluster\n\n\n graph.nodes().forEach(function (id) {\n var children = graph.children(id);\n\n if (children.length > 0) {\n log.warn('Cluster identified', id, ' Replacement id in edges: ', findNonClusterChild(id, graph));\n decendants[id] = extractDecendants(id, graph);\n clusterDb[id] = {\n id: findNonClusterChild(id, graph),\n clusterData: graph.node(id)\n };\n }\n }); // Check incoming and outgoing edges for each cluster\n\n graph.nodes().forEach(function (id) {\n var children = graph.children(id);\n var edges = graph.edges();\n\n if (children.length > 0) {\n log.debug('Cluster identified', id, decendants);\n edges.forEach(function (edge) {\n // log.debug('Edge, decendants: ', edge, decendants[id]);\n // Check if any edge leaves the cluster (not the actual cluster, thats a link from the box)\n if (edge.v !== id && edge.w !== id) {\n // Any edge where either the one of the nodes is decending to the cluster but not the other\n // if (decendants[id].indexOf(edge.v) < 0 && decendants[id].indexOf(edge.w) < 0) {\n var d1 = isDecendant(edge.v, id);\n var d2 = isDecendant(edge.w, id); // d1 xor d2 - if either d1 is true and d2 is false or the other way around\n\n if (d1 ^ d2) {\n log.debug('Edge: ', edge, ' leaves cluster ', id);\n log.debug('Decendants of ', id, ': ', decendants[id]);\n clusterDb[id].externalConnections = true;\n }\n }\n });\n }\n });\n extractor(graph, 0); // For clusters with incoming and/or outgoing edges translate those edges to a real node\n // in the cluster inorder to fake the edge\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e);\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(graph.edge(e)));\n var v = e.v;\n var w = e.w; // Check if link is either from or to a cluster\n\n log.trace('Fix', clusterDb, 'ids:', e.v, e.w, 'Translateing: ', clusterDb[e.v], clusterDb[e.w]);\n\n if (clusterDb[e.v] || clusterDb[e.w]) {\n log.warn('Fixing and trixing - removing', e.v, e.w, e.name);\n v = getAnchorId(e.v);\n w = getAnchorId(e.w);\n graph.removeEdge(e.v, e.w, e.name);\n if (v !== e.v) edge.fromCluster = e.v;\n if (w !== e.w) edge.toCluster = e.w;\n log.warn('Replacing with', v, w, e.name);\n graph.setEdge(v, w, edge, e.name);\n }\n });\n log.warn('Adjusted Graph', graphlib.json.write(graph));\n log.trace(clusterDb); // Remove references to extracted cluster\n // graph.edges().forEach(edge => {\n // if (isDecendant(edge.v, clusterId) || isDecendant(edge.w, clusterId)) {\n // graph.removeEdge(edge);\n // }\n // });\n};\nexport var extractor = function extractor(graph, depth) {\n log.debug('extractor - ', depth, graphlib.json.write(graph), graph.children('D'));\n\n if (depth > 10) {\n log.error('Bailing out');\n return;\n } // For clusters without incoming and/or outgoing edges, create a new cluster-node\n // containing the nodes and edges in the custer in a new graph\n // for (let i = 0;)\n\n\n var nodes = graph.nodes();\n var hasChildren = false;\n\n for (var i = 0; i < nodes.length; i++) {\n var node = nodes[i];\n var children = graph.children(node);\n hasChildren = hasChildren || children.length > 0;\n }\n\n if (!hasChildren) {\n log.debug('Done, no node has children', graph.nodes());\n return;\n } // const clusters = Object.keys(clusterDb);\n // clusters.forEach(clusterId => {\n\n\n log.debug('Nodes = ', nodes, depth);\n\n for (var _i = 0; _i < nodes.length; _i++) {\n var _node = nodes[_i];\n log.debug('Extracting node', _node, clusterDb, clusterDb[_node] && !clusterDb[_node].externalConnections, !graph.parent(_node), graph.node(_node), graph.children('D'), ' Depth ', depth); // Note that the node might have been removed after the Object.keys call so better check\n // that it still is in the game\n\n if (!clusterDb[_node]) {\n // Skip if the node is not a cluster\n log.debug('Not a cluster', _node, depth); // break;\n } else if (!clusterDb[_node].externalConnections && !graph.parent(_node) && graph.children(_node) && graph.children(_node).length > 0) {\n log.debug('Cluster without external connections, without a parent and with children', _node, depth);\n var graphSettings = graph.graph();\n var clusterGraph = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: graphSettings.rankdir === 'TB' ? 'LR' : 'TB',\n // Todo: set proper spacing\n nodesep: 50,\n ranksep: 50,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n log.debug('Old graph before copy', graphlib.json.write(graph));\n copy(_node, graph, clusterGraph, _node);\n graph.setNode(_node, {\n clusterNode: true,\n id: _node,\n clusterData: clusterDb[_node].clusterData,\n labelText: clusterDb[_node].labelText,\n graph: clusterGraph\n });\n log.debug('New graph after copy', graphlib.json.write(clusterGraph));\n log.debug('Old graph after copy', graphlib.json.write(graph));\n } else {\n log.debug('Cluster ** ', _node, ' **not meeting the criteria !externalConnections:', !clusterDb[_node].externalConnections, ' no parent: ', !graph.parent(_node), ' children ', graph.children(_node) && graph.children(_node).length > 0, graph.children('D'), depth);\n log.debug(clusterDb);\n }\n }\n\n nodes = graph.nodes();\n log.debug('New list of nodes', nodes);\n\n for (var _i2 = 0; _i2 < nodes.length; _i2++) {\n var _node2 = nodes[_i2];\n var data = graph.node(_node2);\n log.debug(' Now next leveö', _node2, data);\n\n if (data.clusterNode) {\n extractor(data.graph, depth + 1);\n }\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "index": 895, "index2": 899, "size": 15504, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./nodes", "loc": "6:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "54:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "68:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "101:6-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "110:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "126:2-12" } ], "usedExports": [ "setNodeElem", "insertNode", "positionNode", "clear" ], "providedExports": [ "insertNode", "setNodeElem", "clear", "positionNode" ], "optimizationBailout": [], "depth": 4, "source": "import intersect from './intersect/index.js';\nimport { select } from 'd3';\nimport { logger } from '../logger'; // eslint-disable-line\n\nimport { labelHelper, updateNodeBounds, insertPolygonShape } from './shapes/util';\nimport { getConfig } from '../config';\nimport createLabel from './createLabel';\nimport note from './shapes/note';\n\nvar question = function question(parent, node) {\n var _labelHelper = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper.shapeSvg,\n bbox = _labelHelper.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var s = w + h;\n var points = [{\n x: s / 2,\n y: 0\n }, {\n x: s,\n y: -s / 2\n }, {\n x: s / 2,\n y: -s\n }, {\n x: 0,\n y: -s / 2\n }];\n logger.info('Question main (Circle)');\n var questionElem = insertPolygonShape(shapeSvg, s, s, points);\n updateNodeBounds(node, questionElem);\n\n node.intersect = function (point) {\n logger.warn('Intersect called');\n return intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n};\n\nvar hexagon = function hexagon(parent, node) {\n var _labelHelper2 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper2.shapeSvg,\n bbox = _labelHelper2.bbox;\n\n var f = 4;\n var h = bbox.height + node.padding;\n var m = h / f;\n var w = bbox.width + 2 * m + node.padding;\n var points = [{\n x: m,\n y: 0\n }, {\n x: w - m,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w - m,\n y: -h\n }, {\n x: m,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var hex = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, hex);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rect_left_inv_arrow = function rect_left_inv_arrow(parent, node) {\n var _labelHelper3 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper3.shapeSvg,\n bbox = _labelHelper3.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -h / 2,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: -h / 2,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar lean_right = function lean_right(parent, node) {\n var _labelHelper4 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper4.shapeSvg,\n bbox = _labelHelper4.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar lean_left = function lean_left(parent, node) {\n var _labelHelper5 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper5.shapeSvg,\n bbox = _labelHelper5.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 2 * h / 6,\n y: 0\n }, {\n x: w + h / 6,\n y: 0\n }, {\n x: w - 2 * h / 6,\n y: -h\n }, {\n x: -h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar trapezoid = function trapezoid(parent, node) {\n var _labelHelper6 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper6.shapeSvg,\n bbox = _labelHelper6.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar inv_trapezoid = function inv_trapezoid(parent, node) {\n var _labelHelper7 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper7.shapeSvg,\n bbox = _labelHelper7.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: -2 * h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rect_right_inv_arrow = function rect_right_inv_arrow(parent, node) {\n var _labelHelper8 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper8.shapeSvg,\n bbox = _labelHelper8.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w + h / 2,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w + h / 2,\n y: -h\n }, {\n x: 0,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar cylinder = function cylinder(parent, node) {\n var _labelHelper9 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper9.shapeSvg,\n bbox = _labelHelper9.bbox;\n\n var w = bbox.width + node.padding;\n var rx = w / 2;\n var ry = rx / (2.5 + w / 50);\n var h = bbox.height + ry + node.padding;\n var shape = 'M 0,' + ry + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 a ' + rx + ',' + ry + ' 0,0,0 ' + -w + ' 0 l 0,' + h + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 l 0,' + -h;\n var el = shapeSvg.attr('label-offset-y', ry).insert('path', ':first-child').attr('d', shape).attr('transform', 'translate(' + -w / 2 + ',' + -(h / 2 + ry) + ')');\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n var pos = intersect.rect(node, point);\n var x = pos.x - node.x;\n\n if (rx != 0 && (Math.abs(x) < node.width / 2 || Math.abs(x) == node.width / 2 && Math.abs(pos.y - node.y) > node.height / 2 - ry)) {\n // ellipsis equation: x*x / a*a + y*y / b*b = 1\n // solve for y to get adjustion value for pos.y\n var y = ry * ry * (1 - x * x / (rx * rx));\n if (y != 0) y = Math.sqrt(y);\n y = ry - y;\n if (point.y - node.y > 0) y = -y;\n pos.y += y;\n }\n\n return pos;\n };\n\n return shapeSvg;\n};\n\nvar rect = function rect(parent, node) {\n var _labelHelper10 = labelHelper(parent, node, 'node ' + node.classes, true),\n shapeSvg = _labelHelper10.shapeSvg,\n bbox = _labelHelper10.bbox,\n halfPadding = _labelHelper10.halfPadding;\n\n logger.trace('Classes = ', node.classes); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n rect.attr('class', 'basic label-container').attr('rx', node.rx).attr('ry', node.ry).attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rectWithTitle = function rectWithTitle(parent, node) {\n // const { shapeSvg, bbox, halfPadding } = labelHelper(parent, node, 'node ' + node.classes);\n var classes;\n\n if (!node.classes) {\n classes = 'node default';\n } else {\n classes = 'node ' + node.classes;\n } // Add outer g element\n\n\n var shapeSvg = parent.insert('g').attr('class', classes).attr('id', node.id); // Create the title label and insert it after the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // const innerRect = shapeSvg.insert('rect');\n\n var innerLine = shapeSvg.insert('line');\n var label = shapeSvg.insert('g').attr('class', 'label');\n var text2 = node.labelText.flat();\n logger.info('Label text', text2[0]);\n var text = label.node().appendChild(createLabel(text2[0], node.labelStyle, true, true));\n var bbox;\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n logger.info('Text 2', text2);\n var textRows = text2.slice(1, text2.length);\n var titleBox = text.getBBox();\n var descr = label.node().appendChild(createLabel(textRows.join('
'), node.labelStyle, true, true));\n\n if (getConfig().flowchart.htmlLabels) {\n var _div = descr.children[0];\n\n var _dv = select(descr);\n\n bbox = _div.getBoundingClientRect();\n\n _dv.attr('width', bbox.width);\n\n _dv.attr('height', bbox.height);\n } // bbox = label.getBBox();\n // logger.info(descr);\n\n\n var halfPadding = node.padding / 2;\n select(descr).attr('transform', 'translate( ' + ( // (titleBox.width - bbox.width) / 2 +\n bbox.width > titleBox.width ? 0 : (titleBox.width - bbox.width) / 2) + ', ' + (titleBox.height + halfPadding + 5) + ')');\n select(text).attr('transform', 'translate( ' + ( // (titleBox.width - bbox.width) / 2 +\n bbox.width < titleBox.width ? 0 : -(titleBox.width - bbox.width) / 2) + ', ' + 0 + ')'); // Get the size of the label\n // Bounding box for title and text\n\n bbox = label.node().getBBox(); // Center the label\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + (-bbox.height / 2 - halfPadding + 3) + ')');\n rect.attr('class', 'outer title-state').attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n innerLine.attr('class', 'divider').attr('x1', -bbox.width / 2 - halfPadding).attr('x2', bbox.width / 2 + halfPadding).attr('y1', -bbox.height / 2 - halfPadding + titleBox.height + halfPadding).attr('y2', -bbox.height / 2 - halfPadding + titleBox.height + halfPadding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar stadium = function stadium(parent, node) {\n var _labelHelper11 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper11.shapeSvg,\n bbox = _labelHelper11.bbox;\n\n var h = bbox.height + node.padding;\n var w = bbox.width + h / 4 + node.padding; // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child').attr('rx', h / 2).attr('ry', h / 2).attr('x', -w / 2).attr('y', -h / 2).attr('width', w).attr('height', h);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar circle = function circle(parent, node) {\n var _labelHelper12 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper12.shapeSvg,\n bbox = _labelHelper12.bbox,\n halfPadding = _labelHelper12.halfPadding;\n\n var circle = shapeSvg.insert('circle', ':first-child'); // center the circle around its coordinate\n\n circle.attr('rx', node.rx).attr('ry', node.ry).attr('r', bbox.width / 2 + halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n logger.info('Circle main');\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n logger.info('Circle intersect', node, bbox.width / 2 + halfPadding, point);\n return intersect.circle(node, bbox.width / 2 + halfPadding, point);\n };\n\n return shapeSvg;\n};\n\nvar subroutine = function subroutine(parent, node) {\n var _labelHelper13 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper13.shapeSvg,\n bbox = _labelHelper13.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: 0,\n y: -h\n }, {\n x: 0,\n y: 0\n }, {\n x: -8,\n y: 0\n }, {\n x: w + 8,\n y: 0\n }, {\n x: w + 8,\n y: -h\n }, {\n x: -8,\n y: -h\n }, {\n x: -8,\n y: 0\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar start = function start(parent, node) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var circle = shapeSvg.insert('circle', ':first-child'); // center the circle around its coordinate\n\n circle.attr('class', 'state-start').attr('r', 7).attr('width', 14).attr('height', 14);\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n return intersect.circle(node, 7, point);\n };\n\n return shapeSvg;\n};\n\nvar forkJoin = function forkJoin(parent, node, dir) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var width = 70;\n var height = 10;\n\n if (dir === 'LR') {\n width = 10;\n height = 70;\n }\n\n var shape = shapeSvg.append('rect').style('stroke', 'black').style('fill', 'black').attr('x', -1 * width / 2).attr('y', -1 * height / 2).attr('width', width).attr('height', height).attr('class', 'fork-join');\n updateNodeBounds(node, shape);\n node.height = node.height + node.padding / 2;\n node.width = node.width + node.padding / 2;\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar end = function end(parent, node) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var innerCircle = shapeSvg.insert('circle', ':first-child');\n var circle = shapeSvg.insert('circle', ':first-child');\n circle.attr('class', 'state-start').attr('r', 7).attr('width', 14).attr('height', 14);\n innerCircle.attr('class', 'state-end').attr('r', 5).attr('width', 10).attr('height', 10);\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n return intersect.circle(node, 7, point);\n };\n\n return shapeSvg;\n};\n\nvar shapes = {\n question: question,\n rect: rect,\n rectWithTitle: rectWithTitle,\n circle: circle,\n stadium: stadium,\n hexagon: hexagon,\n rect_left_inv_arrow: rect_left_inv_arrow,\n lean_right: lean_right,\n lean_left: lean_left,\n trapezoid: trapezoid,\n inv_trapezoid: inv_trapezoid,\n rect_right_inv_arrow: rect_right_inv_arrow,\n cylinder: cylinder,\n start: start,\n end: end,\n note: note,\n subroutine: subroutine,\n fork: forkJoin,\n join: forkJoin\n};\nvar nodeElems = {};\nexport var insertNode = function insertNode(elem, node, dir) {\n nodeElems[node.id] = shapes[node.shape](elem, node, dir);\n};\nexport var setNodeElem = function setNodeElem(elem, node) {\n nodeElems[node.id] = elem;\n};\nexport var clear = function clear() {\n nodeElems = {};\n};\nexport var positionNode = function positionNode(node) {\n var el = nodeElems[node.id];\n logger.trace('Transforming node', node, 'translate(' + (node.x - node.width / 2 - 5) + ', ' + (node.y - node.height / 2 - 5) + ')');\n var padding = 8;\n\n if (node.clusterNode) {\n el.attr('transform', 'translate(' + (node.x - node.width / 2 - padding) + ', ' + (node.y - node.height / 2 - padding) + ')');\n } else {\n el.attr('transform', 'translate(' + node.x + ', ' + node.y + ')');\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "name": "./src/dagre-wrapper/clusters.js", "index": 906, "index2": 902, "size": 5981, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./clusters", "loc": "7:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./clusters", "loc": "107:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./clusters", "loc": "128:2-15" } ], "usedExports": [ "insertCluster", "clear" ], "providedExports": [ "insertCluster", "getClusterTitleWidth", "clear", "positionCluster" ], "optimizationBailout": [], "depth": 4, "source": "import intersectRect from './intersect/intersect-rect';\nimport { logger as log } from '../logger'; // eslint-disable-line\n\nimport createLabel from './createLabel';\nimport { select } from 'd3';\nimport { getConfig } from '../config';\n\nvar rect = function rect(parent, node) {\n log.trace('Creating subgraph rect for ', node.id, node); // Add outer g element\n\n var shapeSvg = parent.insert('g').attr('class', 'cluster').attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'cluster-label');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, undefined, true)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n var padding = 0 * node.padding;\n var halfPadding = padding / 2;\n log.trace('Data ', node, JSON.stringify(node)); // center the rect around its coordinate\n\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding); // Center the label\n\n label.attr('transform', 'translate(' + (node.x - bbox.width / 2) + ', ' + (node.y - node.height / 2 - node.padding / 3 + 3) + ')');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n/**\n * Non visiable cluster where the note is group with its\n */\n\n\nvar noteGroup = function noteGroup(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', 'note-cluster').attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding).attr('fill', 'none');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar roundedWithTitle = function roundedWithTitle(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', node.classes).attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'cluster-label');\n var innerRect = shapeSvg.append('rect');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, undefined, true)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n bbox = text.getBBox();\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('class', 'outer').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding);\n innerRect.attr('class', 'inner').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding + bbox.height - 1).attr('width', node.width + padding).attr('height', node.height + padding - bbox.height - 3); // Center the label\n\n label.attr('transform', 'translate(' + (node.x - bbox.width / 2) + ', ' + (node.y - node.height / 2 - node.padding / 3 + (getConfig().flowchart.htmlLabels ? 5 : 3)) + ')');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar divider = function divider(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', node.classes).attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('class', 'divider').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2).attr('width', node.width + padding).attr('height', node.height + padding);\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar shapes = {\n rect: rect,\n roundedWithTitle: roundedWithTitle,\n noteGroup: noteGroup,\n divider: divider\n};\nvar clusterElems = {};\nexport var insertCluster = function insertCluster(elem, node) {\n log.trace('Inserting cluster');\n var shape = node.shape || 'rect';\n clusterElems[node.id] = shapes[shape](elem, node);\n};\nexport var getClusterTitleWidth = function getClusterTitleWidth(elem, node) {\n var label = createLabel(node.labelText, node.labelStyle, undefined, true);\n elem.node().appendChild(label);\n var width = label.getBBox().width;\n elem.node().removeChild(label);\n return width;\n};\nexport var clear = function clear() {\n clusterElems = {};\n};\nexport var positionCluster = function positionCluster(node) {\n log.info('Position cluster');\n var el = clusterElems[node.id];\n el.attr('transform', 'translate(' + node.x + ', ' + node.y + ')');\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "name": "./src/dagre-wrapper/edges.js", "index": 905, "index2": 901, "size": 10214, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } } ], "profile": { "factory": 1505, "building": 390, "dependencies": 120 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./edges", "loc": "8:0-94" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "82:4-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "118:22-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "119:4-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "127:2-12" } ], "usedExports": [ "insertEdgeLabel", "insertEdge", "positionEdgeLabel", "clear" ], "providedExports": [ "clear", "insertEdgeLabel", "positionEdgeLabel", "intersection", "insertEdge" ], "optimizationBailout": [], "depth": 4, "source": "import { logger } from '../logger'; // eslint-disable-line\n\nimport createLabel from './createLabel';\nimport { line, curveBasis, select } from 'd3';\nimport { getConfig } from '../config';\nimport utils from '../utils'; // import { calcLabelPosition } from '../utils';\n\nvar edgeLabels = {};\nexport var clear = function clear() {\n edgeLabels = {};\n};\nexport var insertEdgeLabel = function insertEdgeLabel(elem, edge) {\n // Create the actual text element\n var labelElement = createLabel(edge.label, edge.labelStyle); // Create outer g, edgeLabel, this will be positioned after graph layout\n\n var edgeLabel = elem.insert('g').attr('class', 'edgeLabel'); // Create inner g, label, this will be positioned now for centering the text\n\n var label = edgeLabel.insert('g').attr('class', 'label');\n label.node().appendChild(labelElement); // Center the label\n\n var bbox = labelElement.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = labelElement.children[0];\n var dv = select(labelElement);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + -bbox.height / 2 + ')'); // Make element accessible by id for positioning\n\n edgeLabels[edge.id] = edgeLabel; // Update the abstract data of the edge with the new information about its width and height\n\n edge.width = bbox.width;\n edge.height = bbox.height;\n};\nexport var positionEdgeLabel = function positionEdgeLabel(edge, points) {\n logger.info('Moving label', edge.id, edge.label, edgeLabels[edge.id]);\n\n if (edge.label) {\n var el = edgeLabels[edge.id];\n var x = edge.x;\n var y = edge.y;\n\n if (points) {\n // debugger;\n var pos = utils.calcLabelPosition(points);\n x = pos.x;\n y = pos.y;\n }\n\n el.attr('transform', 'translate(' + x + ', ' + y + ')');\n }\n}; // const getRelationType = function(type) {\n// switch (type) {\n// case stateDb.relationType.AGGREGATION:\n// return 'aggregation';\n// case stateDb.relationType.EXTENSION:\n// return 'extension';\n// case stateDb.relationType.COMPOSITION:\n// return 'composition';\n// case stateDb.relationType.DEPENDENCY:\n// return 'dependency';\n// }\n// };\n\nvar outsideNode = function outsideNode(node, point) {\n // logger.warn('Checking bounds ', node, point);\n var x = node.x;\n var y = node.y;\n var dx = Math.abs(point.x - x);\n var dy = Math.abs(point.y - y);\n var w = node.width / 2;\n var h = node.height / 2;\n\n if (dx >= w || dy >= h) {\n return true;\n }\n\n return false;\n};\n\nexport var intersection = function intersection(node, outsidePoint, insidePoint) {\n logger.warn('intersection calc o:', outsidePoint, ' i:', insidePoint, node);\n var x = node.x;\n var y = node.y;\n var dx = Math.abs(x - insidePoint.x);\n var w = node.width / 2;\n var r = insidePoint.x < outsidePoint.x ? w - dx : w + dx;\n var h = node.height / 2;\n var edges = {\n x1: x - w,\n x2: x + w,\n y1: y - h,\n y2: y + h\n };\n\n if (outsidePoint.x === edges.x1 || outsidePoint.x === edges.x2 || outsidePoint.y === edges.y1 || outsidePoint.y === edges.y2) {\n // logger.warn('calc equals on edge');\n return outsidePoint;\n }\n\n var Q = Math.abs(outsidePoint.y - insidePoint.y);\n var R = Math.abs(outsidePoint.x - insidePoint.x); // log.warn();\n\n if (Math.abs(y - outsidePoint.y) * w > Math.abs(x - outsidePoint.x) * h) {\n // eslint-disable-line\n // Intersection is top or bottom of rect.\n // let q = insidePoint.y < outsidePoint.y ? outsidePoint.y - h - y : y - h - outsidePoint.y;\n var q = insidePoint.y < outsidePoint.y ? outsidePoint.y - h - y : y - h - outsidePoint.y;\n r = R * q / Q;\n var res = {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x - r,\n y: outsidePoint.y + q\n };\n logger.warn(\"topp/bott calc, Q \".concat(Q, \", q \").concat(q, \", R \").concat(R, \", r \").concat(r), res);\n return res;\n } else {\n // Intersection onn sides of rect\n // q = (Q * r) / R;\n // q = 2;\n // r = (R * q) / Q;\n if (insidePoint.x < outsidePoint.x) {\n r = outsidePoint.x - w - x;\n } else {\n // r = outsidePoint.x - w - x;\n r = x - w - outsidePoint.x;\n }\n\n var _q = _q = Q * r / R;\n\n logger.warn(\"sides calc, Q \".concat(Q, \", q \").concat(_q, \", R \").concat(R, \", r \").concat(r), {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x + dx - w,\n y: insidePoint.y < outsidePoint.y ? insidePoint.y + _q : insidePoint.y - _q\n });\n return {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x + dx - w,\n y: insidePoint.y < outsidePoint.y ? insidePoint.y + _q : insidePoint.y - _q\n };\n }\n}; //(edgePaths, e, edge, clusterDb, diagramtype, graph)\n\nexport var insertEdge = function insertEdge(elem, e, edge, clusterDb, diagramType, graph) {\n var points = edge.points;\n var pointsHasChanged = false;\n var tail = graph.node(e.v);\n var head = graph.node(e.w);\n\n if (head.intersect && tail.intersect) {\n points = points.slice(1, edge.points.length - 1);\n points.unshift(tail.intersect(points[0]));\n logger.info('Last point', points[points.length - 1], head, head.intersect(points[points.length - 1]));\n points.push(head.intersect(points[points.length - 1]));\n }\n\n if (edge.toCluster) {\n logger.trace('edge', edge);\n logger.trace('to cluster', clusterDb[edge.toCluster]);\n points = [];\n var lastPointOutside;\n var isInside = false;\n edge.points.forEach(function (point) {\n var node = clusterDb[edge.toCluster].node;\n\n if (!outsideNode(node, point) && !isInside) {\n logger.trace('inside', edge.toCluster, point, lastPointOutside); // First point inside the rect\n\n var insterection = intersection(node, lastPointOutside, point);\n logger.trace('intersect', insterection);\n points.push(insterection);\n isInside = true;\n } else {\n if (!isInside) points.push(point);\n }\n\n lastPointOutside = point;\n });\n pointsHasChanged = true;\n }\n\n if (edge.fromCluster) {\n logger.trace('edge', edge);\n logger.warn('from cluster', clusterDb[edge.fromCluster]);\n var updatedPoints = [];\n\n var _lastPointOutside;\n\n var _isInside = false;\n\n for (var i = points.length - 1; i >= 0; i--) {\n var point = points[i];\n var node = clusterDb[edge.fromCluster].node;\n\n if (!outsideNode(node, point) && !_isInside) {\n logger.warn('inside', edge.fromCluster, point, node); // First point inside the rect\n\n var insterection = intersection(node, _lastPointOutside, point); // logger.trace('intersect', intersection(node, lastPointOutside, point));\n\n updatedPoints.unshift(insterection); // points.push(insterection);\n\n _isInside = true;\n } else {\n // at the outside\n logger.trace('Outside point', point);\n if (!_isInside) updatedPoints.unshift(point);\n }\n\n _lastPointOutside = point;\n }\n\n points = updatedPoints;\n pointsHasChanged = true;\n } // The data for our line\n\n\n var lineData = points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis); // Contruct stroke classes based on properties\n\n var strokeClasses;\n\n switch (edge.thickness) {\n case 'normal':\n strokeClasses = 'edge-thickness-normal';\n break;\n\n case 'thick':\n strokeClasses = 'edge-thickness-thick';\n break;\n\n default:\n strokeClasses = '';\n }\n\n switch (edge.pattern) {\n case 'solid':\n strokeClasses += ' edge-pattern-solid';\n break;\n\n case 'dotted':\n strokeClasses += ' edge-pattern-dotted';\n break;\n\n case 'dashed':\n strokeClasses += ' edge-pattern-dashed';\n break;\n }\n\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', edge.id).attr('class', ' ' + strokeClasses + (edge.classes ? ' ' + edge.classes : '')); // DEBUG code, adds a red circle at each edge coordinate\n // edge.points.forEach(point => {\n // elem\n // .append('circle')\n // .style('stroke', 'red')\n // .style('fill', 'red')\n // .attr('r', 1)\n // .attr('cx', point.x)\n // .attr('cy', point.y);\n // });\n\n var url = '';\n\n if (getConfig().state.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n logger.info('arrowType', edge.arrowType);\n\n switch (edge.arrowType) {\n case 'arrow_cross':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-crossEnd' + ')');\n break;\n\n case 'double_arrow_cross':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-crossEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-crossStart' + ')');\n break;\n\n case 'arrow_point':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-pointEnd' + ')');\n break;\n\n case 'double_arrow_point':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-pointEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-pointStart' + ')');\n break;\n\n case 'arrow_barb':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-barbEnd' + ')');\n break;\n\n case 'double_arrow_barb':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-barnEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-barbStart' + ')');\n break;\n\n case 'arrow_circle':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-circleEnd' + ')');\n break;\n\n case 'double_arrow_circle':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-circleEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-circleStart' + ')');\n break;\n\n default:\n }\n\n if (pointsHasChanged) {\n return points;\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/id-cache.js", "name": "./src/diagrams/state/id-cache.js", "index": 915, "index2": 911, "size": 347, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "issuerId": null, "issuerName": "./src/diagrams/state/shapes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "name": "./src/diagrams/state/shapes.js", "profile": { "factory": 1874, "building": 443, "dependencies": 1 } } ], "profile": { "factory": 58, "building": 31 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "./id-cache.js", "loc": "2:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./id-cache.js", "loc": "290:2-9" } ], "usedExports": [ "default" ], "providedExports": [ "set", "get", "keys", "size", "default" ], "optimizationBailout": [], "depth": 4, "source": "var idCache = {};\nexport var set = function set(key, val) {\n idCache[key] = val;\n};\nexport var get = function get(k) {\n return idCache[k];\n};\nexport var keys = function keys() {\n return Object.keys(idCache);\n};\nexport var size = function size() {\n return keys().length;\n};\nexport default {\n get: get,\n set: set,\n keys: keys,\n size: size\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "name": "./src/dagre-wrapper/createLabel.js", "index": 894, "index2": 889, "size": 4142, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } } ], "profile": { "factory": 142, "building": 70, "dependencies": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony side effect evaluation", "userRequest": "../createLabel", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "4:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "7:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "14:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "16:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony import specifier", "userRequest": "../createLabel", "loc": "17:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "78:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "142:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "338:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "352:39-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import { select } from 'd3';\nimport { logger } from '../logger'; // eslint-disable-line\n// let vertexNode;\n// if (getConfig().flowchart.htmlLabels) {\n// // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n// const node = {\n// label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, s => ``)\n// };\n// vertexNode = addHtmlLabel(svg, node).node();\n// vertexNode.parentNode.removeChild(vertexNode);\n// } else {\n// const svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n// svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n// const rows = vertexText.split(common.lineBreakRegex);\n// for (let j = 0; j < rows.length; j++) {\n// const tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n// tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n// tspan.setAttribute('dy', '1em');\n// tspan.setAttribute('x', '1');\n// tspan.textContent = rows[j];\n// svgLabel.appendChild(tspan);\n// }\n// vertexNode = svgLabel;\n// }\n\nimport { getConfig } from '../config';\n\nfunction applyStyle(dom, styleFn) {\n if (styleFn) {\n dom.attr('style', styleFn);\n }\n}\n\nfunction addHtmlLabel(node) {\n // var fo = root.append('foreignObject').attr('width', '100000');\n // var div = fo.append('xhtml:div');\n // div.attr('xmlns', 'http://www.w3.org/1999/xhtml');\n // var label = node.label;\n // switch (typeof label) {\n // case 'function':\n // div.insert(label);\n // break;\n // case 'object':\n // // Currently we assume this is a DOM object.\n // div.insert(function() {\n // return label;\n // });\n // break;\n // default:\n // div.html(label);\n // }\n // applyStyle(div, node.labelStyle);\n // div.style('display', 'inline-block');\n // // Fix for firefox\n // div.style('white-space', 'nowrap');\n // var client = div.node().getBoundingClientRect();\n // fo.attr('width', client.width).attr('height', client.height);\n var fo = select(document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject'));\n var div = fo.append('xhtml:div');\n var label = node.label;\n var labelClass = node.isNode ? 'nodeLabel' : 'edgeLabel';\n div.html('' + label + '');\n applyStyle(div, node.labelStyle);\n div.style('display', 'inline-block'); // Fix for firefox\n\n div.style('white-space', 'nowrap');\n div.attr('xmlns', 'http://www.w3.org/1999/xhtml');\n return fo.node();\n}\n\nvar createLabel = function createLabel(_vertexText, style, isTitle, isNode) {\n var vertexText = _vertexText || '';\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n vertexText = vertexText.replace(/\\\\n|\\n/g, '
');\n logger.info('vertexText' + vertexText);\n var node = {\n isNode: isNode,\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n var vertexNode = addHtmlLabel(node); // vertexNode.parentNode.removeChild(vertexNode);\n\n return vertexNode;\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', style.replace('color:', 'fill:'));\n var rows = [];\n\n if (typeof vertexText === 'string') {\n rows = vertexText.split(/\\\\n|\\n|/gi);\n } else if (Array.isArray(vertexText)) {\n rows = vertexText;\n } else {\n rows = [];\n }\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '0');\n\n if (isTitle) {\n tspan.setAttribute('class', 'title-row');\n } else {\n tspan.setAttribute('class', 'row');\n }\n\n tspan.textContent = rows[j].trim();\n svgLabel.appendChild(tspan);\n }\n\n return svgLabel;\n }\n};\n\nexport default createLabel;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-rect.js", "name": "./src/dagre-wrapper/intersect/intersect-rect.js", "index": 902, "index2": 896, "size": 740, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/clusters.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "name": "./src/dagre-wrapper/clusters.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } } ], "profile": { "factory": 121, "building": 86 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "./intersect/intersect-rect", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-rect.js", "loc": "8:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-rect.js", "loc": "14:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "40:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "64:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "103:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "123:11-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "var intersectRect = function intersectRect(node, point) {\n var x = node.x;\n var y = node.y; // Rectangle intersection algorithm from:\n // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n\n var dx = point.x - x;\n var dy = point.y - y;\n var w = node.width / 2;\n var h = node.height / 2;\n var sx, sy;\n\n if (Math.abs(dy) * w > Math.abs(dx) * h) {\n // Intersection is top or bottom of rect.\n if (dy < 0) {\n h = -h;\n }\n\n sx = dy === 0 ? 0 : h * dx / dy;\n sy = h;\n } else {\n // Intersection is left or right of rect.\n if (dx < 0) {\n w = -w;\n }\n\n sx = w;\n sy = dx === 0 ? 0 : w * dy / dx;\n }\n\n return {\n x: x + sx,\n y: y + sy\n };\n};\n\nexport default intersectRect;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "index": 896, "index2": 897, "size": 395, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } } ], "profile": { "factory": 142, "building": 70, "dependencies": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./intersect/index.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "../intersect/index.js", "loc": "4:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "../intersect/index.js", "loc": "19:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "37:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "75:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "108:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "138:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "168:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "198:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "228:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "261:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "281:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "313:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "383:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "401:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "421:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "469:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "483:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "505:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "520:11-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "/*\n * Borrowed with love from from dagrge-d3. Many thanks to cpettitt!\n */\nimport node from './intersect-node.js';\nimport circle from './intersect-circle.js';\nimport ellipse from './intersect-ellipse.js';\nimport polygon from './intersect-polygon.js';\nimport rect from './intersect-rect.js';\nexport default {\n node: node,\n circle: circle,\n ellipse: ellipse,\n polygon: polygon,\n rect: rect\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "name": "./src/dagre-wrapper/shapes/note.js", "index": 903, "index2": 898, "size": 894, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } } ], "profile": { "factory": 142, "building": 70, "dependencies": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/note", "loc": "8:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/note", "loc": "542:8-12" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import { updateNodeBounds, labelHelper } from './util';\nimport { logger } from '../../logger'; // eslint-disable-line\n\nimport intersect from '../intersect/index.js';\n\nvar note = function note(parent, node) {\n var _labelHelper = labelHelper(parent, node, 'node ' + node.classes, true),\n shapeSvg = _labelHelper.shapeSvg,\n bbox = _labelHelper.bbox,\n halfPadding = _labelHelper.halfPadding;\n\n logger.info('Classes = ', node.classes); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nexport default note;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-ellipse.js", "name": "./src/dagre-wrapper/intersect/intersect-ellipse.js", "index": 899, "index2": 892, "size": 526, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 142, "building": 70, "dependencies": 5 } } ], "profile": { "factory": 9, "building": 116, "dependencies": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "module": "./src/dagre-wrapper/intersect/intersect-circle.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-circle.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-ellipse", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "module": "./src/dagre-wrapper/intersect/intersect-circle.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-circle.js", "type": "harmony import specifier", "userRequest": "./intersect-ellipse", "loc": "4:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-ellipse.js", "loc": "6:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-ellipse.js", "loc": "12:11-18" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "function intersectEllipse(node, rx, ry, point) {\n // Formulae from: http://mathworld.wolfram.com/Ellipse-LineIntersection.html\n var cx = node.x;\n var cy = node.y;\n var px = cx - point.x;\n var py = cy - point.y;\n var det = Math.sqrt(rx * rx * py * py + ry * ry * px * px);\n var dx = Math.abs(rx * ry * px / det);\n\n if (point.x < cx) {\n dx = -dx;\n }\n\n var dy = Math.abs(rx * ry * py / det);\n\n if (point.y < cy) {\n dy = -dy;\n }\n\n return {\n x: cx + dx,\n y: cy + dy\n };\n}\n\nexport default intersectEllipse;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "name": "./src/dagre-wrapper/intersect/intersect-circle.js", "index": 898, "index2": 893, "size": 179, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 142, "building": 70, "dependencies": 5 } } ], "profile": { "factory": 9, "building": 116, "dependencies": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-circle.js", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-circle.js", "loc": "11:10-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "import intersectEllipse from './intersect-ellipse';\n\nfunction intersectCircle(node, rx, point) {\n return intersectEllipse(node, rx, rx, point);\n}\n\nexport default intersectCircle;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "name": "./src/dagre-wrapper/intersect/intersect-polygon.js", "index": 900, "index2": 895, "size": 1612, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 142, "building": 70, "dependencies": 5 } } ], "profile": { "factory": 9, "building": 116, "dependencies": 98 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-polygon.js", "loc": "7:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-polygon.js", "loc": "13:11-18" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "/* eslint \"no-console\": off */\nimport intersectLine from './intersect-line';\nexport default intersectPolygon;\n/*\n * Returns the point ({x, y}) at which the point argument intersects with the\n * node argument assuming that it has the shape specified by polygon.\n */\n\nfunction intersectPolygon(node, polyPoints, point) {\n var x1 = node.x;\n var y1 = node.y;\n var intersections = [];\n var minX = Number.POSITIVE_INFINITY;\n var minY = Number.POSITIVE_INFINITY;\n polyPoints.forEach(function (entry) {\n minX = Math.min(minX, entry.x);\n minY = Math.min(minY, entry.y);\n });\n var left = x1 - node.width / 2 - minX;\n var top = y1 - node.height / 2 - minY;\n\n for (var i = 0; i < polyPoints.length; i++) {\n var p1 = polyPoints[i];\n var p2 = polyPoints[i < polyPoints.length - 1 ? i + 1 : 0];\n var intersect = intersectLine(node, point, {\n x: left + p1.x,\n y: top + p1.y\n }, {\n x: left + p2.x,\n y: top + p2.y\n });\n\n if (intersect) {\n intersections.push(intersect);\n }\n }\n\n if (!intersections.length) {\n console.log('NO INTERSECTION FOUND, RETURN NODE CENTER', node);\n return node;\n }\n\n if (intersections.length > 1) {\n // More intersections, find the one nearest to edge end point\n intersections.sort(function (p, q) {\n var pdx = p.x - point.x;\n var pdy = p.y - point.y;\n var distp = Math.sqrt(pdx * pdx + pdy * pdy);\n var qdx = q.x - point.x;\n var qdy = q.y - point.y;\n var distq = Math.sqrt(qdx * qdx + qdy * qdy);\n return distp < distq ? -1 : distp === distq ? 0 : 1;\n });\n }\n\n return intersections[0];\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-line.js", "name": "./src/dagre-wrapper/intersect/intersect-line.js", "index": 901, "index2": 894, "size": 1886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 54, "building": 197 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 469, "building": 134, "dependencies": 1692 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2013, "building": 1075, "dependencies": 2194 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 2194, "building": 106, "dependencies": 1505 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1505, "building": 390, "dependencies": 120 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 142, "building": 70, "dependencies": 5 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "name": "./src/dagre-wrapper/intersect/intersect-polygon.js", "profile": { "factory": 9, "building": 116, "dependencies": 98 } } ], "profile": { "factory": 93, "building": 82 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "module": "./src/dagre-wrapper/intersect/intersect-polygon.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-line", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "module": "./src/dagre-wrapper/intersect/intersect-polygon.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "type": "harmony import specifier", "userRequest": "./intersect-line", "loc": "25:20-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 7, "source": "/*\n * Returns the point at which two lines, p and q, intersect or returns\n * undefined if they do not intersect.\n */\nfunction intersectLine(p1, p2, q1, q2) {\n // Algorithm from J. Avro, (ed.) Graphics Gems, No 2, Morgan Kaufmann, 1994,\n // p7 and p473.\n var a1, a2, b1, b2, c1, c2;\n var r1, r2, r3, r4;\n var denom, offset, num;\n var x, y; // Compute a1, b1, c1, where line joining points 1 and 2 is F(x,y) = a1 x +\n // b1 y + c1 = 0.\n\n a1 = p2.y - p1.y;\n b1 = p1.x - p2.x;\n c1 = p2.x * p1.y - p1.x * p2.y; // Compute r3 and r4.\n\n r3 = a1 * q1.x + b1 * q1.y + c1;\n r4 = a1 * q2.x + b1 * q2.y + c1; // Check signs of r3 and r4. If both point 3 and point 4 lie on\n // same side of line 1, the line segments do not intersect.\n\n if (r3 !== 0 && r4 !== 0 && sameSign(r3, r4)) {\n return;\n } // Compute a2, b2, c2 where line joining points 3 and 4 is G(x,y) = a2 x + b2 y + c2 = 0\n\n\n a2 = q2.y - q1.y;\n b2 = q1.x - q2.x;\n c2 = q2.x * q1.y - q1.x * q2.y; // Compute r1 and r2\n\n r1 = a2 * p1.x + b2 * p1.y + c2;\n r2 = a2 * p2.x + b2 * p2.y + c2; // Check signs of r1 and r2. If both point 1 and point 2 lie\n // on same side of second line segment, the line segments do\n // not intersect.\n\n if (r1 !== 0 && r2 !== 0 && sameSign(r1, r2)) {\n return;\n } // Line segments intersect: compute intersection point.\n\n\n denom = a1 * b2 - a2 * b1;\n\n if (denom === 0) {\n return;\n }\n\n offset = Math.abs(denom / 2); // The denom/2 is to get rounding instead of truncating. It\n // is added or subtracted to the numerator, depending upon the\n // sign of the numerator.\n\n num = b1 * c2 - b2 * c1;\n x = num < 0 ? (num - offset) / denom : (num + offset) / denom;\n num = a2 * c1 - a1 * c2;\n y = num < 0 ? (num - offset) / denom : (num + offset) / denom;\n return {\n x: x,\n y: y\n };\n}\n\nfunction sameSign(r1, r2) {\n return r1 * r2 > 0;\n}\n\nexport default intersectLine;" } ], "filteredModules": 0 } ], "filteredModules": 0, "logging": { "webpack.buildChunkGraph.visitModules": { "entries": [], "filteredEntries": 2, "debug": false } }, "children": [] }, { "errors": [], "warnings": [ "asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).\nThis can impact web performance.\nAssets: \n mermaid.core.js (351 KiB)", "entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.\nEntrypoints:\n mermaid (351 KiB)\n mermaid.core.js\n", "webpack performance recommendations: \nYou can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\nFor more info visit https://webpack.js.org/guides/code-splitting/" ], "hash": "e15ea5577431b72c683d", "time": 10600, "builtAt": 1594888055162, "publicPath": "", "outputPath": "/Users/knuts/source/priv/atlantica/mermaid/dist/", "assetsByChunkName": { "mermaid": [ "mermaid.core.js", "mermaid.core.js.map" ] }, "assets": [ { "name": "mermaid.core.js", "size": 359478, "chunks": [ 0 ], "chunkNames": [ "mermaid" ], "info": {}, "emitted": true, "isOverSizeLimit": true }, { "name": "mermaid.core.js.map", "size": 1223449, "chunks": [ 0 ], "chunkNames": [ "mermaid" ], "info": { "development": true }, "emitted": true } ], "filteredAssets": 0, "entrypoints": { "mermaid": { "chunks": [ 0 ], "assets": [ "mermaid.core.js", "mermaid.core.js.map" ], "children": {}, "childAssets": {}, "isOverSizeLimit": true } }, "namedChunkGroups": { "mermaid": { "chunks": [ 0 ], "assets": [ "mermaid.core.js", "mermaid.core.js.map" ], "children": {}, "childAssets": {}, "isOverSizeLimit": true } }, "chunks": [ { "id": 0, "rendered": true, "initial": true, "entry": true, "size": 763498, "names": [ "mermaid" ], "files": [ "mermaid.core.js", "mermaid.core.js.map" ], "hash": "fa06675ac8b779c25dab", "siblings": [], "parents": [], "children": [], "childrenByOrder": {}, "modules": [ { "id": 0, "identifier": "external \"d3\"", "name": "external \"d3\"", "index": 3, "index2": 1, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-39" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-102" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-46" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-46" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-82" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-46" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "5:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "13:0-196" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "15:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "20:14-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "21:20-36" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:18-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:15-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "24:21-38" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:18-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:18-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:16-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "28:13-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:14-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:18-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:21-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:19-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "33:11-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "35:14-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:46-56" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "39:16-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "44:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:18-27" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:38-41" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "48:6-9" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "54:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "58:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:16-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:50-60" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "63:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "64:14-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "67:24-31" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "69:23-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "74:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "84:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:21-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:108-122" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "102:6-12" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "107:21-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "111:11-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "200:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "207:6-12" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "208:6-12" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "221:21-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "225:11-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "229:60-71" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "231:68-79" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "232:4-10" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "233:54-65" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "241:20-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "244:18-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "246:4-10" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "247:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:60-71" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "251:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "252:68-79" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:54-65" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "255:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "256:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "263:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:16-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:102-112" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "318:21-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "322:11-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:4-13" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:20-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "342:18-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "343:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "345:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "348:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "357:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "361:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "365:4-13" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "367:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "371:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "377:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "379:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "390:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "402:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "403:20-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "433:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "436:4-10" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "439:17-23" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "445:17-23" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "463:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "617:19-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "710:13-19" } ], "usedExports": [ "arc", "axisBottom", "curveBasis", "curveBasisClosed", "curveBasisOpen", "curveLinear", "curveLinearClosed", "curveMonotoneX", "curveMonotoneY", "curveNatural", "curveStep", "curveStepAfter", "curveStepBefore", "entries", "interpolateHcl", "line", "max", "min", "pie", "scaleLinear", "scaleOrdinal", "scaleTime", "schemeSet2", "select", "selectAll", "timeFormat" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 1, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "name": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "index": 29, "index2": 27, "size": 32724, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/sequenceDiagram", "loc": "4:0-50" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "8:0-6" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/parser/sequenceDiagram", "loc": "26:0-72" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "84:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/parser/sequenceDiagram", "loc": "93:15-29" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:15-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:53-59" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:97-103" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "351:15-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "351:52-58" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "355:15-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "355:58-64" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "458:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "459:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "460:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "465:15-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "466:18-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "467:17-23" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "468:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "496:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "501:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "505:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "509:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "515:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "522:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "528:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "535:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "541:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "548:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "554:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "560:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "567:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "573:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "579:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:9-15" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:40-46" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:72-78" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:98-104" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:125-131" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:157-163" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "661:28-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "666:28-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "700:35-41" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "702:35-41" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "704:35-41" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "781:24-30" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "784:31-37" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:7-13" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:38-44" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:70-76" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:96-102" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:123-129" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:155-161" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "852:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "853:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "854:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "855:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "865:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "866:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "876:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "877:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "878:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "879:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "884:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "899:11-17" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,2],$V1=[1,3],$V2=[1,5],$V3=[1,7],$V4=[2,5],$V5=[1,15],$V6=[1,17],$V7=[1,18],$V8=[1,20],$V9=[1,21],$Va=[1,22],$Vb=[1,24],$Vc=[1,25],$Vd=[1,26],$Ve=[1,27],$Vf=[1,28],$Vg=[1,29],$Vh=[1,32],$Vi=[1,33],$Vj=[1,36],$Vk=[1,4,5,16,21,22,23,25,27,28,29,30,31,33,35,36,37,48,56],$Vl=[1,44],$Vm=[4,5,16,21,22,23,25,27,28,29,30,31,33,37,48,56],$Vn=[4,5,16,21,22,23,25,27,28,29,30,31,33,36,37,48,56],$Vo=[4,5,16,21,22,23,25,27,28,29,30,31,33,35,37,48,56],$Vp=[46,47,48],$Vq=[1,4,5,7,16,21,22,23,25,27,28,29,30,31,33,35,36,37,48,56];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"SPACE\":4,\"NL\":5,\"directive\":6,\"SD\":7,\"document\":8,\"line\":9,\"statement\":10,\"openDirective\":11,\"typeDirective\":12,\"closeDirective\":13,\":\":14,\"argDirective\":15,\"participant\":16,\"actor\":17,\"AS\":18,\"restOfLine\":19,\"signal\":20,\"autonumber\":21,\"activate\":22,\"deactivate\":23,\"note_statement\":24,\"title\":25,\"text2\":26,\"loop\":27,\"end\":28,\"rect\":29,\"opt\":30,\"alt\":31,\"else_sections\":32,\"par\":33,\"par_sections\":34,\"and\":35,\"else\":36,\"note\":37,\"placement\":38,\"over\":39,\"actor_pair\":40,\"spaceList\":41,\",\":42,\"left_of\":43,\"right_of\":44,\"signaltype\":45,\"+\":46,\"-\":47,\"ACTOR\":48,\"SOLID_OPEN_ARROW\":49,\"DOTTED_OPEN_ARROW\":50,\"SOLID_ARROW\":51,\"DOTTED_ARROW\":52,\"SOLID_CROSS\":53,\"DOTTED_CROSS\":54,\"TXT\":55,\"open_directive\":56,\"type_directive\":57,\"arg_directive\":58,\"close_directive\":59,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"SPACE\",5:\"NL\",7:\"SD\",14:\":\",16:\"participant\",18:\"AS\",19:\"restOfLine\",21:\"autonumber\",22:\"activate\",23:\"deactivate\",25:\"title\",27:\"loop\",28:\"end\",29:\"rect\",30:\"opt\",31:\"alt\",33:\"par\",35:\"and\",36:\"else\",37:\"note\",39:\"over\",42:\",\",43:\"left_of\",44:\"right_of\",46:\"+\",47:\"-\",48:\"ACTOR\",49:\"SOLID_OPEN_ARROW\",50:\"DOTTED_OPEN_ARROW\",51:\"SOLID_ARROW\",52:\"DOTTED_ARROW\",53:\"SOLID_CROSS\",54:\"DOTTED_CROSS\",55:\"TXT\",56:\"open_directive\",57:\"type_directive\",58:\"arg_directive\",59:\"close_directive\"},\nproductions_: [0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,2],[10,1],[10,3],[10,3],[10,2],[10,3],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[34,1],[34,4],[32,1],[32,4],[24,4],[24,4],[41,2],[41,1],[40,3],[40,1],[38,1],[38,1],[20,5],[20,5],[20,4],[17,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[26,1],[11,1],[12,1],[15,1],[13,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 4:\n yy.apply($$[$0]);return $$[$0]; \nbreak;\ncase 5:\n this.$ = [] \nbreak;\ncase 6:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 7: case 8:\n this.$ = $$[$0] \nbreak;\ncase 9:\n this.$=[]; \nbreak;\ncase 12:\n$$[$0-3].description=yy.parseMessage($$[$0-1]); this.$=$$[$0-3];\nbreak;\ncase 13:\nthis.$=$$[$0-1];\nbreak;\ncase 15:\nyy.enableSequenceNumbers()\nbreak;\ncase 16:\nthis.$={type: 'activeStart', signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0-1]};\nbreak;\ncase 17:\nthis.$={type: 'activeEnd', signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0-1]};\nbreak;\ncase 19:\nthis.$=[{type:'setTitle', text:$$[$0-1]}]\nbreak;\ncase 20:\n\n\t\t$$[$0-1].unshift({type: 'loopStart', loopText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.LOOP_START});\n\t\t$$[$0-1].push({type: 'loopEnd', loopText:$$[$0-2], signalType: yy.LINETYPE.LOOP_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 21:\n\n\t\t$$[$0-1].unshift({type: 'rectStart', color:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.RECT_START });\n\t\t$$[$0-1].push({type: 'rectEnd', color:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.RECT_END });\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 22:\n\n\t\t$$[$0-1].unshift({type: 'optStart', optText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.OPT_START});\n\t\t$$[$0-1].push({type: 'optEnd', optText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.OPT_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 23:\n\n\t\t// Alt start\n\t\t$$[$0-1].unshift({type: 'altStart', altText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.ALT_START});\n\t\t// Content in alt is already in $$[$0-1]\n\t\t// End\n\t\t$$[$0-1].push({type: 'altEnd', signalType: yy.LINETYPE.ALT_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 24:\n\n\t\t// Parallel start\n\t\t$$[$0-1].unshift({type: 'parStart', parText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.PAR_START});\n\t\t// Content in par is already in $$[$0-1]\n\t\t// End\n\t\t$$[$0-1].push({type: 'parEnd', signalType: yy.LINETYPE.PAR_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 27:\n this.$ = $$[$0-3].concat([{type: 'and', parText:yy.parseMessage($$[$0-1]), signalType: yy.LINETYPE.PAR_AND}, $$[$0]]); \nbreak;\ncase 29:\n this.$ = $$[$0-3].concat([{type: 'else', altText:yy.parseMessage($$[$0-1]), signalType: yy.LINETYPE.ALT_ELSE}, $$[$0]]); \nbreak;\ncase 30:\n\n\t\tthis.$ = [$$[$0-1], {type:'addNote', placement:$$[$0-2], actor:$$[$0-1].actor, text:$$[$0]}];\nbreak;\ncase 31:\n\n\t\t// Coerce actor_pair into a [to, from, ...] array\n\t\t$$[$0-2] = [].concat($$[$0-1], $$[$0-1]).slice(0, 2);\n\t\t$$[$0-2][0] = $$[$0-2][0].actor;\n\t\t$$[$0-2][1] = $$[$0-2][1].actor;\n\t\tthis.$ = [$$[$0-1], {type:'addNote', placement:yy.PLACEMENT.OVER, actor:$$[$0-2].slice(0, 2), text:$$[$0]}];\nbreak;\ncase 34:\n this.$ = [$$[$0-2], $$[$0]]; \nbreak;\ncase 35:\n this.$ = $$[$0]; \nbreak;\ncase 36:\n this.$ = yy.PLACEMENT.LEFTOF; \nbreak;\ncase 37:\n this.$ = yy.PLACEMENT.RIGHTOF; \nbreak;\ncase 38:\n this.$ = [$$[$0-4],$$[$0-1],{type: 'addMessage', from:$$[$0-4].actor, to:$$[$0-1].actor, signalType:$$[$0-3], msg:$$[$0]},\n\t {type: 'activeStart', signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0-1]}\n\t ]\nbreak;\ncase 39:\n this.$ = [$$[$0-4],$$[$0-1],{type: 'addMessage', from:$$[$0-4].actor, to:$$[$0-1].actor, signalType:$$[$0-3], msg:$$[$0]},\n\t {type: 'activeEnd', signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0-4]}\n\t ]\nbreak;\ncase 40:\n this.$ = [$$[$0-3],$$[$0-1],{type: 'addMessage', from:$$[$0-3].actor, to:$$[$0-1].actor, signalType:$$[$0-2], msg:$$[$0]}]\nbreak;\ncase 41:\nthis.$={type: 'addActor', actor:$$[$0]}\nbreak;\ncase 42:\n this.$ = yy.LINETYPE.SOLID_OPEN; \nbreak;\ncase 43:\n this.$ = yy.LINETYPE.DOTTED_OPEN; \nbreak;\ncase 44:\n this.$ = yy.LINETYPE.SOLID; \nbreak;\ncase 45:\n this.$ = yy.LINETYPE.DOTTED; \nbreak;\ncase 46:\n this.$ = yy.LINETYPE.SOLID_CROSS; \nbreak;\ncase 47:\n this.$ = yy.LINETYPE.DOTTED_CROSS; \nbreak;\ncase 48:\nthis.$ = yy.parseMessage($$[$0].trim().substring(1)) \nbreak;\ncase 49:\n yy.parseDirective('%%{', 'open_directive'); \nbreak;\ncase 50:\n yy.parseDirective($$[$0], 'type_directive'); \nbreak;\ncase 51:\n $$[$0] = $$[$0].trim().replace(/'/g, '\"'); yy.parseDirective($$[$0], 'arg_directive'); \nbreak;\ncase 52:\n yy.parseDirective('}%%', 'close_directive', 'sequence'); \nbreak;\n}\n},\ntable: [{3:1,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{1:[3]},{3:8,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{3:9,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{3:10,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},o([1,4,5,16,21,22,23,25,27,29,30,31,33,37,48,56],$V4,{8:11}),{12:12,57:[1,13]},{57:[2,49]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{13:34,14:[1,35],59:$Vj},o([14,59],[2,50]),o($Vk,[2,6]),{6:30,10:37,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},o($Vk,[2,8]),o($Vk,[2,9]),{17:38,48:$Vi},{5:[1,39]},o($Vk,[2,15]),{17:40,48:$Vi},{17:41,48:$Vi},{5:[1,42]},{26:43,55:$Vl},{19:[1,45]},{19:[1,46]},{19:[1,47]},{19:[1,48]},{19:[1,49]},o($Vk,[2,25]),{45:50,49:[1,51],50:[1,52],51:[1,53],52:[1,54],53:[1,55],54:[1,56]},{38:57,39:[1,58],43:[1,59],44:[1,60]},o([5,18,42,49,50,51,52,53,54,55],[2,41]),{5:[1,61]},{15:62,58:[1,63]},{5:[2,52]},o($Vk,[2,7]),{5:[1,65],18:[1,64]},o($Vk,[2,14]),{5:[1,66]},{5:[1,67]},o($Vk,[2,18]),{5:[1,68]},{5:[2,48]},o($Vm,$V4,{8:69}),o($Vm,$V4,{8:70}),o($Vm,$V4,{8:71}),o($Vn,$V4,{32:72,8:73}),o($Vo,$V4,{34:74,8:75}),{17:78,46:[1,76],47:[1,77],48:$Vi},o($Vp,[2,42]),o($Vp,[2,43]),o($Vp,[2,44]),o($Vp,[2,45]),o($Vp,[2,46]),o($Vp,[2,47]),{17:79,48:$Vi},{17:81,40:80,48:$Vi},{48:[2,36]},{48:[2,37]},o($Vq,[2,10]),{13:82,59:$Vj},{59:[2,51]},{19:[1,83]},o($Vk,[2,13]),o($Vk,[2,16]),o($Vk,[2,17]),o($Vk,[2,19]),{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,84],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,85],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,86],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{28:[1,87]},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[2,28],29:$Vd,30:$Ve,31:$Vf,33:$Vg,36:[1,88],37:$Vh,48:$Vi,56:$V3},{28:[1,89]},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[2,26],29:$Vd,30:$Ve,31:$Vf,33:$Vg,35:[1,90],37:$Vh,48:$Vi,56:$V3},{17:91,48:$Vi},{17:92,48:$Vi},{26:93,55:$Vl},{26:94,55:$Vl},{26:95,55:$Vl},{42:[1,96],55:[2,35]},{5:[1,97]},{5:[1,98]},o($Vk,[2,20]),o($Vk,[2,21]),o($Vk,[2,22]),o($Vk,[2,23]),{19:[1,99]},o($Vk,[2,24]),{19:[1,100]},{26:101,55:$Vl},{26:102,55:$Vl},{5:[2,40]},{5:[2,30]},{5:[2,31]},{17:103,48:$Vi},o($Vq,[2,11]),o($Vk,[2,12]),o($Vn,$V4,{8:73,32:104}),o($Vo,$V4,{8:75,34:105}),{5:[2,38]},{5:[2,39]},{55:[2,34]},{28:[2,29]},{28:[2,27]}],\ndefaultActions: {7:[2,49],8:[2,1],9:[2,2],10:[2,3],36:[2,52],44:[2,48],59:[2,36],60:[2,37],63:[2,51],93:[2,40],94:[2,30],95:[2,31],101:[2,38],102:[2,39],103:[2,34],104:[2,29],105:[2,27]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0: this.begin('OPEN_DIRECTIVE'); return 56; \nbreak;\ncase 1: this.begin('TYPE_DIRECTIVE'); return 57; \nbreak;\ncase 2: this.popState(); this.begin('ARG_DIRECTIVE'); return 14; \nbreak;\ncase 3: this.popState(); this.popState(); return 59; \nbreak;\ncase 4:return 58;\nbreak;\ncase 5:return 5;\nbreak;\ncase 6:/* skip all whitespace */\nbreak;\ncase 7:/* skip same-line whitespace */\nbreak;\ncase 8:/* skip comments */\nbreak;\ncase 9:/* skip comments */\nbreak;\ncase 10:/* skip comments */\nbreak;\ncase 11: this.begin('ID'); return 16; \nbreak;\ncase 12: yy_.yytext = yy_.yytext.trim(); this.begin('ALIAS'); return 48; \nbreak;\ncase 13: this.popState(); this.popState(); this.begin('LINE'); return 18; \nbreak;\ncase 14: this.popState(); this.popState(); return 5; \nbreak;\ncase 15: this.begin('LINE'); return 27; \nbreak;\ncase 16: this.begin('LINE'); return 29; \nbreak;\ncase 17: this.begin('LINE'); return 30; \nbreak;\ncase 18: this.begin('LINE'); return 31; \nbreak;\ncase 19: this.begin('LINE'); return 36; \nbreak;\ncase 20: this.begin('LINE'); return 33; \nbreak;\ncase 21: this.begin('LINE'); return 35; \nbreak;\ncase 22: this.popState(); return 19; \nbreak;\ncase 23:return 28;\nbreak;\ncase 24:return 43;\nbreak;\ncase 25:return 44;\nbreak;\ncase 26:return 39;\nbreak;\ncase 27:return 37;\nbreak;\ncase 28: this.begin('ID'); return 22; \nbreak;\ncase 29: this.begin('ID'); return 23; \nbreak;\ncase 30:return 25;\nbreak;\ncase 31:return 7;\nbreak;\ncase 32:return 21;\nbreak;\ncase 33:return 42;\nbreak;\ncase 34:return 5;\nbreak;\ncase 35: yy_.yytext = yy_.yytext.trim(); return 48; \nbreak;\ncase 36:return 51;\nbreak;\ncase 37:return 52;\nbreak;\ncase 38:return 49;\nbreak;\ncase 39:return 50;\nbreak;\ncase 40:return 53;\nbreak;\ncase 41:return 54;\nbreak;\ncase 42:return 55;\nbreak;\ncase 43:return 46;\nbreak;\ncase 44:return 47;\nbreak;\ncase 45:return 5;\nbreak;\ncase 46:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:%%\\{)/i,/^(?:((?:(?!\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\}%%)/i,/^(?:((?:(?!\\}%%).|\\n)*))/i,/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:((?!\\n)\\s)+)/i,/^(?:#[^\\n]*)/i,/^(?:%(?!\\{)[^\\n]*)/i,/^(?:[^\\}]%%[^\\n]*)/i,/^(?:participant\\b)/i,/^(?:[^\\->:\\n,;]+?(?=((?!\\n)\\s)+as(?!\\n)\\s|[#\\n;]|$))/i,/^(?:as\\b)/i,/^(?:(?:))/i,/^(?:loop\\b)/i,/^(?:rect\\b)/i,/^(?:opt\\b)/i,/^(?:alt\\b)/i,/^(?:else\\b)/i,/^(?:par\\b)/i,/^(?:and\\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\\n;]*)/i,/^(?:end\\b)/i,/^(?:left of\\b)/i,/^(?:right of\\b)/i,/^(?:over\\b)/i,/^(?:note\\b)/i,/^(?:activate\\b)/i,/^(?:deactivate\\b)/i,/^(?:title\\b)/i,/^(?:sequenceDiagram\\b)/i,/^(?:autonumber\\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\\+\\->:\\n,;]+)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?::(?:(?:no)?wrap)?[^#\\n;]+)/i,/^(?:\\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"LINE\":{\"rules\":[7,8,22],\"inclusive\":false},\"ARG_DIRECTIVE\":{\"rules\":[3,4,8],\"inclusive\":false},\"TYPE_DIRECTIVE\":{\"rules\":[2,3,8],\"inclusive\":false},\"OPEN_DIRECTIVE\":{\"rules\":[1,8],\"inclusive\":false},\"ALIAS\":{\"rules\":[7,8,13,14],\"inclusive\":false},\"ID\":{\"rules\":[7,8,12],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,5,6,8,9,10,11,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 2, "identifier": "external \"graphlib\"", "name": "external \"graphlib\"", "index": 46, "index2": 43, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1673, "building": 1032, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "2:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "3:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "3:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "5:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "12:41-49" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "40:18-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "66:14-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "76:18-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "92:35-43" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "130:28-36" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "132:27-35" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "223:10-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "237:14-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "253:29-37" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "262:35-43" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "301:29-37" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "312:14-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "314:41-49" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "323:40-48" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "324:40-48" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "335:14-22" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3 }, { "id": 3, "identifier": "external \"dagre-d3\"", "name": "external \"dagre-d3\"", "index": 47, "index2": 44, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1673, "building": 1032, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3", "loc": "1:0-31" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3", "loc": "6:0-31" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "23:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "56:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "84:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "109:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "134:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "159:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "184:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "212:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "224:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "267:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "282:14-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "349:15-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "357:4-11" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3 }, { "id": 4, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/process/browser.js", "name": "./node_modules/process/browser.js", "index": 21, "index2": 18, "size": 5418, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 10, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1146, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 7, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/path-browserify/index.js", "module": "./node_modules/path-browserify/index.js", "moduleName": "./node_modules/path-browserify/index.js", "type": "cjs require", "userRequest": "process", "loc": "1:0-34" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 10, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 11, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 12, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 15, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n" }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/webpack/buildin/module.js", "name": "(webpack)/buildin/module.js", "index": 22, "index2": 19, "size": 497, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 10, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1146, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 10, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 11, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 12, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 15, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n" }, { "id": 6, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/node-libs-browser/mock/empty.js", "name": "./node_modules/node-libs-browser/mock/empty.js", "index": 23, "index2": 20, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 10, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1146, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "835:17-30" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "769:17-30" }, { "moduleId": 10, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "fs", "loc": "993:17-30" }, { "moduleId": 11, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "fs", "loc": "722:17-30" }, { "moduleId": 12, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "fs", "loc": "640:17-30" }, { "moduleId": 15, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "776:17-30" }, { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "fs", "loc": "690:17-30" }, { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "fs", "loc": "616:17-30" }, { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "fs", "loc": "628:17-30" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "673:17-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "" }, { "id": 7, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/path-browserify/index.js", "name": "./node_modules/path-browserify/index.js", "index": 24, "index2": 21, "size": 8742, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 10, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1146, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "835:44-59" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "769:44-59" }, { "moduleId": 10, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "path", "loc": "993:44-59" }, { "moduleId": 11, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "path", "loc": "722:44-59" }, { "moduleId": 12, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "path", "loc": "640:44-59" }, { "moduleId": 15, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "776:44-59" }, { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "path", "loc": "690:44-59" }, { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "path", "loc": "616:44-59" }, { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "path", "loc": "628:44-59" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "673:44-59" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,\n// backported and transplited with Babel, with backwards-compat fixes\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = parts.length - 1; i >= 0; i--) {\n var last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n var resolvedPath = '',\n resolvedAbsolute = false;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path = (i >= 0) ? arguments[i] : process.cwd();\n\n // Skip empty and invalid entries\n if (typeof path !== 'string') {\n throw new TypeError('Arguments to path.resolve must be strings');\n } else if (!path) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n return !!p;\n }), !resolvedAbsolute).join('/');\n\n return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n var isAbsolute = exports.isAbsolute(path),\n trailingSlash = substr(path, -1) === '/';\n\n // Normalize the path\n path = normalizeArray(filter(path.split('/'), function(p) {\n return !!p;\n }), !isAbsolute).join('/');\n\n if (!path && !isAbsolute) {\n path = '.';\n }\n if (path && trailingSlash) {\n path += '/';\n }\n\n return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n var paths = Array.prototype.slice.call(arguments, 0);\n return exports.normalize(filter(paths, function(p, index) {\n if (typeof p !== 'string') {\n throw new TypeError('Arguments to path.join must be strings');\n }\n return p;\n }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n from = exports.resolve(from).substr(1);\n to = exports.resolve(to).substr(1);\n\n function trim(arr) {\n var start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') break;\n }\n\n var end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') break;\n }\n\n if (start > end) return [];\n return arr.slice(start, end - start + 1);\n }\n\n var fromParts = trim(from.split('/'));\n var toParts = trim(to.split('/'));\n\n var length = Math.min(fromParts.length, toParts.length);\n var samePartsLength = length;\n for (var i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n var outputParts = [];\n for (var i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function (path) {\n if (typeof path !== 'string') path = path + '';\n if (path.length === 0) return '.';\n var code = path.charCodeAt(0);\n var hasRoot = code === 47 /*/*/;\n var end = -1;\n var matchedSlash = true;\n for (var i = path.length - 1; i >= 1; --i) {\n code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n if (!matchedSlash) {\n end = i;\n break;\n }\n } else {\n // We saw the first non-path separator\n matchedSlash = false;\n }\n }\n\n if (end === -1) return hasRoot ? '/' : '.';\n if (hasRoot && end === 1) {\n // return '//';\n // Backwards-compat fix:\n return '/';\n }\n return path.slice(0, end);\n};\n\nfunction basename(path) {\n if (typeof path !== 'string') path = path + '';\n\n var start = 0;\n var end = -1;\n var matchedSlash = true;\n var i;\n\n for (i = path.length - 1; i >= 0; --i) {\n if (path.charCodeAt(i) === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // path component\n matchedSlash = false;\n end = i + 1;\n }\n }\n\n if (end === -1) return '';\n return path.slice(start, end);\n}\n\n// Uses a mixed approach for backwards-compatibility, as ext behavior changed\n// in new Node.js versions, so only basename() above is backported here\nexports.basename = function (path, ext) {\n var f = basename(path);\n if (ext && f.substr(-1 * ext.length) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n return f;\n};\n\nexports.extname = function (path) {\n if (typeof path !== 'string') path = path + '';\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true;\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n var preDotState = 0;\n for (var i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n continue;\n }\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n if (code === 46 /*.*/) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1)\n startDot = i;\n else if (preDotState !== 1)\n preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 ||\n // We saw a non-dot character immediately before the dot\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n return '';\n }\n return path.slice(startDot, end);\n};\n\nfunction filter (xs, f) {\n if (xs.filter) return xs.filter(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n if (f(xs[i], i, xs)) res.push(xs[i]);\n }\n return res;\n}\n\n// String.prototype.substr - negative index don't work in IE8\nvar substr = 'ab'.substr(-1) === 'b'\n ? function (str, start, len) { return str.substr(start, len) }\n : function (str, start, len) {\n if (start < 0) start = str.length + start;\n return str.substr(start, len);\n }\n;\n" }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "name": "./src/diagrams/state/parser/stateDiagram.jison", "index": 35, "index2": 33, "size": 29755, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/stateDiagram", "loc": "4:0-42" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/stateDiagram", "loc": "7:0-47" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "11:0-6" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "25:15-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "33:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "34:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "36:0-63" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "108:15-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "113:15-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "217:15-20" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,2],$V1=[1,3],$V2=[1,4],$V3=[2,4],$V4=[1,9],$V5=[1,11],$V6=[1,13],$V7=[1,14],$V8=[1,15],$V9=[1,16],$Va=[1,21],$Vb=[1,17],$Vc=[1,18],$Vd=[1,19],$Ve=[1,20],$Vf=[1,22],$Vg=[1,4,5,13,14,16,18,19,21,22,23,24,25,28],$Vh=[1,4,5,11,12,13,14,16,18,19,21,22,23,24,25,28],$Vi=[4,5,13,14,16,18,19,21,22,23,24,25,28];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"SPACE\":4,\"NL\":5,\"SD\":6,\"document\":7,\"line\":8,\"statement\":9,\"idStatement\":10,\"DESCR\":11,\"-->\":12,\"HIDE_EMPTY\":13,\"scale\":14,\"WIDTH\":15,\"COMPOSIT_STATE\":16,\"STRUCT_START\":17,\"STRUCT_STOP\":18,\"STATE_DESCR\":19,\"AS\":20,\"ID\":21,\"FORK\":22,\"JOIN\":23,\"CONCURRENT\":24,\"note\":25,\"notePosition\":26,\"NOTE_TEXT\":27,\"EDGE_STATE\":28,\"left_of\":29,\"right_of\":30,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"SPACE\",5:\"NL\",6:\"SD\",11:\"DESCR\",12:\"-->\",13:\"HIDE_EMPTY\",14:\"scale\",15:\"WIDTH\",16:\"COMPOSIT_STATE\",17:\"STRUCT_START\",18:\"STRUCT_STOP\",19:\"STATE_DESCR\",20:\"AS\",21:\"ID\",22:\"FORK\",23:\"JOIN\",24:\"CONCURRENT\",25:\"note\",27:\"NOTE_TEXT\",28:\"EDGE_STATE\",29:\"left_of\",30:\"right_of\"},\nproductions_: [0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,4],[9,4],[10,1],[10,1],[26,1],[26,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 3:\n /*console.warn('Root document', $$[$0]);*/ yy.setRootDoc($$[$0]);return $$[$0]; \nbreak;\ncase 4:\n this.$ = [] \nbreak;\ncase 5:\n\n if($$[$0]!='nl'){\n $$[$0-1].push($$[$0]);this.$ = $$[$0-1]\n }\n // console.warn('Got document',$$[$0-1], $$[$0]);\n \nbreak;\ncase 6: case 7:\n this.$ = $$[$0] \nbreak;\ncase 8:\n this.$='nl';\nbreak;\ncase 9:\n /*console.warn('got id and descr', $$[$0]);*/this.$={ stmt: 'state', id: $$[$0], type: 'default', description: ''};\nbreak;\ncase 10:\n /*console.warn('got id and descr', $$[$0-1], $$[$0].trim());*/this.$={ stmt: 'state', id: $$[$0-1], type: 'default', description: yy.trimColon($$[$0])};\nbreak;\ncase 11:\n\n /*console.warn('got id', $$[$0-2]);yy.addRelation($$[$0-2], $$[$0]);*/\n this.$={ stmt: 'relation', state1: { stmt: 'state', id: $$[$0-2], type: 'default', description: '' }, state2:{ stmt: 'state', id: $$[$0] ,type: 'default', description: ''}};\n \nbreak;\ncase 12:\n\n /*yy.addRelation($$[$0-3], $$[$0-1], $$[$0].substr(1).trim());*/\n this.$={ stmt: 'relation', state1: { stmt: 'state', id: $$[$0-3], type: 'default', description: '' }, state2:{ stmt: 'state', id: $$[$0-1] ,type: 'default', description: ''}, description: $$[$0].substr(1).trim()};\n \nbreak;\ncase 16:\n\n\n /* console.warn('Adding document for state without id ', $$[$0-3]);*/\n this.$={ stmt: 'state', id: $$[$0-3], type: 'default', description: '', doc: $$[$0-1] }\n \nbreak;\ncase 17:\n\n var id=$$[$0];\n var description = $$[$0-2].trim();\n if($$[$0].match(':')){\n var parts = $$[$0].split(':');\n id=parts[0];\n description = [description, parts[1]];\n }\n this.$={stmt: 'state', id: id, type: 'default', description: description};\n\n \nbreak;\ncase 18:\n\n //console.warn('Adding document for state with id ', $$[$0-3], $$[$0-2]); yy.addDocument($$[$0-3]);\n this.$={ stmt: 'state', id: $$[$0-3], type: 'default', description: $$[$0-5], doc: $$[$0-1] }\n \nbreak;\ncase 19:\n\n this.$={ stmt: 'state', id: $$[$0], type: 'fork' }\n \nbreak;\ncase 20:\n\n this.$={ stmt: 'state', id: $$[$0], type: 'join' }\n \nbreak;\ncase 21:\n\n this.$={ stmt: 'state', id: yy.getDividerId(), type: 'divider' }\n \nbreak;\ncase 22:\n\n /*console.warn('got NOTE, position: ', $$[$0-2].trim(), 'id = ', $$[$0-1].trim(), 'note: ', $$[$0]);*/\n this.$={ stmt: 'state', id: $$[$0-1].trim(), note:{position: $$[$0-2].trim(), text: $$[$0].trim()}};\n \nbreak;\ncase 24: case 25:\nthis.$=$$[$0];\nbreak;\n}\n},\ntable: [{3:1,4:$V0,5:$V1,6:$V2},{1:[3]},{3:5,4:$V0,5:$V1,6:$V2},{3:6,4:$V0,5:$V1,6:$V2},o([1,4,5,13,14,16,19,21,22,23,24,25,28],$V3,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,5]),{9:23,10:12,13:$V6,14:$V7,16:$V8,19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,7]),o($Vg,[2,8]),o($Vg,[2,9],{11:[1,24],12:[1,25]}),o($Vg,[2,13]),{15:[1,26]},o($Vg,[2,15],{17:[1,27]}),{20:[1,28]},o($Vg,[2,19]),o($Vg,[2,20]),o($Vg,[2,21]),{26:29,27:[1,30],29:[1,31],30:[1,32]},o($Vh,[2,24]),o($Vh,[2,25]),o($Vg,[2,6]),o($Vg,[2,10]),{10:33,21:$Va,28:$Vf},o($Vg,[2,14]),o($Vi,$V3,{7:34}),{21:[1,35]},{21:[1,36]},{20:[1,37]},{21:[2,26]},{21:[2,27]},o($Vg,[2,11],{11:[1,38]}),{4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,18:[1,39],19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,17],{17:[1,40]}),{27:[1,41]},{21:[1,42]},o($Vg,[2,12]),o($Vg,[2,16]),o($Vi,$V3,{7:43}),o($Vg,[2,22]),o($Vg,[2,23]),{4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,18:[1,44],19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,18])],\ndefaultActions: {5:[2,1],6:[2,2],31:[2,26],32:[2,27]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 5;\nbreak;\ncase 1:/* skip all whitespace */\nbreak;\ncase 2:/* skip same-line whitespace */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:/* skip comments */\nbreak;\ncase 5: this.pushState('SCALE'); /* console.log('Got scale', yy_.yytext);*/ return 14; \nbreak;\ncase 6:return 15;\nbreak;\ncase 7:this.popState();\nbreak;\ncase 8: this.pushState('STATE'); \nbreak;\ncase 9:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim(); /*console.warn('Fork Fork: ',yy_.yytext);*/return 22;\nbreak;\ncase 10:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Join: ',yy_.yytext);*/return 23;\nbreak;\ncase 11:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Fork: ',yy_.yytext);*/return 22;\nbreak;\ncase 12:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Join: ',yy_.yytext);*/return 23;\nbreak;\ncase 13:this.begin(\"STATE_STRING\");\nbreak;\ncase 14:this.popState();this.pushState('STATE_ID');return \"AS\";\nbreak;\ncase 15:this.popState();/* console.log('STATE_ID', yy_.yytext);*/return \"ID\";\nbreak;\ncase 16:this.popState();\nbreak;\ncase 17: /*console.log('Long description:', yy_.yytext);*/return \"STATE_DESCR\";\nbreak;\ncase 18:/*console.log('COMPOSIT_STATE', yy_.yytext);*/return 16;\nbreak;\ncase 19:this.popState();\nbreak;\ncase 20:this.popState();this.pushState('struct'); /*console.log('begin struct', yy_.yytext);*/return 17;\nbreak;\ncase 21: /*console.log('Ending struct');*/ this.popState(); return 18;\nbreak;\ncase 22:/* nothing */\nbreak;\ncase 23: this.begin('NOTE'); return 25; \nbreak;\ncase 24: this.popState();this.pushState('NOTE_ID');return 29;\nbreak;\ncase 25: this.popState();this.pushState('NOTE_ID');return 30;\nbreak;\ncase 26: this.popState();this.pushState('FLOATING_NOTE');\nbreak;\ncase 27:this.popState();this.pushState('FLOATING_NOTE_ID');return \"AS\";\nbreak;\ncase 28:/**/\nbreak;\ncase 29: /*console.log('Floating note text: ', yy_.yytext);*/return \"NOTE_TEXT\";\nbreak;\ncase 30:this.popState();/*console.log('Floating note ID', yy_.yytext);*/return \"ID\";\nbreak;\ncase 31: this.popState();this.pushState('NOTE_TEXT');/*console.log('Got ID for note', yy_.yytext);*/return 21;\nbreak;\ncase 32: this.popState();/*console.log('Got NOTE_TEXT for note',yy_.yytext);*/yy_.yytext = yy_.yytext.substr(2).trim();return 27;\nbreak;\ncase 33: this.popState();/*console.log('Got NOTE_TEXT for note',yy_.yytext);*/yy_.yytext = yy_.yytext.slice(0,-8).trim();return 27;\nbreak;\ncase 34: /*console.log('Got state diagram', yy_.yytext,'#');*/return 6; \nbreak;\ncase 35: /*console.log('Got state diagram', yy_.yytext,'#');*/return 6; \nbreak;\ncase 36: /*console.log('HIDE_EMPTY', yy_.yytext,'#');*/return 13; \nbreak;\ncase 37: /*console.log('EDGE_STATE=',yy_.yytext);*/ return 28;\nbreak;\ncase 38: /*console.log('=>ID=',yy_.yytext);*/ return 21;\nbreak;\ncase 39: yy_.yytext = yy_.yytext.trim(); /*console.log('Descr = ', yy_.yytext);*/ return 11; \nbreak;\ncase 40:return 12;\nbreak;\ncase 41:return 24;\nbreak;\ncase 42:return 5;\nbreak;\ncase 43:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:((?!\\n)\\s)+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:scale\\s+)/i,/^(?:\\d+)/i,/^(?:\\s+width\\b)/i,/^(?:state\\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\\[\\[fork\\]\\])/i,/^(?:.*\\[\\[join\\]\\])/i,/^(?:[\"])/i,/^(?:\\s*as\\s+)/i,/^(?:[^\\n\\{]*)/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[^\\n\\s\\{]+)/i,/^(?:\\n)/i,/^(?:\\{)/i,/^(?:\\})/i,/^(?:[\\n])/i,/^(?:note\\s+)/i,/^(?:left of\\b)/i,/^(?:right of\\b)/i,/^(?:\")/i,/^(?:\\s*as\\s*)/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[^\\n]*)/i,/^(?:\\s*[^:\\n\\s\\-]+)/i,/^(?:\\s*:[^:\\n;]+)/i,/^(?:\\s*[^:;]+end note\\b)/i,/^(?:stateDiagram\\s+)/i,/^(?:stateDiagram-v2\\s+)/i,/^(?:hide empty description\\b)/i,/^(?:\\[\\*\\])/i,/^(?:[^:\\n\\s\\-\\{]+)/i,/^(?:\\s*:[^:\\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"LINE\":{\"rules\":[2,3],\"inclusive\":false},\"struct\":{\"rules\":[2,3,8,21,22,23,37,38,39,40,41],\"inclusive\":false},\"FLOATING_NOTE_ID\":{\"rules\":[30],\"inclusive\":false},\"FLOATING_NOTE\":{\"rules\":[27,28,29],\"inclusive\":false},\"NOTE_TEXT\":{\"rules\":[32,33],\"inclusive\":false},\"NOTE_ID\":{\"rules\":[31],\"inclusive\":false},\"NOTE\":{\"rules\":[24,25,26],\"inclusive\":false},\"SCALE\":{\"rules\":[6,7],\"inclusive\":false},\"ALIAS\":{\"rules\":[],\"inclusive\":false},\"STATE_ID\":{\"rules\":[15],\"inclusive\":false},\"STATE_STRING\":{\"rules\":[16,17],\"inclusive\":false},\"FORK_STATE\":{\"rules\":[],\"inclusive\":false},\"STATE\":{\"rules\":[2,3,9,10,11,12,13,14,18,19,20],\"inclusive\":false},\"ID\":{\"rules\":[2,3],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,3,4,5,8,20,23,34,35,36,37,38,39,40,42,43],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 9, "identifier": "external \"moment-mini\"", "name": "external \"moment-mini\"", "index": 18, "index2": 14, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "issuerId": null, "issuerName": "./src/logger.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 0, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "moment-mini", "loc": "1:0-33" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "moment-mini", "loc": "9:0-33" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "63:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "115:18-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "117:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "177:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "223:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "233:62-68" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "301:25-31" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "451:38-44" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "index": 28, "index2": 26, "size": 57072, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/flow", "loc": "4:0-33" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/flow", "loc": "4:0-33" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "23:0-58" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "82:15-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "88:15-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "275:17-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "293:15-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "295:15-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "316:15-19" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,4],$V1=[1,3],$V2=[1,5],$V3=[1,8,9,10,11,26,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$V4=[2,2],$V5=[1,12],$V6=[1,13],$V7=[1,14],$V8=[1,15],$V9=[1,22],$Va=[1,46],$Vb=[1,24],$Vc=[1,25],$Vd=[1,26],$Ve=[1,27],$Vf=[1,28],$Vg=[1,40],$Vh=[1,35],$Vi=[1,37],$Vj=[1,32],$Vk=[1,36],$Vl=[1,39],$Vm=[1,43],$Vn=[1,44],$Vo=[1,45],$Vp=[1,34],$Vq=[1,38],$Vr=[1,41],$Vs=[1,42],$Vt=[1,33],$Vu=[1,51],$Vv=[1,8,9,10,11,26,30,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Vw=[1,55],$Vx=[1,54],$Vy=[1,56],$Vz=[8,9,11,57,58],$VA=[8,9,10,11,57,58],$VB=[8,9,10,11,35,57,58],$VC=[8,9,10,11,28,34,35,37,39,41,43,45,47,49,50,52,57,58,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VD=[8,9,11,34,57,58,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VE=[34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VF=[1,101],$VG=[1,122],$VH=[1,123],$VI=[1,124],$VJ=[1,125],$VK=[1,105],$VL=[1,96],$VM=[1,97],$VN=[1,93],$VO=[1,117],$VP=[1,118],$VQ=[1,119],$VR=[1,120],$VS=[1,121],$VT=[1,126],$VU=[1,127],$VV=[1,99],$VW=[1,107],$VX=[1,110],$VY=[1,108],$VZ=[1,109],$V_=[1,102],$V$=[1,115],$V01=[1,114],$V11=[1,98],$V21=[1,95],$V31=[1,104],$V41=[1,106],$V51=[1,111],$V61=[1,112],$V71=[1,113],$V81=[1,116],$V91=[8,9,10,11,26,30,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Va1=[1,130],$Vb1=[1,134],$Vc1=[1,136],$Vd1=[1,137],$Ve1=[8,9,10,11,12,13,26,28,29,30,34,38,40,42,44,46,48,49,51,53,57,58,59,63,64,65,66,67,68,69,72,78,79,82,83,84,86,87,88,89,93,94,95,96,97,98],$Vf1=[8,9,10,11,13,34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Vg1=[10,79],$Vh1=[1,204],$Vi1=[1,208],$Vj1=[1,205],$Vk1=[1,202],$Vl1=[1,199],$Vm1=[1,200],$Vn1=[1,201],$Vo1=[1,203],$Vp1=[1,206],$Vq1=[1,207],$Vr1=[1,209],$Vs1=[8,9,11],$Vt1=[1,225],$Vu1=[8,9,11,79],$Vv1=[8,9,10,11,63,75,78,79,82,83,84,85,86,87,88];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"mermaidDoc\":3,\"graphConfig\":4,\"document\":5,\"line\":6,\"statement\":7,\"SEMI\":8,\"NEWLINE\":9,\"SPACE\":10,\"EOF\":11,\"GRAPH\":12,\"DIR\":13,\"FirstStmtSeperator\":14,\"ending\":15,\"endToken\":16,\"spaceList\":17,\"spaceListNewline\":18,\"verticeStatement\":19,\"separator\":20,\"styleStatement\":21,\"linkStyleStatement\":22,\"classDefStatement\":23,\"classStatement\":24,\"clickStatement\":25,\"subgraph\":26,\"text\":27,\"SQS\":28,\"SQE\":29,\"end\":30,\"link\":31,\"node\":32,\"vertex\":33,\"AMP\":34,\"STYLE_SEPARATOR\":35,\"idString\":36,\"PS\":37,\"PE\":38,\"(-\":39,\"-)\":40,\"STADIUMSTART\":41,\"STADIUMEND\":42,\"SUBROUTINESTART\":43,\"SUBROUTINEEND\":44,\"CYLINDERSTART\":45,\"CYLINDEREND\":46,\"DIAMOND_START\":47,\"DIAMOND_STOP\":48,\"TAGEND\":49,\"TRAPSTART\":50,\"TRAPEND\":51,\"INVTRAPSTART\":52,\"INVTRAPEND\":53,\"linkStatement\":54,\"arrowText\":55,\"TESTSTR\":56,\"START_LINK\":57,\"LINK\":58,\"PIPE\":59,\"textToken\":60,\"STR\":61,\"keywords\":62,\"STYLE\":63,\"LINKSTYLE\":64,\"CLASSDEF\":65,\"CLASS\":66,\"CLICK\":67,\"DOWN\":68,\"UP\":69,\"textNoTags\":70,\"textNoTagsToken\":71,\"DEFAULT\":72,\"stylesOpt\":73,\"alphaNum\":74,\"HEX\":75,\"numList\":76,\"INTERPOLATE\":77,\"NUM\":78,\"COMMA\":79,\"style\":80,\"styleComponent\":81,\"ALPHA\":82,\"COLON\":83,\"MINUS\":84,\"UNIT\":85,\"BRKT\":86,\"DOT\":87,\"PCT\":88,\"TAGSTART\":89,\"alphaNumToken\":90,\"idStringToken\":91,\"alphaNumStatement\":92,\"PUNCTUATION\":93,\"UNICODE_TEXT\":94,\"PLUS\":95,\"EQUALS\":96,\"MULT\":97,\"UNDERSCORE\":98,\"graphCodeTokens\":99,\"ARROW_CROSS\":100,\"ARROW_POINT\":101,\"ARROW_CIRCLE\":102,\"ARROW_OPEN\":103,\"QUOTE\":104,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",8:\"SEMI\",9:\"NEWLINE\",10:\"SPACE\",11:\"EOF\",12:\"GRAPH\",13:\"DIR\",26:\"subgraph\",28:\"SQS\",29:\"SQE\",30:\"end\",34:\"AMP\",35:\"STYLE_SEPARATOR\",37:\"PS\",38:\"PE\",39:\"(-\",40:\"-)\",41:\"STADIUMSTART\",42:\"STADIUMEND\",43:\"SUBROUTINESTART\",44:\"SUBROUTINEEND\",45:\"CYLINDERSTART\",46:\"CYLINDEREND\",47:\"DIAMOND_START\",48:\"DIAMOND_STOP\",49:\"TAGEND\",50:\"TRAPSTART\",51:\"TRAPEND\",52:\"INVTRAPSTART\",53:\"INVTRAPEND\",56:\"TESTSTR\",57:\"START_LINK\",58:\"LINK\",59:\"PIPE\",61:\"STR\",63:\"STYLE\",64:\"LINKSTYLE\",65:\"CLASSDEF\",66:\"CLASS\",67:\"CLICK\",68:\"DOWN\",69:\"UP\",72:\"DEFAULT\",75:\"HEX\",77:\"INTERPOLATE\",78:\"NUM\",79:\"COMMA\",82:\"ALPHA\",83:\"COLON\",84:\"MINUS\",85:\"UNIT\",86:\"BRKT\",87:\"DOT\",88:\"PCT\",89:\"TAGSTART\",93:\"PUNCTUATION\",94:\"UNICODE_TEXT\",95:\"PLUS\",96:\"EQUALS\",97:\"MULT\",98:\"UNDERSCORE\",100:\"ARROW_CROSS\",101:\"ARROW_POINT\",102:\"ARROW_CIRCLE\",103:\"ARROW_OPEN\",104:\"QUOTE\"},\nproductions_: [0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,3],[15,2],[15,1],[16,1],[16,1],[16,1],[14,1],[14,1],[14,2],[18,2],[18,2],[18,1],[18,1],[17,2],[17,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[20,1],[20,1],[20,1],[19,3],[19,4],[19,2],[19,1],[32,1],[32,5],[32,3],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,1],[31,2],[31,3],[31,3],[31,1],[31,3],[54,1],[55,3],[27,1],[27,2],[27,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[70,1],[70,2],[23,5],[23,5],[24,5],[25,5],[25,7],[25,5],[25,7],[21,5],[21,5],[22,5],[22,5],[22,9],[22,9],[22,7],[22,7],[76,1],[76,3],[73,1],[73,3],[80,1],[80,2],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[71,1],[71,1],[71,1],[71,1],[36,1],[36,2],[74,1],[74,2],[92,1],[92,1],[92,1],[92,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 2:\n this.$ = [];\nbreak;\ncase 3:\n\n\t if($$[$0] !== []){\n\t $$[$0-1].push($$[$0]);\n\t }\n\t this.$=$$[$0-1];\nbreak;\ncase 4: case 67: case 69: case 81: case 127: case 129: case 130:\nthis.$=$$[$0];\nbreak;\ncase 11:\n yy.setDirection($$[$0-1]);this.$ = $$[$0-1];\nbreak;\ncase 26:\n /* console.warn('finat vs', $$[$0-1].nodes); */ this.$=$$[$0-1].nodes\nbreak;\ncase 27: case 28: case 29: case 30: case 31:\nthis.$=[];\nbreak;\ncase 32:\nthis.$=yy.addSubGraph($$[$0-6],$$[$0-1],$$[$0-4]);\nbreak;\ncase 33:\nthis.$=yy.addSubGraph($$[$0-3],$$[$0-1],$$[$0-3]);\nbreak;\ncase 34:\nthis.$=yy.addSubGraph(undefined,$$[$0-1],undefined);\nbreak;\ncase 38:\n /* console.warn('vs',$$[$0-2].stmt,$$[$0]); */ yy.addLink($$[$0-2].stmt,$$[$0],$$[$0-1]); this.$ = { stmt: $$[$0], nodes: $$[$0].concat($$[$0-2].nodes) } \nbreak;\ncase 39:\n /* console.warn('vs',$$[$0-3].stmt,$$[$0-1]); */ yy.addLink($$[$0-3].stmt,$$[$0-1],$$[$0-2]); this.$ = { stmt: $$[$0-1], nodes: $$[$0-1].concat($$[$0-3].nodes) } \nbreak;\ncase 40:\n/*console.warn('noda', $$[$0-1]);*/ this.$ = {stmt: $$[$0-1], nodes:$$[$0-1] }\nbreak;\ncase 41:\n /*console.warn('noda', $$[$0]);*/ this.$ = {stmt: $$[$0], nodes:$$[$0] }\nbreak;\ncase 42:\n /* console.warn('nod', $$[$0]); */ this.$ = [$$[$0]];\nbreak;\ncase 43:\n this.$ = $$[$0-4].concat($$[$0]); /* console.warn('pip', $$[$0-4][0], $$[$0], this.$); */ \nbreak;\ncase 44:\nthis.$ = [$$[$0-2]];yy.setClass($$[$0-2],$$[$0])\nbreak;\ncase 45:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'square');\nbreak;\ncase 46:\nthis.$ = $$[$0-5];yy.addVertex($$[$0-5],$$[$0-2],'circle');\nbreak;\ncase 47:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'ellipse');\nbreak;\ncase 48:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'stadium');\nbreak;\ncase 49:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'subroutine');\nbreak;\ncase 50:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'cylinder');\nbreak;\ncase 51:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'round');\nbreak;\ncase 52:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'diamond');\nbreak;\ncase 53:\nthis.$ = $$[$0-5];yy.addVertex($$[$0-5],$$[$0-2],'hexagon');\nbreak;\ncase 54:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'odd');\nbreak;\ncase 55:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'trapezoid');\nbreak;\ncase 56:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'inv_trapezoid');\nbreak;\ncase 57:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'lean_right');\nbreak;\ncase 58:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'lean_left');\nbreak;\ncase 59:\n /*console.warn('h: ', $$[$0]);*/this.$ = $$[$0];yy.addVertex($$[$0]);\nbreak;\ncase 60:\n$$[$0-1].text = $$[$0];this.$ = $$[$0-1];\nbreak;\ncase 61: case 62:\n$$[$0-2].text = $$[$0-1];this.$ = $$[$0-2];\nbreak;\ncase 63:\nthis.$ = $$[$0];\nbreak;\ncase 64:\nvar inf = yy.destructLink($$[$0], $$[$0-2]); this.$ = {\"type\":inf.type,\"stroke\":inf.stroke,\"text\":$$[$0-1]};\nbreak;\ncase 65:\nvar inf = yy.destructLink($$[$0]);this.$ = {\"type\":inf.type,\"stroke\":inf.stroke};\nbreak;\ncase 66:\nthis.$ = $$[$0-1];\nbreak;\ncase 68: case 82: case 128:\nthis.$=$$[$0-1]+''+$$[$0];\nbreak;\ncase 83: case 84:\nthis.$ = $$[$0-4];yy.addClass($$[$0-2],$$[$0]);\nbreak;\ncase 85:\nthis.$ = $$[$0-4];yy.setClass($$[$0-2], $$[$0]);\nbreak;\ncase 86:\nthis.$ = $$[$0-4];yy.setClickEvent($$[$0-2], $$[$0], undefined);\nbreak;\ncase 87:\nthis.$ = $$[$0-6];yy.setClickEvent($$[$0-4], $$[$0-2], $$[$0]) ;\nbreak;\ncase 88:\nthis.$ = $$[$0-4];yy.setLink($$[$0-2], $$[$0], undefined);\nbreak;\ncase 89:\nthis.$ = $$[$0-6];yy.setLink($$[$0-4], $$[$0-2], $$[$0] );\nbreak;\ncase 90:\nthis.$ = $$[$0-4];yy.addVertex($$[$0-2],undefined,undefined,$$[$0]);\nbreak;\ncase 91: case 93:\nthis.$ = $$[$0-4];yy.updateLink($$[$0-2],$$[$0]);\nbreak;\ncase 92:\nthis.$ = $$[$0-4];yy.updateLink([$$[$0-2]],$$[$0]);\nbreak;\ncase 94:\nthis.$ = $$[$0-8];yy.updateLinkInterpolate([$$[$0-6]],$$[$0-2]);yy.updateLink([$$[$0-6]],$$[$0]);\nbreak;\ncase 95:\nthis.$ = $$[$0-8];yy.updateLinkInterpolate($$[$0-6],$$[$0-2]);yy.updateLink($$[$0-6],$$[$0]);\nbreak;\ncase 96:\nthis.$ = $$[$0-6];yy.updateLinkInterpolate([$$[$0-4]],$$[$0]);\nbreak;\ncase 97:\nthis.$ = $$[$0-6];yy.updateLinkInterpolate($$[$0-4],$$[$0]);\nbreak;\ncase 98: case 100:\nthis.$ = [$$[$0]]\nbreak;\ncase 99: case 101:\n$$[$0-2].push($$[$0]);this.$ = $$[$0-2];\nbreak;\ncase 103:\nthis.$ = $$[$0-1] + $$[$0];\nbreak;\ncase 125:\nthis.$=$$[$0]\nbreak;\ncase 126:\nthis.$=$$[$0-1]+''+$$[$0]\nbreak;\ncase 131:\nthis.$='v';\nbreak;\ncase 132:\nthis.$='-';\nbreak;\n}\n},\ntable: [{3:1,4:2,9:$V0,10:$V1,12:$V2},{1:[3]},o($V3,$V4,{5:6}),{4:7,9:$V0,10:$V1,12:$V2},{4:8,9:$V0,10:$V1,12:$V2},{13:[1,9]},{1:[2,1],6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($V3,[2,9]),o($V3,[2,10]),{8:[1,48],9:[1,49],10:$Vu,14:47,17:50},o($Vv,[2,3]),o($Vv,[2,4]),o($Vv,[2,5]),o($Vv,[2,6]),o($Vv,[2,7]),o($Vv,[2,8]),{8:$Vw,9:$Vx,11:$Vy,20:52,31:53,54:57,57:[1,58],58:[1,59]},{8:$Vw,9:$Vx,11:$Vy,20:60},{8:$Vw,9:$Vx,11:$Vy,20:61},{8:$Vw,9:$Vx,11:$Vy,20:62},{8:$Vw,9:$Vx,11:$Vy,20:63},{8:$Vw,9:$Vx,11:$Vy,20:64},{8:$Vw,9:$Vx,10:[1,65],11:$Vy,20:66},o($Vz,[2,41],{17:67,10:$Vu}),{10:[1,68]},{10:[1,69]},{10:[1,70]},{10:[1,71]},{10:[1,72]},o($VA,[2,42],{35:[1,73]}),o($VB,[2,59],{91:84,28:[1,74],34:$Va,37:[1,75],39:[1,76],41:[1,77],43:[1,78],45:[1,79],47:[1,80],49:[1,81],50:[1,82],52:[1,83],68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt}),o($VC,[2,125]),o($VC,[2,146]),o($VC,[2,147]),o($VC,[2,148]),o($VC,[2,149]),o($VC,[2,150]),o($VC,[2,151]),o($VC,[2,152]),o($VC,[2,153]),o($VC,[2,154]),o($VC,[2,155]),o($VC,[2,156]),o($VC,[2,157]),o($VC,[2,158]),o($VC,[2,159]),o($VC,[2,160]),o($V3,[2,11]),o($V3,[2,17]),o($V3,[2,18]),{9:[1,85]},o($VD,[2,25],{17:86,10:$Vu}),o($Vv,[2,26]),{32:87,33:29,34:$Va,36:30,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($Vv,[2,35]),o($Vv,[2,36]),o($Vv,[2,37]),o($VE,[2,63],{55:88,56:[1,89],59:[1,90]}),{10:$VF,12:$VG,13:$VH,26:$VI,27:91,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o([34,56,59,68,78,79,82,83,84,86,87,93,94,95,96,97,98],[2,65]),o($Vv,[2,27]),o($Vv,[2,28]),o($Vv,[2,29]),o($Vv,[2,30]),o($Vv,[2,31]),{10:$VF,12:$VG,13:$VH,26:$VI,27:128,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($V91,$V4,{5:129}),o($Vz,[2,40],{34:$Va1}),{13:$Vb1,34:$VK,68:$Vc1,74:131,75:[1,132],78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{72:[1,138],76:139,78:[1,140]},{13:$Vb1,34:$VK,68:$Vc1,72:[1,141],74:142,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:143,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:144,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{34:$Va,36:145,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$VF,12:$VG,13:$VH,26:$VI,27:146,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:148,30:$VJ,34:$VK,37:[1,147],49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:149,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:150,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:151,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:152,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:153,30:$VJ,34:$VK,47:[1,154],49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:155,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:156,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:157,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VC,[2,126]),o($V3,[2,19]),o($VD,[2,24]),o($Vz,[2,38],{17:158,10:$Vu}),o($VE,[2,60],{10:[1,159]}),{10:[1,160]},{10:$VF,12:$VG,13:$VH,26:$VI,27:161,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,57:$VM,58:[1,162],60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($Ve1,[2,67]),o($Ve1,[2,69]),o($Ve1,[2,115]),o($Ve1,[2,116]),o($Ve1,[2,117]),o($Ve1,[2,118]),o($Ve1,[2,119]),o($Ve1,[2,120]),o($Ve1,[2,121]),o($Ve1,[2,122]),o($Ve1,[2,123]),o($Ve1,[2,124]),o($Ve1,[2,133]),o($Ve1,[2,134]),o($Ve1,[2,135]),o($Ve1,[2,136]),o($Ve1,[2,137]),o($Ve1,[2,138]),o($Ve1,[2,139]),o($Ve1,[2,140]),o($Ve1,[2,141]),o($Ve1,[2,142]),o($Ve1,[2,143]),o($Ve1,[2,144]),o($Ve1,[2,145]),o($Ve1,[2,70]),o($Ve1,[2,71]),o($Ve1,[2,72]),o($Ve1,[2,73]),o($Ve1,[2,74]),o($Ve1,[2,75]),o($Ve1,[2,76]),o($Ve1,[2,77]),o($Ve1,[2,78]),o($Ve1,[2,79]),o($Ve1,[2,80]),{8:$Vw,9:$Vx,10:$VF,11:$Vy,12:$VG,13:$VH,20:165,26:$VI,28:[1,164],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,166],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vu,17:167},{10:[1,168],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,170]},o($Vf1,[2,127]),o($Vf1,[2,129]),o($Vf1,[2,130]),o($Vf1,[2,131]),o($Vf1,[2,132]),{10:[1,171]},{10:[1,172],79:[1,173]},o($Vg1,[2,98]),{10:[1,174]},{10:[1,175],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,176],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,177],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VA,[2,44],{91:84,34:$Va,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt}),{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,178],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:179,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,38:[1,180],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,40:[1,181],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,42:[1,182],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,44:[1,183],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,46:[1,184],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,48:[1,185],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:186,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,187],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,51:[1,188],53:[1,189],57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,51:[1,191],53:[1,190],57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($Vz,[2,39],{34:$Va1}),o($VE,[2,62]),o($VE,[2,61]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,57:$VM,59:[1,192],60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VE,[2,64]),o($Ve1,[2,68]),{10:$VF,12:$VG,13:$VH,26:$VI,27:193,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($V91,$V4,{5:194}),o($Vv,[2,34]),{33:195,34:$Va,36:30,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vh1,63:$Vi1,73:196,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vf1,[2,128]),{10:$Vh1,63:$Vi1,73:210,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:211,75:$Vj1,77:[1,212],78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:213,75:$Vj1,77:[1,214],78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{78:[1,215]},{10:$Vh1,63:$Vi1,73:216,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:217,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{13:$Vb1,34:$VK,68:$Vc1,74:218,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,61:[1,220],68:$Vc1,74:219,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,45]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,38:[1,221],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,51]),o($VB,[2,47]),o($VB,[2,48]),o($VB,[2,49]),o($VB,[2,50]),o($VB,[2,52]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,48:[1,222],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,54]),o($VB,[2,55]),o($VB,[2,57]),o($VB,[2,56]),o($VB,[2,58]),o([10,34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],[2,66]),{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,223],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,224],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($VA,[2,43]),o($Vs1,[2,90],{79:$Vt1}),o($Vu1,[2,100],{81:226,10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1}),o($Vv1,[2,102]),o($Vv1,[2,104]),o($Vv1,[2,105]),o($Vv1,[2,106]),o($Vv1,[2,107]),o($Vv1,[2,108]),o($Vv1,[2,109]),o($Vv1,[2,110]),o($Vv1,[2,111]),o($Vv1,[2,112]),o($Vv1,[2,113]),o($Vv1,[2,114]),o($Vs1,[2,91],{79:$Vt1}),o($Vs1,[2,92],{79:$Vt1}),{10:[1,227]},o($Vs1,[2,93],{79:$Vt1}),{10:[1,228]},o($Vg1,[2,99]),o($Vs1,[2,83],{79:$Vt1}),o($Vs1,[2,84],{79:$Vt1}),o($Vs1,[2,85],{90:135,92:169,13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,86],{90:135,92:169,10:[1,229],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,88],{10:[1,230]}),{38:[1,231]},{48:[1,232]},{8:$Vw,9:$Vx,11:$Vy,20:233},o($Vv,[2,33]),{10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,80:234,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vv1,[2,103]),{13:$Vb1,34:$VK,68:$Vc1,74:235,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:236,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{61:[1,237]},{61:[1,238]},o($VB,[2,46]),o($VB,[2,53]),o($V91,$V4,{5:239}),o($Vu1,[2,101],{81:226,10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1}),o($Vs1,[2,96],{90:135,92:169,10:[1,240],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,97],{90:135,92:169,10:[1,241],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,87]),o($Vs1,[2,89]),{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,242],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vh1,63:$Vi1,73:243,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:244,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vv,[2,32]),o($Vs1,[2,94],{79:$Vt1}),o($Vs1,[2,95],{79:$Vt1})],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:this.begin(\"string\");\nbreak;\ncase 2:this.popState();\nbreak;\ncase 3:return \"STR\";\nbreak;\ncase 4:return 63;\nbreak;\ncase 5:return 72;\nbreak;\ncase 6:return 64;\nbreak;\ncase 7:return 77;\nbreak;\ncase 8:return 65;\nbreak;\ncase 9:return 66;\nbreak;\ncase 10:return 67;\nbreak;\ncase 11:if(yy.lex.firstGraph()){this.begin(\"dir\");} return 12;\nbreak;\ncase 12:if(yy.lex.firstGraph()){this.begin(\"dir\");} return 12;\nbreak;\ncase 13:return 26;\nbreak;\ncase 14:return 30;\nbreak;\ncase 15: this.popState(); return 13; \nbreak;\ncase 16: this.popState(); return 13; \nbreak;\ncase 17: this.popState(); return 13; \nbreak;\ncase 18: this.popState(); return 13; \nbreak;\ncase 19: this.popState(); return 13; \nbreak;\ncase 20: this.popState(); return 13; \nbreak;\ncase 21: this.popState(); return 13; \nbreak;\ncase 22: this.popState(); return 13; \nbreak;\ncase 23: this.popState(); return 13; \nbreak;\ncase 24: this.popState(); return 13; \nbreak;\ncase 25: return 78;\nbreak;\ncase 26:return 86;\nbreak;\ncase 27:return 35;\nbreak;\ncase 28:return 83;\nbreak;\ncase 29:return 34;\nbreak;\ncase 30:return 8;\nbreak;\ncase 31:return 79;\nbreak;\ncase 32:return 97;\nbreak;\ncase 33:return 58;\nbreak;\ncase 34:return 58;\nbreak;\ncase 35:return 58;\nbreak;\ncase 36:return 58;\nbreak;\ncase 37:return 58;\nbreak;\ncase 38:return 58;\nbreak;\ncase 39:return 58;\nbreak;\ncase 40:return 58;\nbreak;\ncase 41:return 58;\nbreak;\ncase 42:return 58;\nbreak;\ncase 43:return 58;\nbreak;\ncase 44:return 58;\nbreak;\ncase 45:return 58;\nbreak;\ncase 46:return 58;\nbreak;\ncase 47:return 58;\nbreak;\ncase 48:return 58;\nbreak;\ncase 49:return 58;\nbreak;\ncase 50:return 58;\nbreak;\ncase 51:return 58;\nbreak;\ncase 52:return 58;\nbreak;\ncase 53:return 58;\nbreak;\ncase 54:return 58;\nbreak;\ncase 55:return 58;\nbreak;\ncase 56:return 58;\nbreak;\ncase 57:return 58;\nbreak;\ncase 58:return 58;\nbreak;\ncase 59:return 58;\nbreak;\ncase 60:return 58;\nbreak;\ncase 61:return 57;\nbreak;\ncase 62:return 57;\nbreak;\ncase 63:return 57;\nbreak;\ncase 64:return 57;\nbreak;\ncase 65:return 57;\nbreak;\ncase 66:return 57;\nbreak;\ncase 67:return 57;\nbreak;\ncase 68:return 57;\nbreak;\ncase 69:return 57;\nbreak;\ncase 70:return 57;\nbreak;\ncase 71:return 57;\nbreak;\ncase 72:return 57;\nbreak;\ncase 73:return 39;\nbreak;\ncase 74:return 40;\nbreak;\ncase 75:return 41;\nbreak;\ncase 76:return 42;\nbreak;\ncase 77:return 43;\nbreak;\ncase 78:return 44;\nbreak;\ncase 79:return 45;\nbreak;\ncase 80:return 46;\nbreak;\ncase 81:return 84;\nbreak;\ncase 82:return 87;\nbreak;\ncase 83:return 98;\nbreak;\ncase 84:return 95;\nbreak;\ncase 85:return 88;\nbreak;\ncase 86:return 96;\nbreak;\ncase 87:return 96;\nbreak;\ncase 88:return 89;\nbreak;\ncase 89:return 49;\nbreak;\ncase 90:return 69;\nbreak;\ncase 91:return 'SEP';\nbreak;\ncase 92:return 68;\nbreak;\ncase 93:return 82;\nbreak;\ncase 94:return 51;\nbreak;\ncase 95:return 50;\nbreak;\ncase 96:return 53;\nbreak;\ncase 97:return 52;\nbreak;\ncase 98:return 93;\nbreak;\ncase 99:return 94;\nbreak;\ncase 100:return 59;\nbreak;\ncase 101:return 37;\nbreak;\ncase 102:return 38;\nbreak;\ncase 103:return 28;\nbreak;\ncase 104:return 29;\nbreak;\ncase 105:return 47\nbreak;\ncase 106:return 48\nbreak;\ncase 107:return 104;\nbreak;\ncase 108:return 9;\nbreak;\ncase 109:return 10;\nbreak;\ncase 110:return 11;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*\\n*)/,/^(?:[\"])/,/^(?:[\"])/,/^(?:[^\"]*)/,/^(?:style\\b)/,/^(?:default\\b)/,/^(?:linkStyle\\b)/,/^(?:interpolate\\b)/,/^(?:classDef\\b)/,/^(?:class\\b)/,/^(?:click\\b)/,/^(?:graph\\b)/,/^(?:flowchart\\b)/,/^(?:subgraph\\b)/,/^(?:end\\b\\s*)/,/^(?:\\s*LR\\b)/,/^(?:\\s*RL\\b)/,/^(?:\\s*TB\\b)/,/^(?:\\s*BT\\b)/,/^(?:\\s*TD\\b)/,/^(?:\\s*BR\\b)/,/^(?:\\s*<)/,/^(?:\\s*>)/,/^(?:\\s*\\^)/,/^(?:\\s*v\\b)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\\*)/,/^(?:\\s*--[x]\\s*)/,/^(?:\\s*-->\\s*)/,/^(?:\\s*<-->\\s*)/,/^(?:\\s*[x]--[x]\\s*)/,/^(?:\\s*[o]--[o]\\s*)/,/^(?:\\s*[o]\\.-[o]\\s*)/,/^(?:\\s*<==>\\s*)/,/^(?:\\s*[o]==[o]\\s*)/,/^(?:\\s*[x]==[x]\\s*)/,/^(?:\\s*[x].-[x]\\s*)/,/^(?:\\s*[x]-\\.-[x]\\s*)/,/^(?:\\s*<\\.->\\s*)/,/^(?:\\s*<-\\.->\\s*)/,/^(?:\\s*[o]-\\.-[o]\\s*)/,/^(?:\\s*--[o]\\s*)/,/^(?:\\s*---\\s*)/,/^(?:\\s*-\\.-[x]\\s*)/,/^(?:\\s*-\\.->\\s*)/,/^(?:\\s*-\\.-[o]\\s*)/,/^(?:\\s*-\\.-\\s*)/,/^(?:\\s*.-[x]\\s*)/,/^(?:\\s*\\.->\\s*)/,/^(?:\\s*\\.-[o]\\s*)/,/^(?:\\s*\\.-\\s*)/,/^(?:\\s*==[x]\\s*)/,/^(?:\\s*==>\\s*)/,/^(?:\\s*==[o]\\s*)/,/^(?:\\s*==[\\=]\\s*)/,/^(?:\\s*<--\\s*)/,/^(?:\\s*[x]--\\s*)/,/^(?:\\s*[o]--\\s*)/,/^(?:\\s*<-\\.\\s*)/,/^(?:\\s*[x]-\\.\\s*)/,/^(?:\\s*[o]-\\.\\s*)/,/^(?:\\s*<==\\s*)/,/^(?:\\s*[x]==\\s*)/,/^(?:\\s*[o]==\\s*)/,/^(?:\\s*--\\s*)/,/^(?:\\s*-\\.\\s*)/,/^(?:\\s*==\\s*)/,/^(?:\\(-)/,/^(?:-\\))/,/^(?:\\(\\[)/,/^(?:\\]\\))/,/^(?:\\[\\[)/,/^(?:\\]\\])/,/^(?:\\[\\()/,/^(?:\\)\\])/,/^(?:-)/,/^(?:\\.)/,/^(?:[\\_])/,/^(?:\\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\\^)/,/^(?:\\\\\\|)/,/^(?:v\\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\\\\])/,/^(?:\\[\\/)/,/^(?:\\/\\])/,/^(?:\\[\\\\)/,/^(?:[!\"#$%&'*+,-.`?\\\\_/])/,/^(?:[\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6]|[\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377]|[\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5]|[\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA]|[\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE]|[\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA]|[\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0]|[\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977]|[\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2]|[\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A]|[\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39]|[\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8]|[\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C]|[\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C]|[\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99]|[\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0]|[\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D]|[\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3]|[\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10]|[\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1]|[\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81]|[\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3]|[\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6]|[\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A]|[\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081]|[\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D]|[\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0]|[\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310]|[\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C]|[\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711]|[\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7]|[\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C]|[\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16]|[\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF]|[\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC]|[\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D]|[\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D]|[\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3]|[\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F]|[\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128]|[\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184]|[\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3]|[\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6]|[\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE]|[\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C]|[\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D]|[\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC]|[\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B]|[\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788]|[\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805]|[\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB]|[\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28]|[\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5]|[\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4]|[\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E]|[\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D]|[\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36]|[\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D]|[\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC]|[\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF]|[\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC])/,/^(?:\\|)/,/^(?:\\()/,/^(?:\\))/,/^(?:\\[)/,/^(?:\\])/,/^(?:\\{)/,/^(?:\\})/,/^(?:\")/,/^(?:(\\r|\\n|\\r\\n)+)/,/^(?:\\s)/,/^(?:$)/],\nconditions: {\"vertex\":{\"rules\":[],\"inclusive\":false},\"dir\":{\"rules\":[15,16,17,18,19,20,21,22,23,24],\"inclusive\":false},\"string\":{\"rules\":[2,3],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,4,5,6,7,8,9,10,11,12,13,14,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 11, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "name": "./src/diagrams/gantt/parser/gantt.jison", "index": 31, "index2": 29, "size": 25297, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/gantt", "loc": "2:0-40" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "5:0-6" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "25:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "26:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/parser/gantt", "loc": "29:0-56" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "38:18-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "84:26-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/parser/gantt", "loc": "98:15-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "281:113-119" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,8,10,11,12,13,14,15,16,17,19,21],$V1=[1,9],$V2=[1,10],$V3=[1,11],$V4=[1,12],$V5=[1,13],$V6=[1,14],$V7=[1,15],$V8=[1,17],$V9=[1,18];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"gantt\":4,\"document\":5,\"EOF\":6,\"line\":7,\"SPACE\":8,\"statement\":9,\"NL\":10,\"dateFormat\":11,\"inclusiveEndDates\":12,\"axisFormat\":13,\"excludes\":14,\"todayMarker\":15,\"title\":16,\"section\":17,\"clickStatement\":18,\"taskTxt\":19,\"taskData\":20,\"click\":21,\"callbackname\":22,\"callbackargs\":23,\"href\":24,\"clickStatementDebug\":25,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"gantt\",6:\"EOF\",8:\"SPACE\",10:\"NL\",11:\"dateFormat\",12:\"inclusiveEndDates\",13:\"axisFormat\",14:\"excludes\",15:\"todayMarker\",16:\"title\",17:\"section\",19:\"taskTxt\",20:\"taskData\",21:\"click\",22:\"callbackname\",23:\"callbackargs\",24:\"href\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[18,2],[18,3],[18,3],[18,4],[18,3],[18,4],[18,2],[25,2],[25,3],[25,3],[25,4],[25,3],[25,4],[25,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\n this.$ = [] \nbreak;\ncase 3:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 4: case 5:\n this.$ = $$[$0] \nbreak;\ncase 6: case 7:\n this.$=[];\nbreak;\ncase 8:\nyy.setDateFormat($$[$0].substr(11));this.$=$$[$0].substr(11);\nbreak;\ncase 9:\nyy.enableInclusiveEndDates();this.$=$$[$0].substr(18);\nbreak;\ncase 10:\nyy.setAxisFormat($$[$0].substr(11));this.$=$$[$0].substr(11);\nbreak;\ncase 11:\nyy.setExcludes($$[$0].substr(9));this.$=$$[$0].substr(9);\nbreak;\ncase 12:\nyy.setTodayMarker($$[$0].substr(12));this.$=$$[$0].substr(12);\nbreak;\ncase 13:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\ncase 14:\nyy.addSection($$[$0].substr(8));this.$=$$[$0].substr(8);\nbreak;\ncase 16:\nyy.addTask($$[$0-1],$$[$0]);this.$='task';\nbreak;\ncase 17:\nthis.$ = $$[$0-1];yy.setClickEvent($$[$0-1], $$[$0], null);\nbreak;\ncase 18:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\ncase 19:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0-1], null);yy.setLink($$[$0-2],$$[$0]);\nbreak;\ncase 20:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-3], $$[$0-2], $$[$0-1]);yy.setLink($$[$0-3],$$[$0]);\nbreak;\ncase 21:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0], null);yy.setLink($$[$0-2],$$[$0-1]);\nbreak;\ncase 22:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-3], $$[$0-1], $$[$0]);yy.setLink($$[$0-3],$$[$0-2]);\nbreak;\ncase 23:\nthis.$ = $$[$0-1];yy.setLink($$[$0-1], $$[$0]);\nbreak;\ncase 24: case 30:\nthis.$=$$[$0-1] + ' ' + $$[$0];\nbreak;\ncase 25: case 26: case 28:\nthis.$=$$[$0-2] + ' ' + $$[$0-1] + ' ' + $$[$0];\nbreak;\ncase 27: case 29:\nthis.$=$$[$0-3] + ' ' + $$[$0-2] + ' ' + $$[$0-1] + ' ' + $$[$0];\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:$V1,12:$V2,13:$V3,14:$V4,15:$V5,16:$V6,17:$V7,18:16,19:$V8,21:$V9},o($V0,[2,7],{1:[2,1]}),o($V0,[2,3]),{9:19,11:$V1,12:$V2,13:$V3,14:$V4,15:$V5,16:$V6,17:$V7,18:16,19:$V8,21:$V9},o($V0,[2,5]),o($V0,[2,6]),o($V0,[2,8]),o($V0,[2,9]),o($V0,[2,10]),o($V0,[2,11]),o($V0,[2,12]),o($V0,[2,13]),o($V0,[2,14]),o($V0,[2,15]),{20:[1,20]},{22:[1,21],24:[1,22]},o($V0,[2,4]),o($V0,[2,16]),o($V0,[2,17],{23:[1,23],24:[1,24]}),o($V0,[2,23],{22:[1,25]}),o($V0,[2,18],{24:[1,26]}),o($V0,[2,19]),o($V0,[2,21],{23:[1,27]}),o($V0,[2,20]),o($V0,[2,22])],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 10;\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:this.begin(\"href\");\nbreak;\ncase 5:this.popState();\nbreak;\ncase 6:return 24;\nbreak;\ncase 7:this.begin(\"callbackname\");\nbreak;\ncase 8:this.popState();\nbreak;\ncase 9:this.popState(); this.begin(\"callbackargs\");\nbreak;\ncase 10:return 22;\nbreak;\ncase 11:this.popState();\nbreak;\ncase 12:return 23;\nbreak;\ncase 13:this.begin(\"click\");\nbreak;\ncase 14:this.popState();\nbreak;\ncase 15:return 21;\nbreak;\ncase 16:return 4;\nbreak;\ncase 17:return 11;\nbreak;\ncase 18:return 12;\nbreak;\ncase 19:return 13;\nbreak;\ncase 20:return 14;\nbreak;\ncase 21:return 15;\nbreak;\ncase 22:return 'date';\nbreak;\ncase 23:return 16;\nbreak;\ncase 24:return 17;\nbreak;\ncase 25:return 19;\nbreak;\ncase 26:return 20;\nbreak;\ncase 27:return ':';\nbreak;\ncase 28:return 6;\nbreak;\ncase 29:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:href[\\s]+[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:call[\\s]+)/i,/^(?:\\([\\s]*\\))/i,/^(?:\\()/i,/^(?:[^(]*)/i,/^(?:\\))/i,/^(?:[^)]*)/i,/^(?:click[\\s]+)/i,/^(?:[\\s\\n])/i,/^(?:[^\\s\\n]*)/i,/^(?:gantt\\b)/i,/^(?:dateFormat\\s[^#\\n;]+)/i,/^(?:inclusiveEndDates\\b)/i,/^(?:axisFormat\\s[^#\\n;]+)/i,/^(?:excludes\\s[^#\\n;]+)/i,/^(?:todayMarker\\s[^\\n;]+)/i,/^(?:\\d\\d\\d\\d-\\d\\d-\\d\\d\\b)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:section\\s[^#:\\n;]+)/i,/^(?:[^#:\\n;]+)/i,/^(?::[^#\\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"callbackargs\":{\"rules\":[11,12],\"inclusive\":false},\"callbackname\":{\"rules\":[8,9,10],\"inclusive\":false},\"href\":{\"rules\":[5,6],\"inclusive\":false},\"click\":{\"rules\":[14,15],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,7,13,16,17,18,19,20,21,22,23,24,25,26,27,28,29],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 12, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "name": "./src/diagrams/user-journey/parser/journey.jison", "index": 43, "index2": 41, "size": 21995, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/journey", "loc": "2:0-42" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "5:0-6" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/parser/journey", "loc": "51:0-67" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "71:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "72:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "77:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "78:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "79:19-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/parser/journey", "loc": "137:15-28" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,8,10,11,12,13],$V1=[1,9],$V2=[1,10],$V3=[1,11];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"journey\":4,\"document\":5,\"EOF\":6,\"line\":7,\"SPACE\":8,\"statement\":9,\"NL\":10,\"title\":11,\"section\":12,\"taskName\":13,\"taskData\":14,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"journey\",6:\"EOF\",8:\"SPACE\",10:\"NL\",11:\"title\",12:\"section\",13:\"taskName\",14:\"taskData\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\n this.$ = [] \nbreak;\ncase 3:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 4: case 5:\n this.$ = $$[$0] \nbreak;\ncase 6: case 7:\n this.$=[];\nbreak;\ncase 8:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\ncase 9:\nyy.addSection($$[$0].substr(8));this.$=$$[$0].substr(8);\nbreak;\ncase 10:\nyy.addTask($$[$0-1], $$[$0]);this.$='task';\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:$V1,12:$V2,13:$V3},o($V0,[2,7],{1:[2,1]}),o($V0,[2,3]),{9:12,11:$V1,12:$V2,13:$V3},o($V0,[2,5]),o($V0,[2,6]),o($V0,[2,8]),o($V0,[2,9]),{14:[1,13]},o($V0,[2,4]),o($V0,[2,10])],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 10;\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:return 4;\nbreak;\ncase 5:return 11;\nbreak;\ncase 6:return 12;\nbreak;\ncase 7:return 13;\nbreak;\ncase 8:return 14;\nbreak;\ncase 9:return ':';\nbreak;\ncase 10:return 6;\nbreak;\ncase 11:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:journey\\b)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:section\\s[^#:\\n;]+)/i,/^(?:[^#:\\n;]+)/i,/^(?::[^#\\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 13, "identifier": "external \"dagre\"", "name": "external \"dagre\"", "index": 53, "index2": 49, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/class/classRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1802, "building": 543, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "1:0-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "2:0-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "2:0-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "5:0-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "91:2-7" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "98:2-7" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "201:2-7" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "243:2-7" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3 }, { "id": 14, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/package.json", "name": "./package.json", "index": 79, "index2": 77, "size": 3186, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "../package.json", "loc": "17:0-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "365:35-38" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "371:34-37" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "376:33-36" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "381:38-41" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "386:27-30" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "543:50-53" } ], "usedExports": [ "default" ], "providedExports": [ "name", "version", "description", "main", "keywords", "scripts", "repository", "author", "license", "standard", "dependencies", "devDependencies", "files", "yarn-upgrade-all", "sideEffects", "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "{\n \"name\": \"mermaid\",\n \"version\": \"8.6.0\",\n \"description\": \"Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.\",\n \"main\": \"dist/mermaid.core.js\",\n \"keywords\": [\n \"diagram\",\n \"markdown\",\n \"flowchart\",\n \"sequence diagram\",\n \"gantt\",\n \"class diagram\",\n \"git graph\"\n ],\n \"scripts\": {\n \"build:development\": \"webpack --progress --colors\",\n \"build:production\": \"yarn build:development -p --config webpack.config.prod.babel.js\",\n \"build\": \"yarn build:development && yarn build:production\",\n \"postbuild\": \"documentation build src/mermaidAPI.js src/config.js --shallow -f md --markdown-toc false -o docs/Setup.md\",\n \"build:watch\": \"yarn build --watch\",\n \"minify\": \"minify ./dist/mermaid.js > ./dist/mermaid.min.js\",\n \"release\": \"yarn build\",\n \"lint\": \"eslint src\",\n \"e2e:depr\": \"yarn lint && jest e2e --config e2e/jest.config.js\",\n \"cypress\": \"percy exec -- cypress run\",\n \"e2e\": \"start-server-and-test dev http://localhost:9000/ cypress\",\n \"e2e-upd\": \"yarn lint && jest e2e -u --config e2e/jest.config.js\",\n \"dev\": \"webpack-dev-server --config webpack.config.e2e.js\",\n \"test\": \"yarn lint && jest src/.*\",\n \"test:watch\": \"jest --watch src\",\n \"prepublishOnly\": \"yarn build && yarn test && yarn e2e\",\n \"prepush\": \"yarn test\",\n \"prepare\": \"yarn build\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/knsv/mermaid\"\n },\n \"author\": \"Knut Sveidqvist\",\n \"license\": \"MIT\",\n \"standard\": {\n \"ignore\": [\n \"**/parser/*.js\",\n \"dist/**/*.js\",\n \"cypress/**/*.js\"\n ],\n \"globals\": [\n \"page\"\n ]\n },\n \"dependencies\": {\n \"@braintree/sanitize-url\": \"^3.1.0\",\n \"crypto-random-string\": \"^3.0.1\",\n \"d3\": \"^5.7.0\",\n \"dagre\": \"^0.8.4\",\n \"dagre-d3\": \"^0.6.4\",\n \"entity-decode\": \"^2.0.2\",\n \"graphlib\": \"^2.1.7\",\n \"he\": \"^1.2.0\",\n \"minify\": \"^4.1.1\",\n \"moment-mini\": \"^2.22.1\",\n \"scope-css\": \"^1.2.1\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.2.2\",\n \"@babel/preset-env\": \"^7.8.4\",\n \"@babel/register\": \"^7.0.0\",\n \"@percy/cypress\": \"*\",\n \"babel-core\": \"7.0.0-bridge.0\",\n \"babel-jest\": \"^24.9.0\",\n \"babel-loader\": \"^8.0.4\",\n \"coveralls\": \"^3.0.2\",\n \"css-loader\": \"^2.0.1\",\n \"css-to-string-loader\": \"^0.1.3\",\n \"cypress\": \"4.0.1\",\n \"documentation\": \"^12.0.1\",\n \"eslint\": \"^6.3.0\",\n \"eslint-config-prettier\": \"^6.3.0\",\n \"eslint-plugin-prettier\": \"^3.1.0\",\n \"husky\": \"^1.2.1\",\n \"identity-obj-proxy\": \"^3.0.0\",\n \"jest\": \"^24.9.0\",\n \"jison\": \"^0.4.18\",\n \"moment\": \"^2.23.0\",\n \"node-sass\": \"^4.12.0\",\n \"prettier\": \"^1.18.2\",\n \"puppeteer\": \"^1.17.0\",\n \"sass-loader\": \"^7.1.0\",\n \"start-server-and-test\": \"^1.10.6\",\n \"terser-webpack-plugin\": \"^2.2.2\",\n \"webpack\": \"^4.41.2\",\n \"webpack-bundle-analyzer\": \"^3.7.0\",\n \"webpack-cli\": \"^3.1.2\",\n \"webpack-dev-server\": \"^3.4.1\",\n \"webpack-node-externals\": \"^1.7.2\",\n \"yarn-upgrade-all\": \"^0.5.0\"\n },\n \"files\": [\n \"dist\"\n ],\n \"yarn-upgrade-all\": {\n \"ignore\": [\n \"babel-core\"\n ]\n },\n \"sideEffects\": [\n \"**/*.css\",\n \"**/*.scss\"\n ]\n}\n" }, { "id": 15, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "name": "./src/diagrams/class/parser/classDiagram.jison", "index": 33, "index2": 31, "size": 32826, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/classDiagram", "loc": "6:0-47" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "8:0-6" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/parser/classDiagram", "loc": "32:0-63" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "59:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "60:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/class/parser/classDiagram", "loc": "103:15-26" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,13],$V1=[1,16],$V2=[1,14],$V3=[1,15],$V4=[1,17],$V5=[1,18],$V6=[1,20],$V7=[1,21],$V8=[1,22],$V9=[6,8],$Va=[1,31],$Vb=[1,32],$Vc=[1,33],$Vd=[1,34],$Ve=[1,35],$Vf=[1,36],$Vg=[6,8,14,20,28,31,32,33,34,35,36],$Vh=[6,8,12,14,20,24,28,31,32,33,34,35,36,52,53,54],$Vi=[28,52,53,54],$Vj=[28,35,36,52,53,54],$Vk=[28,31,32,33,34,52,53,54],$Vl=[6,8,14],$Vm=[1,59];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"mermaidDoc\":3,\"graphConfig\":4,\"CLASS_DIAGRAM\":5,\"NEWLINE\":6,\"statements\":7,\"EOF\":8,\"statement\":9,\"className\":10,\"alphaNumToken\":11,\"GENERICTYPE\":12,\"relationStatement\":13,\"LABEL\":14,\"classStatement\":15,\"methodStatement\":16,\"annotationStatement\":17,\"clickStatement\":18,\"CLASS\":19,\"STRUCT_START\":20,\"members\":21,\"STRUCT_STOP\":22,\"ANNOTATION_START\":23,\"ANNOTATION_END\":24,\"MEMBER\":25,\"SEPARATOR\":26,\"relation\":27,\"STR\":28,\"relationType\":29,\"lineType\":30,\"AGGREGATION\":31,\"EXTENSION\":32,\"COMPOSITION\":33,\"DEPENDENCY\":34,\"LINE\":35,\"DOTTED_LINE\":36,\"CALLBACK\":37,\"LINK\":38,\"commentToken\":39,\"textToken\":40,\"graphCodeTokens\":41,\"textNoTagsToken\":42,\"TAGSTART\":43,\"TAGEND\":44,\"==\":45,\"--\":46,\"PCT\":47,\"DEFAULT\":48,\"SPACE\":49,\"MINUS\":50,\"keywords\":51,\"UNICODE_TEXT\":52,\"NUM\":53,\"ALPHA\":54,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",5:\"CLASS_DIAGRAM\",6:\"NEWLINE\",8:\"EOF\",12:\"GENERICTYPE\",14:\"LABEL\",19:\"CLASS\",20:\"STRUCT_START\",22:\"STRUCT_STOP\",23:\"ANNOTATION_START\",24:\"ANNOTATION_END\",25:\"MEMBER\",26:\"SEPARATOR\",28:\"STR\",31:\"AGGREGATION\",32:\"EXTENSION\",33:\"COMPOSITION\",34:\"DEPENDENCY\",35:\"LINE\",36:\"DOTTED_LINE\",37:\"CALLBACK\",38:\"LINK\",41:\"graphCodeTokens\",43:\"TAGSTART\",44:\"TAGEND\",45:\"==\",46:\"--\",47:\"PCT\",48:\"DEFAULT\",49:\"SPACE\",50:\"MINUS\",51:\"keywords\",52:\"UNICODE_TEXT\",53:\"NUM\",54:\"ALPHA\"},\nproductions_: [0,[3,1],[4,4],[7,1],[7,2],[7,3],[10,2],[10,1],[10,3],[10,2],[9,1],[9,2],[9,1],[9,1],[9,1],[9,1],[15,2],[15,5],[17,4],[21,1],[21,2],[16,1],[16,2],[16,1],[16,1],[13,3],[13,4],[13,4],[13,5],[27,3],[27,2],[27,2],[27,1],[29,1],[29,1],[29,1],[29,1],[30,1],[30,1],[18,3],[18,4],[18,3],[18,4],[39,1],[39,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[42,1],[42,1],[42,1],[42,1],[11,1],[11,1],[11,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 6:\n this.$=$$[$0-1]+$$[$0]; \nbreak;\ncase 7:\n this.$=$$[$0]; \nbreak;\ncase 8:\n this.$=$$[$0-2]+'~'+$$[$0-1]+$$[$0]; \nbreak;\ncase 9:\n this.$=$$[$0-1]+'~'+$$[$0]; \nbreak;\ncase 10:\n yy.addRelation($$[$0]); \nbreak;\ncase 11:\n $$[$0-1].title = yy.cleanupLabel($$[$0]); yy.addRelation($$[$0-1]); \nbreak;\ncase 16:\nyy.addClass($$[$0]);\nbreak;\ncase 17:\n/*console.log($$[$0-3],JSON.stringify($$[$0-1]));*/yy.addClass($$[$0-3]);yy.addMembers($$[$0-3],$$[$0-1]);\nbreak;\ncase 18:\n yy.addAnnotation($$[$0],$$[$0-2]); \nbreak;\ncase 19:\n this.$ = [$$[$0]]; \nbreak;\ncase 20:\n $$[$0].push($$[$0-1]);this.$=$$[$0];\nbreak;\ncase 21:\n/*console.log('Rel found',$$[$0]);*/\nbreak;\ncase 22:\nyy.addMember($$[$0-1],yy.cleanupLabel($$[$0]));\nbreak;\ncase 23:\n/*console.warn('Member',$$[$0]);*/\nbreak;\ncase 24:\n/*console.log('sep found',$$[$0]);*/\nbreak;\ncase 25:\n this.$ = {'id1':$$[$0-2],'id2':$$[$0], relation:$$[$0-1], relationTitle1:'none', relationTitle2:'none'}; \nbreak;\ncase 26:\n this.$ = {id1:$$[$0-3], id2:$$[$0], relation:$$[$0-1], relationTitle1:$$[$0-2], relationTitle2:'none'}\nbreak;\ncase 27:\n this.$ = {id1:$$[$0-3], id2:$$[$0], relation:$$[$0-2], relationTitle1:'none', relationTitle2:$$[$0-1]}; \nbreak;\ncase 28:\n this.$ = {id1:$$[$0-4], id2:$$[$0], relation:$$[$0-2], relationTitle1:$$[$0-3], relationTitle2:$$[$0-1]} \nbreak;\ncase 29:\n this.$={type1:$$[$0-2],type2:$$[$0],lineType:$$[$0-1]}; \nbreak;\ncase 30:\n this.$={type1:'none',type2:$$[$0],lineType:$$[$0-1]}; \nbreak;\ncase 31:\n this.$={type1:$$[$0-1],type2:'none',lineType:$$[$0]}; \nbreak;\ncase 32:\n this.$={type1:'none',type2:'none',lineType:$$[$0]}; \nbreak;\ncase 33:\n this.$=yy.relationType.AGGREGATION;\nbreak;\ncase 34:\n this.$=yy.relationType.EXTENSION;\nbreak;\ncase 35:\n this.$=yy.relationType.COMPOSITION;\nbreak;\ncase 36:\n this.$=yy.relationType.DEPENDENCY;\nbreak;\ncase 37:\nthis.$=yy.lineType.LINE;\nbreak;\ncase 38:\nthis.$=yy.lineType.DOTTED_LINE;\nbreak;\ncase 39:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-1], $$[$0], undefined);\nbreak;\ncase 40:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\ncase 41:\nthis.$ = $$[$0-2];yy.setLink($$[$0-1], $$[$0], undefined);\nbreak;\ncase 42:\nthis.$ = $$[$0-3];yy.setLink($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\n}\n},\ntable: [{3:1,4:2,5:[1,3]},{1:[3]},{1:[2,1]},{6:[1,4]},{7:5,9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:$V0,23:$V1,25:$V2,26:$V3,37:$V4,38:$V5,52:$V6,53:$V7,54:$V8},{8:[1,23]},{6:[1,24],8:[2,3]},o($V9,[2,10],{14:[1,25]}),o($V9,[2,12]),o($V9,[2,13]),o($V9,[2,14]),o($V9,[2,15]),o($V9,[2,21],{27:26,29:29,30:30,14:[1,28],28:[1,27],31:$Va,32:$Vb,33:$Vc,34:$Vd,35:$Ve,36:$Vf}),{10:37,11:19,52:$V6,53:$V7,54:$V8},o($V9,[2,23]),o($V9,[2,24]),{11:38,52:$V6,53:$V7,54:$V8},{10:39,11:19,52:$V6,53:$V7,54:$V8},{10:40,11:19,52:$V6,53:$V7,54:$V8},o($Vg,[2,7],{11:19,10:41,12:[1,42],52:$V6,53:$V7,54:$V8}),o($Vh,[2,56]),o($Vh,[2,57]),o($Vh,[2,58]),{1:[2,2]},{7:43,8:[2,4],9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:$V0,23:$V1,25:$V2,26:$V3,37:$V4,38:$V5,52:$V6,53:$V7,54:$V8},o($V9,[2,11]),{10:44,11:19,28:[1,45],52:$V6,53:$V7,54:$V8},{27:46,29:29,30:30,31:$Va,32:$Vb,33:$Vc,34:$Vd,35:$Ve,36:$Vf},o($V9,[2,22]),{30:47,35:$Ve,36:$Vf},o($Vi,[2,32],{29:48,31:$Va,32:$Vb,33:$Vc,34:$Vd}),o($Vj,[2,33]),o($Vj,[2,34]),o($Vj,[2,35]),o($Vj,[2,36]),o($Vk,[2,37]),o($Vk,[2,38]),o($V9,[2,16],{20:[1,49]}),{24:[1,50]},{28:[1,51]},{28:[1,52]},o($Vg,[2,6]),o($Vg,[2,9],{11:19,10:53,52:$V6,53:$V7,54:$V8}),{8:[2,5]},o($Vl,[2,25]),{10:54,11:19,52:$V6,53:$V7,54:$V8},{10:55,11:19,28:[1,56],52:$V6,53:$V7,54:$V8},o($Vi,[2,31],{29:57,31:$Va,32:$Vb,33:$Vc,34:$Vd}),o($Vi,[2,30]),{21:58,25:$Vm},{10:60,11:19,52:$V6,53:$V7,54:$V8},o($V9,[2,39],{28:[1,61]}),o($V9,[2,41],{28:[1,62]}),o($Vg,[2,8]),o($Vl,[2,27]),o($Vl,[2,26]),{10:63,11:19,52:$V6,53:$V7,54:$V8},o($Vi,[2,29]),{22:[1,64]},{21:65,22:[2,19],25:$Vm},o($V9,[2,18]),o($V9,[2,40]),o($V9,[2,42]),o($Vl,[2,28]),o($V9,[2,17]),{22:[2,20]}],\ndefaultActions: {2:[2,1],23:[2,2],43:[2,5],65:[2,20]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:return 6;\nbreak;\ncase 2:/* skip whitespace */\nbreak;\ncase 3:return 5;\nbreak;\ncase 4: this.begin(\"struct\"); /*console.log('Starting struct');*/return 20;\nbreak;\ncase 5:return \"EOF_IN_STRUCT\";\nbreak;\ncase 6:return \"OPEN_IN_STRUCT\";\nbreak;\ncase 7: /*console.log('Ending struct');*/this.popState(); return 22;\nbreak;\ncase 8:/* nothing */\nbreak;\ncase 9: /*console.log('lex-member: ' + yy_.yytext);*/ return \"MEMBER\";\nbreak;\ncase 10:return 19;\nbreak;\ncase 11:return 37;\nbreak;\ncase 12:return 38;\nbreak;\ncase 13:return 23;\nbreak;\ncase 14:return 24;\nbreak;\ncase 15:this.begin(\"generic\");\nbreak;\ncase 16:this.popState();\nbreak;\ncase 17:return \"GENERICTYPE\";\nbreak;\ncase 18:this.begin(\"string\");\nbreak;\ncase 19:this.popState();\nbreak;\ncase 20:return \"STR\";\nbreak;\ncase 21:return 32;\nbreak;\ncase 22:return 32;\nbreak;\ncase 23:return 34;\nbreak;\ncase 24:return 34;\nbreak;\ncase 25:return 33;\nbreak;\ncase 26:return 31;\nbreak;\ncase 27:return 35;\nbreak;\ncase 28:return 36;\nbreak;\ncase 29:return 14;\nbreak;\ncase 30:return 50;\nbreak;\ncase 31:return 'DOT';\nbreak;\ncase 32:return 'PLUS';\nbreak;\ncase 33:return 47;\nbreak;\ncase 34:return 'EQUALS';\nbreak;\ncase 35:return 'EQUALS';\nbreak;\ncase 36:return 54;\nbreak;\ncase 37:return 'PUNCTUATION';\nbreak;\ncase 38:return 53;\nbreak;\ncase 39:return 52;\nbreak;\ncase 40:return 49;\nbreak;\ncase 41:return 8;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*\\n*)/,/^(?:\\n+)/,/^(?:\\s+)/,/^(?:classDiagram\\b)/,/^(?:[\\{])/,/^(?:$)/,/^(?:[\\{])/,/^(?:\\})/,/^(?:[\\n])/,/^(?:[^\\{\\}\\n]*)/,/^(?:class\\b)/,/^(?:callback\\b)/,/^(?:link\\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:[\"])/,/^(?:[\"])/,/^(?:[^\"]*)/,/^(?:\\s*<\\|)/,/^(?:\\s*\\|>)/,/^(?:\\s*>)/,/^(?:\\s*<)/,/^(?:\\s*\\*)/,/^(?:\\s*o\\b)/,/^(?:--)/,/^(?:\\.\\.)/,/^(?::[^\\n;]+)/,/^(?:-)/,/^(?:\\.)/,/^(?:\\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\\w+)/,/^(?:[!\"#$%&'*+,-.`?\\\\/])/,/^(?:[0-9]+)/,/^(?:[\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6]|[\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377]|[\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5]|[\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA]|[\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE]|[\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA]|[\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0]|[\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977]|[\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2]|[\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A]|[\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39]|[\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8]|[\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C]|[\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C]|[\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99]|[\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0]|[\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D]|[\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3]|[\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10]|[\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1]|[\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81]|[\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3]|[\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6]|[\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A]|[\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081]|[\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D]|[\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0]|[\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310]|[\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C]|[\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711]|[\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7]|[\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C]|[\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16]|[\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF]|[\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC]|[\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D]|[\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D]|[\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3]|[\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F]|[\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128]|[\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184]|[\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3]|[\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6]|[\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE]|[\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C]|[\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D]|[\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC]|[\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B]|[\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788]|[\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805]|[\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB]|[\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28]|[\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5]|[\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4]|[\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E]|[\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D]|[\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36]|[\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D]|[\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC]|[\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF]|[\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC])/,/^(?:\\s)/,/^(?:$)/],\nconditions: {\"string\":{\"rules\":[19,20],\"inclusive\":false},\"generic\":{\"rules\":[16,17],\"inclusive\":false},\"struct\":{\"rules\":[5,6,7,8,9],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,10,11,12,13,14,15,18,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 16, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/runtime/api.js", "name": "./node_modules/css-loader/dist/runtime/api.js", "index": 8, "index2": 3, "size": 2406, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "issuerId": 32, "issuerName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": 31, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "profile": { "factory": 1711, "building": 0 } }, { "id": 32, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "profile": { "factory": 45, "building": 2971 } } ], "profile": { "factory": 20, "building": 8 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 28, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 30, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 32, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 34, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return '@media ' + item[2] + '{' + content + '}';\n } else {\n return content;\n }\n }).join('');\n }; // import a list of modules into the list\n\n\n list.i = function (modules, mediaQuery) {\n if (typeof modules === 'string') {\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n for (var i = 0; i < this.length; i++) {\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n\n for (i = 0; i < modules.length; i++) {\n var item = modules[i]; // skip already imported module\n // this implementation is not 100% perfect for weird media query combinations\n // when a module is imported multiple times with different media queries.\n // I hope this will never occur (Hey this way we have smaller bundles)\n\n if (item[0] == null || !alreadyImportedModules[item[0]]) {\n if (mediaQuery && !item[2]) {\n item[2] = mediaQuery;\n } else if (mediaQuery) {\n item[2] = '(' + item[2] + ') and (' + mediaQuery + ')';\n }\n\n list.push(item);\n }\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || '';\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n return '/*# ' + data + ' */';\n}" }, { "id": 17, "identifier": "external \"@braintree/sanitize-url\"", "name": "external \"@braintree/sanitize-url\"", "index": 16, "index2": 13, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "issuerId": null, "issuerName": "./src/utils.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 179, "building": 892 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "@braintree/sanitize-url", "loc": "10:0-54" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "@braintree/sanitize-url", "loc": "15:0-54" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "@braintree/sanitize-url", "loc": "278:13-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "@braintree/sanitize-url", "loc": "479:14-25" } ], "usedExports": [ "sanitizeUrl" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 18, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "name": "./src/diagrams/git/parser/gitGraph.jison", "index": 20, "index2": 22, "size": 23638, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/gitGraph", "loc": "3:0-47" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/parser/gitGraph", "loc": "39:0-60" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/git/parser/gitGraph", "loc": "76:15-29" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gitGraph", "loc": "237:17-31" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[2,3],$V1=[1,7],$V2=[7,12,15,17,19,20,21],$V3=[7,11,12,15,17,19,20,21],$V4=[2,20],$V5=[1,32];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"GG\":4,\":\":5,\"document\":6,\"EOF\":7,\"DIR\":8,\"options\":9,\"body\":10,\"OPT\":11,\"NL\":12,\"line\":13,\"statement\":14,\"COMMIT\":15,\"commit_arg\":16,\"BRANCH\":17,\"ID\":18,\"CHECKOUT\":19,\"MERGE\":20,\"RESET\":21,\"reset_arg\":22,\"STR\":23,\"HEAD\":24,\"reset_parents\":25,\"CARET\":26,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"GG\",5:\":\",7:\"EOF\",8:\"DIR\",11:\"OPT\",12:\"NL\",15:\"COMMIT\",17:\"BRANCH\",18:\"ID\",19:\"CHECKOUT\",20:\"MERGE\",21:\"RESET\",23:\"STR\",24:\"HEAD\",26:\"CARET\"},\nproductions_: [0,[3,4],[3,5],[6,0],[6,2],[9,2],[9,1],[10,0],[10,2],[13,2],[13,1],[14,2],[14,2],[14,2],[14,2],[14,2],[16,0],[16,1],[22,2],[22,2],[25,0],[25,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\nyy.setDirection($$[$0-3]); return $$[$0-1];\nbreak;\ncase 4:\n yy.setOptions($$[$0-1]); this.$ = $$[$0]\nbreak;\ncase 5:\n$$[$0-1] +=$$[$0]; this.$=$$[$0-1]\nbreak;\ncase 7:\nthis.$ = []\nbreak;\ncase 8:\n$$[$0-1].push($$[$0]); this.$=$$[$0-1];\nbreak;\ncase 9:\nthis.$ =$$[$0-1]\nbreak;\ncase 11:\nyy.commit($$[$0])\nbreak;\ncase 12:\nyy.branch($$[$0])\nbreak;\ncase 13:\nyy.checkout($$[$0])\nbreak;\ncase 14:\nyy.merge($$[$0])\nbreak;\ncase 15:\nyy.reset($$[$0])\nbreak;\ncase 16:\nthis.$ = \"\"\nbreak;\ncase 17:\nthis.$=$$[$0]\nbreak;\ncase 18:\nthis.$ = $$[$0-1]+ \":\" + $$[$0] \nbreak;\ncase 19:\nthis.$ = $$[$0-1]+ \":\" + yy.count; yy.count = 0\nbreak;\ncase 20:\nyy.count = 0\nbreak;\ncase 21:\n yy.count += 1 \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:$V0,9:6,12:$V1},{5:[1,8]},{7:[1,9]},o($V2,[2,7],{10:10,11:[1,11]}),o($V3,[2,6]),{6:12,7:$V0,9:6,12:$V1},{1:[2,1]},{7:[2,4],12:[1,15],13:13,14:14,15:[1,16],17:[1,17],19:[1,18],20:[1,19],21:[1,20]},o($V3,[2,5]),{7:[1,21]},o($V2,[2,8]),{12:[1,22]},o($V2,[2,10]),{12:[2,16],16:23,23:[1,24]},{18:[1,25]},{18:[1,26]},{18:[1,27]},{18:[1,30],22:28,24:[1,29]},{1:[2,2]},o($V2,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:$V4,25:31,26:$V5},{12:$V4,25:33,26:$V5},{12:[2,18]},{12:$V4,25:34,26:$V5},{12:[2,19]},{12:[2,21]}],\ndefaultActions: {9:[2,1],21:[2,2],23:[2,11],24:[2,17],25:[2,12],26:[2,13],27:[2,14],28:[2,15],31:[2,18],33:[2,19],34:[2,21]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 12;\nbreak;\ncase 1:/* skip all whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:return 4;\nbreak;\ncase 5:return 15;\nbreak;\ncase 6:return 17;\nbreak;\ncase 7:return 20;\nbreak;\ncase 8:return 21;\nbreak;\ncase 9:return 19;\nbreak;\ncase 10:return 8;\nbreak;\ncase 11:return 8;\nbreak;\ncase 12:return 5;\nbreak;\ncase 13:return 26\nbreak;\ncase 14:this.begin(\"options\");\nbreak;\ncase 15:this.popState();\nbreak;\ncase 16:return 11;\nbreak;\ncase 17:this.begin(\"string\");\nbreak;\ncase 18:this.popState();\nbreak;\ncase 19:return 23;\nbreak;\ncase 20:return 18;\nbreak;\ncase 21:return 7;\nbreak;\n}\n},\nrules: [/^(?:(\\r?\\n)+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:gitGraph\\b)/i,/^(?:commit\\b)/i,/^(?:branch\\b)/i,/^(?:merge\\b)/i,/^(?:reset\\b)/i,/^(?:checkout\\b)/i,/^(?:LR\\b)/i,/^(?:BT\\b)/i,/^(?::)/i,/^(?:\\^)/i,/^(?:options\\r?\\n)/i,/^(?:end\\r?\\n)/i,/^(?:[^\\n]+\\r?\\n)/i,/^(?:[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[a-zA-Z][-_\\.a-zA-Z0-9]*[-_a-zA-Z0-9])/i,/^(?:$)/i],\nconditions: {\"options\":{\"rules\":[15,16],\"inclusive\":false},\"string\":{\"rules\":[18,19],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 19, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "name": "./src/diagrams/info/parser/info.jison", "index": 37, "index2": 35, "size": 21150, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/info", "loc": "6:0-39" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/info", "loc": "23:17-27" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/parser/info", "loc": "43:0-53" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/info/parser/info", "loc": "119:15-25" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,9,10];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"info\":4,\"document\":5,\"EOF\":6,\"line\":7,\"statement\":8,\"NL\":9,\"showInfo\":10,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"info\",6:\"EOF\",9:\"NL\",10:\"showInfo\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return yy; \nbreak;\ncase 4:\n \nbreak;\ncase 6:\n yy.setInfo(true); \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},o($V0,[2,3]),o($V0,[2,4]),o($V0,[2,5]),o($V0,[2,6])],\ndefaultActions: {4:[2,1]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\n\t// Pre-lexer code can go here\n\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 4 ;\nbreak;\ncase 1:return 9 ;\nbreak;\ncase 2:return 'space';\nbreak;\ncase 3:return 10;\nbreak;\ncase 4:return 6 ;\nbreak;\ncase 5:return 'TXT' ;\nbreak;\n}\n},\nrules: [/^(?:info\\b)/i,/^(?:[\\s\\n\\r]+)/i,/^(?:[\\s]+)/i,/^(?:showInfo\\b)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "name": "./src/diagrams/pie/parser/pie.jison", "index": 39, "index2": 37, "size": 21750, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/pie", "loc": "6:0-37" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/pie", "loc": "24:17-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/parser/pie", "loc": "46:0-50" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/pie/parser/pie", "loc": "125:15-24" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,9,10,12];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"pie\":4,\"document\":5,\"EOF\":6,\"line\":7,\"statement\":8,\"NL\":9,\"STR\":10,\"VALUE\":11,\"title\":12,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"pie\",6:\"EOF\",9:\"NL\",10:\"STR\",11:\"VALUE\",12:\"title\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,2],[8,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 4:\n \nbreak;\ncase 6:\n\n\t\t/*console.log('str:'+$$[$0-1]+' value: '+$$[$0])*/\n\t\tyy.addSection($$[$0-1],yy.cleanupValue($$[$0])); \nbreak;\ncase 7:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8],12:[1,9]},{1:[2,1]},o($V0,[2,3]),o($V0,[2,4]),o($V0,[2,5]),{11:[1,10]},o($V0,[2,7]),o($V0,[2,6])],\ndefaultActions: {4:[2,1]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\n\t// Pre-lexer code can go here\n\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:return 4 ;\nbreak;\ncase 3:return 9 ;\nbreak;\ncase 4:return 'space';\nbreak;\ncase 5:return 12;\nbreak;\ncase 6:/*console.log('begin str');*/this.begin(\"string\");\nbreak;\ncase 7:/*console.log('pop-state');*/this.popState();\nbreak;\ncase 8:/*console.log('ending string')*/return \"STR\";\nbreak;\ncase 9:return \"VALUE\";\nbreak;\ncase 10:return 6 ;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*)/i,/^(?:\\s+)/i,/^(?:pie\\b)/i,/^(?:[\\s\\n\\r]+)/i,/^(?:[\\s]+)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?::[\\s]*[\\d]+(?:\\.[\\d]+)?)/i,/^(?:$)/i],\nconditions: {\"string\":{\"rules\":[7,8],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,9,10],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "name": "./src/diagrams/er/parser/erDiagram.jison", "index": 41, "index2": 39, "size": 23211, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/erDiagram", "loc": "4:0-42" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/parser/erDiagram", "loc": "49:0-54" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/er/parser/erDiagram", "loc": "131:15-23" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/erDiagram", "loc": "190:15-23" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,12],$V1=[1,7],$V2=[1,10],$V3=[1,11],$V4=[1,12],$V5=[1,13],$V6=[12,19,20],$V7=[15,16,17,18];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"ER_DIAGRAM\":4,\"document\":5,\"EOF\":6,\"statement\":7,\"entityName\":8,\"relSpec\":9,\":\":10,\"role\":11,\"ALPHANUM\":12,\"cardinality\":13,\"relType\":14,\"ZERO_OR_ONE\":15,\"ZERO_OR_MORE\":16,\"ONE_OR_MORE\":17,\"ONLY_ONE\":18,\"NON_IDENTIFYING\":19,\"IDENTIFYING\":20,\"WORD\":21,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"ER_DIAGRAM\",6:\"EOF\",10:\":\",12:\"ALPHANUM\",15:\"ZERO_OR_ONE\",16:\"ZERO_OR_MORE\",17:\"ONE_OR_MORE\",18:\"ONLY_ONE\",19:\"NON_IDENTIFYING\",20:\"IDENTIFYING\",21:\"WORD\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,5],[8,1],[9,3],[13,1],[13,1],[13,1],[13,1],[14,1],[14,1],[11,1],[11,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n /*console.log('finished parsing');*/ \nbreak;\ncase 4:\n\n yy.addEntity($$[$0-4]); \n yy.addEntity($$[$0-2]); \n yy.addRelationship($$[$0-4], $$[$0], $$[$0-2], $$[$0-3]);\n /*console.log($$[$0-4] + $$[$0-3] + $$[$0-2] + ':' + $$[$0]);*/\n \nbreak;\ncase 5:\n this.$ = $$[$0]; /*console.log('Entity: ' + $$[$0]);*/ \nbreak;\ncase 6:\n\n this.$ = { cardA: $$[$0], relType: $$[$0-1], cardB: $$[$0-2] };\n /*console.log('relSpec: ' + $$[$0] + $$[$0-1] + $$[$0-2]);*/\n \nbreak;\ncase 7:\n this.$ = yy.Cardinality.ZERO_OR_ONE; \nbreak;\ncase 8:\n this.$ = yy.Cardinality.ZERO_OR_MORE; \nbreak;\ncase 9:\n this.$ = yy.Cardinality.ONE_OR_MORE; \nbreak;\ncase 10:\n this.$ = yy.Cardinality.ONLY_ONE; \nbreak;\ncase 11:\n this.$ = yy.Identification.NON_IDENTIFYING; \nbreak;\ncase 12:\n this.$ = yy.Identification.IDENTIFYING; \nbreak;\ncase 13:\n this.$ = $$[$0].replace(/\"/g, ''); \nbreak;\ncase 14:\n this.$ = $$[$0]; \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,12:$V1},{1:[2,1]},o($V0,[2,3]),{9:8,13:9,15:$V2,16:$V3,17:$V4,18:$V5},o([10,15,16,17,18],[2,5]),{8:14,12:$V1},{14:15,19:[1,16],20:[1,17]},o($V6,[2,7]),o($V6,[2,8]),o($V6,[2,9]),o($V6,[2,10]),{10:[1,18]},{13:19,15:$V2,16:$V3,17:$V4,18:$V5},o($V7,[2,11]),o($V7,[2,12]),{11:20,12:[1,22],21:[1,21]},{12:[2,6]},o($V0,[2,4]),o($V0,[2,13]),o($V0,[2,14])],\ndefaultActions: {4:[2,1],19:[2,6]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* skip whitespace */\nbreak;\ncase 1:return 'SPACE';\nbreak;\ncase 2:return 21;\nbreak;\ncase 3:return 4;\nbreak;\ncase 4:return 15;\nbreak;\ncase 5:return 16;\nbreak;\ncase 6:return 17;\nbreak;\ncase 7:return 18;\nbreak;\ncase 8:return 15;\nbreak;\ncase 9:return 16;\nbreak;\ncase 10:return 17;\nbreak;\ncase 11:return 19;\nbreak;\ncase 12:return 20;\nbreak;\ncase 13:return 19;\nbreak;\ncase 14:return 19;\nbreak;\ncase 15:return 12;\nbreak;\ncase 16:return yy_.yytext[0];\nbreak;\ncase 17:return 6;\nbreak;\n}\n},\nrules: [/^(?:\\s+)/i,/^(?:[\\s]+)/i,/^(?:\"[^\"]*\")/i,/^(?:erDiagram\\b)/i,/^(?:\\|o\\b)/i,/^(?:\\}o\\b)/i,/^(?:\\}\\|)/i,/^(?:\\|\\|)/i,/^(?:o\\|)/i,/^(?:o\\{)/i,/^(?:\\|\\{)/i,/^(?:\\.\\.)/i,/^(?:--)/i,/^(?:\\.-)/i,/^(?:-\\.)/i,/^(?:[A-Za-z][A-Za-z0-9\\-]*)/i,/^(?:.)/i,/^(?:$)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 22, "identifier": "external \"dagre-d3/lib/label/add-html-label.js\"", "name": "external \"dagre-d3/lib/label/add-html-label.js\"", "index": 48, "index2": 45, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1673, "building": 1032, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "7:0-64" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "7:0-64" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "55:19-31" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "56:19-31" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3 }, { "id": 23, "identifier": "external \"entity-decode/browser\"", "name": "external \"entity-decode/browser\"", "index": 1, "index2": 0, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } } ], "profile": { "factory": 14, "building": 461, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "entity-decode/browser", "loc": "6:0-43" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "entity-decode/browser", "loc": "100:10-16" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 1 }, { "id": 24, "identifier": "external \"scope-css\"", "name": "external \"scope-css\"", "index": 4, "index2": 2, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "scope-css", "loc": "16:0-30" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "scope-css", "loc": "292:21-26" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 25, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-node.js", "name": "./src/dagre-wrapper/intersect/intersect-node.js", "index": 58, "index2": 52, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 307, "building": 54, "dependencies": 9 } } ], "profile": { "factory": 12, "building": 102, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./intersect-node.js", "loc": "4:0-39" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./intersect-node.js", "loc": "10:8-12" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "module.exports = intersectNode;\n\nfunction intersectNode(node, point) {\n console.info('Intersect Node');\n return node.intersect(point);\n}" }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "index": 5, "index2": 12, "size": 256, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "cjs require context", "userRequest": "./themes", "loc": "59:22-75" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./src/themes/dark/index.scss", "index": 6, "index2": 5, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 26, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1711, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./dark/index.scss", "loc": "./dark/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 28, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "index": 7, "index2": 4, "size": 8104, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "issuerId": 27, "issuerName": "./src/themes/dark/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./src/themes/dark/index.scss", "profile": { "factory": 1711, "building": 0 } } ], "profile": { "factory": 2, "building": 3019, "dependencies": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 27, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "module": "./src/themes/dark/index.scss", "moduleName": "./src/themes/dark/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#d3d3d3}.edgePath .path{stroke:#d3d3d3;stroke-width:1.5px}.flowchart-link{stroke:#d3d3d3;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#474949;stroke:rgba(255,255,255,0.25);stroke-width:1px}.cluster text{fill:#F9FFFE}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#474949;border:1px solid rgba(255,255,255,0.25);border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#81B1DB;fill:#1f2020}text.actor>tspan{fill:#d3d3d3;stroke:none}.actor-line{stroke:#d3d3d3}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#d3d3d3}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#d3d3d3}#arrowhead path{fill:#d3d3d3;stroke:#d3d3d3}.sequenceNumber{fill:#000}#sequencenumber{fill:#d3d3d3}#crosshead path{fill:#d3d3d3;stroke:#d3d3d3}.messageText{fill:#d3d3d3;stroke:#d3d3d3}.labelBox{stroke:#81B1DB;fill:#1f2020}.labelText,.labelText>tspan{fill:#d3d3d3;stroke:none}.loopText,.loopText>tspan{fill:#d3d3d3;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#81B1DB;fill:#81B1DB}.note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.noteText,.noteText>tspan{fill:#1f2020;stroke:none}.activation0{fill:#474949;stroke:#81B1DB}.activation1{fill:#474949;stroke:#81B1DB}.activation2{fill:#474949;stroke:#81B1DB}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(255,255,255,0.3)}.section2{fill:#EAE8B9}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#F9FFFE}.sectionTitle1{fill:#F9FFFE}.sectionTitle2{fill:#F9FFFE}.sectionTitle3{fill:#F9FFFE}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#DB5757;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#323D47;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#323D47;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#323D47}.task0,.task1,.task2,.task3{fill:#1f2020;stroke:rgba(255,255,255,0.5)}.taskTextOutside0,.taskTextOutside2{fill:#d3d3d3}.taskTextOutside1,.taskTextOutside3{fill:#d3d3d3}.active0,.active1,.active2,.active3{fill:#81B1DB;stroke:rgba(255,255,255,0.5)}.activeText0,.activeText1,.activeText2,.activeText3{fill:#323D47 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#323D47 !important}.crit0,.crit1,.crit2,.crit3{stroke:#E83737;fill:#E83737;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#E83737;fill:#81B1DB;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#E83737;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#323D47 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#323D47 !important}.titleText{text-anchor:middle;font-size:18px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#81B1DB;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#1f2020;stroke:#81B1DB}g.classGroup line{stroke:#81B1DB;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#1f2020;opacity:0.5}.classLabel .label{fill:#81B1DB;font-size:10px}.relation{stroke:#81B1DB;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#compositionEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#aggregationStart{fill:#1f2020;stroke:#81B1DB;stroke-width:1}#aggregationEnd{fill:#1f2020;stroke:#81B1DB;stroke-width:1}#dependencyStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#dependencyEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#extensionStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#extensionEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#81B1DB;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#81B1DB;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#1f2020;stroke:#81B1DB}g.stateGroup line{stroke:#81B1DB;stroke-width:1}.transition{stroke:#81B1DB;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#1f2020;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#81B1DB}.statediagram-cluster rect{fill:#1f2020;stroke:#81B1DB;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#81B1DB}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:rgba(255,255,255,0.25);stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#a44141}.error-text{fill:#ddd;stroke:#ddd}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#d3d3d3}.marker.cross{stroke:#d3d3d3}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 29, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./src/themes/default/index.scss", "index": 9, "index2": 7, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 26, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1711, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./default/index.scss", "loc": "./default/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 30, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "index": 10, "index2": 6, "size": 7841, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "issuerId": 29, "issuerName": "./src/themes/default/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": 29, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./src/themes/default/index.scss", "profile": { "factory": 1711, "building": 0 } } ], "profile": { "factory": 45, "building": 2986, "dependencies": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 29, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "module": "./src/themes/default/index.scss", "moduleName": "./src/themes/default/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#333;stroke-width:1.5px}.flowchart-link{stroke:#333;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#ccf;fill:#ECECFF}text.actor>tspan{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#ccf;fill:#ECECFF}.labelText,.labelText>tspan{fill:#000;stroke:none}.loopText,.loopText>tspan{fill:#000;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}.note{stroke:#aa3;fill:#fff5ad}.noteText,.noteText>tspan{fill:#000;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(102,102,255,0.49)}.section2{fill:#fff400}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#8a90dd;stroke:#534fbc}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#bfc7ff;stroke:#534fbc}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#ECECFF;stroke:#9370db}g.classGroup line{stroke:#9370db;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.classLabel .label{fill:#9370db;font-size:10px}.relation{stroke:#9370db;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#ECECFF;stroke:#9370db}g.stateGroup line{stroke:#9370db;stroke-width:1}.transition{stroke:#9370db;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#aa3;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#9370db}.statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#9370db}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#333}.marker.cross{stroke:#333}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 31, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "index": 11, "index2": 9, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 26, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1711, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./forest/index.scss", "loc": "./forest/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 32, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "index": 12, "index2": 8, "size": 7858, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "issuerId": 31, "issuerName": "./src/themes/forest/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": 31, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "profile": { "factory": 1711, "building": 0 } } ], "profile": { "factory": 45, "building": 2971 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 31, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "module": "./src/themes/forest/index.scss", "moduleName": "./src/themes/forest/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#cde498;stroke:#13540c;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:green}.edgePath .path{stroke:green;stroke-width:1.5px}.flowchart-link{stroke:green;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#cdffb2;stroke:#6eaa49;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#cdffb2;border:1px solid #6eaa49;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#13540c;fill:#cde498}text.actor>tspan{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#326932;fill:#cde498}.labelText,.labelText>tspan{fill:#000;stroke:none}.loopText,.loopText>tspan{fill:#000;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#326932;fill:#326932}.note{stroke:#6eaa49;fill:#fff5ad}.noteText,.noteText>tspan{fill:#000;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#6eaa49}.section2{fill:#6eaa49}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#487e3a;stroke:#13540c}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#cde498;stroke:#13540c}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#cde498;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#13540c;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#cde498;stroke:#13540c}g.classGroup line{stroke:#13540c;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.classLabel .label{fill:#13540c;font-size:10px}.relation{stroke:#13540c;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#compositionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#aggregationStart{fill:#cde498;stroke:#13540c;stroke-width:1}#aggregationEnd{fill:#cde498;stroke:#13540c;stroke-width:1}#dependencyStart{fill:#13540c;stroke:#13540c;stroke-width:1}#dependencyEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#cde498;stroke:#13540c}g.stateGroup line{stroke:#13540c;stroke-width:1}.transition{stroke:#13540c;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#6eaa49;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#13540c}.statediagram-cluster rect{fill:#cde498;stroke:#13540c;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#13540c}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:#6eaa49;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:green}.marker.cross{stroke:green}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 33, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./src/themes/neutral/index.scss", "index": 13, "index2": 11, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 26, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1711, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./neutral/index.scss", "loc": "./neutral/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 34, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "index": 14, "index2": 10, "size": 7696, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "issuerId": 33, "issuerName": "./src/themes/neutral/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": 33, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./src/themes/neutral/index.scss", "profile": { "factory": 1711, "building": 0 } } ], "profile": { "factory": 44, "building": 3036, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 33, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "module": "./src/themes/neutral/index.scss", "moduleName": "./src/themes/neutral/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#eee;stroke:#999;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#666;stroke-width:1.5px}.flowchart-link{stroke:#666;fill:none}.edgeLabel{background-color:#fff;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#eaf2fb;stroke:#26a;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#eaf2fb;border:1px solid #26a;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#999;fill:#eee}text.actor>tspan{fill:#333;stroke:none}.actor-line{stroke:#666}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#999;fill:#eee}.labelText,.labelText>tspan{fill:#333;stroke:none}.loopText,.loopText>tspan{fill:#333;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#999;fill:#999}.note{stroke:#770;fill:#ffa}.noteText,.noteText>tspan{fill:#333;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#80b3e6}.section2{fill:#80b3e6}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#e6e6e6;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#d42;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#333;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#333;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#26a;stroke:#1a4d80}.taskTextOutside0,.taskTextOutside2{fill:#333}.taskTextOutside1,.taskTextOutside3{fill:#333}.active0,.active1,.active2,.active3{fill:#eee;stroke:#1a4d80}.activeText0,.activeText1,.activeText2,.activeText3{fill:#333 !important}.done0,.done1,.done2,.done3{stroke:#666;fill:#bbb;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#333 !important}.crit0,.crit1,.crit2,.crit3{stroke:#b1361b;fill:#d42;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#b1361b;fill:#eee;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#b1361b;fill:#bbb;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#333 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#333 !important}.titleText{text-anchor:middle;font-size:18px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#999;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#eee;stroke:#999}g.classGroup line{stroke:#999;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.classLabel .label{fill:#999;font-size:10px}.relation{stroke:#999;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#999;stroke:#999;stroke-width:1}#compositionEnd{fill:#999;stroke:#999;stroke-width:1}#aggregationStart{fill:#eee;stroke:#999;stroke-width:1}#aggregationEnd{fill:#eee;stroke:#999;stroke-width:1}#dependencyStart{fill:#999;stroke:#999;stroke-width:1}#dependencyEnd{fill:#999;stroke:#999;stroke-width:1}#extensionStart{fill:#999;stroke:#999;stroke-width:1}#extensionEnd{fill:#999;stroke:#999;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#999;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#999;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#eee;stroke:#999}g.stateGroup line{stroke:#999;stroke-width:1}.transition{stroke:#999;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#770;fill:#ffa}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#999}.statediagram-cluster rect{fill:#eee;stroke:#999;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#999}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#ffa;stroke:#770;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#666}.marker.cross{stroke:#666}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "name": "./src/mermaid.js + 50 modules", "index": 0, "index2": 85, "size": 419844, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": null, "module": null, "moduleName": null, "type": "single entry", "userRequest": "./src/mermaid.js", "loc": "mermaid" } ], "usedExports": true, "providedExports": [ "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/class/parser/classDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/er/parser/erDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/flowchart/parser/flow.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/gantt/parser/gantt.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/git/parser/gitGraph.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/info/parser/info.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/pie/parser/pie.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/sequence/parser/sequenceDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/state/parser/stateDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/user-journey/parser/journey.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/dagre-wrapper/intersect/intersect-node.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./package.json (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"@braintree/sanitize-url\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"d3\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"dagre\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"dagre-d3\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"dagre-d3/lib/label/add-html-label.js\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"entity-decode/browser\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"graphlib\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"moment-mini\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"scope-css\" (<- Module is not an ECMAScript module)" ], "depth": 0, "modules": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "index": 0, "index2": 85, "size": 5291, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "profile": { "factory": 34, "building": 203 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": null, "module": null, "moduleName": null, "type": "single entry", "userRequest": "./src/mermaid.js", "loc": "mermaid" } ], "usedExports": true, "providedExports": [ "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is an entry point" ], "depth": 0, "source": "/**\n * Web page integration module for the mermaid framework. It uses the mermaidAPI for mermaid functionality and to render\n * the diagrams to svg code.\n */\n// import { decode } from 'he';\nimport decode from 'entity-decode/browser';\nimport mermaidAPI from './mermaidAPI';\nimport { logger } from './logger';\nimport utils from './utils';\n/**\n * ## init\n * Function that goes through the document to find the chart definitions in there and render them.\n *\n * The function tags the processed attributes with the attribute data-processed and ignores found elements with the\n * attribute already set. This way the init function can be triggered several times.\n *\n * Optionally, `init` can accept in the second argument one of the following:\n * - a DOM Node\n * - an array of DOM nodes (as would come from a jQuery selector)\n * - a W3C selector, a la `.mermaid`\n *\n * ```mermaid\n * graph LR;\n * a(Find elements)-->b{Processed}\n * b-->|Yes|c(Leave element)\n * b-->|No |d(Transform)\n * ```\n * Renders the mermaid diagrams\n * @param nodes a css selector or an array of nodes\n */\n\nvar init = function init() {\n var _this = this;\n\n var conf = mermaidAPI.getConfig(); // console.log('Starting rendering diagrams (init) - mermaid.init');\n\n var nodes;\n\n if (arguments.length >= 2) {\n /*! sequence config was passed as #1 */\n if (typeof arguments[0] !== 'undefined') {\n mermaid.sequenceConfig = arguments[0];\n }\n\n nodes = arguments[1];\n } else {\n nodes = arguments[0];\n } // if last argument is a function this is the callback function\n\n\n var callback;\n\n if (typeof arguments[arguments.length - 1] === 'function') {\n callback = arguments[arguments.length - 1];\n logger.debug('Callback function found');\n } else {\n if (typeof conf.mermaid !== 'undefined') {\n if (typeof conf.mermaid.callback === 'function') {\n callback = conf.mermaid.callback;\n logger.debug('Callback function found');\n } else {\n logger.debug('No Callback function found');\n }\n }\n }\n\n nodes = nodes === undefined ? document.querySelectorAll('.mermaid') : typeof nodes === 'string' ? document.querySelectorAll(nodes) : nodes instanceof window.Node ? [nodes] : nodes; // Last case - sequence config was passed pick next\n\n logger.debug('Start On Load before: ' + mermaid.startOnLoad);\n\n if (typeof mermaid.startOnLoad !== 'undefined') {\n logger.debug('Start On Load inner: ' + mermaid.startOnLoad);\n mermaidAPI.initialize({\n startOnLoad: mermaid.startOnLoad\n });\n }\n\n if (typeof mermaid.ganttConfig !== 'undefined') {\n mermaidAPI.initialize({\n gantt: mermaid.ganttConfig\n });\n }\n\n var txt;\n\n var _loop = function _loop(i) {\n var element = nodes[i];\n /*! Check if previously processed */\n\n if (!element.getAttribute('data-processed')) {\n element.setAttribute('data-processed', true);\n } else {\n return \"continue\";\n }\n\n var id = \"mermaid-\".concat(Date.now()); // Fetch the graph definition including tags\n\n txt = element.innerHTML; // transforms the html to pure text\n\n txt = decode(txt).trim().replace(//gi, '
');\n var init = utils.detectInit(txt);\n\n if (init) {\n logger.debug('Detected early reinit: ', init);\n }\n\n try {\n mermaidAPI.render(id, txt, function (svgCode, bindFunctions) {\n element.innerHTML = svgCode;\n\n if (typeof callback !== 'undefined') {\n callback(id);\n }\n\n if (bindFunctions) bindFunctions(element);\n }, element);\n } catch (e) {\n logger.warn('Syntax Error rendering');\n logger.warn(e);\n\n if (_this.parseError) {\n _this.parseError(e);\n }\n }\n };\n\n for (var i = 0; i < nodes.length; i++) {\n var _ret = _loop(i);\n\n if (_ret === \"continue\") continue;\n }\n};\n\nvar initialize = function initialize(config) {\n mermaidAPI.reset();\n\n if (typeof config.mermaid !== 'undefined') {\n if (typeof config.mermaid.startOnLoad !== 'undefined') {\n mermaid.startOnLoad = config.mermaid.startOnLoad;\n }\n\n if (typeof config.mermaid.htmlLabels !== 'undefined') {\n mermaid.htmlLabels = config.mermaid.htmlLabels;\n }\n }\n\n mermaidAPI.initialize(config);\n};\n/**\n * ##contentLoaded\n * Callback function that is called when page is loaded. This functions fetches configuration for mermaid rendering and\n * calls init for rendering the mermaid diagrams on the page.\n */\n\n\nvar contentLoaded = function contentLoaded() {\n var config;\n\n if (mermaid.startOnLoad) {\n // No config found, do check API config\n config = mermaidAPI.getConfig();\n\n if (config.startOnLoad) {\n mermaid.init();\n }\n } else {\n if (typeof mermaid.startOnLoad === 'undefined') {\n logger.debug('In start, no config');\n config = mermaidAPI.getConfig();\n\n if (config.startOnLoad) {\n mermaid.init();\n }\n }\n }\n};\n\nif (typeof document !== 'undefined') {\n /*!\n * Wait for document loaded before starting the execution\n */\n window.addEventListener('load', function () {\n contentLoaded();\n }, false);\n}\n\nvar mermaid = {\n startOnLoad: true,\n htmlLabels: true,\n mermaidAPI: mermaidAPI,\n parse: mermaidAPI.parse,\n render: mermaidAPI.render,\n init: init,\n initialize: initialize,\n contentLoaded: contentLoaded\n};\nexport default mermaid;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "index": 17, "index2": 15, "size": 1937, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } } ], "profile": { "factory": 14, "building": 461, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "module": "./src/diagrams/info/infoDb.js", "moduleName": "./src/diagrams/info/infoDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "module": "./src/diagrams/pie/pieDb.js", "moduleName": "./src/diagrams/pie/pieDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "module": "./src/dagre-wrapper/markers.js", "moduleName": "./src/dagre-wrapper/markers.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "4:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "8:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "module": "./src/diagrams/info/infoDb.js", "moduleName": "./src/diagrams/info/infoDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "8:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "9:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "9:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "11:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "module": "./src/diagrams/pie/pieDb.js", "moduleName": "./src/diagrams/pie/pieDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "11:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "12:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "12:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "13:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "module": "./src/dagre-wrapper/markers.js", "moduleName": "./src/dagre-wrapper/markers.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "13:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "14:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "14:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "17:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "19:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "20:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "21:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "22:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "22:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "23:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "23:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "24:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "25:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "26:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "26:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "28:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "28:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "30:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "30:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "30:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "31:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "34:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "35:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "35:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "36:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "37:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "38:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "38:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "39:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "39:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "42:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "42:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "43:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "46:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "47:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "50:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "51:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "55:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "55:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "56:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "59:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "60:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "60:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "60:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "61:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "61:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "62:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "62:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "66:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "67:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "67:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "67:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "68:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "69:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "69:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "70:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "72:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "72:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "72:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "74:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "76:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "77:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "78:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "78:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "79:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "79:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "81:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "81:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "83:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "83:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "86:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "87:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "87:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "88:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "88:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "89:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "90:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "90:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "92:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "93:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "94:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "95:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "95:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "95:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "96:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "97:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "98:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "99:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "100:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "100:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "101:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "104:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "106:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "107:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "117:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "117:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "118:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "118:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "119:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "120:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "123:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "124:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "124:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "125:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "126:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "127:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "129:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "130:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "130:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "130:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "132:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "133:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "133:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "136:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "136:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "137:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "140:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "144:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "148:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "148:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "151:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "152:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "152:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "153:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "153:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "156:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "158:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "159:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "159:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "161:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "165:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "165:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "167:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "168:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "170:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "171:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "179:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "182:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "182:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "183:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "183:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "184:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "185:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "186:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "186:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "188:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "188:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "189:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "193:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "194:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "196:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "196:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "197:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "202:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "205:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "206:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "206:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "208:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "209:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "211:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "214:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "222:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "223:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "223:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "228:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "234:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "235:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "236:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "240:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "240:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "242:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "243:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "244:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "247:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "249:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "249:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "251:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "253:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "254:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "262:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "265:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "271:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "271:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "272:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "275:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "282:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "288:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "291:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "292:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "293:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "297:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "299:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "303:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "306:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "314:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "314:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "323:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "324:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "326:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "327:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "332:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "337:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "337:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "349:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "349:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "353:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "353:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "358:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "360:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "376:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "389:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "389:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "403:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "416:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "420:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "430:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "444:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "462:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "469:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "470:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "475:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "516:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "547:2-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "548:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "556:2-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "557:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "559:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "584:0-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "595:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "616:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "642:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "715:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "800:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "912:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "944:2-8" } ], "usedExports": [ "logger", "setLogLevel" ], "providedExports": [ "LEVELS", "logger", "setLogLevel" ], "optimizationBailout": [], "depth": 1, "source": "import moment from 'moment-mini'; //\n\nexport var LEVELS = {\n debug: 1,\n info: 2,\n warn: 3,\n error: 4,\n fatal: 5\n};\nexport var logger = {\n debug: function debug() {},\n info: function info() {},\n warn: function warn() {},\n error: function error() {},\n fatal: function fatal() {}\n};\nexport var setLogLevel = function setLogLevel() {\n var level = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fatal';\n\n if (isNaN(level)) {\n level = level.toLowerCase();\n\n if (LEVELS[level] !== undefined) {\n level = LEVELS[level];\n }\n }\n\n logger.trace = function () {};\n\n logger.debug = function () {};\n\n logger.info = function () {};\n\n logger.warn = function () {};\n\n logger.error = function () {};\n\n logger.fatal = function () {};\n\n if (level <= LEVELS.fatal) {\n logger.fatal = console.error ? console.error.bind(console, format('FATAL'), 'color: orange') : console.log.bind(console, '\\x1b[35m', format('FATAL'));\n }\n\n if (level <= LEVELS.error) {\n logger.error = console.error ? console.error.bind(console, format('ERROR'), 'color: orange') : console.log.bind(console, '\\x1b[31m', format('ERROR'));\n }\n\n if (level <= LEVELS.warn) {\n logger.warn = console.warn ? console.warn.bind(console, format('WARN'), 'color: orange') : console.log.bind(console, \"\\x1B[33m\", format('WARN'));\n }\n\n if (level <= LEVELS.info) {\n logger.info = console.info ? // ? console.info.bind(console, '\\x1b[34m', format('INFO'), 'color: blue')\n console.info.bind(console, format('INFO'), 'color: lightblue') : console.log.bind(console, '\\x1b[34m', format('INFO'));\n }\n\n if (level <= LEVELS.debug) {\n logger.debug = console.debug ? console.debug.bind(console, format('DEBUG'), 'color: lightgreen') : console.log.bind(console, '\\x1b[32m', format('DEBUG'));\n }\n};\n\nvar format = function format(level) {\n var time = moment().format('ss.SSS');\n return \"%c\".concat(time, \" : \").concat(level, \" : \");\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "index": 15, "index2": 17, "size": 24774, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } } ], "profile": { "factory": 14, "building": 461, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "5:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "5:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "6:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../utils", "loc": "6:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "7:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "9:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "10:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "10:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "13:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "20:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "37:14-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "42:17-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "43:17-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../utils", "loc": "48:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "56:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "58:22-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "63:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "65:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "66:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "70:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "101:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "160:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "172:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "174:24-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "188:24-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "197:19-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "214:19-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "217:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "223:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "227:4-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "229:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "231:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "233:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "250:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "252:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "252:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "254:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "262:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "280:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "282:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "337:32-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "396:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "437:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "441:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "527:29-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "548:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "548:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "673:38-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "674:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "736:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "739:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "770:23-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "770:66-71" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "788:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "788:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "797:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "821:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "824:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "847:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "854:17-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "855:20-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "866:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "869:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "878:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "890:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "899:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "930:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "933:2-17" } ], "usedExports": [ "default", "assignWithDepth", "getStylesFromArray", "interpolateToCurve", "generateId" ], "providedExports": [ "detectInit", "detectDirective", "detectType", "isSubstringInArray", "interpolateToCurve", "formatUrl", "runFunc", "getStylesFromArray", "generateId", "random", "assignWithDepth", "getTextObj", "drawSimpleText", "wrapLabel", "calculateTextHeight", "calculateTextWidth", "calculateTextDimensions", "default" ], "optimizationBailout": [], "depth": 1, "source": "var _this = this;\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { curveBasis, curveBasisClosed, curveBasisOpen, curveLinear, curveLinearClosed, curveMonotoneX, curveMonotoneY, curveNatural, curveStep, curveStepAfter, curveStepBefore, select } from 'd3';\nimport { logger } from './logger';\nimport { sanitizeUrl } from '@braintree/sanitize-url';\nimport common from './diagrams/common/common'; // import cryptoRandomString from 'crypto-random-string';\n// Effectively an enum of the supported curve types, accessible by name\n\nvar d3CurveTypes = {\n curveBasis: curveBasis,\n curveBasisClosed: curveBasisClosed,\n curveBasisOpen: curveBasisOpen,\n curveLinear: curveLinear,\n curveLinearClosed: curveLinearClosed,\n curveMonotoneX: curveMonotoneX,\n curveMonotoneY: curveMonotoneY,\n curveNatural: curveNatural,\n curveStep: curveStep,\n curveStepAfter: curveStepAfter,\n curveStepBefore: curveStepBefore\n};\nvar directive = /[%]{2}[{]\\s*(?:(?:(\\w+)\\s*:|(\\w+))\\s*(?:(?:(\\w+))|((?:(?![}][%]{2}).|\\r?\\n)*))?\\s*)(?:[}][%]{2})?/gi;\nvar directiveWithoutOpen = /\\s*(?:(?:(\\w+)(?=:):|(\\w+))\\s*(?:(?:(\\w+))|((?:(?![}][%]{2}).|\\r?\\n)*))?\\s*)(?:[}][%]{2})?/gi;\nvar anyComment = /\\s*%%.*\\n/gm;\n/**\n * @function detectInit\n * Detects the init config object from the text\n * ```mermaid\n * %%{init: {\"theme\": \"debug\", \"logLevel\": 1 }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n * or\n * ```mermaid\n * %%{initialize: {\"theme\": \"dark\", logLevel: \"debug\" }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @returns {object} the json object representing the init passed to mermaid.initialize()\n */\n\nexport var detectInit = function detectInit(text) {\n var inits = detectDirective(text, /(?:init\\b)|(?:initialize\\b)/);\n var results = {};\n\n if (Array.isArray(inits)) {\n var args = inits.map(function (init) {\n return init.args;\n });\n results = assignWithDepth(results, _toConsumableArray(args));\n } else {\n results = inits.args;\n }\n\n if (results) {\n var type = detectType(text);\n ['config'].forEach(function (prop) {\n if (typeof results[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n results[type] = results[prop];\n delete results[prop];\n }\n });\n }\n\n return results;\n};\n/**\n * @function detectDirective\n * Detects the directive from the text. Text can be single line or multiline. If type is null or omitted\n * the first directive encountered in text will be returned\n * ```mermaid\n * graph LR\n * %%{somedirective}%%\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @param {string|RegExp} type The directive to return (default: null)\n * @returns {object | Array} An object or Array representing the directive(s): { type: string, args: object|null } matched by the input type\n * if a single directive was found, that directive object will be returned.\n */\n\nexport var detectDirective = function detectDirective(text) {\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n try {\n var commentWithoutDirectives = new RegExp(\"[%]{2}(?![{]\".concat(directiveWithoutOpen.source, \")(?=[}][%]{2}).*\\n\"), 'ig');\n text = text.trim().replace(commentWithoutDirectives, '').replace(/'/gm, '\"');\n logger.debug(\"Detecting diagram directive\".concat(type !== null ? ' type:' + type : '', \" based on the text:\").concat(text));\n var match,\n result = [];\n\n while ((match = directive.exec(text)) !== null) {\n // This is necessary to avoid infinite loops with zero-width matches\n if (match.index === directive.lastIndex) {\n directive.lastIndex++;\n }\n\n if (match && !type || type && match[1] && match[1].match(type) || type && match[2] && match[2].match(type)) {\n var _type = match[1] ? match[1] : match[2];\n\n var args = match[3] ? match[3].trim() : match[4] ? JSON.parse(match[4].trim()) : null;\n result.push({\n type: _type,\n args: args\n });\n }\n }\n\n if (result.length === 0) {\n result.push({\n type: text,\n args: null\n });\n }\n\n return result.length === 1 ? result[0] : result;\n } catch (error) {\n logger.error(\"ERROR: \".concat(error.message, \" - Unable to parse directive\").concat(type !== null ? ' type:' + type : '', \" based on the text:\").concat(text));\n return {\n type: null,\n args: null\n };\n }\n};\n/**\n * @function detectType\n * Detects the type of the graph text. Takes into consideration the possible existence of an %%init\n * directive\n * ```mermaid\n * %%{initialize: {\"startOnLoad\": true, logLevel: \"fatal\" }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @returns {string} A graph definition key\n */\n\nexport var detectType = function detectType(text) {\n text = text.replace(directive, '').replace(anyComment, '\\n');\n logger.debug('Detecting diagram type based on the text ' + text);\n\n if (text.match(/^\\s*sequenceDiagram/)) {\n return 'sequence';\n }\n\n if (text.match(/^\\s*gantt/)) {\n return 'gantt';\n }\n\n if (text.match(/^\\s*classDiagram/)) {\n return 'class';\n }\n\n if (text.match(/^\\s*stateDiagram-v2/)) {\n return 'stateDiagram';\n }\n\n if (text.match(/^\\s*stateDiagram/)) {\n return 'state';\n }\n\n if (text.match(/^\\s*gitGraph/)) {\n return 'git';\n }\n\n if (text.match(/^\\s*flowchart/)) {\n return 'flowchart-v2';\n }\n\n if (text.match(/^\\s*info/)) {\n return 'info';\n }\n\n if (text.match(/^\\s*pie/)) {\n return 'pie';\n }\n\n if (text.match(/^\\s*erDiagram/)) {\n return 'er';\n }\n\n if (text.match(/^\\s*journey/)) {\n return 'journey';\n }\n\n return 'flowchart';\n};\n\nvar memoize = function memoize(fn, resolver) {\n var cache = {};\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var n = resolver ? resolver.apply(_this, args) : args[0];\n\n if (n in cache) {\n return cache[n];\n } else {\n var result = fn.apply(void 0, args);\n cache[n] = result;\n return result;\n }\n };\n};\n/**\n * @function isSubstringInArray\n * Detects whether a substring in present in a given array\n * @param {string} str The substring to detect\n * @param {array} arr The array to search\n * @returns {number} the array index containing the substring or -1 if not present\n **/\n\n\nexport var isSubstringInArray = function isSubstringInArray(str, arr) {\n for (var i = 0; i < arr.length; i++) {\n if (arr[i].match(str)) return i;\n }\n\n return -1;\n};\nexport var interpolateToCurve = function interpolateToCurve(interpolate, defaultCurve) {\n if (!interpolate) {\n return defaultCurve;\n }\n\n var curveName = \"curve\".concat(interpolate.charAt(0).toUpperCase() + interpolate.slice(1));\n return d3CurveTypes[curveName] || defaultCurve;\n};\nexport var formatUrl = function formatUrl(linkStr, config) {\n var url = linkStr.trim();\n\n if (url) {\n if (config.securityLevel !== 'loose') {\n return sanitizeUrl(url);\n }\n\n return url;\n }\n};\nexport var runFunc = function runFunc(functionName) {\n var _obj;\n\n var arrPaths = functionName.split('.');\n var len = arrPaths.length - 1;\n var fnName = arrPaths[len];\n var obj = window;\n\n for (var i = 0; i < len; i++) {\n obj = obj[arrPaths[i]];\n if (!obj) return;\n }\n\n for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n params[_key2 - 1] = arguments[_key2];\n }\n\n (_obj = obj)[fnName].apply(_obj, params);\n};\n\nvar distance = function distance(p1, p2) {\n return p1 && p2 ? Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2)) : 0;\n};\n\nvar traverseEdge = function traverseEdge(points) {\n var prevPoint;\n var totalDistance = 0;\n points.forEach(function (point) {\n totalDistance += distance(point, prevPoint);\n prevPoint = point;\n }); // Traverse half of total distance along points\n\n var remainingDistance = totalDistance / 2;\n var center = undefined;\n prevPoint = undefined;\n points.forEach(function (point) {\n if (prevPoint && !center) {\n var vectorDistance = distance(point, prevPoint);\n\n if (vectorDistance < remainingDistance) {\n remainingDistance -= vectorDistance;\n } else {\n // The point is remainingDistance from prevPoint in the vector between prevPoint and point\n // Calculate the coordinates\n var distanceRatio = remainingDistance / vectorDistance;\n if (distanceRatio <= 0) center = prevPoint;\n if (distanceRatio >= 1) center = {\n x: point.x,\n y: point.y\n };\n\n if (distanceRatio > 0 && distanceRatio < 1) {\n center = {\n x: (1 - distanceRatio) * prevPoint.x + distanceRatio * point.x,\n y: (1 - distanceRatio) * prevPoint.y + distanceRatio * point.y\n };\n }\n }\n }\n\n prevPoint = point;\n });\n return center;\n};\n\nvar calcLabelPosition = function calcLabelPosition(points) {\n return traverseEdge(points);\n};\n\nvar calcCardinalityPosition = function calcCardinalityPosition(isRelationTypePresent, points, initialPosition) {\n var prevPoint;\n var totalDistance = 0; // eslint-disable-line\n\n if (points[0] !== initialPosition) {\n points = points.reverse();\n }\n\n points.forEach(function (point) {\n totalDistance += distance(point, prevPoint);\n prevPoint = point;\n }); // Traverse only 25 total distance along points to find cardinality point\n\n var distanceToCardinalityPoint = 25;\n var remainingDistance = distanceToCardinalityPoint;\n var center = {\n x: 0,\n y: 0\n };\n prevPoint = undefined;\n points.forEach(function (point) {\n if (prevPoint && !center) {\n var vectorDistance = distance(point, prevPoint);\n\n if (vectorDistance < remainingDistance) {\n remainingDistance -= vectorDistance;\n } else {\n // The point is remainingDistance from prevPoint in the vector between prevPoint and point\n // Calculate the coordinates\n var distanceRatio = remainingDistance / vectorDistance;\n if (distanceRatio <= 0) center = prevPoint;\n if (distanceRatio >= 1) center = {\n x: point.x,\n y: point.y\n };\n\n if (distanceRatio > 0 && distanceRatio < 1) {\n center = {\n x: (1 - distanceRatio) * prevPoint.x + distanceRatio * point.x,\n y: (1 - distanceRatio) * prevPoint.y + distanceRatio * point.y\n };\n }\n }\n }\n\n prevPoint = point;\n }); // if relation is present (Arrows will be added), change cardinality point off-set distance (d)\n\n var d = isRelationTypePresent ? 10 : 5; //Calculate Angle for x and y axis\n\n var angle = Math.atan2(points[0].y - center.y, points[0].x - center.x);\n var cardinalityPosition = {\n x: 0,\n y: 0\n }; //Calculation cardinality position using angle, center point on the line/curve but pendicular and with offset-distance\n\n cardinalityPosition.x = Math.sin(angle) * d + (points[0].x + center.x) / 2;\n cardinalityPosition.y = -Math.cos(angle) * d + (points[0].y + center.y) / 2;\n return cardinalityPosition;\n};\n\nexport var getStylesFromArray = function getStylesFromArray(arr) {\n var style = '';\n var labelStyle = '';\n\n for (var i = 0; i < arr.length; i++) {\n if (typeof arr[i] !== 'undefined') {\n // add text properties to label style definition\n if (arr[i].startsWith('color:') || arr[i].startsWith('text-align:')) {\n labelStyle = labelStyle + arr[i] + ';';\n } else {\n style = style + arr[i] + ';';\n }\n }\n }\n\n return {\n style: style,\n labelStyle: labelStyle\n };\n};\nvar cnt = 0;\nexport var generateId = function generateId() {\n cnt++;\n return 'id-' + Math.random().toString(36).substr(2, 12) + '-' + cnt;\n};\nexport var random = function random(options) {\n // return cryptoRandomString(options);\n return 'apa';\n};\n/**\n * @function assignWithDepth\n * Extends the functionality of {@link ObjectConstructor.assign} with the ability to merge arbitrary-depth objects\n * For each key in src with path `k` (recursively) performs an Object.assign(dst[`k`], src[`k`]) with\n * a slight change from the typical handling of undefined for dst[`k`]: instead of raising an error,\n * dst[`k`] is auto-initialized to {} and effectively merged with src[`k`]\n *

\n * Additionally, dissimilar types will not clobber unless the config.clobber parameter === true. Example:\n * ```\n * let config_0 = { foo: { bar: 'bar' }, bar: 'foo' };\n * let config_1 = { foo: 'foo', bar: 'bar' };\n * let result = assignWithDepth(config_0, config_1);\n * console.log(result);\n * //-> result: { foo: { bar: 'bar' }, bar: 'bar' }\n * ```\n *

\n * Traditional Object.assign would have clobbered foo in config_0 with foo in config_1.\n *

\n * If src is a destructured array of objects and dst is not an array, assignWithDepth will apply each element of src to dst\n * in order.\n * @param dst:any - the destination of the merge\n * @param src:any - the source object(s) to merge into destination\n * @param config:{ depth: number, clobber: boolean } - depth: depth to traverse within src and dst for merging -\n * clobber: should dissimilar types clobber (default: { depth: 2, clobber: false })\n * @returns {*}\n */\n\nexport var assignWithDepth = function assignWithDepth(dst, src, config) {\n var _Object$assign = Object.assign({\n depth: 2,\n clobber: false\n }, config),\n depth = _Object$assign.depth,\n clobber = _Object$assign.clobber;\n\n if (Array.isArray(src) && !Array.isArray(dst)) {\n src.forEach(function (s) {\n return assignWithDepth(dst, s, config);\n });\n return dst;\n } else if (Array.isArray(src) && Array.isArray(dst)) {\n src.forEach(function (s) {\n if (dst.indexOf(s) === -1) {\n dst.push(s);\n }\n });\n return dst;\n }\n\n if (typeof dst === 'undefined' || depth <= 0) {\n if (dst !== undefined && dst !== null && _typeof(dst) === 'object' && _typeof(src) === 'object') {\n return Object.assign(dst, src);\n } else {\n return src;\n }\n }\n\n if (typeof src !== 'undefined' && _typeof(dst) === 'object' && _typeof(src) === 'object') {\n Object.keys(src).forEach(function (key) {\n if (_typeof(src[key]) === 'object' && (dst[key] === undefined || _typeof(dst[key]) === 'object')) {\n if (dst[key] === undefined) {\n dst[key] = Array.isArray(src[key]) ? [] : {};\n }\n\n dst[key] = assignWithDepth(dst[key], src[key], {\n depth: depth - 1,\n clobber: clobber\n });\n } else if (clobber || _typeof(dst[key]) !== 'object' && _typeof(src[key]) !== 'object') {\n dst[key] = src[key];\n }\n });\n }\n\n return dst;\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n anchor: 'start',\n style: '#666',\n width: 100,\n height: 100,\n textMargin: 0,\n rx: 0,\n ry: 0,\n valign: undefined\n };\n};\nexport var drawSimpleText = function drawSimpleText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(common.lineBreakRegex, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.style('text-anchor', textData.anchor);\n textElem.style('font-family', textData.fontFamily);\n textElem.style('font-size', textData.fontSize);\n textElem.style('font-weight', textData.fontWeight);\n textElem.attr('fill', textData.fill);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.attr('fill', textData.fill);\n span.text(nText);\n return textElem;\n};\nexport var wrapLabel = memoize(function (label, maxWidth, config) {\n if (!label) {\n return label;\n }\n\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n joinWith: '
'\n }, config);\n\n if (common.lineBreakRegex.test(label)) {\n return label;\n }\n\n var words = label.split(' ');\n var completedLines = [];\n var nextLine = '';\n words.forEach(function (word, index) {\n var wordLength = calculateTextWidth(\"\".concat(word, \" \"), config);\n var nextLineLength = calculateTextWidth(nextLine, config);\n\n if (wordLength > maxWidth) {\n var _breakString = breakString(word, maxWidth, '-', config),\n hyphenatedStrings = _breakString.hyphenatedStrings,\n remainingWord = _breakString.remainingWord;\n\n completedLines.push.apply(completedLines, [nextLine].concat(_toConsumableArray(hyphenatedStrings)));\n nextLine = remainingWord;\n } else if (nextLineLength + wordLength >= maxWidth) {\n completedLines.push(nextLine);\n nextLine = word;\n } else {\n nextLine = [nextLine, word].filter(Boolean).join(' ');\n }\n\n var currentWord = index + 1;\n var isLastWord = currentWord === words.length;\n\n if (isLastWord) {\n completedLines.push(nextLine);\n }\n });\n return completedLines.filter(function (line) {\n return line !== '';\n }).join(config.joinWith);\n}, function (label, maxWidth, config) {\n return \"\".concat(label, \"-\").concat(maxWidth, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily, \"-\").concat(config.joinWith);\n});\nvar breakString = memoize(function (word, maxWidth) {\n var hyphenCharacter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-';\n var config = arguments.length > 3 ? arguments[3] : undefined;\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n margin: 0\n }, config);\n var characters = word.split('');\n var lines = [];\n var currentLine = '';\n characters.forEach(function (character, index) {\n var nextLine = \"\".concat(currentLine).concat(character);\n var lineWidth = calculateTextWidth(nextLine, config);\n\n if (lineWidth >= maxWidth) {\n var currentCharacter = index + 1;\n var isLastLine = characters.length === currentCharacter;\n var hyphenatedNextLine = \"\".concat(nextLine).concat(hyphenCharacter);\n lines.push(isLastLine ? nextLine : hyphenatedNextLine);\n currentLine = '';\n } else {\n currentLine = nextLine;\n }\n });\n return {\n hyphenatedStrings: lines,\n remainingWord: currentLine\n };\n}, function (word, maxWidth) {\n var hyphenCharacter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-';\n var config = arguments.length > 3 ? arguments[3] : undefined;\n return \"\".concat(word, \"-\").concat(maxWidth, \"-\").concat(hyphenCharacter, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily);\n});\n/**\n * This calculates the text's height, taking into account the wrap breaks and\n * both the statically configured height, width, and the length of the text (in pixels).\n *\n * If the wrapped text text has greater height, we extend the height, so it's\n * value won't overflow.\n *\n * @return - The height for the given text\n * @param text the text to measure\n * @param config - the config for fontSize, fontFamily, and fontWeight all impacting the resulting size\n */\n\nexport var calculateTextHeight = function calculateTextHeight(text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n margin: 15\n }, config);\n return calculateTextDimensions(text, config).height;\n};\n/**\n * This calculates the width of the given text, font size and family.\n *\n * @return - The width for the given text\n * @param text - The text to calculate the width of\n * @param config - the config for fontSize, fontFamily, and fontWeight all impacting the resulting size\n */\n\nexport var calculateTextWidth = function calculateTextWidth(text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial'\n }, config);\n return calculateTextDimensions(text, config).width;\n};\n/**\n * This calculates the dimensions of the given text, font size, font family, font weight, and margins.\n *\n * @return - The width for the given text\n * @param text - The text to calculate the width of\n * @param config - the config for fontSize, fontFamily, fontWeight, and margin all impacting the resulting size\n */\n\nexport var calculateTextDimensions = memoize(function (text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial'\n }, config);\n var _config = config,\n fontSize = _config.fontSize,\n fontFamily = _config.fontFamily,\n fontWeight = _config.fontWeight;\n\n if (!text) {\n return {\n width: 0,\n height: 0\n };\n } // We can't really know if the user supplied font family will render on the user agent;\n // thus, we'll take the max width between the user supplied font family, and a default\n // of sans-serif.\n\n\n var fontFamilies = ['sans-serif', fontFamily];\n var lines = text.split(common.lineBreakRegex);\n var dims = [];\n var body = select('body'); // We don't want to leak DOM elements - if a removal operation isn't available\n // for any reason, do not continue.\n\n if (!body.remove) {\n return {\n width: 0,\n height: 0,\n lineHeight: 0\n };\n }\n\n var g = body.append('svg');\n\n for (var _i = 0, _fontFamilies = fontFamilies; _i < _fontFamilies.length; _i++) {\n var _fontFamily = _fontFamilies[_i];\n var cheight = 0;\n var dim = {\n width: 0,\n height: 0,\n lineHeight: 0\n };\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = lines[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var line = _step.value;\n var textObj = getTextObj();\n textObj.text = line;\n var textElem = drawSimpleText(g, textObj).style('font-size', fontSize).style('font-weight', fontWeight).style('font-family', _fontFamily);\n var bBox = (textElem._groups || textElem)[0][0].getBBox();\n dim.width = Math.round(Math.max(dim.width, bBox.width));\n cheight = Math.round(bBox.height);\n dim.height += cheight;\n dim.lineHeight = Math.round(Math.max(dim.lineHeight, cheight));\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n dims.push(dim);\n }\n\n g.remove();\n var index = isNaN(dims[1].height) || isNaN(dims[1].width) || isNaN(dims[1].lineHeight) || dims[0].height > dims[1].height && dims[0].width > dims[1].width && dims[0].lineHeight > dims[1].lineHeight ? 0 : 1;\n return dims[index];\n}, function (text, config) {\n return \"\".concat(text, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily);\n});\nexport default {\n assignWithDepth: assignWithDepth,\n wrapLabel: wrapLabel,\n calculateTextHeight: calculateTextHeight,\n calculateTextWidth: calculateTextWidth,\n calculateTextDimensions: calculateTextDimensions,\n detectInit: detectInit,\n detectDirective: detectDirective,\n detectType: detectType,\n isSubstringInArray: isSubstringInArray,\n interpolateToCurve: interpolateToCurve,\n calcLabelPosition: calcLabelPosition,\n calcCardinalityPosition: calcCardinalityPosition,\n formatUrl: formatUrl,\n getStylesFromArray: getStylesFromArray,\n generateId: generateId,\n random: random,\n memoize: memoize,\n runFunc: runFunc\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "index": 2, "index2": 84, "size": 19471, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } } ], "profile": { "factory": 14, "building": 461, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../mermaidAPI", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./mermaidAPI", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../mermaidAPI", "loc": "14:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "35:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "73:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "79:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "108:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "135:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "147:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "161:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "169:15-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "190:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "191:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "192:10-20" } ], "usedExports": [ "default" ], "providedExports": [ "encodeEntities", "decodeEntities", "default" ], "optimizationBailout": [], "depth": 1, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * This is the api to be used when optionally handling the integration with the web page, instead of using the default integration provided by mermaid.js.\n *\n * The core of this api is the [**render**](https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#render) function which, given a graph\n * definition as text, renders the graph/diagram and returns an svg element for the graph.\n *\n * It is is then up to the user of the API to make use of the svg, either insert it somewhere in the page or do something completely different.\n *\n * In addition to the render function, a number of behavioral configuration options are available.\n *\n * @name mermaidAPI\n */\nimport { select } from 'd3';\nimport scope from 'scope-css';\nimport pkg from '../package.json';\nimport { setConfig, getConfig, setSiteConfig, getSiteConfig } from './config';\nimport { logger, setLogLevel } from './logger';\nimport utils, { assignWithDepth } from './utils';\nimport flowRenderer from './diagrams/flowchart/flowRenderer';\nimport flowRendererV2 from './diagrams/flowchart/flowRenderer-v2';\nimport flowParser from './diagrams/flowchart/parser/flow';\nimport flowDb from './diagrams/flowchart/flowDb';\nimport sequenceRenderer from './diagrams/sequence/sequenceRenderer';\nimport sequenceParser from './diagrams/sequence/parser/sequenceDiagram';\nimport sequenceDb from './diagrams/sequence/sequenceDb';\nimport ganttRenderer from './diagrams/gantt/ganttRenderer';\nimport ganttParser from './diagrams/gantt/parser/gantt';\nimport ganttDb from './diagrams/gantt/ganttDb';\nimport classRenderer from './diagrams/class/classRenderer';\nimport classParser from './diagrams/class/parser/classDiagram';\nimport classDb from './diagrams/class/classDb';\nimport stateRenderer from './diagrams/state/stateRenderer';\nimport stateRendererV2 from './diagrams/state/stateRenderer-v2';\nimport stateParser from './diagrams/state/parser/stateDiagram';\nimport stateDb from './diagrams/state/stateDb';\nimport gitGraphRenderer from './diagrams/git/gitGraphRenderer';\nimport gitGraphParser from './diagrams/git/parser/gitGraph';\nimport gitGraphAst from './diagrams/git/gitGraphAst';\nimport infoRenderer from './diagrams/info/infoRenderer';\nimport errorRenderer from './errorRenderer';\nimport infoParser from './diagrams/info/parser/info';\nimport infoDb from './diagrams/info/infoDb';\nimport pieRenderer from './diagrams/pie/pieRenderer';\nimport pieParser from './diagrams/pie/parser/pie';\nimport pieDb from './diagrams/pie/pieDb';\nimport erDb from './diagrams/er/erDb';\nimport erParser from './diagrams/er/parser/erDiagram';\nimport erRenderer from './diagrams/er/erRenderer';\nimport journeyParser from './diagrams/user-journey/parser/journey';\nimport journeyDb from './diagrams/user-journey/journeyDb';\nimport journeyRenderer from './diagrams/user-journey/journeyRenderer';\nimport configApi from './config';\nvar themes = {};\n\nfor (var _i = 0, _arr = ['default', 'forest', 'dark', 'neutral']; _i < _arr.length; _i++) {\n var themeName = _arr[_i];\n themes[themeName] = require(\"./themes/\".concat(themeName, \"/index.scss\"));\n}\n\nfunction parse(text) {\n var graphInit = utils.detectInit(text);\n\n if (graphInit) {\n reinitialize(graphInit);\n logger.debug('reinit ', graphInit);\n }\n\n var graphType = utils.detectType(text);\n var parser;\n logger.debug('Type ' + graphType);\n\n switch (graphType) {\n case 'git':\n parser = gitGraphParser;\n parser.parser.yy = gitGraphAst;\n break;\n\n case 'flowchart':\n flowDb.clear();\n parser = flowParser;\n parser.parser.yy = flowDb;\n break;\n\n case 'flowchart-v2':\n flowDb.clear();\n parser = flowParser;\n parser.parser.yy = flowDb;\n break;\n\n case 'sequence':\n parser = sequenceParser;\n parser.parser.yy = sequenceDb;\n break;\n\n case 'gantt':\n parser = ganttParser;\n parser.parser.yy = ganttDb;\n break;\n\n case 'class':\n parser = classParser;\n parser.parser.yy = classDb;\n break;\n\n case 'state':\n parser = stateParser;\n parser.parser.yy = stateDb;\n break;\n\n case 'stateDiagram':\n parser = stateParser;\n parser.parser.yy = stateDb;\n break;\n\n case 'info':\n logger.debug('info info info');\n parser = infoParser;\n parser.parser.yy = infoDb;\n break;\n\n case 'pie':\n logger.debug('pie');\n parser = pieParser;\n parser.parser.yy = pieDb;\n break;\n\n case 'er':\n logger.debug('er');\n parser = erParser;\n parser.parser.yy = erDb;\n break;\n\n case 'journey':\n logger.debug('Journey');\n parser = journeyParser;\n parser.parser.yy = journeyDb;\n break;\n }\n\n parser.parser.yy.graphType = graphType;\n\n parser.parser.yy.parseError = function (str, hash) {\n var error = {\n str: str,\n hash: hash\n };\n throw error;\n };\n\n parser.parse(text);\n return parser;\n}\n\nexport var encodeEntities = function encodeEntities(text) {\n var txt = text;\n txt = txt.replace(/style.*:\\S*#.*;/g, function (s) {\n var innerTxt = s.substring(0, s.length - 1);\n return innerTxt;\n });\n txt = txt.replace(/classDef.*:\\S*#.*;/g, function (s) {\n var innerTxt = s.substring(0, s.length - 1);\n return innerTxt;\n });\n txt = txt.replace(/#\\w+;/g, function (s) {\n var innerTxt = s.substring(1, s.length - 1);\n var isInt = /^\\+?\\d+$/.test(innerTxt);\n\n if (isInt) {\n return 'fl°°' + innerTxt + '¶ß';\n } else {\n return 'fl°' + innerTxt + '¶ß';\n }\n });\n return txt;\n};\nexport var decodeEntities = function decodeEntities(text) {\n var txt = text;\n txt = txt.replace(/fl°°/g, function () {\n return '&#';\n });\n txt = txt.replace(/fl°/g, function () {\n return '&';\n });\n txt = txt.replace(/¶ß/g, function () {\n return ';';\n });\n return txt;\n};\n/**\n * Function that renders an svg with a graph from a chart definition. Usage example below.\n *\n * ```js\n * mermaidAPI.initialize({\n * startOnLoad:true\n * });\n * $(function(){\n * const graphDefinition = 'graph TB\\na-->b';\n * const cb = function(svgGraph){\n * console.log(svgGraph);\n * };\n * mermaidAPI.render('id1',graphDefinition,cb);\n * });\n *```\n * @param id the id of the element to be rendered\n * @param _txt the graph definition\n * @param cb callback which is called after rendering is finished with the svg code as inparam.\n * @param container selector to element in which a div with the graph temporarily will be inserted. In one is\n * provided a hidden div will be inserted in the body of the page instead. The element will be removed when rendering is\n * completed.\n */\n\nvar render = function render(id, _txt, cb, container) {\n var cnf = getConfig(); // Check the maximum allowed text size\n\n var txt = _txt;\n\n if (_txt.length > cnf.maxTextSize) {\n txt = 'graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa';\n }\n\n var graphInit = utils.detectInit(txt);\n\n if (graphInit) {\n reinitialize(graphInit);\n assignWithDepth(cnf, getConfig());\n }\n\n if (typeof container !== 'undefined') {\n container.innerHTML = '';\n select(container).append('div').attr('id', 'd' + id).attr('style', 'font-family: ' + cnf.fontFamily).append('svg').attr('id', id).attr('width', '100%').attr('xmlns', 'http://www.w3.org/2000/svg').append('g');\n } else {\n var existingSvg = document.getElementById(id);\n\n if (existingSvg) {\n existingSvg.remove();\n }\n\n var _element = document.querySelector('#' + 'd' + id);\n\n if (_element) {\n _element.remove();\n }\n\n select('body').append('div').attr('id', 'd' + id).append('svg').attr('id', id).attr('width', '100%').attr('xmlns', 'http://www.w3.org/2000/svg').append('g');\n }\n\n window.txt = txt;\n txt = encodeEntities(txt);\n var element = select('#d' + id).node();\n var graphType = utils.detectType(txt); // insert inline style into svg\n\n var svg = element.firstChild;\n var firstChild = svg.firstChild; // pre-defined theme\n\n var style = themes[cnf.theme];\n\n if (style === undefined) {\n style = '';\n } // user provided theme CSS\n\n\n if (cnf.themeCSS !== undefined) {\n style += \"\\n\".concat(cnf.themeCSS);\n } // user provided theme CSS\n\n\n if (cnf.fontFamily !== undefined) {\n style += \"\\n:root { --mermaid-font-family: \".concat(cnf.fontFamily, \"}\");\n } // user provided theme CSS\n\n\n if (cnf.altFontFamily !== undefined) {\n style += \"\\n:root { --mermaid-alt-font-family: \".concat(cnf.altFontFamily, \"}\");\n } // classDef\n\n\n if (graphType === 'flowchart' || graphType === 'flowchart-v2' || graphType === 'graph') {\n var classes = flowRenderer.getClasses(txt);\n\n for (var className in classes) {\n style += \"\\n.\".concat(className, \" > * { \").concat(classes[className].styles.join(' !important; '), \" !important; }\");\n\n if (classes[className].textStyles) {\n style += \"\\n.\".concat(className, \" tspan { \").concat(classes[className].textStyles.join(' !important; '), \" !important; }\");\n }\n }\n }\n\n var style1 = document.createElement('style');\n style1.innerHTML = scope(style, \"#\".concat(id));\n svg.insertBefore(style1, firstChild); // Verify that the generated svgs are ok before removing this\n // const style2 = document.createElement('style');\n // const cs = window.getComputedStyle(svg);\n // style2.innerHTML = `#d${id} * {\n // color: ${cs.color};\n // // font: ${cs.font};\n // // font-family: Arial;\n // // font-size: 24px;\n // }`;\n // svg.insertBefore(style2, firstChild);\n\n try {\n switch (graphType) {\n case 'git':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n gitGraphRenderer.setConf(cnf.git);\n gitGraphRenderer.draw(txt, id, false);\n break;\n\n case 'flowchart':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n flowRenderer.setConf(cnf.flowchart);\n flowRenderer.draw(txt, id, false);\n break;\n\n case 'flowchart-v2':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n flowRendererV2.setConf(cnf.flowchart);\n flowRendererV2.draw(txt, id, false);\n break;\n\n case 'sequence':\n cnf.sequence.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n\n if (cnf.sequenceDiagram) {\n // backwards compatibility\n sequenceRenderer.setConf(Object.assign(cnf.sequence, cnf.sequenceDiagram));\n console.error('`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.');\n } else {\n sequenceRenderer.setConf(cnf.sequence);\n }\n\n sequenceRenderer.draw(txt, id);\n break;\n\n case 'gantt':\n cnf.gantt.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n ganttRenderer.setConf(cnf.gantt);\n ganttRenderer.draw(txt, id);\n break;\n\n case 'class':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n classRenderer.setConf(cnf.class);\n classRenderer.draw(txt, id);\n break;\n\n case 'state':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n stateRenderer.setConf(cnf.state);\n stateRenderer.draw(txt, id);\n break;\n\n case 'stateDiagram':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n stateRendererV2.setConf(cnf.state);\n stateRendererV2.draw(txt, id);\n break;\n\n case 'info':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n infoRenderer.setConf(cnf.class);\n infoRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'pie':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n pieRenderer.setConf(cnf.class);\n pieRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'er':\n erRenderer.setConf(cnf.er);\n erRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'journey':\n journeyRenderer.setConf(cnf.journey);\n journeyRenderer.draw(txt, id, pkg.version);\n break;\n }\n } catch (e) {\n // errorRenderer.setConf(cnf.class);\n errorRenderer.draw(id, pkg.version);\n throw e;\n }\n\n select(\"[id=\\\"\".concat(id, \"\\\"]\")).selectAll('foreignobject > *').attr('xmlns', 'http://www.w3.org/1999/xhtml'); // if (cnf.arrowMarkerAbsolute) {\n // url =\n // window.location.protocol +\n // '//' +\n // window.location.host +\n // window.location.pathname +\n // window.location.search;\n // url = url.replace(/\\(/g, '\\\\(');\n // url = url.replace(/\\)/g, '\\\\)');\n // }\n // Fix for when the base tag is used\n\n var svgCode = select('#d' + id).node().innerHTML;\n logger.debug('cnf.arrowMarkerAbsolute', cnf.arrowMarkerAbsolute);\n\n if (!cnf.arrowMarkerAbsolute || cnf.arrowMarkerAbsolute === 'false') {\n svgCode = svgCode.replace(/marker-end=\"url\\(.*?#/g, 'marker-end=\"url(#', 'g');\n }\n\n svgCode = decodeEntities(svgCode);\n\n if (typeof cb !== 'undefined') {\n switch (graphType) {\n case 'flowchart':\n case 'flowchart-v2':\n cb(svgCode, flowDb.bindFunctions);\n break;\n\n case 'gantt':\n cb(svgCode, ganttDb.bindFunctions);\n break;\n\n case 'class':\n cb(svgCode, classDb.bindFunctions);\n break;\n\n default:\n cb(svgCode);\n }\n } else {\n logger.debug('CB = undefined!');\n }\n\n var node = select('#d' + id).node();\n\n if (node !== null && typeof node.remove === 'function') {\n select('#d' + id).node().remove();\n }\n\n return svgCode;\n};\n\nvar currentDirective = {};\n\nvar parseDirective = function parseDirective(statement, context, type) {\n try {\n if (statement !== undefined) {\n statement = statement.trim();\n\n switch (context) {\n case 'open_directive':\n currentDirective = {};\n break;\n\n case 'type_directive':\n currentDirective.type = statement.toLowerCase();\n break;\n\n case 'arg_directive':\n currentDirective.args = JSON.parse(statement);\n break;\n\n case 'close_directive':\n handleDirective(currentDirective, type);\n currentDirective = null;\n break;\n }\n }\n } catch (error) {\n logger.error(\"Error while rendering sequenceDiagram directive: \".concat(statement, \" jison context: \").concat(context));\n logger.error(error.message);\n }\n};\n\nvar handleDirective = function handleDirective(directive, type) {\n logger.debug(\"Directive type=\".concat(directive.type, \" with args:\"), directive.args);\n\n switch (directive.type) {\n case 'init':\n case 'initialize':\n {\n ['config'].forEach(function (prop) {\n if (typeof directive.args[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n directive.args[type] = directive.args[prop];\n delete directive.args[prop];\n }\n });\n reinitialize(directive.args);\n break;\n }\n\n case 'wrap':\n case 'nowrap':\n directive.args = {\n config: {\n wrap: directive.type === 'wrap'\n }\n };\n ['config'].forEach(function (prop) {\n if (typeof directive.args[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n directive.args[type] = directive.args[prop];\n delete directive.args[prop];\n }\n });\n reinitialize(directive.args);\n break;\n\n default:\n logger.warn(\"Unhandled directive: source: '%%{\".concat(directive.type, \": \").concat(JSON.stringify(directive.args ? directive.args : {}), \"}%%\"), directive);\n break;\n }\n};\n\nfunction updateRendererConfigs(conf) {\n gitGraphRenderer.setConf(conf.git);\n flowRenderer.setConf(conf.flowchart);\n flowRendererV2.setConf(conf.flowchart);\n\n if (typeof conf['sequenceDiagram'] !== 'undefined') {\n sequenceRenderer.setConf(assignWithDepth(conf.sequence, conf['sequenceDiagram']));\n }\n\n sequenceRenderer.setConf(conf.sequence);\n ganttRenderer.setConf(conf.gantt);\n classRenderer.setConf(conf.class);\n stateRenderer.setConf(conf.state);\n stateRendererV2.setConf(conf.state);\n infoRenderer.setConf(conf.class);\n pieRenderer.setConf(conf.class);\n erRenderer.setConf(conf.er);\n journeyRenderer.setConf(conf.journey);\n errorRenderer.setConf(conf.class);\n}\n\nfunction reinitialize(options) {\n console.log(\"mermaidAPI.reinitialize: v\".concat(pkg.version), options); // Set default options\n\n var config = _typeof(options) === 'object' ? setConfig(options) : getSiteConfig();\n updateRendererConfigs(config);\n setLogLevel(config.logLevel);\n logger.debug('mermaidAPI.reinitialize: ', config);\n}\n\nfunction initialize(options) {\n // console.log(`mermaidAPI.initialize: v${pkg.version}`);\n // Set default options\n var config = _typeof(options) === 'object' ? setSiteConfig(options) : getSiteConfig();\n updateRendererConfigs(config);\n setLogLevel(config.logLevel);\n logger.debug('mermaidAPI.initialize: ', config);\n} // function getConfig () {\n// console.warn('get config')\n// return config\n// }\n\n\nvar mermaidAPI = Object.freeze({\n render: render,\n parse: parse,\n parseDirective: parseDirective,\n initialize: initialize,\n reinitialize: reinitialize,\n getConfig: getConfig,\n getSiteConfig: getSiteConfig,\n reset: function reset() {\n // console.warn('reset');\n configApi.reset();\n var siteConfig = getSiteConfig();\n updateRendererConfigs(siteConfig);\n },\n globalReset: function globalReset() {\n configApi.reset(configApi.defaultConfig);\n updateRendererConfigs(getConfig());\n },\n defaultConfig: configApi.defaultConfig\n});\nsetLogLevel(getConfig().logLevel);\nconfigApi.reset(getConfig());\nexport default mermaidAPI;\n/**\n * ## mermaidAPI configuration defaults\n *

\n *\n * <script>\n *   var config = {\n *     theme:'default',\n *     logLevel:'fatal',\n *     securityLevel:'strict',\n *     startOnLoad:true,\n *     arrowMarkerAbsolute:false,\n *\n *     er:{\n *       diagramPadding:20,\n *       layoutDirection:'TB',\n *       minEntityWidth:100,\n *       minEntityHeight:75,\n *       entityPadding:15,\n *       stroke:'gray',\n *       fill:'honeydew',\n *       fontSize:12,\n *       useMaxWidth:true,\n *     },\n *     flowchart:{\n *       diagramPadding:8,\n *       htmlLabels:true,\n *       curve:'linear',\n *     },\n *     sequence:{\n *       diagramMarginX:50,\n *       diagramMarginY:10,\n *       actorMargin:50,\n *       width:150,\n *       height:65,\n *       boxMargin:10,\n *       boxTextMargin:5,\n *       noteMargin:10,\n *       messageMargin:35,\n *       messageAlign:'center',\n *       mirrorActors:true,\n *       bottomMarginAdj:1,\n *       useMaxWidth:true,\n *       rightAngles:false,\n *       showSequenceNumbers:false,\n *     },\n *     gantt:{\n *       titleTopMargin:25,\n *       barHeight:20,\n *       barGap:4,\n *       topPadding:50,\n *       leftPadding:75,\n *       gridLineStartPadding:35,\n *       fontSize:11,\n *       fontFamily:'\"Open-Sans\", \"sans-serif\"',\n *       numberSectionStyles:4,\n *       axisFormat:'%Y-%m-%d',\n *     }\n *   };\n *   mermaid.initialize(config);\n * </script>\n *
\n */" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/common/common.js", "name": "./src/diagrams/common/common.js", "index": 19, "index2": 16, "size": 1849, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "issuerId": null, "issuerName": "./src/utils.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 179, "building": 892 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "9:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "9:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/common/common", "loc": "16:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "22:50-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "22:98-104" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "55:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "60:34-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "61:34-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "111:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "150:53-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "170:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "175:30-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "197:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "197:33-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "209:28-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "239:21-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "249:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "271:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "279:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "295:28-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "341:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "391:30-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "436:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "536:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "568:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "708:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "getRows", "removeScript", "sanitizeText", "lineBreakRegex", "hasBreaks", "splitBreaks", "default" ], "optimizationBailout": [], "depth": 2, "source": "export var getRows = function getRows(s) {\n if (!s) return 1;\n var str = breakToPlaceholder(s);\n str = str.replace(/\\\\n/g, '#br#');\n return str.split('#br#');\n};\nexport var removeScript = function removeScript(txt) {\n var rs = '';\n var idx = 0;\n\n while (idx >= 0) {\n idx = txt.indexOf('= 0) {\n rs += txt.substr(0, idx);\n txt = txt.substr(idx + 1);\n idx = txt.indexOf('');\n\n if (idx >= 0) {\n idx += 9;\n txt = txt.substr(idx);\n }\n } else {\n rs += txt;\n idx = -1;\n break;\n }\n }\n\n return rs;\n};\nexport var sanitizeText = function sanitizeText(text, config) {\n var txt = text;\n var htmlLabels = true;\n if (config.flowchart && (config.flowchart.htmlLabels === false || config.flowchart.htmlLabels === 'false')) htmlLabels = false;\n\n if (htmlLabels) {\n var level = config.securityLevel;\n\n if (level == 'antiscript') {\n txt = removeScript(txt);\n } else if (level !== 'loose') {\n // eslint-disable-line\n txt = breakToPlaceholder(txt);\n txt = txt.replace(//g, '>');\n txt = txt.replace(/=/g, '=');\n txt = placeholderToBreak(txt);\n }\n }\n\n return txt;\n};\nexport var lineBreakRegex = //gi;\nexport var hasBreaks = function hasBreaks(text) {\n return //gi.test(text);\n};\nexport var splitBreaks = function splitBreaks(text) {\n return text.split(//gi);\n};\n\nvar breakToPlaceholder = function breakToPlaceholder(s) {\n return s.replace(lineBreakRegex, '#br#');\n};\n\nvar placeholderToBreak = function placeholderToBreak(s) {\n return s.replace(/#br#/g, '
');\n};\n\nexport default {\n getRows: getRows,\n sanitizeText: sanitizeText,\n hasBreaks: hasBreaks,\n splitBreaks: splitBreaks,\n lineBreakRegex: lineBreakRegex,\n removeScript: removeScript\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "name": "./src/config.js", "index": 27, "index2": 24, "size": 29029, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "3:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "6:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "6:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "7:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "7:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "10:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "11:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "12:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:86-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:153-162" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:192-201" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:220-229" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./config", "loc": "18:0-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "20:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:92-101" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:158-167" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "23:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "26:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:117-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:162-171" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:144-153" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:208-217" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:246-255" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "32:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "41:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "41:219-228" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "44:23-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:119-128" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:164-173" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "49:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:64-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:98-107" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:132-141" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./config", "loc": "54:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:52-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:142-151" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:184-193" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "67:35-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:135-144" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:213-222" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:251-260" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "74:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "82:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "85:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "86:19-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "90:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "90:102-111" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "97:124-133" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "137:18-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "139:176-185" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "139:207-216" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "144:18-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "144:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:214-223" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:255-264" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:79-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:108-117" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:150-159" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:178-187" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:207-216" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:249-258" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:277-286" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:306-315" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:86-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:153-162" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:196-205" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:224-233" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "156:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "157:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "159:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "165:128-137" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "165:165-174" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "172:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "173:241-250" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "198:23-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "215:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "220:27-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "221:47-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "227:25-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "233:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "244:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "248:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "253:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "260:39-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "261:33-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "265:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "269:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "288:41-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "289:43-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "306:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "308:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "326:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "331:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "341:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "354:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:91-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:152-161" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:214-223" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:268-277" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "478:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "510:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "545:47-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "545:68-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "554:47-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "554:72-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "570:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "571:17-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "574:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "575:21-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "579:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "579:20-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "580:26-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "582:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "584:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "585:0-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "585:16-25" } ], "usedExports": [ "getConfig", "setConfig", "getSiteConfig", "setSiteConfig", "default" ], "providedExports": [ "defaultConfig", "setSiteConfig", "getSiteConfig", "setConfig", "getConfig", "sanitize", "reset", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { assignWithDepth } from './utils';\nimport { logger } from './logger';\n/**\n * These are the default options which can be overridden with the initialization call like so:\n * **Example 1:**\n *
\n * mermaid.initialize({\n *   flowchart:{\n *     htmlLabels: false\n *   }\n * });\n * 
\n *\n * **Example 2:**\n *
\n * <script>\n *   var config = {\n *     startOnLoad:true,\n *     flowchart:{\n *       useMaxWidth:true,\n *       htmlLabels:true,\n *       curve:'cardinal',\n *     },\n *\n *     securityLevel:'loose',\n *   };\n *   mermaid.initialize(config);\n * </script>\n * 
\n * A summary of all options and their defaults is found [here](https://github.com/knsv/mermaid/blob/master/docs/Setup.md#mermaidapi-configuration-defaults). A description of each option follows below.\n *\n * @name Configuration\n */\n\nvar config = {\n /** theme , the CSS style sheet\n *\n * theme , the CSS style sheet\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| Theme |Built in Themes| String | Optional | Values include, default, forest, dark, neutral, null|\n ***Notes:**To disable any pre-defined mermaid theme, use \"null\".\n *
\n   *  \"theme\": \"forest\",\n   *  \"themeCSS\": \".node rect { fill: red; }\"\n   * 
\n */\n theme: 'default',\n themeCSS: undefined,\n\n /* **maxTextSize** - The maximum allowed size of the users text diamgram */\n maxTextSize: 50000,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *|fontFamily | specifies the font to be used in the rendered diagrams| String | Required | Verdana, Arial, Trebuchet MS,|\n *\n ***notes: Default value is \\\\\"trebuchet ms\\\\\".\n */\n fontFamily: '\"trebuchet ms\", verdana, arial;',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| logLevel |This option decides the amount of logging to be used.| String | Required | 1, 2, 3, 4, 5 |\n *\n *\n ***Notes:**\n *- debug: 1.\n *- info: 2.\n *- warn: 3.\n *- error: 4.\n *- fatal: 5(default).\n */\n logLevel: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| securitylevel | Level of trust for parsed diagram|String | Required | Strict, Loose, antiscript |\n *\n ***Notes:\n *- **strict**: (**default**) tags in text are encoded, click functionality is disabeled\n *- **loose**: tags in text are allowed, click functionality is enabled\n *- **antiscript**: html tags in text are allowed, (only script element is removed), click functionality is enabled\n */\n securityLevel: 'strict',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| startOnLoad| Dictates whether mermaind starts on Page load | Boolean | Required | True, False |\n *\n ***Notes:**\n ***Default value: true**\n */\n startOnLoad: true,\n\n /**\n *| Parameter | Description |Type | Required |Values|\n *| --- | --- | --- | --- | --- |\n *| arrowMarkerAbsolute | Controls whether or arrow markers in html code are absolute paths or anchors | Boolean | Required | True, False |\n *\n *\n *## Notes**: This matters if you are using base tag settings.\n ***Default value: false**.\n */\n arrowMarkerAbsolute: false,\n\n /**\n * This option controls which currentConfig keys are considered _secure_ and can only be changed via\n * call to mermaidAPI.initialize. Calls to mermaidAPI.reinitialize cannot make changes to\n * the `secure` keys in the current currentConfig. This prevents malicious graph directives from\n * overriding a site's default security.\n */\n secure: ['secure', 'securityLevel', 'startOnLoad', 'maxTextSize'],\n\n /**\n * The object containing configurations specific for flowcharts\n */\n flowchart: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramPadding | amount of padding around the diagram as a whole | Integer | Required | Any Positive Value |\n *\n ***Notes:**The amount of padding around the diagram as a whole so that embedded diagrams have margins, expressed in pixels\n ***Default value: 8**.\n */\n diagramPadding: 8,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| htmlLabels | Flag for setting whether or not a html tag should be used for rendering labels on the edges. | Boolean| Required | True, False|\n *\n ***Notes: Default value: true**.\n */\n htmlLabels: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| nodeSpacing | Defines the spacing between nodes on the same level | Integer| Required | Any positive Numbers |\n *\n ***Notes:\n *Pertains to horizontal spacing for TB (top to bottom) or BT (bottom to top) graphs, and the vertical spacing for LR as well as RL graphs.**\n ***Default value 50**.\n */\n nodeSpacing: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rankSpacing | Defines the spacing between nodes on different levels | Integer | Required| Any Positive Numbers |\n *\n ***Notes: pertains to vertical spacing for TB (top to bottom) or BT (bottom to top), and the horizontal spacing for LR as well as RL graphs.\n ***Default value 50**.\n */\n rankSpacing: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| curve | Defines how mermaid renders curves for flowcharts. | String | Required | Basis, Linear, Cardinal|\n *\n ***Notes:\n *Default Vaue: Linear**\n */\n curve: 'linear',\n // Only used in new experimental rendering\n // repreesents the padding between the labels and the shape\n padding: 15\n },\n\n /**\n * The object containing configurations specific for sequence diagrams\n */\n sequence: {\n /**\n * widt of the activation rect\n * **Default value 10**.\n */\n activationWidth: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginX | margin to the right and left of the sequence diagram | Integer | Required | Any Positive Values |\n *\n ***Notes:**\n ***Default value 50**.\n */\n diagramMarginX: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginY | Margin to the over and under the sequence diagram | Integer | Required | Any Positive Values|\n *\n ***Notes:**\n ***Default value 10**.\n */\n diagramMarginY: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorMargin | Margin between actors. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n actorMargin: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| width | Width of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 150**.\n */\n width: 150,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| height | Height of actor boxes | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 65**..\n */\n height: 65,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n ***Default value 10**.\n */\n boxMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxTextMargin| margin around the text in loop/alt/opt boxes | Integer | Required| Any Positive Value|\n *\n ***Notes:**\n *\n ***Default value 5**.\n */\n boxTextMargin: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteMargin | margin around notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n ***Default value 10**.\n */\n noteMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageMargin | Space between messages. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n *Space between messages.\n ***Default value 35**.\n */\n messageMargin: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageAlign | Multiline message alignment | Integer | Required | left, center, right |\n *\n ***Notes:**center **default**\n */\n messageAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| mirrorActors | mirror actors under diagram. | Boolean| Required | True, False |\n *\n ***Notes:**\n *\n ***Default value true**.\n */\n mirrorActors: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| bottomMarginAdj | Prolongs the edge of the diagram downwards. | Integer | Required | Any Positive Value |\n *\n ***Notes:**Depending on css styling this might need adjustment.\n ***Default value 1**.\n */\n bottomMarginAdj: 1,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See Notes | Boolean | Required | True, False |\n *\n ***Notes:**\n *when this flag is set to true, the height and width is set to 100% and is then scaling with the\n *available space. If set to false, the absolute space required is used.\n ***Default value: True**.\n */\n useMaxWidth: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rightAngles | display curve arrows as right angles| Boolean | Required | True, False |\n *\n ***Notes:**\n *\n *This will display arrows that start and begin at the same node as right angles, rather than a curve\n ***Default value false**.\n */\n rightAngles: false,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| showSequenceNumbers | This will show the node numbers | Boolean | Required | True, False |\n *\n ***Notes:**\n ***Default value false**.\n */\n showSequenceNumbers: false,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorFontSize| This sets the font size of the actor's description | Integer | Require | Any Positive Value |\n *\n ***Notes:**\n ***Default value 14**..\n */\n actorFontSize: 14,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorFontFamily |This sets the font family of the actor's description | 3 | 4 | Open-Sans, Sans-Serif |\n *\n ***Notes:**\n ***Default value \"Open-Sans\", \"sans-serif\"**.\n */\n actorFontFamily: '\"Open-Sans\", \"sans-serif\"',\n\n /**\n * This sets the font weight of the actor's description\n * **Default value 400.\n */\n actorFontWeight: 400,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteFontSize |This sets the font size of actor-attached notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 14**..\n */\n noteFontSize: 14,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteFontFamily| This sets the font family of actor-attached notes. | String | Required | trebuchet ms, verdana, arial |\n *\n ***Notes:**\n ***Default value: trebuchet ms **.\n */\n noteFontFamily: '\"trebuchet ms\", verdana, arial',\n\n /**\n * This sets the font weight of the note's description\n * **Default value 400.\n */\n noteFontWeight: 400,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteAlign | This sets the text alignment of actor-attached notes. | string | required | left, center, right|\n *\n ***Notes:**\n ***Default value center**.\n */\n noteAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageFontSize | This sets the font size of actor messages. | Integer | Required | Any Positive Number |\n *\n ***Notes:**\n ***Default value 16**.\n */\n messageFontSize: 16,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageFontFamily | This sets the font family of actor messages. | String| Required | trebuchet ms\", verdana, aria |\n *\n ***Notes:**\n ***Default value:\"trebuchet ms**.\n */\n messageFontFamily: '\"trebuchet ms\", verdana, arial',\n\n /**\n * This sets the font weight of the message's description\n * **Default value 400.\n */\n messageFontWeight: 400,\n\n /**\n * This sets the auto-wrap state for the diagram\n * **Default value false.\n */\n wrap: false,\n\n /**\n * This sets the auto-wrap padding for the diagram (sides only)\n * **Default value 10.\n */\n wrapPadding: 10,\n\n /**\n * This sets the width of the loop-box (loop, alt, opt, par)\n * **Default value 50.\n */\n labelBoxWidth: 50,\n\n /**\n * This sets the height of the loop-box (loop, alt, opt, par)\n * **Default value 20.\n */\n labelBoxHeight: 20,\n messageFont: function messageFont() {\n return {\n fontFamily: this.messageFontFamily,\n fontSize: this.messageFontSize,\n fontWeight: this.messageFontWeight\n };\n },\n noteFont: function noteFont() {\n return {\n fontFamily: this.noteFontFamily,\n fontSize: this.noteFontSize,\n fontWeight: this.noteFontWeight\n };\n },\n actorFont: function actorFont() {\n return {\n fontFamily: this.actorFontFamily,\n fontSize: this.actorFontSize,\n fontWeight: this.actorFontWeight\n };\n }\n },\n\n /**\n * The object containing configurations specific for gantt diagrams*\n */\n gantt: {\n /**\n *### titleTopMargin\n *\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| titleTopMargin | Margin top for the text over the gantt diagram | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 25**.\n */\n titleTopMargin: 25,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| barHeight | The height of the bars in the graph | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 20**.\n */\n barHeight: 20,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| barGap | The margin between the different activities in the gantt diagram. | Integer | Optional |Any Positive Value |\n *\n ***Notes:**\n ***Default value 4**.\n */\n barGap: 4,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| topPadding | Margin between title and gantt diagram and between axis and gantt diagram. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n topPadding: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| leftPadding | The space allocated for the section name to the left of the activities. | Integer| Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 75**.\n */\n leftPadding: 75,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| gridLineStartPadding | Vertical starting position of the grid lines. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 35**.\n */\n gridLineStartPadding: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontSize | Font size| Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 11**.\n */\n fontSize: 11,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontFamily | font Family | string | required |\"Open-Sans\", \"sans-serif\" |\n *\n ***Notes:**\n *\n ***Default value '\"Open-Sans\", \"sans-serif\"'**.\n */\n fontFamily: '\"Open-Sans\", \"sans-serif\"',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| numberSectionStyles | The number of alternating section styles | Integer | 4 | Any Positive Value |\n *\n ***Notes:**\n ***Default value 4**.\n */\n numberSectionStyles: 4,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| axisFormat | Datetime format of the axis. | 3 | Required | Date in yy-mm-dd |\n *\n ***Notes:**\n *\n * This might need adjustment to match your locale and preferences\n ***Default value '%Y-%m-%d'**.\n */\n axisFormat: '%Y-%m-%d'\n },\n\n /**\n * The object containing configurations specific for sequence diagrams\n */\n journey: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginX | margin to the right and left of the sequence diagram | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n diagramMarginX: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginY | margin to the over and under the sequence diagram. | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 10**..\n */\n diagramMarginY: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorMargin | Margin between actors. | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 50**.\n */\n actorMargin: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| width | Width of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 150**.\n */\n width: 150,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| height | Height of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 65**.\n */\n height: 65,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 10**.\n */\n boxMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxTextMargin | margin around the text in loop/alt/opt boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n */\n boxTextMargin: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteMargin | margin around notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 10**.\n */\n noteMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageMargin |Space between messages. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n *Space between messages.\n ***Default value 35**.\n */\n messageMargin: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageAlign |Multiline message alignment | 3 | 4 | left, center, right |\n *\n ***Notes:**default:center**\n */\n messageAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| bottomMarginAdj | Prolongs the edge of the diagram downwards. | Integer | 4 | Any Positive Value |\n *\n ***Notes:**Depending on css styling this might need adjustment.\n ***Default value 1**.\n */\n bottomMarginAdj: 1,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See notes | Boolean | 4 | True, False |\n *\n ***Notes:**when this flag is set the height and width is set to 100% and is then scaling with the\n *available space if not the absolute space required is used.\n *\n ***Default value true**.\n */\n useMaxWidth: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rightAngles | Curved Arrows become Right Angles, | 3 | 4 | True, False |\n *\n ***Notes:**This will display arrows that start and begin at the same node as right angles, rather than a curves\n ***Default value false**.\n */\n rightAngles: false\n },\n class: {\n arrowMarkerAbsolute: false\n },\n git: {\n arrowMarkerAbsolute: false\n },\n state: {\n dividerMargin: 10,\n sizeUnit: 5,\n padding: 8,\n textHeight: 10,\n titleShift: -15,\n noteMargin: 10,\n forkWidth: 70,\n forkHeight: 7,\n // Used\n miniPadding: 2,\n // Font size factor, this is used to guess the width of the edges labels before rendering by dagre\n // layout. This might need updating if/when switching font\n fontSizeFactor: 5.02,\n fontSize: 24,\n labelHeight: 16,\n edgeLengthFactor: '20',\n compositTitleSize: 35,\n radius: 5\n },\n\n /**\n * The object containing configurations specific for entity relationship diagrams\n */\n er: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramPadding | amount of padding around the diagram as a whole | Integer | Required | Any Positive Value |\n *\n ***Notes:**The amount of padding around the diagram as a whole so that embedded diagrams have margins, expressed in pixels\n ***Default value: 20**.\n */\n diagramPadding: 20,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| layoutDirection | Directional bias for layout of entities. | String | Required | \"TB\", \"BT\",\"LR\",\"RL\" |\n *\n ***Notes:**\n *'TB' for Top-Bottom, 'BT'for Bottom-Top, 'LR' for Left-Right, or 'RL' for Right to Left.\n * T = top, B = bottom, L = left, and R = right.\n ***Default value: TB **.\n */\n layoutDirection: 'TB',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| minEntityWidth | The mimimum width of an entity box, | Integer | Required| Any Positive Value |\n *\n ***Notes:**expressed in pixels\n ***Default value: 100**.\n */\n minEntityWidth: 100,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| minEntityHeight| The minimum height of an entity box, | Integer | 4 | Any Positive Value |\n *\n ***Notes:**expressed in pixels\n ***Default value: 75 **\n */\n minEntityHeight: 75,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| entityPadding|minimum internal padding betweentext in box and box borders| Integer | 4 | Any Positive Value |\n *\n ***Notes:**The minimum internal padding betweentext in an entity box and the enclosing box borders, expressed in pixels.\n ***Default value: 15 **\n */\n entityPadding: 15,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| stroke | Stroke color of box edges and lines | String | 4 | Any recognized color |\n ***Default value: gray **\n */\n stroke: 'gray',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fill | Fill color of entity boxes | String | 4 | Any recognized color |\n *\n ***Notes:**\n ***Default value:'honeydew'**\n */\n fill: 'honeydew',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontSize| Font Size in pixels| Integer | | Any Positive Value |\n *\n ***Notes:**Font size (expressed as an integer representing a number of pixels)\n ***Default value: 12 **\n */\n fontSize: 12,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See Notes | Boolean | Required | true, false |\n *\n ***Notes:**\n *When this flag is set to true, the diagram width is locked to 100% and\n *scaled based on available space. If set to false, the diagram reserves its\n *absolute width.\n ***Default value: true**.\n */\n useMaxWidth: true\n }\n};\nconfig.class.arrowMarkerAbsolute = config.arrowMarkerAbsolute;\nconfig.git.arrowMarkerAbsolute = config.arrowMarkerAbsolute;\nexport var defaultConfig = Object.freeze(config);\nvar siteConfig = assignWithDepth({}, defaultConfig);\nvar currentConfig = assignWithDepth({}, defaultConfig);\n/**\n * Sets the siteConfig. The siteConfig is a protected configuration for repeat use. Calls to reset() will reset\n * the currentConfig to siteConfig. Calls to reset(configApi.defaultConfig) will reset siteConfig and currentConfig\n * to the defaultConfig\n * Note: currentConfig is set in this function\n * @param conf - the base currentConfig to use as siteConfig\n * @returns {*} - the siteConfig\n */\n\nexport var setSiteConfig = function setSiteConfig(conf) {\n assignWithDepth(currentConfig, conf, {\n clobber: true\n });\n assignWithDepth(siteConfig, conf);\n return getSiteConfig();\n};\n/**\n * Obtains the current siteConfig base configuration\n * @returns {*}\n */\n\nexport var getSiteConfig = function getSiteConfig() {\n return assignWithDepth({}, siteConfig);\n};\n/**\n * Sets the currentConfig. The param conf is sanitized based on the siteConfig.secure keys. Any\n * values found in conf with key found in siteConfig.secure will be replaced with the corresponding\n * siteConfig value.\n * @param conf - the potential currentConfig\n * @returns {*} - the currentConfig merged with the sanitized conf\n */\n\nexport var setConfig = function setConfig(conf) {\n sanitize(conf);\n assignWithDepth(currentConfig, conf);\n return getConfig();\n};\n/**\n * Obtains the currentConfig\n * @returns {*} - the currentConfig\n */\n\nexport var getConfig = function getConfig() {\n return assignWithDepth({}, currentConfig);\n};\n/**\n * Ensures options parameter does not attempt to override siteConfig secure keys\n * Note: modifies options in-place\n * @param options - the potential setConfig parameter\n */\n\nexport var sanitize = function sanitize(options) {\n Object.keys(siteConfig.secure).forEach(function (key) {\n if (typeof options[siteConfig.secure[key]] !== 'undefined') {\n // DO NOT attempt to print options[siteConfig.secure[key]] within `${}` as a malicious script\n // can exploit the logger's attempt to stringify the value and execute arbitrary code\n logger.warn(\"Denied attempt to modify a secure key \".concat(siteConfig.secure[key]), options[siteConfig.secure[key]]);\n delete options[siteConfig.secure[key]];\n }\n });\n};\n/**\n * Resets this currentConfig to conf\n * @param conf - the base currentConfig to reset to (default: current siteConfig )\n */\n\nexport var reset = function reset() {\n var conf = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getSiteConfig();\n Object.keys(siteConfig).forEach(function (key) {\n return delete siteConfig[key];\n });\n Object.keys(currentConfig).forEach(function (key) {\n return delete currentConfig[key];\n });\n assignWithDepth(siteConfig, conf, {\n clobber: true\n });\n assignWithDepth(currentConfig, conf, {\n clobber: true\n });\n};\nvar configApi = Object.freeze({\n sanitize: sanitize,\n setSiteConfig: setSiteConfig,\n getSiteConfig: getSiteConfig,\n setConfig: setConfig,\n getConfig: getConfig,\n reset: reset,\n defaultConfig: defaultConfig\n});\nexport default configApi;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "name": "./src/diagrams/flowchart/flowDb.js", "index": 26, "index2": 25, "size": 18389, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./flowDb", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "./flowDb", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowDb", "loc": "24:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "81:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "83:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "87:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "89:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "272:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "276:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "279:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "292:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "294:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "294:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "296:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "302:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "305:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "315:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "317:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "325:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "325:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "329:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "333:13-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "334:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "348:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "354:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "358:13-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "359:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "372:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "383:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "392:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "402:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "415:20-26" } ], "usedExports": [ "default" ], "providedExports": [ "addVertex", "addSingleLink", "addLink", "updateLinkInterpolate", "updateLink", "addClass", "setDirection", "setClass", "setLink", "getTooltip", "setClickEvent", "bindFunctions", "getDirection", "getVertices", "getEdges", "getClasses", "clear", "defaultStyle", "addSubGraph", "getDepthFirstPos", "indexNodes", "getSubGraphs", "firstGraph", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { select } from 'd3';\nimport { logger } from '../../logger'; // eslint-disable-line\n\nimport utils from '../../utils';\nimport { getConfig } from '../../config';\nimport common from '../common/common'; // const MERMAID_DOM_ID_PREFIX = 'mermaid-dom-id-';\n\nvar MERMAID_DOM_ID_PREFIX = '';\nvar config = getConfig();\nvar vertices = {};\nvar edges = [];\nvar classes = [];\nvar subGraphs = [];\nvar subGraphLookup = {};\nvar tooltips = {};\nvar subCount = 0;\nvar firstGraphFlag = true;\nvar direction; // Functions to be run after graph rendering\n\nvar funs = [];\n/**\n * Function called by parser when a node definition has been found\n * @param id\n * @param text\n * @param type\n * @param style\n * @param classes\n */\n\nexport var addVertex = function addVertex(_id, text, type, style, classes) {\n var txt;\n var id = _id;\n\n if (typeof id === 'undefined') {\n return;\n }\n\n if (id.trim().length === 0) {\n return;\n }\n\n if (id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] === 'undefined') {\n vertices[id] = {\n id: id,\n styles: [],\n classes: []\n };\n }\n\n if (typeof text !== 'undefined') {\n txt = common.sanitizeText(text.trim(), config); // strip quotes if string starts and ends with a quote\n\n if (txt[0] === '\"' && txt[txt.length - 1] === '\"') {\n txt = txt.substring(1, txt.length - 1);\n }\n\n vertices[id].text = txt;\n } else {\n if (typeof vertices[id].text === 'undefined') {\n vertices[id].text = _id;\n }\n }\n\n if (typeof type !== 'undefined') {\n vertices[id].type = type;\n }\n\n if (typeof style !== 'undefined') {\n if (style !== null) {\n style.forEach(function (s) {\n vertices[id].styles.push(s);\n });\n }\n }\n\n if (typeof classes !== 'undefined') {\n if (classes !== null) {\n classes.forEach(function (s) {\n vertices[id].classes.push(s);\n });\n }\n }\n};\n/**\n * Function called by parser when a link/edge definition has been found\n * @param start\n * @param end\n * @param type\n * @param linktext\n */\n\nexport var addSingleLink = function addSingleLink(_start, _end, type, linktext) {\n var start = _start;\n var end = _end;\n if (start[0].match(/\\d/)) start = MERMAID_DOM_ID_PREFIX + start;\n if (end[0].match(/\\d/)) end = MERMAID_DOM_ID_PREFIX + end; // logger.info('Got edge...', start, end);\n\n var edge = {\n start: start,\n end: end,\n type: undefined,\n text: ''\n };\n linktext = type.text;\n\n if (typeof linktext !== 'undefined') {\n edge.text = common.sanitizeText(linktext.trim(), config); // strip quotes if string starts and exnds with a quote\n\n if (edge.text[0] === '\"' && edge.text[edge.text.length - 1] === '\"') {\n edge.text = edge.text.substring(1, edge.text.length - 1);\n }\n }\n\n if (typeof type !== 'undefined') {\n edge.type = type.type;\n edge.stroke = type.stroke;\n }\n\n edges.push(edge);\n};\nexport var addLink = function addLink(_start, _end, type, linktext) {\n var i, j;\n\n for (i = 0; i < _start.length; i++) {\n for (j = 0; j < _end.length; j++) {\n addSingleLink(_start[i], _end[j], type, linktext);\n }\n }\n};\n/**\n * Updates a link's line interpolation algorithm\n * @param pos\n * @param interpolate\n */\n\nexport var updateLinkInterpolate = function updateLinkInterpolate(positions, interp) {\n positions.forEach(function (pos) {\n if (pos === 'default') {\n edges.defaultInterpolate = interp;\n } else {\n edges[pos].interpolate = interp;\n }\n });\n};\n/**\n * Updates a link with a style\n * @param pos\n * @param style\n */\n\nexport var updateLink = function updateLink(positions, style) {\n positions.forEach(function (pos) {\n if (pos === 'default') {\n edges.defaultStyle = style;\n } else {\n if (utils.isSubstringInArray('fill', style) === -1) {\n style.push('fill:none');\n }\n\n edges[pos].style = style;\n }\n });\n};\nexport var addClass = function addClass(id, style) {\n if (typeof classes[id] === 'undefined') {\n classes[id] = {\n id: id,\n styles: [],\n textStyles: []\n };\n }\n\n if (typeof style !== 'undefined') {\n if (style !== null) {\n style.forEach(function (s) {\n if (s.match('color')) {\n var newStyle1 = s.replace('fill', 'bgFill');\n var newStyle2 = newStyle1.replace('color', 'fill');\n classes[id].textStyles.push(newStyle2);\n }\n\n classes[id].styles.push(s);\n });\n }\n }\n};\n/**\n * Called by parser when a graph definition is found, stores the direction of the chart.\n * @param dir\n */\n\nexport var setDirection = function setDirection(dir) {\n direction = dir;\n\n if (direction.match(/.*/)) {\n direction = 'LR';\n }\n\n if (direction.match(/.*v/)) {\n direction = 'TB';\n }\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setClass = function setClass(ids, className) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] !== 'undefined') {\n vertices[id].classes.push(className);\n }\n\n if (typeof subGraphLookup[id] !== 'undefined') {\n subGraphLookup[id].classes.push(className);\n }\n });\n};\n\nvar setTooltip = function setTooltip(ids, tooltip) {\n ids.split(',').forEach(function (id) {\n if (typeof tooltip !== 'undefined') {\n tooltips[id] = common.sanitizeText(tooltip, config);\n }\n });\n};\n\nvar setClickFun = function setClickFun(_id, functionName) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (getConfig().securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n if (typeof vertices[id] !== 'undefined') {\n funs.push(function () {\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n utils.runFunc(functionName, id);\n }, false);\n }\n });\n }\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n * @param tooltip Tooltip for the clickable element\n */\n\n\nexport var setLink = function setLink(ids, linkStr, tooltip) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] !== 'undefined') {\n vertices[id].link = utils.formatUrl(linkStr, config);\n }\n });\n setTooltip(ids, tooltip);\n setClass(ids, 'clickable');\n};\nexport var getTooltip = function getTooltip(id) {\n return tooltips[id];\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setClickEvent = function setClickEvent(ids, functionName, tooltip) {\n ids.split(',').forEach(function (id) {\n setClickFun(id, functionName);\n });\n setTooltip(ids, tooltip);\n setClass(ids, 'clickable');\n};\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport var getDirection = function getDirection() {\n return direction.trim();\n};\n/**\n * Retrieval function for fetching the found nodes after parsing has completed.\n * @returns {{}|*|vertices}\n */\n\nexport var getVertices = function getVertices() {\n return vertices;\n};\n/**\n * Retrieval function for fetching the found links after parsing has completed.\n * @returns {{}|*|edges}\n */\n\nexport var getEdges = function getEdges() {\n return edges;\n};\n/**\n * Retrieval function for fetching the found class definitions after parsing has completed.\n * @returns {{}|*|classes}\n */\n\nexport var getClasses = function getClasses() {\n return classes;\n};\n\nvar setupToolTips = function setupToolTips(element) {\n var tooltipElem = select('.mermaidTooltip');\n\n if ((tooltipElem._groups || tooltipElem)[0][0] === null) {\n tooltipElem = select('body').append('div').attr('class', 'mermaidTooltip').style('opacity', 0);\n }\n\n var svg = select(element).select('svg');\n var nodes = svg.selectAll('g.node');\n nodes.on('mouseover', function () {\n var el = select(this);\n var title = el.attr('title'); // Dont try to draw a tooltip if no data is provided\n\n if (title === null) {\n return;\n }\n\n var rect = this.getBoundingClientRect();\n tooltipElem.transition().duration(200).style('opacity', '.9');\n tooltipElem.html(el.attr('title')).style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px').style('top', window.scrollY + rect.top - 14 + document.body.scrollTop + 'px');\n el.classed('hover', true);\n }).on('mouseout', function () {\n tooltipElem.transition().duration(500).style('opacity', 0);\n var el = select(this);\n el.classed('hover', false);\n });\n};\n\nfuns.push(setupToolTips);\n/**\n * Clears the internal graph db so that a new graph can be parsed.\n */\n\nexport var clear = function clear() {\n vertices = {};\n classes = {};\n edges = [];\n funs = [];\n funs.push(setupToolTips);\n subGraphs = [];\n subGraphLookup = {};\n subCount = 0;\n tooltips = [];\n firstGraphFlag = true;\n};\n/**\n *\n * @returns {string}\n */\n\nexport var defaultStyle = function defaultStyle() {\n return 'fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;';\n};\n/**\n * Clears the internal graph db so that a new graph can be parsed.\n */\n\nexport var addSubGraph = function addSubGraph(_id, list, _title) {\n var id = _id.trim();\n\n var title = _title;\n\n if (_id === _title && _title.match(/\\s/)) {\n id = undefined;\n }\n\n function uniq(a) {\n var prims = {\n boolean: {},\n number: {},\n string: {}\n };\n var objs = [];\n return a.filter(function (item) {\n var type = _typeof(item);\n\n if (item.trim() === '') {\n return false;\n }\n\n if (type in prims) {\n return prims[type].hasOwnProperty(item) ? false : prims[type][item] = true; // eslint-disable-line\n } else {\n return objs.indexOf(item) >= 0 ? false : objs.push(item);\n }\n });\n }\n\n var nodeList = [];\n nodeList = uniq(nodeList.concat.apply(nodeList, list));\n\n for (var i = 0; i < nodeList.length; i++) {\n if (nodeList[i][0].match(/\\d/)) nodeList[i] = MERMAID_DOM_ID_PREFIX + nodeList[i];\n }\n\n id = id || 'subGraph' + subCount;\n if (id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n title = title || '';\n title = common.sanitizeText(title, config);\n subCount = subCount + 1;\n var subGraph = {\n id: id,\n nodes: nodeList,\n title: title.trim(),\n classes: []\n };\n subGraphs.push(subGraph);\n subGraphLookup[id] = subGraph;\n return id;\n};\n\nvar getPosForId = function getPosForId(id) {\n for (var i = 0; i < subGraphs.length; i++) {\n if (subGraphs[i].id === id) {\n return i;\n }\n }\n\n return -1;\n};\n\nvar secCount = -1;\nvar posCrossRef = [];\n\nvar indexNodes2 = function indexNodes2(id, pos) {\n var nodes = subGraphs[pos].nodes;\n secCount = secCount + 1;\n\n if (secCount > 2000) {\n return;\n }\n\n posCrossRef[secCount] = pos; // Check if match\n\n if (subGraphs[pos].id === id) {\n return {\n result: true,\n count: 0\n };\n }\n\n var count = 0;\n var posCount = 1;\n\n while (count < nodes.length) {\n var childPos = getPosForId(nodes[count]); // Ignore regular nodes (pos will be -1)\n\n if (childPos >= 0) {\n var res = indexNodes2(id, childPos);\n\n if (res.result) {\n return {\n result: true,\n count: posCount + res.count\n };\n } else {\n posCount = posCount + res.count;\n }\n }\n\n count = count + 1;\n }\n\n return {\n result: false,\n count: posCount\n };\n};\n\nexport var getDepthFirstPos = function getDepthFirstPos(pos) {\n return posCrossRef[pos];\n};\nexport var indexNodes = function indexNodes() {\n secCount = -1;\n\n if (subGraphs.length > 0) {\n indexNodes2('none', subGraphs.length - 1, 0);\n }\n};\nexport var getSubGraphs = function getSubGraphs() {\n return subGraphs;\n};\nexport var firstGraph = function firstGraph() {\n if (firstGraphFlag) {\n firstGraphFlag = false;\n return true;\n }\n\n return false;\n};\n\nvar destructStartLink = function destructStartLink(_str) {\n var str = _str.trim();\n\n switch (str) {\n case '<--':\n return {\n type: 'arrow_point',\n stroke: 'normal'\n };\n\n case 'x--':\n return {\n type: 'arrow_cross',\n stroke: 'normal'\n };\n\n case 'o--':\n return {\n type: 'arrow_circle',\n stroke: 'normal'\n };\n\n case '<-.':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case 'x-.':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case 'o-.':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '<==':\n return {\n type: 'arrow_point',\n stroke: 'thick'\n };\n\n case 'x==':\n return {\n type: 'arrow_cross',\n stroke: 'thick'\n };\n\n case 'o==':\n return {\n type: 'arrow_circle',\n stroke: 'thick'\n };\n\n case '--':\n return {\n type: 'arrow_open',\n stroke: 'normal'\n };\n\n case '==':\n return {\n type: 'arrow_open',\n stroke: 'thick'\n };\n\n case '-.':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n }\n};\n\nvar destructEndLink = function destructEndLink(_str) {\n var str = _str.trim();\n\n switch (str) {\n case '--x':\n return {\n type: 'arrow_cross',\n stroke: 'normal'\n };\n\n case '-->':\n return {\n type: 'arrow_point',\n stroke: 'normal'\n };\n\n case '<-->':\n return {\n type: 'double_arrow_point',\n stroke: 'normal'\n };\n\n case 'x--x':\n return {\n type: 'double_arrow_cross',\n stroke: 'normal'\n };\n\n case 'o--o':\n return {\n type: 'double_arrow_circle',\n stroke: 'normal'\n };\n\n case 'o.-o':\n return {\n type: 'double_arrow_circle',\n stroke: 'dotted'\n };\n\n case '<==>':\n return {\n type: 'double_arrow_point',\n stroke: 'thick'\n };\n\n case 'o==o':\n return {\n type: 'double_arrow_circle',\n stroke: 'thick'\n };\n\n case 'x==x':\n return {\n type: 'double_arrow_cross',\n stroke: 'thick'\n };\n\n case 'x.-x':\n return {\n type: 'double_arrow_cross',\n stroke: 'dotted'\n };\n\n case 'x-.-x':\n return {\n type: 'double_arrow_cross',\n stroke: 'dotted'\n };\n\n case '<.->':\n return {\n type: 'double_arrow_point',\n stroke: 'dotted'\n };\n\n case '<-.->':\n return {\n type: 'double_arrow_point',\n stroke: 'dotted'\n };\n\n case 'o-.-o':\n return {\n type: 'double_arrow_circle',\n stroke: 'dotted'\n };\n\n case '--o':\n return {\n type: 'arrow_circle',\n stroke: 'normal'\n };\n\n case '---':\n return {\n type: 'arrow_open',\n stroke: 'normal'\n };\n\n case '-.-x':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case '-.->':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case '-.-o':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '-.-':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n\n case '.-x':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case '.->':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case '.-o':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '.-':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n\n case '==x':\n return {\n type: 'arrow_cross',\n stroke: 'thick'\n };\n\n case '==>':\n return {\n type: 'arrow_point',\n stroke: 'thick'\n };\n\n case '==o':\n return {\n type: 'arrow_circle',\n stroke: 'thick'\n };\n\n case '===':\n return {\n type: 'arrow_open',\n stroke: 'thick'\n };\n }\n};\n\nvar destructLink = function destructLink(_str, _startStr) {\n var info = destructEndLink(_str);\n var startInfo;\n\n if (_startStr) {\n startInfo = destructStartLink(_startStr);\n\n if (startInfo.stroke !== info.stroke) {\n return {\n type: 'INVALID',\n stroke: 'INVALID'\n };\n }\n\n if (startInfo.type === 'arrow_open') {\n // -- xyz --> - take arrow type form ending\n startInfo.type = info.type;\n } else {\n // x-- xyz --> - not supported\n if (startInfo.type !== info.type) return {\n type: 'INVALID',\n stroke: 'INVALID'\n };\n startInfo.type = 'double_' + startInfo.type;\n }\n\n if (startInfo.type === 'double_arrow') {\n startInfo.type = 'double_arrow_point';\n }\n\n return startInfo;\n }\n\n return info;\n};\n\nexport default {\n addVertex: addVertex,\n addLink: addLink,\n updateLinkInterpolate: updateLinkInterpolate,\n updateLink: updateLink,\n addClass: addClass,\n setDirection: setDirection,\n setClass: setClass,\n getTooltip: getTooltip,\n setClickEvent: setClickEvent,\n setLink: setLink,\n bindFunctions: bindFunctions,\n getDirection: getDirection,\n getVertices: getVertices,\n getEdges: getEdges,\n getClasses: getClasses,\n clear: clear,\n defaultStyle: defaultStyle,\n addSubGraph: addSubGraph,\n getDepthFirstPos: getDepthFirstPos,\n indexNodes: indexNodes,\n getSubGraphs: getSubGraphs,\n destructLink: destructLink,\n lex: {\n firstGraph: firstGraph\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "index": 45, "index2": 47, "size": 14240, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "21:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "280:18-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "314:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "315:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "523:2-14" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "addVertices", "addEdges", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select, curveLinear, selectAll } from 'd3';\nimport flowDb from './flowDb';\nimport flow from './parser/flow';\nimport { getConfig } from '../../config';\nimport dagreD3 from 'dagre-d3';\nimport addHtmlLabel from 'dagre-d3/lib/label/add-html-label.js';\nimport { logger } from '../../logger';\nimport common from '../common/common';\nimport { interpolateToCurve, getStylesFromArray } from '../../utils';\nimport flowChartShapes from './flowChartShapes';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Function that adds the vertices found in the graph definition to the graph to be rendered.\n * @param vert Object containing the vertices.\n * @param g The graph that is to be drawn.\n */\n\nexport var addVertices = function addVertices(vert, g, svgId) {\n var svg = select(\"[id=\\\"\".concat(svgId, \"\\\"]\"));\n var keys = Object.keys(vert); // Iterate through each item in the vertex object (containing all the vertices found) in the graph definition\n\n keys.forEach(function (id) {\n var vertex = vert[id];\n /**\n * Variable for storing the classes for the vertex\n * @type {string}\n */\n\n var classStr = 'default';\n\n if (vertex.classes.length > 0) {\n classStr = vertex.classes.join(' ');\n }\n\n var styles = getStylesFromArray(vertex.styles); // Use vertex id as text in the box if no text is provided by the graph definition\n\n var vertexText = vertex.text !== undefined ? vertex.text : vertex.id; // We create a SVG label, either by delegating to addHtmlLabel or manually\n\n var vertexNode;\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n var node = {\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n vertexNode = addHtmlLabel(svg, node).node();\n vertexNode.parentNode.removeChild(vertexNode);\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n var rows = vertexText.split(common.lineBreakRegex);\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '1');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n vertexNode = svgLabel;\n }\n\n var radious = 0;\n var _shape = ''; // Set the shape based parameters\n\n switch (vertex.type) {\n case 'round':\n radious = 5;\n _shape = 'rect';\n break;\n\n case 'square':\n _shape = 'rect';\n break;\n\n case 'diamond':\n _shape = 'question';\n break;\n\n case 'hexagon':\n _shape = 'hexagon';\n break;\n\n case 'odd':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'lean_right':\n _shape = 'lean_right';\n break;\n\n case 'lean_left':\n _shape = 'lean_left';\n break;\n\n case 'trapezoid':\n _shape = 'trapezoid';\n break;\n\n case 'inv_trapezoid':\n _shape = 'inv_trapezoid';\n break;\n\n case 'odd_right':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'circle':\n _shape = 'circle';\n break;\n\n case 'ellipse':\n _shape = 'ellipse';\n break;\n\n case 'stadium':\n _shape = 'stadium';\n break;\n\n case 'subroutine':\n _shape = 'subroutine';\n break;\n\n case 'cylinder':\n _shape = 'cylinder';\n break;\n\n case 'group':\n _shape = 'rect';\n break;\n\n default:\n _shape = 'rect';\n } // Add the node\n\n\n g.setNode(vertex.id, {\n labelType: 'svg',\n labelStyle: styles.labelStyle,\n shape: _shape,\n label: vertexNode,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id\n });\n });\n};\n/**\n * Add edges to graph based on parsed graph defninition\n * @param {Object} edges The edges to add to the graph\n * @param {Object} g The graph object\n */\n\nexport var addEdges = function addEdges(edges, g) {\n var cnt = 0;\n var defaultStyle;\n var defaultLabelStyle;\n\n if (typeof edges.defaultStyle !== 'undefined') {\n var defaultStyles = getStylesFromArray(edges.defaultStyle);\n defaultStyle = defaultStyles.style;\n defaultLabelStyle = defaultStyles.labelStyle;\n }\n\n edges.forEach(function (edge) {\n cnt++; // Identify Link\n\n var linkId = 'L-' + edge.start + '-' + edge.end;\n var linkNameStart = 'LS-' + edge.start;\n var linkNameEnd = 'LE-' + edge.end;\n var edgeData = {}; // Set link type for rendering\n\n if (edge.type === 'arrow_open') {\n edgeData.arrowhead = 'none';\n } else {\n edgeData.arrowhead = 'normal';\n }\n\n var style = '';\n var labelStyle = '';\n\n if (typeof edge.style !== 'undefined') {\n var styles = getStylesFromArray(edge.style);\n style = styles.style;\n labelStyle = styles.labelStyle;\n } else {\n switch (edge.stroke) {\n case 'normal':\n style = 'fill:none';\n\n if (typeof defaultStyle !== 'undefined') {\n style = defaultStyle;\n }\n\n if (typeof defaultLabelStyle !== 'undefined') {\n labelStyle = defaultLabelStyle;\n }\n\n break;\n\n case 'dotted':\n style = 'fill:none;stroke-width:2px;stroke-dasharray:3;';\n break;\n\n case 'thick':\n style = ' stroke-width: 3.5px;fill:none';\n break;\n }\n }\n\n edgeData.style = style;\n edgeData.labelStyle = labelStyle;\n\n if (typeof edge.interpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edge.interpolate, curveLinear);\n } else if (typeof edges.defaultInterpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edges.defaultInterpolate, curveLinear);\n } else {\n edgeData.curve = interpolateToCurve(conf.curve, curveLinear);\n }\n\n if (typeof edge.text === 'undefined') {\n if (typeof edge.style !== 'undefined') {\n edgeData.arrowheadStyle = 'fill: #333';\n }\n } else {\n edgeData.arrowheadStyle = 'fill: #333';\n edgeData.labelpos = 'c';\n\n if (getConfig().flowchart.htmlLabels) {\n edgeData.labelType = 'html';\n edgeData.label = \"\").concat(edge.text, \"\");\n } else {\n edgeData.labelType = 'text';\n edgeData.label = edge.text.replace(common.lineBreakRegex, '\\n');\n\n if (typeof edge.style === 'undefined') {\n edgeData.style = edgeData.style || 'stroke: #333; stroke-width: 1.5px;fill:none';\n }\n\n edgeData.labelStyle = edgeData.labelStyle.replace('color:', 'fill:');\n }\n }\n\n edgeData.id = linkId;\n edgeData.class = linkNameStart + ' ' + linkNameEnd; // Add the edge to the graph\n\n g.setEdge(edge.start, edge.end, edgeData, cnt);\n });\n};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.info('Extracting classes');\n flowDb.clear();\n\n try {\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n\n parser.parse(text);\n return flowDb.getClasses();\n } catch (e) {\n return;\n }\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing flowchart');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n // try {\n\n parser.parse(text); // } catch (err) {\n // logger.debug('Parsing failed');\n // }\n // Fetch the default direction, use TD if none was found\n\n var dir = flowDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'TD';\n }\n\n var conf = getConfig().flowchart;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: dir,\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n var subG;\n var subGraphs = flowDb.getSubGraphs();\n\n for (var _i = subGraphs.length - 1; _i >= 0; _i--) {\n subG = subGraphs[_i];\n flowDb.addVertex(subG.id, subG.title, 'group', undefined, subG.classes);\n } // Fetch the verices/nodes and edges/links from the parsed graph definition\n\n\n var vert = flowDb.getVertices();\n var edges = flowDb.getEdges();\n var i = 0;\n\n for (i = subGraphs.length - 1; i >= 0; i--) {\n subG = subGraphs[i];\n selectAll('cluster').append('text');\n\n for (var j = 0; j < subG.nodes.length; j++) {\n g.setParent(subG.nodes[j], subG.id);\n }\n }\n\n addVertices(vert, g, id);\n addEdges(edges, g); // Create the renderer\n\n var Render = dagreD3.render;\n var render = new Render(); // Add custom shapes\n\n flowChartShapes.addToRender(render); // Add our custom arrow - an empty arrowhead\n\n render.arrows().none = function normal(parent, id, edge, type) {\n var marker = parent.append('marker').attr('id', id).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'strokeWidth').attr('markerWidth', 8).attr('markerHeight', 6).attr('orient', 'auto');\n var path = marker.append('path').attr('d', 'M 0 0 L 0 0 L 0 0 z');\n dagreD3.util.applyStyle(path, edge[type + 'Style']);\n }; // Override normal arrowhead defined in d3. Remove style & add class to allow css styling.\n\n\n render.arrows().normal = function normal(parent, id) {\n var marker = parent.append('marker').attr('id', id).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'strokeWidth').attr('markerWidth', 8).attr('markerHeight', 6).attr('orient', 'auto');\n marker.append('path').attr('d', 'M 0 0 L 10 5 L 0 10 z').attr('class', 'arrowheadPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n }; // Set up an SVG group so that we can translate the final graph.\n\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g);\n element.selectAll('g.node').attr('title', function () {\n return flowDb.getTooltip(this.id);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n svg.attr('viewBox', vBox); // Index nodes\n\n flowDb.indexNodes('subGraph' + i); // reposition labels\n\n for (i = 0; i < subGraphs.length; i++) {\n subG = subGraphs[i];\n\n if (subG.title !== 'undefined') {\n var clusterRects = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"] rect');\n var clusterEl = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"]');\n var xPos = clusterRects[0].x.baseVal.value;\n var yPos = clusterRects[0].y.baseVal.value;\n var _width = clusterRects[0].width.baseVal.value;\n var cluster = select(clusterEl[0]);\n var te = cluster.select('.label');\n te.attr('transform', \"translate(\".concat(xPos + _width / 2, \", \").concat(yPos + 14, \")\"));\n te.attr('id', id + 'Text');\n\n for (var _j = 0; _j < subG.classes.length; _j++) {\n clusterEl[0].classList.add(subG.classes[_j]);\n }\n }\n } // Add label rects for non html labels\n\n\n if (!conf.htmlLabels || true) {\n // eslint-disable-line\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n } // If node has a link, wrap it in an anchor SVG object.\n\n\n var keys = Object.keys(vert);\n keys.forEach(function (key) {\n var vertex = vert[key];\n\n if (vertex.link) {\n var node = select('#' + id + ' [id=\"' + key + '\"]');\n\n if (node) {\n var link = document.createElementNS('http://www.w3.org/2000/svg', 'a');\n link.setAttributeNS('http://www.w3.org/2000/svg', 'class', vertex.classes.join(' '));\n link.setAttributeNS('http://www.w3.org/2000/svg', 'href', vertex.link);\n link.setAttributeNS('http://www.w3.org/2000/svg', 'rel', 'noopener');\n var linkNode = node.insert(function () {\n return link;\n }, ':first-child');\n var shape = node.select('.label-container');\n\n if (shape) {\n linkNode.append(function () {\n return shape.node();\n });\n }\n\n var _label = node.select('.label');\n\n if (_label) {\n linkNode.append(function () {\n return _label.node();\n });\n }\n }\n }\n });\n};\nexport default {\n setConf: setConf,\n addVertices: addVertices,\n addEdges: addEdges,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "index": 51, "index2": 66, "size": 14132, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "22:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "320:8-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "321:8-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "524:2-16" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "addVertices", "addEdges", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select, curveLinear, selectAll } from 'd3';\nimport flowDb from './flowDb';\nimport flow from './parser/flow';\nimport { getConfig } from '../../config';\nimport { render } from '../../dagre-wrapper/index.js';\nimport addHtmlLabel from 'dagre-d3/lib/label/add-html-label.js';\nimport { logger } from '../../logger';\nimport common from '../common/common';\nimport { interpolateToCurve, getStylesFromArray } from '../../utils';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Function that adds the vertices found during parsing to the graph to be rendered.\n * @param vert Object containing the vertices.\n * @param g The graph that is to be drawn.\n */\n\nexport var addVertices = function addVertices(vert, g, svgId) {\n var svg = select(\"[id=\\\"\".concat(svgId, \"\\\"]\"));\n var keys = Object.keys(vert); // Iterate through each item in the vertex object (containing all the vertices found) in the graph definition\n\n keys.forEach(function (id) {\n var vertex = vert[id];\n /**\n * Variable for storing the classes for the vertex\n * @type {string}\n */\n\n var classStr = 'default';\n\n if (vertex.classes.length > 0) {\n classStr = vertex.classes.join(' ');\n }\n\n var styles = getStylesFromArray(vertex.styles); // Use vertex id as text in the box if no text is provided by the graph definition\n\n var vertexText = vertex.text !== undefined ? vertex.text : vertex.id; // We create a SVG label, either by delegating to addHtmlLabel or manually\n\n var vertexNode;\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n var node = {\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n vertexNode = addHtmlLabel(svg, node).node();\n vertexNode.parentNode.removeChild(vertexNode);\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n var rows = vertexText.split(common.lineBreakRegex);\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '1');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n vertexNode = svgLabel;\n }\n\n var radious = 0;\n var _shape = ''; // Set the shape based parameters\n\n switch (vertex.type) {\n case 'round':\n radious = 5;\n _shape = 'rect';\n break;\n\n case 'square':\n _shape = 'rect';\n break;\n\n case 'diamond':\n _shape = 'question';\n break;\n\n case 'hexagon':\n _shape = 'hexagon';\n break;\n\n case 'odd':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'lean_right':\n _shape = 'lean_right';\n break;\n\n case 'lean_left':\n _shape = 'lean_left';\n break;\n\n case 'trapezoid':\n _shape = 'trapezoid';\n break;\n\n case 'inv_trapezoid':\n _shape = 'inv_trapezoid';\n break;\n\n case 'odd_right':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'circle':\n _shape = 'circle';\n break;\n\n case 'ellipse':\n _shape = 'ellipse';\n break;\n\n case 'stadium':\n _shape = 'stadium';\n break;\n\n case 'subroutine':\n _shape = 'subroutine';\n break;\n\n case 'cylinder':\n _shape = 'cylinder';\n break;\n\n case 'group':\n _shape = 'rect';\n break;\n\n default:\n _shape = 'rect';\n } // Add the node\n\n\n g.setNode(vertex.id, {\n labelStyle: styles.labelStyle,\n shape: _shape,\n labelText: vertexText,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id,\n width: vertex.type === 'group' ? 500 : undefined,\n type: vertex.type,\n padding: getConfig().flowchart.padding\n });\n logger.info('setNode', {\n labelStyle: styles.labelStyle,\n shape: _shape,\n labelText: vertexText,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id,\n width: vertex.type === 'group' ? 500 : undefined,\n type: vertex.type,\n padding: getConfig().flowchart.padding\n });\n });\n};\n/**\n * Add edges to graph based on parsed graph defninition\n * @param {Object} edges The edges to add to the graph\n * @param {Object} g The graph object\n */\n\nexport var addEdges = function addEdges(edges, g) {\n var cnt = 0;\n var defaultStyle;\n var defaultLabelStyle;\n\n if (typeof edges.defaultStyle !== 'undefined') {\n var defaultStyles = getStylesFromArray(edges.defaultStyle);\n defaultStyle = defaultStyles.style;\n defaultLabelStyle = defaultStyles.labelStyle;\n }\n\n edges.forEach(function (edge) {\n cnt++; // Identify Link\n\n var linkId = 'L-' + edge.start + '-' + edge.end;\n var linkNameStart = 'LS-' + edge.start;\n var linkNameEnd = 'LE-' + edge.end;\n var edgeData = {}; //edgeData.id = 'id' + cnt;\n // Set link type for rendering\n\n if (edge.type === 'arrow_open') {\n edgeData.arrowhead = 'none';\n } else {\n edgeData.arrowhead = 'normal';\n }\n\n logger.info(edgeData, edge);\n edgeData.arrowType = edge.type;\n var style = '';\n var labelStyle = '';\n\n if (typeof edge.style !== 'undefined') {\n var styles = getStylesFromArray(edge.style);\n style = styles.style;\n labelStyle = styles.labelStyle;\n } else {\n switch (edge.stroke) {\n case 'normal':\n style = 'fill:none';\n\n if (typeof defaultStyle !== 'undefined') {\n style = defaultStyle;\n }\n\n if (typeof defaultLabelStyle !== 'undefined') {\n labelStyle = defaultLabelStyle;\n }\n\n edgeData.thickness = 'normal';\n edgeData.pattern = 'solid';\n break;\n\n case 'dotted':\n edgeData.thickness = 'normal';\n edgeData.pattern = 'dotted';\n break;\n\n case 'thick':\n edgeData.thickness = 'thick';\n edgeData.pattern = 'solid';\n break;\n }\n }\n\n edgeData.style = style;\n edgeData.labelStyle = labelStyle;\n\n if (typeof edge.interpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edge.interpolate, curveLinear);\n } else if (typeof edges.defaultInterpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edges.defaultInterpolate, curveLinear);\n } else {\n edgeData.curve = interpolateToCurve(conf.curve, curveLinear);\n }\n\n if (typeof edge.text === 'undefined') {\n if (typeof edge.style !== 'undefined') {\n edgeData.arrowheadStyle = 'fill: #333';\n }\n } else {\n edgeData.arrowheadStyle = 'fill: #333';\n edgeData.labelpos = 'c';\n\n if (getConfig().flowchart.htmlLabels && false) {\n // eslint-disable-line\n edgeData.labelType = 'html';\n edgeData.label = \"\").concat(edge.text, \"\");\n } else {\n edgeData.labelType = 'text';\n edgeData.label = edge.text.replace(common.lineBreakRegex, '\\n');\n\n if (typeof edge.style === 'undefined') {\n edgeData.style = edgeData.style || 'stroke: #333; stroke-width: 1.5px;fill:none';\n }\n\n edgeData.labelStyle = edgeData.labelStyle.replace('color:', 'fill:');\n }\n }\n\n edgeData.id = linkId;\n edgeData.classes = 'flowchart-link ' + linkNameStart + ' ' + linkNameEnd; // Add the edge to the graph\n\n g.setEdge(edge.start, edge.end, edgeData, cnt);\n });\n};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.info('Extracting classes');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb;\n\n try {\n // Parse the graph definition\n parser.parse(text);\n } catch (e) {\n return;\n }\n\n return flowDb.getClasses();\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing flowchart');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n // try {\n\n parser.parse(text); // } catch (err) {\n // logger.debug('Parsing failed');\n // }\n // Fetch the default direction, use TD if none was found\n\n var dir = flowDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'TD';\n }\n\n var conf = getConfig().flowchart;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: dir,\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n var subG;\n var subGraphs = flowDb.getSubGraphs();\n logger.info('Subgraphs - ', subGraphs);\n\n for (var _i = subGraphs.length - 1; _i >= 0; _i--) {\n subG = subGraphs[_i];\n logger.info('Subgraph - ', subG);\n flowDb.addVertex(subG.id, subG.title, 'group', undefined, subG.classes);\n } // Fetch the verices/nodes and edges/links from the parsed graph definition\n\n\n var vert = flowDb.getVertices();\n var edges = flowDb.getEdges();\n logger.info(edges);\n var i = 0;\n\n for (i = subGraphs.length - 1; i >= 0; i--) {\n subG = subGraphs[i];\n selectAll('cluster').append('text');\n\n for (var j = 0; j < subG.nodes.length; j++) {\n g.setParent(subG.nodes[j], subG.id);\n }\n }\n\n addVertices(vert, g, id);\n addEdges(edges, g); // Add custom shapes\n // flowChartShapes.addToRenderV2(addShape);\n // Set up an SVG group so that we can translate the final graph.\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g, ['point', 'circle', 'cross'], 'flowchart', id); // dagre.layout(g);\n\n element.selectAll('g.node').attr('title', function () {\n return flowDb.getTooltip(this.id);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n logger.debug(\"new ViewBox 0 0 \".concat(width, \" \").concat(height), \"translate(\".concat(padding - g._label.marginx, \", \").concat(padding - g._label.marginy, \")\"));\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n }\n\n svg.attr('viewBox', \"0 0 \".concat(width, \" \").concat(height));\n svg.select('g').attr('transform', \"translate(\".concat(padding - g._label.marginx, \", \").concat(padding - svgBounds.y, \")\")); // Index nodes\n\n flowDb.indexNodes('subGraph' + i); // // reposition labels\n // for (i = 0; i < subGraphs.length; i++) {\n // subG = subGraphs[i];\n // if (subG.title !== 'undefined') {\n // const clusterRects = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"] rect');\n // const clusterEl = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"]');\n // const xPos = clusterRects[0].x.baseVal.value;\n // const yPos = clusterRects[0].y.baseVal.value;\n // const width = clusterRects[0].width.baseVal.value;\n // const cluster = d3.select(clusterEl[0]);\n // const te = cluster.select('.label');\n // te.attr('transform', `translate(${xPos + width / 2}, ${yPos + 14})`);\n // te.attr('id', id + 'Text');\n // for (let j = 0; j < subG.classes.length; j++) {\n // clusterEl[0].classList.add(subG.classes[j]);\n // }\n // }\n // }\n // Add label rects for non html labels\n\n if (!conf.htmlLabels) {\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n } // If node has a link, wrap it in an anchor SVG object.\n\n\n var keys = Object.keys(vert);\n keys.forEach(function (key) {\n var vertex = vert[key];\n\n if (vertex.link) {\n var node = select('#' + id + ' [id=\"' + key + '\"]');\n\n if (node) {\n var link = document.createElementNS('http://www.w3.org/2000/svg', 'a');\n link.setAttributeNS('http://www.w3.org/2000/svg', 'class', vertex.classes.join(' '));\n link.setAttributeNS('http://www.w3.org/2000/svg', 'href', vertex.link);\n link.setAttributeNS('http://www.w3.org/2000/svg', 'rel', 'noopener');\n var linkNode = node.insert(function () {\n return link;\n }, ':first-child');\n var shape = node.select('.label-container');\n\n if (shape) {\n linkNode.append(function () {\n return shape.node();\n });\n }\n\n var _label = node.select('.label');\n\n if (_label) {\n linkNode.append(function () {\n return _label.node();\n });\n }\n }\n }\n });\n};\nexport default {\n setConf: setConf,\n addVertices: addVertices,\n addEdges: addEdges,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "name": "./src/diagrams/sequence/sequenceDb.js", "index": 30, "index2": 28, "size": 8123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./sequenceDb", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./sequenceDb", "loc": "8:12-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/sequenceDb", "loc": "27:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceDb", "loc": "94:25-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./sequenceDb", "loc": "360:6-16" } ], "usedExports": [ "default" ], "providedExports": [ "parseDirective", "addActor", "addMessage", "addSignal", "getMessages", "getActors", "getActor", "getActorKeys", "getTitle", "getTitleWrapped", "enableSequenceNumbers", "showSequenceNumbers", "setWrap", "autoWrap", "clear", "parseMessage", "LINETYPE", "ARROWTYPE", "PLACEMENT", "addNote", "setTitle", "apply", "default" ], "optimizationBailout": [], "depth": 2, "source": "import mermaidAPI from '../../mermaidAPI';\nimport configApi from '../../config';\nimport common from '../common/common';\nimport { logger } from '../../logger';\nvar prevActor = undefined;\nvar actors = {};\nvar messages = [];\nvar notes = [];\nvar title = '';\nvar titleWrapped = false;\nvar sequenceNumbersEnabled = false;\nvar wrapEnabled = false;\nexport var parseDirective = function parseDirective(statement, context, type) {\n mermaidAPI.parseDirective(statement, context, type);\n};\nexport var addActor = function addActor(id, name, description) {\n // Don't allow description nulling\n var old = actors[id];\n if (old && name === old.name && description == null) return; // Don't allow null descriptions, either\n\n if (description == null || description.text == null) {\n description = {\n text: name,\n wrap: null\n };\n }\n\n actors[id] = {\n name: name,\n description: description.text,\n wrap: description.wrap === undefined && autoWrap() || !!description.wrap,\n prevActor: prevActor\n };\n\n if (prevActor && actors[prevActor]) {\n actors[prevActor].nextActor = id;\n }\n\n prevActor = id;\n};\n\nvar activationCount = function activationCount(part) {\n var i;\n var count = 0;\n\n for (i = 0; i < messages.length; i++) {\n // console.warn(i, messages[i]);\n if (messages[i].type === LINETYPE.ACTIVE_START) {\n if (messages[i].from.actor === part) {\n count++;\n }\n }\n\n if (messages[i].type === LINETYPE.ACTIVE_END) {\n if (messages[i].from.actor === part) {\n count--;\n }\n }\n }\n\n return count;\n};\n\nexport var addMessage = function addMessage(idFrom, idTo, message, answer) {\n messages.push({\n from: idFrom,\n to: idTo,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n answer: answer\n });\n};\nexport var addSignal = function addSignal(idFrom, idTo) {\n var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n text: undefined,\n wrap: undefined\n };\n var messageType = arguments.length > 3 ? arguments[3] : undefined;\n\n if (messageType === LINETYPE.ACTIVE_END) {\n var cnt = activationCount(idFrom.actor);\n\n if (cnt < 1) {\n // Bail out as there is an activation signal from an inactive participant\n var error = new Error('Trying to inactivate an inactive participant (' + idFrom.actor + ')');\n error.hash = {\n text: '->>-',\n token: '->>-',\n line: '1',\n loc: {\n first_line: 1,\n last_line: 1,\n first_column: 1,\n last_column: 1\n },\n expected: [\"'ACTIVE_PARTICIPANT'\"]\n };\n throw error;\n }\n }\n\n messages.push({\n from: idFrom,\n to: idTo,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n type: messageType\n });\n return true;\n};\nexport var getMessages = function getMessages() {\n return messages;\n};\nexport var getActors = function getActors() {\n return actors;\n};\nexport var getActor = function getActor(id) {\n return actors[id];\n};\nexport var getActorKeys = function getActorKeys() {\n return Object.keys(actors);\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var getTitleWrapped = function getTitleWrapped() {\n return titleWrapped;\n};\nexport var enableSequenceNumbers = function enableSequenceNumbers() {\n sequenceNumbersEnabled = true;\n};\nexport var showSequenceNumbers = function showSequenceNumbers() {\n return sequenceNumbersEnabled;\n};\nexport var setWrap = function setWrap(wrapSetting) {\n wrapEnabled = wrapSetting;\n};\nexport var autoWrap = function autoWrap() {\n return wrapEnabled;\n};\nexport var clear = function clear() {\n actors = {};\n messages = [];\n};\nexport var parseMessage = function parseMessage(str) {\n var _str = str.trim();\n\n var message = {\n text: _str.replace(/^[:]?(?:no)?wrap:/, '').trim(),\n wrap: _str.match(/^[:]?(?:no)?wrap:/) === null ? common.hasBreaks(_str) || autoWrap() : _str.match(/^[:]?wrap:/) !== null ? true : _str.match(/^[:]?nowrap:/) !== null ? false : autoWrap()\n };\n logger.debug('parseMessage:', message);\n return message;\n};\nexport var LINETYPE = {\n SOLID: 0,\n DOTTED: 1,\n NOTE: 2,\n SOLID_CROSS: 3,\n DOTTED_CROSS: 4,\n SOLID_OPEN: 5,\n DOTTED_OPEN: 6,\n LOOP_START: 10,\n LOOP_END: 11,\n ALT_START: 12,\n ALT_ELSE: 13,\n ALT_END: 14,\n OPT_START: 15,\n OPT_END: 16,\n ACTIVE_START: 17,\n ACTIVE_END: 18,\n PAR_START: 19,\n PAR_AND: 20,\n PAR_END: 21,\n RECT_START: 22,\n RECT_END: 23\n};\nexport var ARROWTYPE = {\n FILLED: 0,\n OPEN: 1\n};\nexport var PLACEMENT = {\n LEFTOF: 0,\n RIGHTOF: 1,\n OVER: 2\n};\nexport var addNote = function addNote(actor, placement, message) {\n var note = {\n actor: actor,\n placement: placement,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap\n }; // Coerce actor into a [to, from, ...] array\n\n var actors = [].concat(actor, actor);\n notes.push(note);\n messages.push({\n from: actors[0],\n to: actors[1],\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n type: LINETYPE.NOTE,\n placement: placement\n });\n};\nexport var setTitle = function setTitle(titleWrap) {\n title = titleWrap.text;\n titleWrapped = titleWrap.wrap === undefined && autoWrap() || !!titleWrap.wrap;\n};\nexport var apply = function apply(param) {\n if (param instanceof Array) {\n param.forEach(function (item) {\n apply(item);\n });\n } else {\n switch (param.type) {\n case 'addActor':\n addActor(param.actor, param.actor, param.description);\n break;\n\n case 'activeStart':\n addSignal(param.actor, undefined, undefined, param.signalType);\n break;\n\n case 'activeEnd':\n addSignal(param.actor, undefined, undefined, param.signalType);\n break;\n\n case 'addNote':\n addNote(param.actor, param.placement, param.text);\n break;\n\n case 'addMessage':\n addSignal(param.from, param.to, param.msg, param.signalType);\n break;\n\n case 'loopStart':\n addSignal(undefined, undefined, param.loopText, param.signalType);\n break;\n\n case 'loopEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'rectStart':\n addSignal(undefined, undefined, param.color, param.signalType);\n break;\n\n case 'rectEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'optStart':\n addSignal(undefined, undefined, param.optText, param.signalType);\n break;\n\n case 'optEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'altStart':\n addSignal(undefined, undefined, param.altText, param.signalType);\n break;\n\n case 'else':\n addSignal(undefined, undefined, param.altText, param.signalType);\n break;\n\n case 'altEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'setTitle':\n setTitle(param.text);\n break;\n\n case 'parStart':\n addSignal(undefined, undefined, param.parText, param.signalType);\n break;\n\n case 'and':\n addSignal(undefined, undefined, param.parText, param.signalType);\n break;\n\n case 'parEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n }\n }\n};\nexport default {\n addActor: addActor,\n addMessage: addMessage,\n addSignal: addSignal,\n autoWrap: autoWrap,\n setWrap: setWrap,\n enableSequenceNumbers: enableSequenceNumbers,\n showSequenceNumbers: showSequenceNumbers,\n getMessages: getMessages,\n getActors: getActors,\n getActor: getActor,\n getActorKeys: getActorKeys,\n getTitle: getTitle,\n parseDirective: parseDirective,\n getConfig: function getConfig() {\n return configApi.getConfig().sequence;\n },\n getTitleWrapped: getTitleWrapped,\n clear: clear,\n parseMessage: parseMessage,\n LINETYPE: LINETYPE,\n ARROWTYPE: ARROWTYPE,\n PLACEMENT: PLACEMENT,\n addNote: addNote,\n setTitle: setTitle,\n apply: apply\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "name": "./src/diagrams/sequence/sequenceRenderer.js", "index": 69, "index2": 68, "size": 35513, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "25:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "329:10-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "332:10-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "335:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "527:4-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "530:2-18" } ], "usedExports": [ "default" ], "providedExports": [ "bounds", "drawActors", "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select, selectAll } from 'd3';\nimport svgDraw, { drawText } from './svgDraw';\nimport { logger } from '../../logger';\nimport { parser } from './parser/sequenceDiagram';\nimport common from '../common/common';\nimport sequenceDb from './sequenceDb';\nimport utils, { assignWithDepth } from '../../utils';\nparser.yy = sequenceDb;\nvar conf = {};\nexport var bounds = {\n data: {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n },\n verticalPos: 0,\n sequenceItems: [],\n activations: [],\n models: {\n getHeight: function getHeight() {\n return Math.max.apply(null, this.actors.length === 0 ? [0] : this.actors.map(function (actor) {\n return actor.height || 0;\n })) + (this.loops.length === 0 ? 0 : this.loops.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n })) + (this.messages.length === 0 ? 0 : this.messages.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n })) + (this.notes.length === 0 ? 0 : this.notes.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n }));\n },\n clear: function clear() {\n this.actors = [];\n this.loops = [];\n this.messages = [];\n this.notes = [];\n },\n addActor: function addActor(actorModel) {\n this.actors.push(actorModel);\n },\n addLoop: function addLoop(loopModel) {\n this.loops.push(loopModel);\n },\n addMessage: function addMessage(msgModel) {\n this.messages.push(msgModel);\n },\n addNote: function addNote(noteModel) {\n this.notes.push(noteModel);\n },\n lastActor: function lastActor() {\n return this.actors[this.actors.length - 1];\n },\n lastLoop: function lastLoop() {\n return this.loops[this.loops.length - 1];\n },\n lastMessage: function lastMessage() {\n return this.messages[this.messages.length - 1];\n },\n lastNote: function lastNote() {\n return this.notes[this.notes.length - 1];\n },\n actors: [],\n loops: [],\n messages: [],\n notes: []\n },\n init: function init() {\n this.sequenceItems = [];\n this.activations = [];\n this.models.clear();\n this.data = {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n };\n this.verticalPos = 0;\n setConf(parser.yy.getConfig());\n },\n updateVal: function updateVal(obj, key, val, fun) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = val;\n } else {\n obj[key] = fun(val, obj[key]);\n }\n },\n updateBounds: function updateBounds(startx, starty, stopx, stopy) {\n var _self = this;\n\n var cnt = 0;\n\n function updateFn(type) {\n return function updateItemBounds(item) {\n cnt++; // The loop sequenceItems is a stack so the biggest margins in the beginning of the sequenceItems\n\n var n = _self.sequenceItems.length - cnt + 1;\n\n _self.updateVal(item, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopy', stopy + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n if (!(type === 'activation')) {\n _self.updateVal(item, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopy', stopy + n * conf.boxMargin, Math.max);\n }\n };\n }\n\n this.sequenceItems.forEach(updateFn());\n this.activations.forEach(updateFn('activation'));\n },\n insert: function insert(startx, starty, stopx, stopy) {\n var _startx = Math.min(startx, stopx);\n\n var _stopx = Math.max(startx, stopx);\n\n var _starty = Math.min(starty, stopy);\n\n var _stopy = Math.max(starty, stopy);\n\n this.updateVal(bounds.data, 'startx', _startx, Math.min);\n this.updateVal(bounds.data, 'starty', _starty, Math.min);\n this.updateVal(bounds.data, 'stopx', _stopx, Math.max);\n this.updateVal(bounds.data, 'stopy', _stopy, Math.max);\n this.updateBounds(_startx, _starty, _stopx, _stopy);\n },\n newActivation: function newActivation(message, diagram, actors) {\n var actorRect = actors[message.from.actor];\n var stackedSize = actorActivations(message.from.actor).length || 0;\n var x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;\n this.activations.push({\n startx: x,\n starty: this.verticalPos + 2,\n stopx: x + conf.activationWidth,\n stopy: undefined,\n actor: message.from.actor,\n anchored: svgDraw.anchorElement(diagram)\n });\n },\n endActivation: function endActivation(message) {\n // find most recent activation for given actor\n var lastActorActivationIdx = this.activations.map(function (activation) {\n return activation.actor;\n }).lastIndexOf(message.from.actor);\n return this.activations.splice(lastActorActivationIdx, 1)[0];\n },\n createLoop: function createLoop() {\n var title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n message: undefined,\n wrap: false,\n width: undefined\n };\n var fill = arguments.length > 1 ? arguments[1] : undefined;\n return {\n startx: undefined,\n starty: this.verticalPos,\n stopx: undefined,\n stopy: undefined,\n title: title.message,\n wrap: title.wrap,\n width: title.width,\n height: 0,\n fill: fill\n };\n },\n newLoop: function newLoop() {\n var title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n message: undefined,\n wrap: false,\n width: undefined\n };\n var fill = arguments.length > 1 ? arguments[1] : undefined;\n this.sequenceItems.push(this.createLoop(title, fill));\n },\n endLoop: function endLoop() {\n return this.sequenceItems.pop();\n },\n addSectionToLoop: function addSectionToLoop(message) {\n var loop = this.sequenceItems.pop();\n loop.sections = loop.sections || [];\n loop.sectionTitles = loop.sectionTitles || [];\n loop.sections.push({\n y: bounds.getVerticalPos(),\n height: 0\n });\n loop.sectionTitles.push(message);\n this.sequenceItems.push(loop);\n },\n bumpVerticalPos: function bumpVerticalPos(bump) {\n this.verticalPos = this.verticalPos + bump;\n this.data.stopy = this.verticalPos;\n },\n getVerticalPos: function getVerticalPos() {\n return this.verticalPos;\n },\n getBounds: function getBounds() {\n return {\n bounds: this.data,\n models: this.models\n };\n }\n};\n/**\n * Draws an note in the diagram with the attached line\n * @param elem - The diagram to draw to.\n * @param noteModel:{x: number, y: number, message: string, width: number} - startx: x axis start position, verticalPos: y axis position, messsage: the message to be shown, width: Set this with a custom width to override the default configured width.\n */\n\nvar drawNote = function drawNote(elem, noteModel) {\n bounds.bumpVerticalPos(conf.boxMargin);\n noteModel.height = conf.boxMargin;\n noteModel.starty = bounds.getVerticalPos();\n var rect = svgDraw.getNoteRect();\n rect.x = noteModel.startx;\n rect.y = noteModel.starty;\n rect.width = noteModel.width || conf.width;\n rect.class = 'note';\n var g = elem.append('g');\n var rectElem = svgDraw.drawRect(g, rect);\n var textObj = svgDraw.getTextObj();\n textObj.x = noteModel.startx;\n textObj.y = noteModel.starty;\n textObj.width = rect.width;\n textObj.dy = '1em';\n textObj.text = noteModel.message;\n textObj.class = 'noteText';\n textObj.fontFamily = conf.noteFontFamily;\n textObj.fontSize = conf.noteFontSize;\n textObj.fontWeight = conf.noteFontWeight;\n textObj.anchor = conf.noteAlign;\n textObj.textMargin = conf.noteMargin;\n textObj.valign = conf.noteAlign;\n textObj.wrap = true;\n var textElem = drawText(g, textObj);\n var textHeight = Math.round(textElem.map(function (te) {\n return (te._groups || te)[0][0].getBBox().height;\n }).reduce(function (acc, curr) {\n return acc + curr;\n }));\n rectElem.attr('height', textHeight + 2 * conf.noteMargin);\n noteModel.height += textHeight + 2 * conf.noteMargin;\n bounds.bumpVerticalPos(textHeight + 2 * conf.noteMargin);\n noteModel.stopy = noteModel.starty + textHeight + 2 * conf.noteMargin;\n noteModel.stopx = noteModel.startx + rect.width;\n bounds.insert(noteModel.startx, noteModel.starty, noteModel.stopx, noteModel.stopy);\n bounds.models.addNote(noteModel);\n};\n/**\n * Draws a message\n * @param g - the parent of the message element\n * @param msgModel - the model containing fields describing a message\n */\n\n\nvar drawMessage = function drawMessage(g, msgModel) {\n bounds.bumpVerticalPos(10);\n var startx = msgModel.startx,\n stopx = msgModel.stopx,\n starty = msgModel.starty,\n message = msgModel.message,\n type = msgModel.type,\n sequenceIndex = msgModel.sequenceIndex,\n wrap = msgModel.wrap;\n var lines = common.splitBreaks(message).length;\n var textDims = utils.calculateTextDimensions(message, conf.messageFont());\n var lineHeight = textDims.height / lines;\n msgModel.height += lineHeight;\n bounds.bumpVerticalPos(lineHeight);\n var textObj = svgDraw.getTextObj();\n textObj.x = startx;\n textObj.y = starty + 10;\n textObj.width = stopx - startx;\n textObj.class = 'messageText';\n textObj.dy = '1em';\n textObj.text = message;\n textObj.fontFamily = conf.messageFontFamily;\n textObj.fontSize = conf.messageFontSize;\n textObj.fontWeight = conf.messageFontWeight;\n textObj.anchor = conf.messageAlign;\n textObj.valign = conf.messageAlign;\n textObj.textMargin = conf.wrapPadding;\n textObj.tspan = false;\n textObj.wrap = wrap;\n drawText(g, textObj);\n var totalOffset = textDims.height - 10;\n var textWidth = textDims.width;\n var line, lineStarty;\n\n if (startx === stopx) {\n lineStarty = bounds.getVerticalPos() + totalOffset;\n\n if (conf.rightAngles) {\n line = g.append('path').attr('d', \"M \".concat(startx, \",\").concat(lineStarty, \" H \").concat(startx + Math.max(conf.width / 2, textWidth / 2), \" V \").concat(lineStarty + 25, \" H \").concat(startx));\n } else {\n totalOffset += conf.boxMargin;\n lineStarty = bounds.getVerticalPos() + totalOffset;\n line = g.append('path').attr('d', 'M ' + startx + ',' + lineStarty + ' C ' + (startx + 60) + ',' + (lineStarty - 10) + ' ' + (startx + 60) + ',' + (lineStarty + 30) + ' ' + startx + ',' + (lineStarty + 20));\n }\n\n totalOffset += 30;\n var dx = Math.max(textWidth / 2, conf.width / 2);\n bounds.insert(startx - dx, bounds.getVerticalPos() - 10 + totalOffset, stopx + dx, bounds.getVerticalPos() + 30 + totalOffset);\n } else {\n totalOffset += conf.boxMargin;\n lineStarty = bounds.getVerticalPos() + totalOffset;\n line = g.append('line');\n line.attr('x1', startx);\n line.attr('y1', lineStarty);\n line.attr('x2', stopx);\n line.attr('y2', lineStarty);\n bounds.insert(startx, lineStarty - 10, stopx, lineStarty);\n } // Make an SVG Container\n // Draw the line\n\n\n if (type === parser.yy.LINETYPE.DOTTED || type === parser.yy.LINETYPE.DOTTED_CROSS || type === parser.yy.LINETYPE.DOTTED_OPEN) {\n line.style('stroke-dasharray', '3, 3');\n line.attr('class', 'messageLine1');\n } else {\n line.attr('class', 'messageLine0');\n }\n\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n line.attr('stroke-width', 2);\n line.attr('stroke', 'none'); // handled by theme/css anyway\n\n line.style('fill', 'none'); // remove any fill colour\n\n if (type === parser.yy.LINETYPE.SOLID || type === parser.yy.LINETYPE.DOTTED) {\n line.attr('marker-end', 'url(' + url + '#arrowhead)');\n }\n\n if (type === parser.yy.LINETYPE.SOLID_CROSS || type === parser.yy.LINETYPE.DOTTED_CROSS) {\n line.attr('marker-end', 'url(' + url + '#crosshead)');\n } // add node number\n\n\n if (sequenceDb.showSequenceNumbers() || conf.showSequenceNumbers) {\n line.attr('marker-start', 'url(' + url + '#sequencenumber)');\n g.append('text').attr('x', startx).attr('y', lineStarty + 4).attr('font-family', 'sans-serif').attr('font-size', '12px').attr('text-anchor', 'middle').attr('textLength', '16px').attr('class', 'sequenceNumber').text(sequenceIndex);\n }\n\n bounds.bumpVerticalPos(totalOffset);\n msgModel.height += totalOffset;\n msgModel.stopy = msgModel.starty + msgModel.height;\n bounds.insert(msgModel.fromBounds, msgModel.starty, msgModel.toBounds, msgModel.stopy);\n};\n\nexport var drawActors = function drawActors(diagram, actors, actorKeys, verticalPos) {\n // Draw the actors\n var prevWidth = 0;\n var prevMargin = 0;\n\n for (var i = 0; i < actorKeys.length; i++) {\n var actor = actors[actorKeys[i]]; // Add some rendering data to the object\n\n actor.width = actor.width || conf.width;\n actor.height = Math.max(actor.height || conf.height, conf.height);\n actor.margin = actor.margin || conf.actorMargin;\n actor.x = prevWidth + prevMargin;\n actor.y = verticalPos; // Draw the box with the attached line\n\n svgDraw.drawActor(diagram, actor, conf);\n bounds.insert(actor.x, verticalPos, actor.x + actor.width, actor.height);\n prevWidth += actor.width;\n prevMargin += actor.margin;\n bounds.models.addActor(actor);\n } // Add a margin between the actor boxes and the first arrow\n\n\n bounds.bumpVerticalPos(conf.height);\n};\nexport var setConf = function setConf(cnf) {\n assignWithDepth(conf, cnf);\n\n if (cnf.fontFamily) {\n conf.actorFontFamily = conf.noteFontFamily = conf.messageFontFamily = cnf.fontFamily;\n }\n\n if (cnf.fontSize) {\n conf.actorFontSize = conf.noteFontSize = conf.messageFontSize = cnf.fontSize;\n }\n\n if (cnf.fontWeight) {\n conf.actorFontWeight = conf.noteFontWeight = conf.messageFontWeight = cnf.fontWeight;\n }\n};\n\nvar actorActivations = function actorActivations(actor) {\n return bounds.activations.filter(function (activation) {\n return activation.actor === actor;\n });\n};\n\nvar activationBounds = function activationBounds(actor, actors) {\n // handle multiple stacked activations for same actor\n var actorObj = actors[actor];\n var activations = actorActivations(actor);\n var left = activations.reduce(function (acc, activation) {\n return Math.min(acc, activation.startx);\n }, actorObj.x + actorObj.width / 2);\n var right = activations.reduce(function (acc, activation) {\n return Math.max(acc, activation.stopx);\n }, actorObj.x + actorObj.width / 2);\n return [left, right];\n};\n\nfunction adjustLoopHeightForWrap(loopWidths, msg, preMargin, postMargin, addLoopFn) {\n bounds.bumpVerticalPos(preMargin);\n var heightAdjust = postMargin;\n\n if (msg.id && msg.message && loopWidths[msg.id]) {\n var loopWidth = loopWidths[msg.id].width;\n var textConf = conf.messageFont();\n msg.message = utils.wrapLabel(\"[\".concat(msg.message, \"]\"), loopWidth - 2 * conf.wrapPadding, textConf);\n msg.width = loopWidth;\n msg.wrap = true; // const lines = common.splitBreaks(msg.message).length;\n\n var textDims = utils.calculateTextDimensions(msg.message, textConf);\n var totalOffset = Math.max(textDims.height, conf.labelBoxHeight);\n heightAdjust = postMargin + totalOffset;\n logger.debug(\"\".concat(totalOffset, \" - \").concat(msg.message));\n }\n\n addLoopFn(msg);\n bounds.bumpVerticalPos(heightAdjust);\n}\n/**\n * Draws a sequenceDiagram in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.yy.setWrap(conf.wrap);\n parser.parse(text + '\\n');\n bounds.init();\n logger.debug(\"C:\".concat(JSON.stringify(conf, null, 2)));\n var diagram = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Fetch data from the parsing\n\n var actors = parser.yy.getActors();\n var actorKeys = parser.yy.getActorKeys();\n var messages = parser.yy.getMessages();\n var title = parser.yy.getTitle();\n var maxMessageWidthPerActor = getMaxMessageWidthPerActor(actors, messages);\n conf.height = calculateActorMargins(actors, maxMessageWidthPerActor);\n drawActors(diagram, actors, actorKeys, 0);\n var loopWidths = calculateLoopBounds(messages, actors, maxMessageWidthPerActor); // The arrow head definition is attached to the svg once\n\n svgDraw.insertArrowHead(diagram);\n svgDraw.insertArrowCrossHead(diagram);\n svgDraw.insertSequenceNumber(diagram);\n\n function activeEnd(msg, verticalPos) {\n var activationData = bounds.endActivation(msg);\n\n if (activationData.starty + 18 > verticalPos) {\n activationData.starty = verticalPos - 6;\n verticalPos += 12;\n }\n\n svgDraw.drawActivation(diagram, activationData, verticalPos, conf, actorActivations(msg.from.actor).length);\n bounds.insert(activationData.startx, verticalPos - 10, activationData.stopx, verticalPos);\n } // Draw the messages/signals\n\n\n var sequenceIndex = 1;\n messages.forEach(function (msg) {\n var loopModel, noteModel, msgModel;\n\n switch (msg.type) {\n case parser.yy.LINETYPE.NOTE:\n noteModel = msg.noteModel;\n drawNote(diagram, noteModel);\n break;\n\n case parser.yy.LINETYPE.ACTIVE_START:\n bounds.newActivation(msg, diagram, actors);\n break;\n\n case parser.yy.LINETYPE.ACTIVE_END:\n activeEnd(msg, bounds.getVerticalPos());\n break;\n\n case parser.yy.LINETYPE.LOOP_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.LOOP_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'loop', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.RECT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin, function (message) {\n return bounds.newLoop(undefined, message.message);\n });\n break;\n\n case parser.yy.LINETYPE.RECT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawBackgroundRect(diagram, loopModel);\n bounds.models.addLoop(loopModel);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n break;\n\n case parser.yy.LINETYPE.OPT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.OPT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'opt', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.ALT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.ALT_ELSE:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin + conf.boxTextMargin, conf.boxMargin, function (message) {\n return bounds.addSectionToLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.ALT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'alt', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.PAR_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.PAR_AND:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin + conf.boxTextMargin, conf.boxMargin, function (message) {\n return bounds.addSectionToLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.PAR_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'par', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n default:\n try {\n // lastMsg = msg\n msgModel = msg.msgModel;\n msgModel.starty = bounds.getVerticalPos();\n msgModel.sequenceIndex = sequenceIndex;\n drawMessage(diagram, msgModel);\n bounds.models.addMessage(msgModel);\n } catch (e) {\n logger.error('error while drawing message', e);\n }\n\n } // Increment sequence counter if msg.type is a line (and not another event like activation or note, etc)\n\n\n if ([parser.yy.LINETYPE.SOLID_OPEN, parser.yy.LINETYPE.DOTTED_OPEN, parser.yy.LINETYPE.SOLID, parser.yy.LINETYPE.DOTTED, parser.yy.LINETYPE.SOLID_CROSS, parser.yy.LINETYPE.DOTTED_CROSS].includes(msg.type)) {\n sequenceIndex++;\n }\n });\n\n if (conf.mirrorActors) {\n // Draw actors below diagram\n bounds.bumpVerticalPos(conf.boxMargin * 2);\n drawActors(diagram, actors, actorKeys, bounds.getVerticalPos());\n }\n\n var _bounds$getBounds = bounds.getBounds(),\n box = _bounds$getBounds.bounds; // Adjust line height of actor lines now that the height of the diagram is known\n\n\n logger.debug('For line height fix Querying: #' + id + ' .actor-line');\n var actorLines = selectAll('#' + id + ' .actor-line');\n actorLines.attr('y2', box.stopy);\n var height = box.stopy - box.starty + 2 * conf.diagramMarginY;\n\n if (conf.mirrorActors) {\n height = height - conf.boxMargin + conf.bottomMarginAdj;\n }\n\n var width = box.stopx - box.startx + 2 * conf.diagramMarginX;\n\n if (title) {\n diagram.append('text').text(title).attr('x', (box.stopx - box.startx) / 2 - 2 * conf.diagramMarginX).attr('y', -25);\n }\n\n if (conf.useMaxWidth) {\n diagram.attr('height', '100%');\n diagram.attr('width', '100%');\n diagram.attr('style', 'max-width:' + width + 'px;'); // diagram.attr('style', 'max-width:100%;');\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n }\n\n var extraVertForTitle = title ? 40 : 0;\n diagram.attr('viewBox', box.startx - conf.diagramMarginX + ' -' + (conf.diagramMarginY + extraVertForTitle) + ' ' + width + ' ' + (height + extraVertForTitle));\n logger.debug(\"models:\", bounds.models);\n};\n/**\n * Retrieves the max message width of each actor, supports signals (messages, loops)\n * and notes.\n *\n * It will enumerate each given message, and will determine its text width, in relation\n * to the actor it originates from, and destined to.\n *\n * @param actors - The actors map\n * @param messages - A list of message objects to iterate\n */\n\nvar getMaxMessageWidthPerActor = function getMaxMessageWidthPerActor(actors, messages) {\n var maxMessageWidthPerActor = {};\n messages.forEach(function (msg) {\n if (actors[msg.to] && actors[msg.from]) {\n var actor = actors[msg.to]; // If this is the first actor, and the message is left of it, no need to calculate the margin\n\n if (msg.placement === parser.yy.PLACEMENT.LEFTOF && !actor.prevActor) {\n return;\n } // If this is the last actor, and the message is right of it, no need to calculate the margin\n\n\n if (msg.placement === parser.yy.PLACEMENT.RIGHTOF && !actor.nextActor) {\n return;\n }\n\n var isNote = msg.placement !== undefined;\n var isMessage = !isNote;\n var textFont = isNote ? conf.noteFont() : conf.messageFont();\n var wrappedMessage = msg.wrap ? utils.wrapLabel(msg.message, conf.width - 2 * conf.wrapPadding, textFont) : msg.message;\n var messageDimensions = utils.calculateTextDimensions(wrappedMessage, textFont);\n var messageWidth = messageDimensions.width + 2 * conf.wrapPadding;\n /*\n * The following scenarios should be supported:\n *\n * - There's a message (non-note) between fromActor and toActor\n * - If fromActor is on the right and toActor is on the left, we should\n * define the toActor's margin\n * - If fromActor is on the left and toActor is on the right, we should\n * define the fromActor's margin\n * - There's a note, in which case fromActor == toActor\n * - If the note is to the left of the actor, we should define the previous actor\n * margin\n * - If the note is on the actor, we should define both the previous and next actor\n * margins, each being the half of the note size\n * - If the note is on the right of the actor, we should define the current actor\n * margin\n */\n\n if (isMessage && msg.from === actor.nextActor) {\n maxMessageWidthPerActor[msg.to] = Math.max(maxMessageWidthPerActor[msg.to] || 0, messageWidth);\n } else if (isMessage && msg.from === actor.prevActor) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth);\n } else if (isMessage && msg.from === msg.to) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth / 2);\n maxMessageWidthPerActor[msg.to] = Math.max(maxMessageWidthPerActor[msg.to] || 0, messageWidth / 2);\n } else if (msg.placement === parser.yy.PLACEMENT.RIGHTOF) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth);\n } else if (msg.placement === parser.yy.PLACEMENT.LEFTOF) {\n maxMessageWidthPerActor[actor.prevActor] = Math.max(maxMessageWidthPerActor[actor.prevActor] || 0, messageWidth);\n } else if (msg.placement === parser.yy.PLACEMENT.OVER) {\n if (actor.prevActor) {\n maxMessageWidthPerActor[actor.prevActor] = Math.max(maxMessageWidthPerActor[actor.prevActor] || 0, messageWidth / 2);\n }\n\n if (actor.nextActor) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth / 2);\n }\n }\n }\n });\n logger.debug('maxMessageWidthPerActor:', maxMessageWidthPerActor);\n return maxMessageWidthPerActor;\n};\n/**\n * This will calculate the optimal margin for each given actor, for a given\n * actor->messageWidth map.\n *\n * An actor's margin is determined by the width of the actor, the width of the\n * largest message that originates from it, and the configured conf.actorMargin.\n *\n * @param actors - The actors map to calculate margins for\n * @param actorToMessageWidth - A map of actor key -> max message width it holds\n */\n\n\nvar calculateActorMargins = function calculateActorMargins(actors, actorToMessageWidth) {\n var maxHeight = 0;\n Object.keys(actors).forEach(function (prop) {\n var actor = actors[prop];\n\n if (actor.wrap) {\n actor.description = utils.wrapLabel(actor.description, conf.width - 2 * conf.wrapPadding, conf.actorFont());\n }\n\n var actDims = utils.calculateTextDimensions(actor.description, conf.actorFont());\n actor.width = actor.wrap ? conf.width : Math.max(conf.width, actDims.width + 2 * conf.wrapPadding);\n actor.height = actor.wrap ? Math.max(actDims.height, conf.height) : conf.height;\n maxHeight = Math.max(maxHeight, actor.height);\n });\n\n for (var actorKey in actorToMessageWidth) {\n var actor = actors[actorKey];\n\n if (!actor) {\n continue;\n }\n\n var nextActor = actors[actor.nextActor]; // No need to space out an actor that doesn't have a next link\n\n if (!nextActor) {\n continue;\n }\n\n var messageWidth = actorToMessageWidth[actorKey];\n var actorWidth = messageWidth + conf.actorMargin - actor.width / 2 - nextActor.width / 2;\n actor.margin = Math.max(actorWidth, conf.actorMargin);\n }\n\n return Math.max(maxHeight, conf.height);\n};\n\nvar buildNoteModel = function buildNoteModel(msg, actors) {\n var startx = actors[msg.from].x;\n var stopx = actors[msg.to].x;\n var shouldWrap = msg.wrap && msg.message;\n var textDimensions = utils.calculateTextDimensions(shouldWrap ? utils.wrapLabel(msg.message, conf.width, conf.noteFont()) : msg.message, conf.noteFont());\n var noteModel = {\n width: shouldWrap ? conf.width : Math.max(conf.width, textDimensions.width + 2 * conf.noteMargin),\n height: 0,\n startx: actors[msg.from].x,\n stopx: 0,\n starty: 0,\n stopy: 0,\n message: msg.message\n };\n\n if (msg.placement === parser.yy.PLACEMENT.RIGHTOF) {\n noteModel.width = shouldWrap ? Math.max(conf.width, textDimensions.width) : Math.max(actors[msg.from].width / 2 + actors[msg.to].width / 2, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx + (actors[msg.from].width + conf.actorMargin) / 2;\n } else if (msg.placement === parser.yy.PLACEMENT.LEFTOF) {\n noteModel.width = shouldWrap ? Math.max(conf.width, textDimensions.width + 2 * conf.noteMargin) : Math.max(actors[msg.from].width / 2 + actors[msg.to].width / 2, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx - noteModel.width + (actors[msg.from].width - conf.actorMargin) / 2;\n } else if (msg.to === msg.from) {\n textDimensions = utils.calculateTextDimensions(shouldWrap ? utils.wrapLabel(msg.message, Math.max(conf.width, actors[msg.from].width), conf.noteFont()) : msg.message, conf.noteFont());\n noteModel.width = shouldWrap ? Math.max(conf.width, actors[msg.from].width) : Math.max(actors[msg.from].width, conf.width, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx + (actors[msg.from].width - noteModel.width) / 2;\n } else {\n noteModel.width = Math.abs(startx + actors[msg.from].width / 2 - (stopx + actors[msg.to].width / 2)) + conf.actorMargin;\n noteModel.startx = startx < stopx ? startx + actors[msg.from].width / 2 - conf.actorMargin / 2 : stopx + actors[msg.to].width / 2 - conf.actorMargin / 2;\n }\n\n if (shouldWrap) {\n noteModel.message = utils.wrapLabel(msg.message, noteModel.width - 2 * conf.wrapPadding, conf.noteFont());\n }\n\n logger.debug(\"NM:[\".concat(noteModel.startx, \",\").concat(noteModel.stopx, \",\").concat(noteModel.starty, \",\").concat(noteModel.stopy, \":\").concat(noteModel.width, \",\").concat(noteModel.height, \"=\").concat(msg.message, \"]\"));\n return noteModel;\n};\n\nvar buildMessageModel = function buildMessageModel(msg, actors) {\n var process = false;\n\n if ([parser.yy.LINETYPE.SOLID_OPEN, parser.yy.LINETYPE.DOTTED_OPEN, parser.yy.LINETYPE.SOLID, parser.yy.LINETYPE.DOTTED, parser.yy.LINETYPE.SOLID_CROSS, parser.yy.LINETYPE.DOTTED_CROSS].includes(msg.type)) {\n process = true;\n }\n\n if (!process) {\n return {};\n }\n\n var fromBounds = activationBounds(msg.from, actors);\n var toBounds = activationBounds(msg.to, actors);\n var fromIdx = fromBounds[0] <= toBounds[0] ? 1 : 0;\n var toIdx = fromBounds[0] < toBounds[0] ? 0 : 1;\n var allBounds = fromBounds.concat(toBounds);\n var boundedWidth = Math.abs(toBounds[toIdx] - fromBounds[fromIdx]);\n var msgDims = utils.calculateTextDimensions(msg.message, conf.messageFont());\n\n if (msg.wrap && msg.message) {\n msg.message = utils.wrapLabel(msg.message, Math.max(boundedWidth + 2 * conf.wrapPadding, conf.width), conf.messageFont());\n }\n\n return {\n width: Math.max(msg.wrap ? 0 : msgDims.width + 2 * conf.wrapPadding, boundedWidth + 2 * conf.wrapPadding, conf.width),\n height: 0,\n startx: fromBounds[fromIdx],\n stopx: toBounds[toIdx],\n starty: 0,\n stopy: 0,\n message: msg.message,\n type: msg.type,\n wrap: msg.wrap,\n fromBounds: Math.min.apply(null, allBounds),\n toBounds: Math.max.apply(null, allBounds)\n };\n};\n\nvar calculateLoopBounds = function calculateLoopBounds(messages, actors) {\n var loops = {};\n var stack = [];\n var current, noteModel, msgModel;\n messages.forEach(function (msg) {\n msg.id = utils.random({\n length: 10\n });\n\n switch (msg.type) {\n case parser.yy.LINETYPE.LOOP_START:\n case parser.yy.LINETYPE.ALT_START:\n case parser.yy.LINETYPE.OPT_START:\n case parser.yy.LINETYPE.PAR_START:\n stack.push({\n id: msg.id,\n msg: msg.message,\n from: Number.MAX_SAFE_INTEGER,\n to: Number.MIN_SAFE_INTEGER,\n width: 0\n });\n break;\n\n case parser.yy.LINETYPE.ALT_ELSE:\n case parser.yy.LINETYPE.PAR_AND:\n if (msg.message) {\n current = stack.pop();\n loops[current.id] = current;\n loops[msg.id] = current;\n stack.push(current);\n }\n\n break;\n\n case parser.yy.LINETYPE.LOOP_END:\n case parser.yy.LINETYPE.ALT_END:\n case parser.yy.LINETYPE.OPT_END:\n case parser.yy.LINETYPE.PAR_END:\n current = stack.pop();\n loops[current.id] = current;\n break;\n\n case parser.yy.LINETYPE.ACTIVE_START:\n {\n var actorRect = actors[msg.from ? msg.from.actor : msg.to.actor];\n var stackedSize = actorActivations(msg.from ? msg.from.actor : msg.to.actor).length;\n var x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;\n var toAdd = {\n startx: x,\n stopx: x + conf.activationWidth,\n actor: msg.from.actor,\n enabled: true\n };\n bounds.activations.push(toAdd);\n }\n break;\n\n case parser.yy.LINETYPE.ACTIVE_END:\n {\n var lastActorActivationIdx = bounds.activations.map(function (a) {\n return a.actor;\n }).lastIndexOf(msg.from.actor);\n delete bounds.activations.splice(lastActorActivationIdx, 1)[0];\n }\n break;\n }\n\n var isNote = msg.placement !== undefined;\n\n if (isNote) {\n noteModel = buildNoteModel(msg, actors);\n msg.noteModel = noteModel;\n stack.forEach(function (stk) {\n current = stk;\n current.from = Math.min(current.from, noteModel.startx);\n current.to = Math.max(current.to, noteModel.startx + noteModel.width);\n current.width = Math.max(current.width, Math.abs(current.from - current.to)) - conf.labelBoxWidth;\n });\n } else {\n msgModel = buildMessageModel(msg, actors);\n msg.msgModel = msgModel;\n\n if (msgModel.startx && msgModel.stopx && stack.length > 0) {\n stack.forEach(function (stk) {\n current = stk;\n\n if (msgModel.startx === msgModel.stopx) {\n var from = actors[msg.from];\n var to = actors[msg.to];\n current.from = Math.min(from.x - msgModel.width / 2, from.x - from.width / 2, current.from);\n current.to = Math.max(to.x + msgModel.width / 2, to.x + from.width / 2, current.to);\n current.width = Math.max(current.width, Math.abs(current.to - current.from)) - conf.labelBoxWidth;\n } else {\n current.from = Math.min(msgModel.startx, current.from);\n current.to = Math.max(msgModel.stopx, current.to);\n current.width = Math.max(current.width, msgModel.width) - conf.labelBoxWidth;\n }\n });\n }\n }\n });\n bounds.activations = [];\n logger.debug('Loop type widths:', loops);\n return loops;\n};\n\nexport default {\n bounds: bounds,\n drawActors: drawActors,\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "name": "./src/diagrams/gantt/ganttDb.js", "index": 32, "index2": 30, "size": 16304, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./ganttDb", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "./ganttDb", "loc": "5:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/ganttDb", "loc": "30:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttDb", "loc": "99:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "./ganttDb", "loc": "331:22-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttDb", "loc": "419:20-27" } ], "usedExports": [ "default" ], "providedExports": [ "clear", "setAxisFormat", "getAxisFormat", "setTodayMarker", "getTodayMarker", "setDateFormat", "enableInclusiveEndDates", "endDatesAreInclusive", "getDateFormat", "setExcludes", "getExcludes", "setTitle", "getTitle", "addSection", "getSections", "getTasks", "addTask", "findTaskById", "addTaskOrg", "setLink", "setClass", "setClickEvent", "bindFunctions", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport moment from 'moment-mini';\nimport { sanitizeUrl } from '@braintree/sanitize-url';\nimport { logger } from '../../logger';\nimport { getConfig } from '../../config';\nimport utils from '../../utils';\nvar dateFormat = '';\nvar axisFormat = '';\nvar todayMarker = '';\nvar excludes = [];\nvar title = '';\nvar sections = [];\nvar tasks = [];\nvar currentSection = '';\nvar tags = ['active', 'done', 'crit', 'milestone'];\nvar funs = [];\nvar inclusiveEndDates = false; // The serial order of the task in the script\n\nvar lastOrder = 0;\nexport var clear = function clear() {\n sections = [];\n tasks = [];\n currentSection = '';\n funs = [];\n title = '';\n taskCnt = 0;\n lastTask = undefined;\n lastTaskID = undefined;\n rawTasks = [];\n dateFormat = '';\n axisFormat = '';\n todayMarker = '';\n excludes = [];\n inclusiveEndDates = false;\n lastOrder = 0;\n};\nexport var setAxisFormat = function setAxisFormat(txt) {\n axisFormat = txt;\n};\nexport var getAxisFormat = function getAxisFormat() {\n return axisFormat;\n};\nexport var setTodayMarker = function setTodayMarker(txt) {\n todayMarker = txt;\n};\nexport var getTodayMarker = function getTodayMarker() {\n return todayMarker;\n};\nexport var setDateFormat = function setDateFormat(txt) {\n dateFormat = txt;\n};\nexport var enableInclusiveEndDates = function enableInclusiveEndDates() {\n inclusiveEndDates = true;\n};\nexport var endDatesAreInclusive = function endDatesAreInclusive() {\n return inclusiveEndDates;\n};\nexport var getDateFormat = function getDateFormat() {\n return dateFormat;\n};\nexport var setExcludes = function setExcludes(txt) {\n excludes = txt.toLowerCase().split(/[\\s,]+/);\n};\nexport var getExcludes = function getExcludes() {\n return excludes;\n};\nexport var setTitle = function setTitle(txt) {\n title = txt;\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var addSection = function addSection(txt) {\n currentSection = txt;\n sections.push(txt);\n};\nexport var getSections = function getSections() {\n return sections;\n};\nexport var getTasks = function getTasks() {\n var allItemsPricessed = compileTasks();\n var maxDepth = 10;\n var iterationCount = 0;\n\n while (!allItemsPricessed && iterationCount < maxDepth) {\n allItemsPricessed = compileTasks();\n iterationCount++;\n }\n\n tasks = rawTasks;\n return tasks;\n};\n\nvar isInvalidDate = function isInvalidDate(date, dateFormat, excludes) {\n if (date.isoWeekday() >= 6 && excludes.indexOf('weekends') >= 0) {\n return true;\n }\n\n if (excludes.indexOf(date.format('dddd').toLowerCase()) >= 0) {\n return true;\n }\n\n return excludes.indexOf(date.format(dateFormat.trim())) >= 0;\n};\n\nvar checkTaskDates = function checkTaskDates(task, dateFormat, excludes) {\n if (!excludes.length || task.manualEndTime) return;\n var startTime = moment(task.startTime, dateFormat, true);\n startTime.add(1, 'd');\n var endTime = moment(task.endTime, dateFormat, true);\n var renderEndTime = fixTaskDates(startTime, endTime, dateFormat, excludes);\n task.endTime = endTime.toDate();\n task.renderEndTime = renderEndTime;\n};\n\nvar fixTaskDates = function fixTaskDates(startTime, endTime, dateFormat, excludes) {\n var invalid = false;\n var renderEndTime = null;\n\n while (startTime <= endTime) {\n if (!invalid) {\n renderEndTime = endTime.toDate();\n }\n\n invalid = isInvalidDate(startTime, dateFormat, excludes);\n\n if (invalid) {\n endTime.add(1, 'd');\n }\n\n startTime.add(1, 'd');\n }\n\n return renderEndTime;\n};\n\nvar getStartDate = function getStartDate(prevTime, dateFormat, str) {\n str = str.trim(); // Test for after\n\n var re = /^after\\s+([\\d\\w- ]+)/;\n var afterStatement = re.exec(str.trim());\n\n if (afterStatement !== null) {\n // check all after ids and take the latest\n var latestEndingTask = null;\n afterStatement[1].split(' ').forEach(function (id) {\n var task = findTaskById(id);\n\n if (typeof task !== 'undefined') {\n if (!latestEndingTask) {\n latestEndingTask = task;\n } else {\n if (task.endTime > latestEndingTask.endTime) {\n latestEndingTask = task;\n }\n }\n }\n });\n\n if (!latestEndingTask) {\n var dt = new Date();\n dt.setHours(0, 0, 0, 0);\n return dt;\n } else {\n return latestEndingTask.endTime;\n }\n } // Check for actual date set\n\n\n var mDate = moment(str, dateFormat.trim(), true);\n\n if (mDate.isValid()) {\n return mDate.toDate();\n } else {\n logger.debug('Invalid date:' + str);\n logger.debug('With date format:' + dateFormat.trim());\n } // Default date - now\n\n\n return new Date();\n};\n\nvar durationToDate = function durationToDate(durationStatement, relativeTime) {\n if (durationStatement !== null) {\n switch (durationStatement[2]) {\n case 's':\n relativeTime.add(durationStatement[1], 'seconds');\n break;\n\n case 'm':\n relativeTime.add(durationStatement[1], 'minutes');\n break;\n\n case 'h':\n relativeTime.add(durationStatement[1], 'hours');\n break;\n\n case 'd':\n relativeTime.add(durationStatement[1], 'days');\n break;\n\n case 'w':\n relativeTime.add(durationStatement[1], 'weeks');\n break;\n }\n } // Default date - now\n\n\n return relativeTime.toDate();\n};\n\nvar getEndDate = function getEndDate(prevTime, dateFormat, str, inclusive) {\n inclusive = inclusive || false;\n str = str.trim(); // Check for actual date\n\n var mDate = moment(str, dateFormat.trim(), true);\n\n if (mDate.isValid()) {\n if (inclusive) {\n mDate.add(1, 'd');\n }\n\n return mDate.toDate();\n }\n\n return durationToDate(/^([\\d]+)([wdhms])/.exec(str.trim()), moment(prevTime));\n};\n\nvar taskCnt = 0;\n\nvar parseId = function parseId(idStr) {\n if (typeof idStr === 'undefined') {\n taskCnt = taskCnt + 1;\n return 'task' + taskCnt;\n }\n\n return idStr;\n}; // id, startDate, endDate\n// id, startDate, length\n// id, after x, endDate\n// id, after x, length\n// startDate, endDate\n// startDate, length\n// after x, endDate\n// after x, length\n// endDate\n// length\n\n\nvar compileData = function compileData(prevTask, dataStr) {\n var ds;\n\n if (dataStr.substr(0, 1) === ':') {\n ds = dataStr.substr(1, dataStr.length);\n } else {\n ds = dataStr;\n }\n\n var data = ds.split(',');\n var task = {}; // Get tags like active, done, crit and milestone\n\n getTaskTags(data, task, tags);\n\n for (var i = 0; i < data.length; i++) {\n data[i] = data[i].trim();\n }\n\n var endTimeData = '';\n\n switch (data.length) {\n case 1:\n task.id = parseId();\n task.startTime = prevTask.endTime;\n endTimeData = data[0];\n break;\n\n case 2:\n task.id = parseId();\n task.startTime = getStartDate(undefined, dateFormat, data[0]);\n endTimeData = data[1];\n break;\n\n case 3:\n task.id = parseId(data[0]);\n task.startTime = getStartDate(undefined, dateFormat, data[1]);\n endTimeData = data[2];\n break;\n\n default:\n }\n\n if (endTimeData) {\n task.endTime = getEndDate(task.startTime, dateFormat, endTimeData, inclusiveEndDates);\n task.manualEndTime = moment(endTimeData, 'YYYY-MM-DD', true).isValid();\n checkTaskDates(task, dateFormat, excludes);\n }\n\n return task;\n};\n\nvar parseData = function parseData(prevTaskId, dataStr) {\n var ds;\n\n if (dataStr.substr(0, 1) === ':') {\n ds = dataStr.substr(1, dataStr.length);\n } else {\n ds = dataStr;\n }\n\n var data = ds.split(',');\n var task = {}; // Get tags like active, done, crit and milestone\n\n getTaskTags(data, task, tags);\n\n for (var i = 0; i < data.length; i++) {\n data[i] = data[i].trim();\n }\n\n switch (data.length) {\n case 1:\n task.id = parseId();\n task.startTime = {\n type: 'prevTaskEnd',\n id: prevTaskId\n };\n task.endTime = {\n data: data[0]\n };\n break;\n\n case 2:\n task.id = parseId();\n task.startTime = {\n type: 'getStartDate',\n startData: data[0]\n };\n task.endTime = {\n data: data[1]\n };\n break;\n\n case 3:\n task.id = parseId(data[0]);\n task.startTime = {\n type: 'getStartDate',\n startData: data[1]\n };\n task.endTime = {\n data: data[2]\n };\n break;\n\n default:\n }\n\n return task;\n};\n\nvar lastTask;\nvar lastTaskID;\nvar rawTasks = [];\nvar taskDb = {};\nexport var addTask = function addTask(descr, data) {\n var rawTask = {\n section: currentSection,\n type: currentSection,\n processed: false,\n manualEndTime: false,\n renderEndTime: null,\n raw: {\n data: data\n },\n task: descr,\n classes: []\n };\n var taskInfo = parseData(lastTaskID, data);\n rawTask.raw.startTime = taskInfo.startTime;\n rawTask.raw.endTime = taskInfo.endTime;\n rawTask.id = taskInfo.id;\n rawTask.prevTaskId = lastTaskID;\n rawTask.active = taskInfo.active;\n rawTask.done = taskInfo.done;\n rawTask.crit = taskInfo.crit;\n rawTask.milestone = taskInfo.milestone;\n rawTask.order = lastOrder;\n lastOrder++;\n var pos = rawTasks.push(rawTask);\n lastTaskID = rawTask.id; // Store cross ref\n\n taskDb[rawTask.id] = pos - 1;\n};\nexport var findTaskById = function findTaskById(id) {\n var pos = taskDb[id];\n return rawTasks[pos];\n};\nexport var addTaskOrg = function addTaskOrg(descr, data) {\n var newTask = {\n section: currentSection,\n type: currentSection,\n description: descr,\n task: descr,\n classes: []\n };\n var taskInfo = compileData(lastTask, data);\n newTask.startTime = taskInfo.startTime;\n newTask.endTime = taskInfo.endTime;\n newTask.id = taskInfo.id;\n newTask.active = taskInfo.active;\n newTask.done = taskInfo.done;\n newTask.crit = taskInfo.crit;\n newTask.milestone = taskInfo.milestone;\n lastTask = newTask;\n tasks.push(newTask);\n};\n\nvar compileTasks = function compileTasks() {\n var compileTask = function compileTask(pos) {\n var task = rawTasks[pos];\n var startTime = '';\n\n switch (rawTasks[pos].raw.startTime.type) {\n case 'prevTaskEnd':\n {\n var prevTask = findTaskById(task.prevTaskId);\n task.startTime = prevTask.endTime;\n break;\n }\n\n case 'getStartDate':\n startTime = getStartDate(undefined, dateFormat, rawTasks[pos].raw.startTime.startData);\n\n if (startTime) {\n rawTasks[pos].startTime = startTime;\n }\n\n break;\n }\n\n if (rawTasks[pos].startTime) {\n rawTasks[pos].endTime = getEndDate(rawTasks[pos].startTime, dateFormat, rawTasks[pos].raw.endTime.data, inclusiveEndDates);\n\n if (rawTasks[pos].endTime) {\n rawTasks[pos].processed = true;\n rawTasks[pos].manualEndTime = moment(rawTasks[pos].raw.endTime.data, 'YYYY-MM-DD', true).isValid();\n checkTaskDates(rawTasks[pos], dateFormat, excludes);\n }\n }\n\n return rawTasks[pos].processed;\n };\n\n var allProcessed = true;\n\n for (var i = 0; i < rawTasks.length; i++) {\n compileTask(i);\n allProcessed = allProcessed && rawTasks[i].processed;\n }\n\n return allProcessed;\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n */\n\n\nexport var setLink = function setLink(ids, _linkStr) {\n var linkStr = _linkStr;\n\n if (getConfig().securityLevel !== 'loose') {\n linkStr = sanitizeUrl(_linkStr);\n }\n\n ids.split(',').forEach(function (id) {\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n pushFun(id, function () {\n window.open(linkStr, '_self');\n });\n }\n });\n setClass(ids, 'clickable');\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setClass = function setClass(ids, className) {\n ids.split(',').forEach(function (id) {\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n rawTask.classes.push(className);\n }\n });\n};\n\nvar setClickFun = function setClickFun(id, functionName, functionArgs) {\n if (getConfig().securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n var argList = [];\n\n if (typeof functionArgs === 'string') {\n /* Splits functionArgs by ',', ignoring all ',' in double quoted strings */\n argList = functionArgs.split(/,(?=(?:(?:[^\"]*\"){2})*[^\"]*$)/);\n\n for (var i = 0; i < argList.length; i++) {\n var item = argList[i].trim();\n /* Removes all double quotes at the start and end of an argument */\n\n /* This preserves all starting and ending whitespace inside */\n\n if (item.charAt(0) === '\"' && item.charAt(item.length - 1) === '\"') {\n item = item.substr(1, item.length - 2);\n }\n\n argList[i] = item;\n }\n }\n /* if no arguments passed into callback, default to passing in id */\n\n\n if (argList.length === 0) {\n argList.push(id);\n }\n\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n pushFun(id, function () {\n utils.runFunc.apply(utils, [functionName].concat(_toConsumableArray(argList)));\n });\n }\n};\n/**\n * The callbackFunction is executed in a click event bound to the task with the specified id or the task's assigned text\n * @param id The task's id\n * @param callbackFunction A function to be executed when clicked on the task or the task's text\n */\n\n\nvar pushFun = function pushFun(id, callbackFunction) {\n funs.push(function () {\n // const elem = d3.select(element).select(`[id=\"${id}\"]`)\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n callbackFunction();\n });\n }\n });\n funs.push(function () {\n // const elem = d3.select(element).select(`[id=\"${id}-text\"]`)\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"-text\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n callbackFunction();\n });\n }\n });\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param functionArgs Function args the function should be called with\n */\n\n\nexport var setClickEvent = function setClickEvent(ids, functionName, functionArgs) {\n ids.split(',').forEach(function (id) {\n setClickFun(id, functionName, functionArgs);\n });\n setClass(ids, 'clickable');\n};\n/**\n * Binds all functions previously added to fun (specified through click) to the element\n * @param element\n */\n\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport default {\n clear: clear,\n setDateFormat: setDateFormat,\n getDateFormat: getDateFormat,\n enableInclusiveEndDates: enableInclusiveEndDates,\n endDatesAreInclusive: endDatesAreInclusive,\n setAxisFormat: setAxisFormat,\n getAxisFormat: getAxisFormat,\n setTodayMarker: setTodayMarker,\n getTodayMarker: getTodayMarker,\n setTitle: setTitle,\n getTitle: getTitle,\n addSection: addSection,\n getSections: getSections,\n getTasks: getTasks,\n addTask: addTask,\n findTaskById: findTaskById,\n addTaskOrg: addTaskOrg,\n setExcludes: setExcludes,\n getExcludes: getExcludes,\n setClickEvent: setClickEvent,\n setLink: setLink,\n bindFunctions: bindFunctions,\n durationToDate: durationToDate\n};\n\nfunction getTaskTags(data, task, tags) {\n var matchFound = true;\n\n while (matchFound) {\n matchFound = false;\n tags.forEach(function (t) {\n var pattern = '^\\\\s*' + t + '\\\\s*$';\n var regex = new RegExp(pattern);\n\n if (data[0].match(regex)) {\n task[t] = true;\n data.shift(1);\n matchFound = true;\n }\n });\n }\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "name": "./src/diagrams/gantt/ganttRenderer.js", "index": 71, "index2": 69, "size": 12233, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "28:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "340:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "341:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "531:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select, scaleTime, min, max, scaleLinear, interpolateHcl, axisBottom, timeFormat } from 'd3';\nimport { parser } from './parser/gantt';\nimport common from '../common/common';\nimport ganttDb from './ganttDb';\nparser.yy = ganttDb;\nvar conf = {\n titleTopMargin: 25,\n barHeight: 20,\n barGap: 4,\n topPadding: 50,\n rightPadding: 75,\n leftPadding: 75,\n gridLineStartPadding: 35,\n fontSize: 11,\n fontFamily: '\"Open-Sans\", \"sans-serif\"'\n};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\nvar w;\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.parse(text);\n var elem = document.getElementById(id);\n w = elem.parentElement.offsetWidth;\n\n if (typeof w === 'undefined') {\n w = 1200;\n }\n\n if (typeof conf.useWidth !== 'undefined') {\n w = conf.useWidth;\n }\n\n var taskArray = parser.yy.getTasks(); // Set height based on number of tasks\n\n var h = taskArray.length * (conf.barHeight + conf.barGap) + 2 * conf.topPadding;\n elem.setAttribute('height', '100%'); // Set viewBox\n\n elem.setAttribute('viewBox', '0 0 ' + w + ' ' + h);\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Set timescale\n\n var timeScale = scaleTime().domain([min(taskArray, function (d) {\n return d.startTime;\n }), max(taskArray, function (d) {\n return d.endTime;\n })]).rangeRound([0, w - conf.leftPadding - conf.rightPadding]);\n var categories = [];\n\n for (var i = 0; i < taskArray.length; i++) {\n categories.push(taskArray[i].type);\n }\n\n var catsUnfiltered = categories; // for vert labels\n\n categories = checkUnique(categories);\n\n function taskCompare(a, b) {\n var taskA = a.startTime;\n var taskB = b.startTime;\n var result = 0;\n\n if (taskA > taskB) {\n result = 1;\n } else if (taskA < taskB) {\n result = -1;\n }\n\n return result;\n } // Sort the task array using the above taskCompare() so that\n // tasks are created based on their order of startTime\n\n\n taskArray.sort(taskCompare);\n makeGant(taskArray, w, h);\n\n if (typeof conf.useWidth !== 'undefined') {\n elem.setAttribute('width', w);\n }\n\n svg.append('text').text(parser.yy.getTitle()).attr('x', w / 2).attr('y', conf.titleTopMargin).attr('class', 'titleText');\n\n function makeGant(tasks, pageWidth, pageHeight) {\n var barHeight = conf.barHeight;\n var gap = barHeight + conf.barGap;\n var topPadding = conf.topPadding;\n var leftPadding = conf.leftPadding;\n var colorScale = scaleLinear().domain([0, categories.length]).range(['#00B9FA', '#F95002']).interpolate(interpolateHcl);\n makeGrid(leftPadding, topPadding, pageWidth, pageHeight);\n drawRects(tasks, gap, topPadding, leftPadding, barHeight, colorScale, pageWidth, pageHeight);\n vertLabels(gap, topPadding, leftPadding, barHeight, colorScale);\n drawToday(leftPadding, topPadding, pageWidth, pageHeight);\n }\n\n function drawRects(theArray, theGap, theTopPad, theSidePad, theBarHeight, theColorScale, w) {\n // Draw background rects covering the entire width of the graph, these form the section rows.\n svg.append('g').selectAll('rect').data(theArray).enter().append('rect').attr('x', 0).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + theTopPad - 2;\n }).attr('width', function () {\n return w - conf.rightPadding / 2;\n }).attr('height', theGap).attr('class', function (d) {\n for (var _i = 0; _i < categories.length; _i++) {\n if (d.type === categories[_i]) {\n return 'section section' + _i % conf.numberSectionStyles;\n }\n }\n\n return 'section section0';\n }); // Draw the rects representing the tasks\n\n var rectangles = svg.append('g').selectAll('rect').data(theArray).enter();\n rectangles.append('rect').attr('id', function (d) {\n return d.id;\n }).attr('rx', 3).attr('ry', 3).attr('x', function (d) {\n if (d.milestone) {\n return timeScale(d.startTime) + theSidePad + 0.5 * (timeScale(d.endTime) - timeScale(d.startTime)) - 0.5 * theBarHeight;\n }\n\n return timeScale(d.startTime) + theSidePad;\n }).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + theTopPad;\n }).attr('width', function (d) {\n if (d.milestone) {\n return theBarHeight;\n }\n\n return timeScale(d.renderEndTime || d.endTime) - timeScale(d.startTime);\n }).attr('height', theBarHeight).attr('transform-origin', function (d, i) {\n return (timeScale(d.startTime) + theSidePad + 0.5 * (timeScale(d.endTime) - timeScale(d.startTime))).toString() + 'px ' + (i * theGap + theTopPad + 0.5 * theBarHeight).toString() + 'px';\n }).attr('class', function (d) {\n var res = 'task';\n var classStr = '';\n\n if (d.classes.length > 0) {\n classStr = d.classes.join(' ');\n }\n\n var secNum = 0;\n\n for (var _i2 = 0; _i2 < categories.length; _i2++) {\n if (d.type === categories[_i2]) {\n secNum = _i2 % conf.numberSectionStyles;\n }\n }\n\n var taskClass = '';\n\n if (d.active) {\n if (d.crit) {\n taskClass += ' activeCrit';\n } else {\n taskClass = ' active';\n }\n } else if (d.done) {\n if (d.crit) {\n taskClass = ' doneCrit';\n } else {\n taskClass = ' done';\n }\n } else {\n if (d.crit) {\n taskClass += ' crit';\n }\n }\n\n if (taskClass.length === 0) {\n taskClass = ' task';\n }\n\n if (d.milestone) {\n taskClass = ' milestone ' + taskClass;\n }\n\n taskClass += secNum;\n taskClass += ' ' + classStr;\n return res + taskClass;\n }); // Append task labels\n\n rectangles.append('text').attr('id', function (d) {\n return d.id + '-text';\n }).text(function (d) {\n return d.task;\n }).attr('font-size', conf.fontSize).attr('x', function (d) {\n var startX = timeScale(d.startTime);\n var endX = timeScale(d.renderEndTime || d.endTime);\n\n if (d.milestone) {\n startX += 0.5 * (timeScale(d.endTime) - timeScale(d.startTime)) - 0.5 * theBarHeight;\n }\n\n if (d.milestone) {\n endX = startX + theBarHeight;\n }\n\n var textWidth = this.getBBox().width; // Check id text width > width of rectangle\n\n if (textWidth > endX - startX) {\n if (endX + textWidth + 1.5 * conf.leftPadding > w) {\n return startX + theSidePad - 5;\n } else {\n return endX + theSidePad + 5;\n }\n } else {\n return (endX - startX) / 2 + startX + theSidePad;\n }\n }).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + conf.barHeight / 2 + (conf.fontSize / 2 - 2) + theTopPad;\n }).attr('text-height', theBarHeight).attr('class', function (d) {\n var startX = timeScale(d.startTime);\n var endX = timeScale(d.endTime);\n\n if (d.milestone) {\n endX = startX + theBarHeight;\n }\n\n var textWidth = this.getBBox().width;\n var classStr = '';\n\n if (d.classes.length > 0) {\n classStr = d.classes.join(' ');\n }\n\n var secNum = 0;\n console.log(conf);\n\n for (var _i3 = 0; _i3 < categories.length; _i3++) {\n if (d.type === categories[_i3]) {\n secNum = _i3 % conf.numberSectionStyles;\n }\n }\n\n var taskType = '';\n\n if (d.active) {\n if (d.crit) {\n taskType = 'activeCritText' + secNum;\n } else {\n taskType = 'activeText' + secNum;\n }\n }\n\n if (d.done) {\n if (d.crit) {\n taskType = taskType + ' doneCritText' + secNum;\n } else {\n taskType = taskType + ' doneText' + secNum;\n }\n } else {\n if (d.crit) {\n taskType = taskType + ' critText' + secNum;\n }\n }\n\n if (d.milestone) {\n taskType += ' milestoneText';\n } // Check id text width > width of rectangle\n\n\n if (textWidth > endX - startX) {\n if (endX + textWidth + 1.5 * conf.leftPadding > w) {\n return classStr + ' taskTextOutsideLeft taskTextOutside' + secNum + ' ' + taskType;\n } else {\n return classStr + ' taskTextOutsideRight taskTextOutside' + secNum + ' ' + taskType + ' width-' + textWidth;\n }\n } else {\n return classStr + ' taskText taskText' + secNum + ' ' + taskType + ' width-' + textWidth;\n }\n });\n }\n\n function makeGrid(theSidePad, theTopPad, w, h) {\n var xAxis = axisBottom(timeScale).tickSize(-h + theTopPad + conf.gridLineStartPadding).tickFormat(timeFormat(parser.yy.getAxisFormat() || conf.axisFormat || '%Y-%m-%d'));\n svg.append('g').attr('class', 'grid').attr('transform', 'translate(' + theSidePad + ', ' + (h - 50) + ')').call(xAxis).selectAll('text').style('text-anchor', 'middle').attr('fill', '#000').attr('stroke', 'none').attr('font-size', 10).attr('dy', '1em');\n }\n\n function vertLabels(theGap, theTopPad) {\n var numOccurances = [];\n var prevGap = 0;\n\n for (var _i4 = 0; _i4 < categories.length; _i4++) {\n numOccurances[_i4] = [categories[_i4], getCount(categories[_i4], catsUnfiltered)];\n }\n\n svg.append('g') // without doing this, impossible to put grid lines behind text\n .selectAll('text').data(numOccurances).enter().append(function (d) {\n var rows = d[0].split(common.lineBreakRegex);\n var dy = -(rows.length - 1) / 2;\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('dy', dy + 'em');\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttribute('alignment-baseline', 'central');\n tspan.setAttribute('x', '10');\n if (j > 0) tspan.setAttribute('dy', '1em');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n return svgLabel;\n }).attr('x', 10).attr('y', function (d, i) {\n if (i > 0) {\n for (var j = 0; j < i; j++) {\n prevGap += numOccurances[i - 1][1];\n return d[1] * theGap / 2 + prevGap * theGap + theTopPad;\n }\n } else {\n return d[1] * theGap / 2 + theTopPad;\n }\n }).attr('class', function (d) {\n for (var _i5 = 0; _i5 < categories.length; _i5++) {\n if (d[0] === categories[_i5]) {\n return 'sectionTitle sectionTitle' + _i5 % conf.numberSectionStyles;\n }\n }\n\n return 'sectionTitle';\n });\n }\n\n function drawToday(theSidePad, theTopPad, w, h) {\n var todayMarker = ganttDb.getTodayMarker();\n\n if (todayMarker === 'off') {\n return;\n }\n\n var todayG = svg.append('g').attr('class', 'today');\n var today = new Date();\n var todayLine = todayG.append('line');\n todayLine.attr('x1', timeScale(today) + theSidePad).attr('x2', timeScale(today) + theSidePad).attr('y1', conf.titleTopMargin).attr('y2', h - conf.titleTopMargin).attr('class', 'today');\n\n if (todayMarker !== '') {\n todayLine.attr('style', todayMarker.replace(/,/g, ';'));\n }\n } // from this stackexchange question: http://stackoverflow.com/questions/1890203/unique-for-arrays-in-javascript\n\n\n function checkUnique(arr) {\n var hash = {};\n var result = [];\n\n for (var _i6 = 0, l = arr.length; _i6 < l; ++_i6) {\n if (!hash.hasOwnProperty(arr[_i6])) {\n // eslint-disable-line\n // it works with objects! in FF, at least\n hash[arr[_i6]] = true;\n result.push(arr[_i6]);\n }\n }\n\n return result;\n } // from this stackexchange question: http://stackoverflow.com/questions/14227981/count-how-many-strings-in-an-array-have-duplicates-in-the-same-array\n\n\n function getCounts(arr) {\n var i = arr.length; // const to loop over\n\n var obj = {}; // obj to store results\n\n while (i) {\n obj[arr[--i]] = (obj[arr[i]] || 0) + 1; // count occurrences\n }\n\n return obj;\n } // get specific from everything\n\n\n function getCount(word, arr) {\n return getCounts(arr)[word] || 0;\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "name": "./src/diagrams/class/classDb.js", "index": 34, "index2": 32, "size": 8112, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "./classDb", "loc": "2:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./classDb", "loc": "5:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "8:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "9:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "12:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "15:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "18:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/classDb", "loc": "33:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "77:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "91:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "102:19-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classDb", "loc": "104:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "115:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classDb", "loc": "423:20-27" } ], "usedExports": [ "default", "lookUpDomId", "relationType" ], "providedExports": [ "addClass", "lookUpDomId", "clear", "getClass", "getClasses", "getRelations", "addRelation", "addAnnotation", "addMember", "addMembers", "cleanupLabel", "setCssClass", "setLink", "setClickEvent", "bindFunctions", "lineType", "relationType", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport { logger } from '../../logger';\nimport { getConfig } from '../../config';\nimport common from '../common/common';\nimport utils from '../../utils';\nvar MERMAID_DOM_ID_PREFIX = 'classid-';\nvar config = getConfig();\nvar relations = [];\nvar classes = {};\nvar classCounter = 0;\nvar funs = [];\n\nvar splitClassNameAndType = function splitClassNameAndType(id) {\n var genericType = '';\n var className = id;\n\n if (id.indexOf('~') > 0) {\n var split = id.split('~');\n className = split[0];\n genericType = split[1];\n }\n\n return {\n className: className,\n type: genericType\n };\n};\n/**\n * Function called by parser when a node definition has been found.\n * @param id\n * @public\n */\n\n\nexport var addClass = function addClass(id) {\n var classId = splitClassNameAndType(id); // Only add class if not exists\n\n if (typeof classes[classId.className] !== 'undefined') return;\n classes[classId.className] = {\n id: classId.className,\n type: classId.type,\n cssClasses: [],\n methods: [],\n members: [],\n annotations: [],\n domId: MERMAID_DOM_ID_PREFIX + classId.className + '-' + classCounter\n };\n classCounter++;\n};\n/**\n * Function to lookup domId from id in the graph definition.\n * @param id\n * @public\n */\n\nexport var lookUpDomId = function lookUpDomId(id) {\n var classKeys = Object.keys(classes);\n\n for (var i = 0; i < classKeys.length; i++) {\n if (classes[classKeys[i]].id === id) {\n return classes[classKeys[i]].domId;\n }\n }\n};\nexport var clear = function clear() {\n relations = [];\n classes = {};\n funs = [];\n funs.push(setupToolTips);\n};\nexport var getClass = function getClass(id) {\n return classes[id];\n};\nexport var getClasses = function getClasses() {\n return classes;\n};\nexport var getRelations = function getRelations() {\n return relations;\n};\nexport var addRelation = function addRelation(relation) {\n logger.debug('Adding relation: ' + JSON.stringify(relation));\n addClass(relation.id1);\n addClass(relation.id2);\n relation.id1 = splitClassNameAndType(relation.id1).className;\n relation.id2 = splitClassNameAndType(relation.id2).className;\n relations.push(relation);\n};\n/**\n * Adds an annotation to the specified class\n * Annotations mark special properties of the given type (like 'interface' or 'service')\n * @param className The class name\n * @param annotation The name of the annotation without any brackets\n * @public\n */\n\nexport var addAnnotation = function addAnnotation(className, annotation) {\n var validatedClassName = splitClassNameAndType(className).className;\n classes[validatedClassName].annotations.push(annotation);\n};\n/**\n * Adds a member to the specified class\n * @param className The class name\n * @param member The full name of the member.\n * If the member is enclosed in <> it is treated as an annotation\n * If the member is ending with a closing bracket ) it is treated as a method\n * Otherwise the member will be treated as a normal property\n * @public\n */\n\nexport var addMember = function addMember(className, member) {\n var validatedClassName = splitClassNameAndType(className).className;\n var theClass = classes[validatedClassName];\n\n if (typeof member === 'string') {\n // Member can contain white spaces, we trim them out\n var memberString = member.trim();\n\n if (memberString.startsWith('<<') && memberString.endsWith('>>')) {\n // Remove leading and trailing brackets\n theClass.annotations.push(memberString.substring(2, memberString.length - 2));\n } else if (memberString.indexOf(')') > 0) {\n theClass.methods.push(memberString);\n } else if (memberString) {\n theClass.members.push(memberString);\n }\n }\n};\nexport var addMembers = function addMembers(className, members) {\n if (Array.isArray(members)) {\n members.reverse();\n members.forEach(function (member) {\n return addMember(className, member);\n });\n }\n};\nexport var cleanupLabel = function cleanupLabel(label) {\n if (label.substring(0, 1) === ':') {\n return label.substr(1).trim();\n } else {\n return label.trim();\n }\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setCssClass = function setCssClass(ids, className) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof classes[id] !== 'undefined') {\n classes[id].cssClasses.push(className);\n }\n });\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setLink = function setLink(ids, linkStr, tooltip) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof classes[id] !== 'undefined') {\n classes[id].link = utils.formatUrl(linkStr, config);\n\n if (tooltip) {\n classes[id].tooltip = common.sanitizeText(tooltip, config);\n }\n }\n });\n setCssClass(ids, 'clickable');\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setClickEvent = function setClickEvent(ids, functionName, tooltip) {\n ids.split(',').forEach(function (id) {\n setClickFunc(id, functionName, tooltip);\n });\n setCssClass(ids, 'clickable');\n};\n\nvar setClickFunc = function setClickFunc(domId, functionName, tooltip) {\n var id = domId;\n var elemId = lookUpDomId(id);\n\n if (config.securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n if (typeof classes[id] !== 'undefined') {\n if (tooltip) {\n classes[id].tooltip = common.sanitizeText(tooltip, config);\n }\n\n funs.push(function () {\n var elem = document.querySelector(\"[id=\\\"\".concat(elemId, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n utils.runFunc(functionName, elemId);\n }, false);\n }\n });\n }\n};\n\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport var lineType = {\n LINE: 0,\n DOTTED_LINE: 1\n};\nexport var relationType = {\n AGGREGATION: 0,\n EXTENSION: 1,\n COMPOSITION: 2,\n DEPENDENCY: 3\n};\n\nvar setupToolTips = function setupToolTips(element) {\n var tooltipElem = select('.mermaidTooltip');\n\n if ((tooltipElem._groups || tooltipElem)[0][0] === null) {\n tooltipElem = select('body').append('div').attr('class', 'mermaidTooltip').style('opacity', 0);\n }\n\n var svg = select(element).select('svg');\n var nodes = svg.selectAll('g.node');\n nodes.on('mouseover', function () {\n var el = select(this);\n var title = el.attr('title'); // Dont try to draw a tooltip if no data is provided\n\n if (title === null) {\n return;\n }\n\n var rect = this.getBoundingClientRect();\n tooltipElem.transition().duration(200).style('opacity', '.9');\n tooltipElem.html(el.attr('title')).style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px').style('top', window.scrollY + rect.top - 14 + document.body.scrollTop + 'px');\n el.classed('hover', true);\n }).on('mouseout', function () {\n tooltipElem.transition().duration(500).style('opacity', 0);\n var el = select(this);\n el.classed('hover', false);\n });\n};\n\nfuns.push(setupToolTips);\nexport default {\n addClass: addClass,\n bindFunctions: bindFunctions,\n clear: clear,\n getClass: getClass,\n getClasses: getClasses,\n addAnnotation: addAnnotation,\n getRelations: getRelations,\n addRelation: addRelation,\n addMember: addMember,\n addMembers: addMembers,\n cleanupLabel: cleanupLabel,\n lineType: lineType,\n relationType: relationType,\n setClickEvent: setClickEvent,\n setCssClass: setCssClass,\n setLink: setLink,\n lookUpDomId: lookUpDomId\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "index": 72, "index2": 71, "size": 5731, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/classRenderer", "loc": "31:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "346:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "347:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "532:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport { logger } from '../../logger';\nimport classDb, { lookUpDomId } from './classDb';\nimport { parser } from './parser/classDiagram';\nimport svgDraw from './svgDraw';\nparser.yy = classDb;\nvar idCache = {};\nvar padding = 20;\nvar conf = {\n dividerMargin: 10,\n padding: 5,\n textHeight: 10\n}; // Todo optimize\n\nvar getGraphId = function getGraphId(label) {\n var keys = Object.keys(idCache);\n\n for (var i = 0; i < keys.length; i++) {\n if (idCache[keys[i]].label === label) {\n return keys[i];\n }\n }\n\n return undefined;\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\n\nvar insertMarkers = function insertMarkers(elem) {\n elem.append('defs').append('marker').attr('id', 'extensionStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 1,7 L18,13 V 1 Z');\n elem.append('defs').append('marker').attr('id', 'extensionEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 1,1 V 13 L18,7 Z'); // this is actual shape for arrowhead\n\n elem.append('defs').append('marker').attr('id', 'compositionStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'compositionEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'aggregationStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'aggregationEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'dependencyStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 5,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'dependencyEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L14,7 L9,1 Z');\n};\n\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n idCache = {};\n parser.yy.clear();\n parser.parse(text);\n logger.info('Rendering diagram ' + text); // Fetch the default direction, use TD if none was found\n\n var diagram = select(\"[id='\".concat(id, \"']\"));\n insertMarkers(diagram); // Layout graph, Create a new directed graph\n\n var g = new graphlib.Graph({\n multigraph: true\n }); // Set an object for the graph label\n\n g.setGraph({\n isMultiGraph: true\n }); // Default to assigning a new object as a label for each new edge.\n\n g.setDefaultEdgeLabel(function () {\n return {};\n });\n var classes = classDb.getClasses();\n var keys = Object.keys(classes);\n\n for (var i = 0; i < keys.length; i++) {\n var classDef = classes[keys[i]];\n var node = svgDraw.drawClass(diagram, classDef, conf);\n idCache[node.id] = node; // Add nodes to the graph. The first argument is the node id. The second is\n // metadata about the node. In this case we're going to add labels to each of\n // our nodes.\n\n g.setNode(node.id, node);\n logger.info('Org height: ' + node.height);\n }\n\n var relations = classDb.getRelations();\n relations.forEach(function (relation) {\n logger.info('tjoho' + getGraphId(relation.id1) + getGraphId(relation.id2) + JSON.stringify(relation));\n g.setEdge(getGraphId(relation.id1), getGraphId(relation.id2), {\n relation: relation\n }, relation.title || 'DEFAULT');\n });\n dagre.layout(g);\n g.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof g.node(v) !== 'undefined') {\n logger.debug('Node ' + v + ': ' + JSON.stringify(g.node(v)));\n select('#' + lookUpDomId(v)).attr('transform', 'translate(' + (g.node(v).x - g.node(v).width / 2) + ',' + (g.node(v).y - g.node(v).height / 2) + ' )');\n }\n });\n g.edges().forEach(function (e) {\n if (typeof e !== 'undefined' && typeof g.edge(e) !== 'undefined') {\n logger.debug('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(g.edge(e)));\n svgDraw.drawEdge(diagram, g.edge(e), g.edge(e).relation, conf);\n }\n });\n var svgBounds = diagram.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n diagram.attr('width', '100%');\n diagram.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n diagram.attr('viewBox', vBox);\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "name": "./src/diagrams/state/stateDb.js", "index": 36, "index2": 34, "size": 6456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "5:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "11:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "24:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "26:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "29:9-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateDb", "loc": "37:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "51:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateDb", "loc": "109:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateDb", "loc": "114:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "121:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "122:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "123:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "215:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "218:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "227:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "249:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "250:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "250:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "251:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "252:26-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "298:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "301:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "304:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "307:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "332:66-73" } ], "usedExports": [ "default" ], "providedExports": [ "addState", "clear", "getState", "getStates", "logDocuments", "getRelations", "addRelation", "cleanupLabel", "lineType", "relationType", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { logger } from '../../logger';\nimport { generateId } from '../../utils';\n\nvar clone = function clone(o) {\n return JSON.parse(JSON.stringify(o));\n};\n\nvar rootDoc = [];\n\nvar setRootDoc = function setRootDoc(o) {\n logger.info('Setting root doc', o); // rootDoc = { id: 'root', doc: o };\n\n rootDoc = o;\n};\n\nvar getRootDoc = function getRootDoc() {\n return rootDoc;\n};\n\nvar docTranslator = function docTranslator(parent, node, first) {\n if (node.stmt === 'relation') {\n docTranslator(parent, node.state1, true);\n docTranslator(parent, node.state2, false);\n } else {\n if (node.stmt === 'state') {\n if (node.id === '[*]') {\n node.id = first ? parent.id + '_start' : parent.id + '_end';\n node.start = first;\n }\n }\n\n if (node.doc) {\n var doc = []; // Check for concurrency\n\n var i = 0;\n var currentDoc = [];\n\n for (i = 0; i < node.doc.length; i++) {\n if (node.doc[i].type === 'divider') {\n // debugger;\n var newNode = clone(node.doc[i]);\n newNode.doc = clone(currentDoc);\n doc.push(newNode);\n currentDoc = [];\n } else {\n currentDoc.push(node.doc[i]);\n }\n } // If any divider was encountered\n\n\n if (doc.length > 0 && currentDoc.length > 0) {\n var _newNode = {\n stmt: 'state',\n id: generateId(),\n type: 'divider',\n doc: clone(currentDoc)\n };\n doc.push(clone(_newNode));\n node.doc = doc;\n }\n\n node.doc.forEach(function (docNode) {\n return docTranslator(node, docNode, true);\n });\n }\n }\n};\n\nvar getRootDocV2 = function getRootDocV2() {\n docTranslator({\n id: 'root'\n }, {\n id: 'root',\n doc: rootDoc\n }, true);\n return {\n id: 'root',\n doc: rootDoc\n };\n};\n\nvar extract = function extract(_doc) {\n // const res = { states: [], relations: [] };\n var doc;\n\n if (_doc.doc) {\n doc = _doc.doc;\n } else {\n doc = _doc;\n } // let doc = root.doc;\n // if (!doc) {\n // doc = root;\n // }\n\n\n logger.info(doc);\n clear();\n logger.info('Extract', doc);\n doc.forEach(function (item) {\n if (item.stmt === 'state') {\n addState(item.id, item.type, item.doc, item.description, item.note);\n }\n\n if (item.stmt === 'relation') {\n addRelation(item.state1.id, item.state2.id, item.description);\n }\n });\n};\n\nvar newDoc = function newDoc() {\n return {\n relations: [],\n states: {},\n documents: {}\n };\n};\n\nvar documents = {\n root: newDoc()\n};\nvar currentDocument = documents.root;\nvar startCnt = 0;\nvar endCnt = 0; // eslint-disable-line\n// let stateCnt = 0;\n\n/**\n * Function called by parser when a node definition has been found.\n * @param id\n * @param text\n * @param type\n * @param style\n */\n\nexport var addState = function addState(id, type, doc, descr, note) {\n if (typeof currentDocument.states[id] === 'undefined') {\n currentDocument.states[id] = {\n id: id,\n descriptions: [],\n type: type,\n doc: doc,\n note: note\n };\n } else {\n if (!currentDocument.states[id].doc) {\n currentDocument.states[id].doc = doc;\n }\n\n if (!currentDocument.states[id].type) {\n currentDocument.states[id].type = type;\n }\n }\n\n if (descr) {\n logger.info('Adding state ', id, descr);\n if (typeof descr === 'string') addDescription(id, descr.trim());\n\n if (_typeof(descr) === 'object') {\n descr.forEach(function (des) {\n return addDescription(id, des.trim());\n });\n }\n }\n\n if (note) currentDocument.states[id].note = note;\n};\nexport var clear = function clear() {\n documents = {\n root: newDoc()\n };\n currentDocument = documents.root;\n currentDocument = documents.root;\n startCnt = 0;\n endCnt = 0; // eslint-disable-line\n\n classes = [];\n};\nexport var getState = function getState(id) {\n return currentDocument.states[id];\n};\nexport var getStates = function getStates() {\n return currentDocument.states;\n};\nexport var logDocuments = function logDocuments() {\n logger.info('Documents = ', documents);\n};\nexport var getRelations = function getRelations() {\n return currentDocument.relations;\n};\nexport var addRelation = function addRelation(_id1, _id2, title) {\n var id1 = _id1;\n var id2 = _id2;\n var type1 = 'default';\n var type2 = 'default';\n\n if (_id1 === '[*]') {\n startCnt++;\n id1 = 'start' + startCnt;\n type1 = 'start';\n }\n\n if (_id2 === '[*]') {\n endCnt++;\n id2 = 'end' + startCnt;\n type2 = 'end';\n }\n\n addState(id1, type1);\n addState(id2, type2);\n currentDocument.relations.push({\n id1: id1,\n id2: id2,\n title: title\n });\n};\n\nvar addDescription = function addDescription(id, _descr) {\n var theState = currentDocument.states[id];\n var descr = _descr;\n\n if (descr[0] === ':') {\n descr = descr.substr(1).trim();\n }\n\n theState.descriptions.push(descr);\n};\n\nexport var cleanupLabel = function cleanupLabel(label) {\n if (label.substring(0, 1) === ':') {\n return label.substr(2).trim();\n } else {\n return label.trim();\n }\n};\nexport var lineType = {\n LINE: 0,\n DOTTED_LINE: 1\n};\nvar dividerCnt = 0;\n\nvar getDividerId = function getDividerId() {\n dividerCnt++;\n return 'divider-id-' + dividerCnt;\n};\n\nvar classes = [];\n\nvar getClasses = function getClasses() {\n return classes;\n};\n\nvar getDirection = function getDirection() {\n return 'TB';\n};\n\nexport var relationType = {\n AGGREGATION: 0,\n EXTENSION: 1,\n COMPOSITION: 2,\n DEPENDENCY: 3\n};\n\nvar trimColon = function trimColon(str) {\n return str && str[0] === ':' ? str.substr(1).trim() : str.trim();\n};\n\nexport default {\n addState: addState,\n clear: clear,\n getState: getState,\n getStates: getStates,\n getRelations: getRelations,\n getClasses: getClasses,\n getDirection: getDirection,\n addRelation: addRelation,\n getDividerId: getDividerId,\n // addDescription,\n cleanupLabel: cleanupLabel,\n lineType: lineType,\n relationType: relationType,\n logDocuments: logDocuments,\n getRootDoc: getRootDoc,\n setRootDoc: setRootDoc,\n getRootDocV2: getRootDocV2,\n extract: extract,\n trimColon: trimColon\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "index": 74, "index2": 74, "size": 8188, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateRenderer", "loc": "34:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "352:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "353:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "533:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport { logger } from '../../logger';\nimport stateDb from './stateDb';\nimport common from '../common/common';\nimport { parser } from './parser/stateDiagram'; // import idCache from './id-cache';\n\nimport { drawState, addTitleAndBox, drawEdge } from './shapes';\nimport { getConfig } from '../../config';\nparser.yy = stateDb; // TODO Move conf object to main conf in mermaidAPI\n\nvar conf;\nvar transformationLog = {};\nexport var setConf = function setConf() {}; // Todo optimize\n\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nvar insertMarkers = function insertMarkers(elem) {\n elem.append('defs').append('marker').attr('id', 'dependencyEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 19,7 L9,13 L14,7 L9,1 Z');\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n conf = getConfig().state;\n parser.yy.clear();\n parser.parse(text);\n logger.debug('Rendering diagram ' + text); // Fetch the default direction, use TD if none was found\n\n var diagram = select(\"[id='\".concat(id, \"']\"));\n insertMarkers(diagram); // Layout graph, Create a new directed graph\n\n var graph = new graphlib.Graph({\n multigraph: true,\n compound: true,\n // acyclicer: 'greedy',\n rankdir: 'RL' // ranksep: '20'\n\n }); // Default to assigning a new object as a label for each new edge.\n\n graph.setDefaultEdgeLabel(function () {\n return {};\n });\n var rootDoc = stateDb.getRootDoc();\n renderDoc(rootDoc, diagram, undefined, false);\n var padding = conf.padding;\n var bounds = diagram.node().getBBox();\n var width = bounds.width + padding * 2;\n var height = bounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n diagram.attr('width', '100%');\n diagram.attr('style', \"max-width: \".concat(width * 1.75, \"px;\"));\n } else {\n // Zoom in a bit\n diagram.attr('width', width * 1.75);\n } // diagram.attr('height', bounds.height * 3 + conf.padding * 2);\n\n\n diagram.attr('viewBox', \"\".concat(bounds.x - conf.padding, \" \").concat(bounds.y - conf.padding, \" \") + width + ' ' + height);\n};\n\nvar getLabelWidth = function getLabelWidth(text) {\n return text ? text.length * conf.fontSizeFactor : 1;\n};\n\nvar renderDoc = function renderDoc(doc, diagram, parentId, altBkg) {\n // // Layout graph, Create a new directed graph\n var graph = new graphlib.Graph({\n compound: true,\n multigraph: true\n });\n var i;\n var edgeFreeDoc = true;\n\n for (i = 0; i < doc.length; i++) {\n if (doc[i].stmt === 'relation') {\n edgeFreeDoc = false;\n break;\n }\n } // Set an object for the graph label\n\n\n if (parentId) graph.setGraph({\n rankdir: 'LR',\n multigraph: true,\n compound: true,\n // acyclicer: 'greedy',\n ranker: 'tight-tree',\n ranksep: edgeFreeDoc ? 1 : conf.edgeLengthFactor,\n nodeSep: edgeFreeDoc ? 1 : 50,\n isMultiGraph: true // ranksep: 5,\n // nodesep: 1\n\n });else {\n graph.setGraph({\n rankdir: 'TB',\n multigraph: true,\n compound: true,\n // isCompound: true,\n // acyclicer: 'greedy',\n // ranker: 'longest-path'\n ranksep: edgeFreeDoc ? 1 : conf.edgeLengthFactor,\n nodeSep: edgeFreeDoc ? 1 : 50,\n ranker: 'tight-tree',\n // ranker: 'network-simplex'\n isMultiGraph: true\n });\n } // Default to assigning a new object as a label for each new edge.\n\n graph.setDefaultEdgeLabel(function () {\n return {};\n });\n stateDb.extract(doc);\n var states = stateDb.getStates();\n var relations = stateDb.getRelations();\n var keys = Object.keys(states);\n var first = true;\n\n for (var _i = 0; _i < keys.length; _i++) {\n var stateDef = states[keys[_i]];\n\n if (parentId) {\n stateDef.parentId = parentId;\n }\n\n var node = void 0;\n\n if (stateDef.doc) {\n var sub = diagram.append('g').attr('id', stateDef.id).attr('class', 'stateGroup');\n node = renderDoc(stateDef.doc, sub, stateDef.id, !altBkg);\n\n if (first) {\n // first = false;\n sub = addTitleAndBox(sub, stateDef, altBkg);\n var boxBounds = sub.node().getBBox();\n node.width = boxBounds.width;\n node.height = boxBounds.height + conf.padding / 2;\n transformationLog[stateDef.id] = {\n y: conf.compositTitleSize\n };\n } else {\n // sub = addIdAndBox(sub, stateDef);\n var _boxBounds = sub.node().getBBox();\n\n node.width = _boxBounds.width;\n node.height = _boxBounds.height; // transformationLog[stateDef.id] = { y: conf.compositTitleSize };\n }\n } else {\n node = drawState(diagram, stateDef, graph);\n }\n\n if (stateDef.note) {\n // Draw note note\n var noteDef = {\n descriptions: [],\n id: stateDef.id + '-note',\n note: stateDef.note,\n type: 'note'\n };\n var note = drawState(diagram, noteDef, graph); // graph.setNode(node.id, node);\n\n if (stateDef.note.position === 'left of') {\n graph.setNode(node.id + '-note', note);\n graph.setNode(node.id, node);\n } else {\n graph.setNode(node.id, node);\n graph.setNode(node.id + '-note', note);\n } // graph.setNode(node.id);\n\n\n graph.setParent(node.id, node.id + '-group');\n graph.setParent(node.id + '-note', node.id + '-group');\n } else {\n // Add nodes to the graph. The first argument is the node id. The second is\n // metadata about the node. In this case we're going to add labels to each of\n // our nodes.\n graph.setNode(node.id, node);\n }\n }\n\n logger.debug('Count=', graph.nodeCount(), graph);\n var cnt = 0;\n relations.forEach(function (relation) {\n cnt++;\n logger.debug('Setting edge', relation);\n graph.setEdge(relation.id1, relation.id2, {\n relation: relation,\n width: getLabelWidth(relation.title),\n height: conf.labelHeight * common.getRows(relation.title).length,\n labelpos: 'c'\n }, 'id' + cnt);\n });\n dagre.layout(graph);\n logger.debug('Graph after layout', graph.nodes());\n var svgElem = diagram.node();\n graph.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof graph.node(v) !== 'undefined') {\n logger.warn('Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n select('#' + svgElem.id + ' #' + v).attr('transform', 'translate(' + (graph.node(v).x - graph.node(v).width / 2) + ',' + (graph.node(v).y + (transformationLog[v] ? transformationLog[v].y : 0) - graph.node(v).height / 2) + ' )');\n select('#' + svgElem.id + ' #' + v).attr('data-x-shift', graph.node(v).x - graph.node(v).width / 2);\n var dividers = document.querySelectorAll('#' + svgElem.id + ' #' + v + ' .divider');\n dividers.forEach(function (divider) {\n var parent = divider.parentElement;\n var pWidth = 0;\n var pShift = 0;\n\n if (parent) {\n if (parent.parentElement) pWidth = parent.parentElement.getBBox().width;\n pShift = parseInt(parent.getAttribute('data-x-shift'), 10);\n\n if (Number.isNaN(pShift)) {\n pShift = 0;\n }\n }\n\n divider.setAttribute('x1', 0 - pShift + 8);\n divider.setAttribute('x2', pWidth - pShift - 8);\n });\n } else {\n logger.debug('No Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n }\n });\n var stateBox = svgElem.getBBox();\n graph.edges().forEach(function (e) {\n if (typeof e !== 'undefined' && typeof graph.edge(e) !== 'undefined') {\n logger.debug('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(graph.edge(e)));\n drawEdge(diagram, graph.edge(e), graph.edge(e).relation);\n }\n });\n stateBox = svgElem.getBBox();\n var stateInfo = {\n id: parentId ? parentId : 'root',\n label: parentId ? parentId : 'root',\n width: 0,\n height: 0\n };\n stateInfo.width = stateBox.width + 2 * conf.padding;\n stateInfo.height = stateBox.height + 2 * conf.padding;\n logger.debug('Doc rendered', stateInfo, graph);\n return stateInfo;\n};\n\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "name": "./src/diagrams/state/stateRenderer-v2.js", "index": 77, "index2": 75, "size": 9719, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "35:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "358:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "359:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "534:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select } from 'd3';\nimport stateDb from './stateDb';\nimport state from './parser/stateDiagram';\nimport { getConfig } from '../../config';\nimport { render } from '../../dagre-wrapper/index.js';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\nvar nodeDb = {};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.trace('Extracting classes');\n stateDb.clear();\n var parser = state.parser;\n parser.yy = stateDb; // Parse the graph definition\n\n parser.parse(text);\n return stateDb.getClasses();\n};\n\nvar setupNode = function setupNode(g, parent, node, altFlag) {\n // Add the node\n if (node.id !== 'root') {\n var shape = 'rect';\n\n if (node.start === true) {\n shape = 'start';\n }\n\n if (node.start === false) {\n shape = 'end';\n }\n\n if (node.type !== 'default') {\n shape = node.type;\n }\n\n if (!nodeDb[node.id]) {\n nodeDb[node.id] = {\n id: node.id,\n shape: shape,\n description: node.id,\n classes: 'statediagram-state'\n };\n } // Build of the array of description strings accordinging\n\n\n if (node.description) {\n if (Array.isArray(nodeDb[node.id].description)) {\n // There already is an array of strings,add to it\n nodeDb[node.id].shape = 'rectWithTitle';\n nodeDb[node.id].description.push(node.description);\n } else {\n if (nodeDb[node.id].description.length > 0) {\n // if there is a description already transformit to an array\n nodeDb[node.id].shape = 'rectWithTitle';\n\n if (nodeDb[node.id].description === node.id) {\n // If the previous description was the is, remove it\n nodeDb[node.id].description = [node.description];\n } else {\n nodeDb[node.id].description = [nodeDb[node.id].description, node.description];\n }\n } else {\n nodeDb[node.id].shape = 'rect';\n nodeDb[node.id].description = node.description;\n }\n }\n } // Save data for description and group so that for instance a statement without description overwrites\n // one with description\n // group\n\n\n if (!nodeDb[node.id].type && node.doc) {\n logger.info('Setting cluser for ', node.id);\n nodeDb[node.id].type = 'group';\n nodeDb[node.id].shape = node.type === 'divider' ? 'divider' : 'roundedWithTitle';\n nodeDb[node.id].classes = nodeDb[node.id].classes + ' ' + (altFlag ? 'statediagram-cluster statediagram-cluster-alt' : 'statediagram-cluster');\n }\n\n var nodeData = {\n labelStyle: '',\n shape: nodeDb[node.id].shape,\n labelText: nodeDb[node.id].description,\n classes: nodeDb[node.id].classes,\n //classStr,\n style: '',\n //styles.style,\n id: node.id,\n type: nodeDb[node.id].type,\n padding: 15 //getConfig().flowchart.padding\n\n };\n\n if (node.note) {\n // Todo: set random id\n var noteData = {\n labelStyle: '',\n shape: 'note',\n labelText: node.note.text,\n classes: 'statediagram-note',\n //classStr,\n style: '',\n //styles.style,\n id: node.id + '----note',\n type: nodeDb[node.id].type,\n padding: 15 //getConfig().flowchart.padding\n\n };\n var groupData = {\n labelStyle: '',\n shape: 'noteGroup',\n labelText: node.note.text,\n classes: nodeDb[node.id].classes,\n //classStr,\n style: '',\n //styles.style,\n id: node.id + '----parent',\n type: 'group',\n padding: 0 //getConfig().flowchart.padding\n\n };\n g.setNode(node.id + '----parent', groupData);\n g.setNode(noteData.id, noteData);\n g.setNode(node.id, nodeData);\n g.setParent(node.id, node.id + '----parent');\n g.setParent(noteData.id, node.id + '----parent');\n var from = node.id;\n var to = noteData.id;\n\n if (node.note.position === 'left of') {\n from = noteData.id;\n to = node.id;\n }\n\n g.setEdge(from, to, {\n arrowhead: 'none',\n arrowType: '',\n style: 'fill:none',\n labelStyle: '',\n classes: 'transition note-edge',\n arrowheadStyle: 'fill: #333',\n labelpos: 'c',\n labelType: 'text',\n thickness: 'normal'\n });\n } else {\n g.setNode(node.id, nodeData);\n }\n }\n\n if (parent) {\n if (parent.id !== 'root') {\n logger.info('Setting node ', node.id, ' to be child of its parent ', parent.id);\n g.setParent(node.id, parent.id);\n }\n }\n\n if (node.doc) {\n logger.info('Adding nodes children ');\n setupDoc(g, node, node.doc, !altFlag);\n }\n};\n\nvar cnt = 0;\n\nvar setupDoc = function setupDoc(g, parent, doc, altFlag) {\n logger.trace('items', doc);\n doc.forEach(function (item) {\n if (item.stmt === 'state' || item.stmt === 'default') {\n setupNode(g, parent, item, altFlag);\n } else if (item.stmt === 'relation') {\n setupNode(g, parent, item.state1, altFlag);\n setupNode(g, parent, item.state2, altFlag);\n var edgeData = {\n id: 'edge' + cnt,\n arrowhead: 'normal',\n arrowType: 'arrow_barb',\n style: 'fill:none',\n labelStyle: '',\n label: item.description,\n arrowheadStyle: 'fill: #333',\n labelpos: 'c',\n labelType: 'text',\n thickness: 'normal',\n classes: 'transition'\n };\n var startId = item.state1.id;\n var endId = item.state2.id;\n g.setEdge(startId, endId, edgeData, cnt);\n cnt++;\n }\n });\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing state diagram (v2)', id);\n stateDb.clear();\n nodeDb = {};\n var parser = state.parser;\n parser.yy = stateDb; // Parse the graph definition\n\n try {\n parser.parse(text);\n } catch (err) {\n logger.debug('Parsing failed');\n } // Fetch the default direction, use TD if none was found\n\n\n var dir = stateDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'LR';\n }\n\n var conf = getConfig().state;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: 'TB',\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n logger.info(stateDb.getRootDocV2());\n stateDb.extract(stateDb.getRootDocV2());\n logger.info(stateDb.getRootDocV2());\n setupNode(g, undefined, stateDb.getRootDocV2(), true); // Set up an SVG group so that we can translate the final graph.\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g, ['barb'], 'statediagram', id);\n var padding = 8; // const svgBounds = svg.node().getBBox();\n // const width = svgBounds.width + padding * 2;\n // const height = svgBounds.height + padding * 2;\n // logger.debug(\n // `new ViewBox 0 0 ${width} ${height}`,\n // `translate(${padding + g._label.marginx}, ${padding + g._label.marginy})`\n // );\n // if (conf.useMaxWidth) {\n // svg.attr('width', '100%');\n // svg.attr('style', `max-width: ${width}px;`);\n // } else {\n // svg.attr('height', height);\n // svg.attr('width', width);\n // }\n // svg.attr('viewBox', `0 0 ${width} ${height}`);\n // svg\n // .select('g')\n // .attr('transform', `translate(${padding - g._label.marginx}, ${padding - svgBounds.y})`);\n\n var bounds = svg.node().getBBox();\n var width = bounds.width + padding * 2;\n var height = bounds.height + padding * 2; // diagram.attr('height', '100%');\n // diagram.attr('style', `width: ${bounds.width * 3 + conf.padding * 2};`);\n // diagram.attr('height', height);\n // Zoom in a bit\n\n svg.attr('width', width * 1.75);\n svg.attr('class', 'statediagram'); // diagram.attr('height', bounds.height * 3 + conf.padding * 2);\n // svg.attr(\n // 'viewBox',\n // `${bounds.x - conf.padding} ${bounds.y - conf.padding} ` + width + ' ' + height\n // );\n\n var svgBounds = svg.node().getBBox();\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n svg.attr('viewBox', vBox); // Add label rects for non html labels\n\n if (!conf.htmlLabels) {\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n }\n};\nexport default {\n setConf: setConf,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "name": "./src/diagrams/git/gitGraphAst.js", "index": 25, "index2": 23, "size": 6939, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./gitGraphAst", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/gitGraphAst", "loc": "40:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphAst", "loc": "77:25-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "238:16-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "243:46-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "245:20-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "246:21-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "247:19-21" } ], "usedExports": [ "default" ], "providedExports": [ "setDirection", "setOptions", "getOptions", "commit", "branch", "merge", "checkout", "reset", "prettyPrint", "clear", "getBranchesAsObjArray", "getBranches", "getCommits", "getCommitsArray", "getCurrentBranch", "getDirection", "getHead", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { logger } from '../../logger';\nvar commits = {};\nvar head = null;\nvar branches = {\n master: head\n};\nvar curBranch = 'master';\nvar direction = 'LR';\nvar seq = 0;\n\nfunction makeid(length) {\n var result = '';\n var characters = '0123456789abcdef';\n var charactersLength = characters.length;\n\n for (var i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n\n return result;\n}\n\nfunction getId() {\n return makeid(7);\n}\n\nfunction isfastforwardable(currentCommit, otherCommit) {\n logger.debug('Entering isfastforwardable:', currentCommit.id, otherCommit.id);\n\n while (currentCommit.seq <= otherCommit.seq && currentCommit !== otherCommit) {\n // only if other branch has more commits\n if (otherCommit.parent == null) break;\n\n if (Array.isArray(otherCommit.parent)) {\n logger.debug('In merge commit:', otherCommit.parent);\n return isfastforwardable(currentCommit, commits[otherCommit.parent[0]]) || isfastforwardable(currentCommit, commits[otherCommit.parent[1]]);\n } else {\n otherCommit = commits[otherCommit.parent];\n }\n }\n\n logger.debug(currentCommit.id, otherCommit.id);\n return currentCommit.id === otherCommit.id;\n}\n\nfunction isReachableFrom(currentCommit, otherCommit) {\n var currentSeq = currentCommit.seq;\n var otherSeq = otherCommit.seq;\n if (currentSeq > otherSeq) return isfastforwardable(otherCommit, currentCommit);\n return false;\n}\n\nfunction uniqBy(list, fn) {\n var recordMap = Object.create(null);\n return list.reduce(function (out, item) {\n var key = fn(item);\n\n if (!recordMap[key]) {\n recordMap[key] = true;\n out.push(item);\n }\n\n return out;\n }, []);\n}\n\nexport var setDirection = function setDirection(dir) {\n direction = dir;\n};\nvar options = {};\nexport var setOptions = function setOptions(rawOptString) {\n logger.debug('options str', rawOptString);\n rawOptString = rawOptString && rawOptString.trim();\n rawOptString = rawOptString || '{}';\n\n try {\n options = JSON.parse(rawOptString);\n } catch (e) {\n logger.error('error while parsing gitGraph options', e.message);\n }\n};\nexport var getOptions = function getOptions() {\n return options;\n};\nexport var commit = function commit(msg) {\n var commit = {\n id: getId(),\n message: msg,\n seq: seq++,\n parent: head == null ? null : head.id\n };\n head = commit;\n commits[commit.id] = commit;\n branches[curBranch] = commit.id;\n logger.debug('in pushCommit ' + commit.id);\n};\nexport var branch = function branch(name) {\n branches[name] = head != null ? head.id : null;\n logger.debug('in createBranch');\n};\nexport var merge = function merge(otherBranch) {\n var currentCommit = commits[branches[curBranch]];\n var otherCommit = commits[branches[otherBranch]];\n\n if (isReachableFrom(currentCommit, otherCommit)) {\n logger.debug('Already merged');\n return;\n }\n\n if (isfastforwardable(currentCommit, otherCommit)) {\n branches[curBranch] = branches[otherBranch];\n head = commits[branches[curBranch]];\n } else {\n // create merge commit\n var _commit = {\n id: getId(),\n message: 'merged branch ' + otherBranch + ' into ' + curBranch,\n seq: seq++,\n parent: [head == null ? null : head.id, branches[otherBranch]]\n };\n head = _commit;\n commits[_commit.id] = _commit;\n branches[curBranch] = _commit.id;\n }\n\n logger.debug(branches);\n logger.debug('in mergeBranch');\n};\nexport var checkout = function checkout(branch) {\n logger.debug('in checkout');\n curBranch = branch;\n var id = branches[curBranch];\n head = commits[id];\n};\nexport var reset = function reset(commitRef) {\n logger.debug('in reset', commitRef);\n var ref = commitRef.split(':')[0];\n var parentCount = parseInt(commitRef.split(':')[1]);\n var commit = ref === 'HEAD' ? head : commits[branches[ref]];\n logger.debug(commit, parentCount);\n\n while (parentCount > 0) {\n commit = commits[commit.parent];\n parentCount--;\n\n if (!commit) {\n var err = 'Critical error - unique parent commit not found during reset';\n logger.error(err);\n throw err;\n }\n }\n\n head = commit;\n branches[curBranch] = commit.id;\n};\n\nfunction upsert(arr, key, newval) {\n var index = arr.indexOf(key);\n\n if (index === -1) {\n arr.push(newval);\n } else {\n arr.splice(index, 1, newval);\n }\n}\n\nfunction prettyPrintCommitHistory(commitArr) {\n var commit = commitArr.reduce(function (out, commit) {\n if (out.seq > commit.seq) return out;\n return commit;\n }, commitArr[0]);\n var line = '';\n commitArr.forEach(function (c) {\n if (c === commit) {\n line += '\\t*';\n } else {\n line += '\\t|';\n }\n });\n var label = [line, commit.id, commit.seq];\n\n for (var _branch in branches) {\n if (branches[_branch] === commit.id) label.push(_branch);\n }\n\n logger.debug(label.join(' '));\n\n if (Array.isArray(commit.parent)) {\n var newCommit = commits[commit.parent[0]];\n upsert(commitArr, commit, newCommit);\n commitArr.push(commits[commit.parent[1]]);\n } else if (commit.parent == null) {\n return;\n } else {\n var nextCommit = commits[commit.parent];\n upsert(commitArr, commit, nextCommit);\n }\n\n commitArr = uniqBy(commitArr, function (c) {\n return c.id;\n });\n prettyPrintCommitHistory(commitArr);\n}\n\nexport var prettyPrint = function prettyPrint() {\n logger.debug(commits);\n var node = getCommitsArray()[0];\n prettyPrintCommitHistory([node]);\n};\nexport var clear = function clear() {\n commits = {};\n head = null;\n branches = {\n master: head\n };\n curBranch = 'master';\n seq = 0;\n};\nexport var getBranchesAsObjArray = function getBranchesAsObjArray() {\n var branchArr = [];\n\n for (var _branch2 in branches) {\n branchArr.push({\n name: _branch2,\n commit: commits[branches[_branch2]]\n });\n }\n\n return branchArr;\n};\nexport var getBranches = function getBranches() {\n return branches;\n};\nexport var getCommits = function getCommits() {\n return commits;\n};\nexport var getCommitsArray = function getCommitsArray() {\n var commitArr = Object.keys(commits).map(function (key) {\n return commits[key];\n });\n commitArr.forEach(function (o) {\n logger.debug(o.id);\n });\n commitArr.sort(function (a, b) {\n return b.seq - a.seq;\n });\n return commitArr;\n};\nexport var getCurrentBranch = function getCurrentBranch() {\n return curBranch;\n};\nexport var getDirection = function getDirection() {\n return direction;\n};\nexport var getHead = function getHead() {\n return head;\n};\nexport default {\n setDirection: setDirection,\n setOptions: setOptions,\n getOptions: getOptions,\n commit: commit,\n branch: branch,\n merge: merge,\n checkout: checkout,\n reset: reset,\n prettyPrint: prettyPrint,\n clear: clear,\n getBranchesAsObjArray: getBranchesAsObjArray,\n getBranches: getBranches,\n getCommits: getCommits,\n getCommitsArray: getCommitsArray,\n getCurrentBranch: getCurrentBranch,\n getDirection: getDirection,\n getHead: getHead\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "name": "./src/diagrams/git/gitGraphRenderer.js", "index": 50, "index2": 48, "size": 9304, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "38:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "308:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "309:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "522:2-18" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { curveBasis, line, select } from 'd3';\nimport db from './gitGraphAst';\nimport gitGraphParser from './parser/gitGraph';\nimport { logger } from '../../logger';\nimport { interpolateToCurve } from '../../utils';\nvar allCommitsDict = {};\nvar branchNum;\nvar config = {\n nodeSpacing: 150,\n nodeFillColor: 'yellow',\n nodeStrokeWidth: 2,\n nodeStrokeColor: 'grey',\n lineStrokeWidth: 4,\n branchOffset: 50,\n lineColor: 'grey',\n leftMargin: 50,\n branchColors: ['#442f74', '#983351', '#609732', '#AA9A39'],\n nodeRadius: 10,\n nodeLabel: {\n width: 75,\n height: 100,\n x: -25,\n y: 0\n }\n};\nvar apiConfig = {};\nexport var setConf = function setConf(c) {\n apiConfig = c;\n};\n\nfunction svgCreateDefs(svg) {\n svg.append('defs').append('g').attr('id', 'def-commit').append('circle').attr('r', config.nodeRadius).attr('cx', 0).attr('cy', 0);\n svg.select('#def-commit').append('foreignObject').attr('width', config.nodeLabel.width).attr('height', config.nodeLabel.height).attr('x', config.nodeLabel.x).attr('y', config.nodeLabel.y).attr('class', 'node-label').attr('requiredFeatures', 'http://www.w3.org/TR/SVG11/feature#Extensibility').append('p').html('');\n}\n\nfunction svgDrawLine(svg, points, colorIdx, interpolate) {\n var curve = interpolateToCurve(interpolate, curveBasis);\n var color = config.branchColors[colorIdx % config.branchColors.length];\n var lineGen = line().x(function (d) {\n return Math.round(d.x);\n }).y(function (d) {\n return Math.round(d.y);\n }).curve(curve);\n svg.append('svg:path').attr('d', lineGen(points)).style('stroke', color).style('stroke-width', config.lineStrokeWidth).style('fill', 'none');\n} // Pass in the element and its pre-transform coords\n\n\nfunction getElementCoords(element, coords) {\n coords = coords || element.node().getBBox();\n var ctm = element.node().getCTM();\n var xn = ctm.e + coords.x * ctm.a;\n var yn = ctm.f + coords.y * ctm.d;\n return {\n left: xn,\n top: yn,\n width: coords.width,\n height: coords.height\n };\n}\n\nfunction svgDrawLineForCommits(svg, fromId, toId, direction, color) {\n logger.debug('svgDrawLineForCommits: ', fromId, toId);\n var fromBbox = getElementCoords(svg.select('#node-' + fromId + ' circle'));\n var toBbox = getElementCoords(svg.select('#node-' + toId + ' circle'));\n\n switch (direction) {\n case 'LR':\n // (toBbox)\n // +--------\n // + (fromBbox)\n if (fromBbox.left - toBbox.left > config.nodeSpacing) {\n var lineStart = {\n x: fromBbox.left - config.nodeSpacing,\n y: toBbox.top + toBbox.height / 2\n };\n var lineEnd = {\n x: toBbox.left + toBbox.width,\n y: toBbox.top + toBbox.height / 2\n };\n svgDrawLine(svg, [lineStart, lineEnd], color, 'linear');\n svgDrawLine(svg, [{\n x: fromBbox.left,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: lineStart.y\n }, lineStart], color);\n } else {\n svgDrawLine(svg, [{\n x: fromBbox.left,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: toBbox.top + toBbox.height / 2\n }, {\n x: toBbox.left + toBbox.width,\n y: toBbox.top + toBbox.height / 2\n }], color);\n }\n\n break;\n\n case 'BT':\n // + (fromBbox)\n // |\n // |\n // + (toBbox)\n if (toBbox.top - fromBbox.top > config.nodeSpacing) {\n var _lineStart = {\n x: toBbox.left + toBbox.width / 2,\n y: fromBbox.top + fromBbox.height + config.nodeSpacing\n };\n var _lineEnd = {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top\n };\n svgDrawLine(svg, [_lineStart, _lineEnd], color, 'linear');\n svgDrawLine(svg, [{\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height\n }, {\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height + config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: _lineStart.y - config.nodeSpacing / 2\n }, _lineStart], color);\n } else {\n svgDrawLine(svg, [{\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height\n }, {\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top - config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top\n }], color);\n }\n\n break;\n }\n}\n\nfunction cloneNode(svg, selector) {\n return svg.select(selector).node().cloneNode(true);\n}\n\nfunction renderCommitHistory(svg, commitid, branches, direction) {\n var commit;\n var numCommits = Object.keys(allCommitsDict).length;\n\n if (typeof commitid === 'string') {\n do {\n commit = allCommitsDict[commitid];\n logger.debug('in renderCommitHistory', commit.id, commit.seq);\n\n if (svg.select('#node-' + commitid).size() > 0) {\n return;\n }\n\n svg.append(function () {\n return cloneNode(svg, '#def-commit');\n }).attr('class', 'commit').attr('id', function () {\n return 'node-' + commit.id;\n }).attr('transform', function () {\n switch (direction) {\n case 'LR':\n return 'translate(' + (commit.seq * config.nodeSpacing + config.leftMargin) + ', ' + branchNum * config.branchOffset + ')';\n\n case 'BT':\n return 'translate(' + (branchNum * config.branchOffset + config.leftMargin) + ', ' + (numCommits - commit.seq) * config.nodeSpacing + ')';\n }\n }).attr('fill', config.nodeFillColor).attr('stroke', config.nodeStrokeColor).attr('stroke-width', config.nodeStrokeWidth);\n var branch = void 0;\n\n for (var branchName in branches) {\n if (branches[branchName].commit === commit) {\n branch = branches[branchName];\n break;\n }\n }\n\n if (branch) {\n logger.debug('found branch ', branch.name);\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'branch-label').text(branch.name + ', ');\n }\n\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'commit-id').text(commit.id);\n\n if (commit.message !== '' && direction === 'BT') {\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'commit-msg').text(', ' + commit.message);\n }\n\n commitid = commit.parent;\n } while (commitid && allCommitsDict[commitid]);\n }\n\n if (Array.isArray(commitid)) {\n logger.debug('found merge commmit', commitid);\n renderCommitHistory(svg, commitid[0], branches, direction);\n branchNum++;\n renderCommitHistory(svg, commitid[1], branches, direction);\n branchNum--;\n }\n}\n\nfunction renderLines(svg, commit, direction, branchColor) {\n branchColor = branchColor || 0;\n\n while (commit.seq > 0 && !commit.lineDrawn) {\n if (typeof commit.parent === 'string') {\n svgDrawLineForCommits(svg, commit.id, commit.parent, direction, branchColor);\n commit.lineDrawn = true;\n commit = allCommitsDict[commit.parent];\n } else if (Array.isArray(commit.parent)) {\n svgDrawLineForCommits(svg, commit.id, commit.parent[0], direction, branchColor);\n svgDrawLineForCommits(svg, commit.id, commit.parent[1], direction, branchColor + 1);\n renderLines(svg, allCommitsDict[commit.parent[1]], direction, branchColor + 1);\n commit.lineDrawn = true;\n commit = allCommitsDict[commit.parent[0]];\n }\n }\n}\n\nexport var draw = function draw(txt, id, ver) {\n try {\n var parser = gitGraphParser.parser;\n parser.yy = db;\n parser.yy.clear();\n logger.debug('in gitgraph renderer', txt + '\\n', 'id:', id, ver); // Parse the graph definition\n\n parser.parse(txt + '\\n');\n config = Object.assign(config, apiConfig, db.getOptions());\n logger.debug('effective options', config);\n var direction = db.getDirection();\n allCommitsDict = db.getCommits();\n var branches = db.getBranchesAsObjArray();\n\n if (direction === 'BT') {\n config.nodeLabel.x = branches.length * config.branchOffset;\n config.nodeLabel.width = '100%';\n config.nodeLabel.y = -1 * 2 * config.nodeRadius;\n }\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\"));\n svgCreateDefs(svg);\n branchNum = 1;\n\n for (var branch in branches) {\n var v = branches[branch];\n renderCommitHistory(svg, v.commit.id, branches, direction);\n renderLines(svg, v.commit, direction);\n branchNum++;\n }\n\n svg.attr('height', function () {\n if (direction === 'BT') return Object.keys(allCommitsDict).length * config.nodeSpacing;\n return (branches.length + 1) * config.branchOffset;\n });\n } catch (e) {\n logger.error('Error while rendering gitgraph');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "name": "./src/diagrams/info/infoDb.js", "index": 38, "index2": 36, "size": 645, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./infoDb", "loc": "5:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "./infoDb", "loc": "24:16-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/infoDb", "loc": "44:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoDb", "loc": "120:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "setMessage", "getMessage", "setInfo", "getInfo", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 15-01-14.\n */\nimport { logger } from '../../logger';\nvar message = '';\nvar info = false;\nexport var setMessage = function setMessage(txt) {\n logger.debug('Setting message to: ' + txt);\n message = txt;\n};\nexport var getMessage = function getMessage() {\n return message;\n};\nexport var setInfo = function setInfo(inf) {\n info = inf;\n};\nexport var getInfo = function getInfo() {\n return info;\n}; // export const parseError = (err, hash) => {\n// global.mermaidAPI.parseError(err, hash)\n// }\n\nexport default {\n setMessage: setMessage,\n getMessage: getMessage,\n setInfo: setInfo,\n getInfo: getInfo // parseError\n\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "name": "./src/diagrams/info/infoRenderer.js", "index": 78, "index2": 76, "size": 1276, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/infoRenderer", "loc": "41:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "364:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "365:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "535:2-14" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 14-12-11.\n */\nimport { select } from 'd3';\nimport db from './infoDb';\nimport infoParser from './parser/info';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a an info picture in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(txt, id, ver) {\n try {\n var parser = infoParser.parser;\n parser.yy = db;\n logger.debug('Renering info diagram\\n' + txt); // Parse the graph definition\n\n parser.parse(txt);\n logger.debug('Parsed info diagram'); // Fetch the default direction, use TD if none was found\n\n var svg = select('#' + id);\n var g = svg.append('g');\n g.append('text') // text label for the x axis\n .attr('x', 100).attr('y', 40).attr('class', 'version').attr('font-size', '32px').style('text-anchor', 'middle').text('v ' + ver);\n svg.attr('height', 100);\n svg.attr('width', 400); // svg.attr('viewBox', '0 0 300 150');\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "name": "./src/errorRenderer.js", "index": 85, "index2": 83, "size": 2972, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./errorRenderer", "loc": "42:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./errorRenderer", "loc": "386:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./errorRenderer", "loc": "539:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 14-12-11.\n */\nimport { select } from 'd3';\nimport { logger } from './logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a an info picture in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(id, ver) {\n try {\n logger.debug('Renering svg for syntax error\\n');\n var svg = select('#' + id);\n var g = svg.append('g');\n g.append('path').attr('class', 'error-icon').attr('d', 'm411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z');\n g.append('text') // text label for the x axis\n .attr('class', 'error-text').attr('x', 1240).attr('y', 250).attr('font-size', '150px').style('text-anchor', 'middle').text('Syntax error in graph');\n g.append('text') // text label for the x axis\n .attr('class', 'error-text').attr('x', 1050).attr('y', 400).attr('font-size', '100px').style('text-anchor', 'middle').text('mermaid version ' + ver);\n svg.attr('height', 100);\n svg.attr('width', 400);\n svg.attr('viewBox', '768 0 512 512');\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "name": "./src/diagrams/pie/pieDb.js", "index": 40, "index2": 38, "size": 995, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./pieDb", "loc": "5:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "./pieDb", "loc": "25:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/pieDb", "loc": "47:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "./pieDb", "loc": "55:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieDb", "loc": "126:25-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n *\n */\nimport { logger } from '../../logger';\nvar sections = {};\nvar title = '';\n\nvar addSection = function addSection(id, value) {\n if (typeof sections[id] === 'undefined') {\n sections[id] = value;\n logger.debug('Added new section :', id);\n }\n};\n\nvar getSections = function getSections() {\n return sections;\n};\n\nvar setTitle = function setTitle(txt) {\n title = txt;\n};\n\nvar getTitle = function getTitle() {\n return title;\n};\n\nvar cleanupValue = function cleanupValue(value) {\n if (value.substring(0, 1) === ':') {\n value = value.substring(1).trim();\n return Number(value.trim());\n } else {\n return Number(value.trim());\n }\n};\n\nvar clear = function clear() {\n sections = {};\n title = '';\n}; // export const parseError = (err, hash) => {\n// global.mermaidAPI.parseError(err, hash)\n// }\n\n\nexport default {\n addSection: addSection,\n getSections: getSections,\n cleanupValue: cleanupValue,\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle // parseError\n\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "name": "./src/diagrams/pie/pieRenderer.js", "index": 80, "index2": 78, "size": 3794, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/pieRenderer", "loc": "45:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "370:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "371:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "536:2-13" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by AshishJ on 11-09-2019.\n */\nimport { select, scaleOrdinal, schemeSet2, pie as d3pie, entries, arc } from 'd3';\nimport pieData from './pieDb';\nimport pieParser from './parser/pie';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a Pie Chart with the data given in text.\n * @param text\n * @param id\n */\n\nvar w;\nexport var draw = function draw(txt, id) {\n try {\n var parser = pieParser.parser;\n parser.yy = pieData;\n logger.debug('Rendering info diagram\\n' + txt); // Parse the Pie Chart definition\n\n parser.yy.clear();\n parser.parse(txt);\n logger.debug('Parsed info diagram');\n var elem = document.getElementById(id);\n w = elem.parentElement.offsetWidth;\n\n if (typeof w === 'undefined') {\n w = 1200;\n }\n\n if (typeof conf.useWidth !== 'undefined') {\n w = conf.useWidth;\n }\n\n var h = 450;\n elem.setAttribute('height', '100%'); // Set viewBox\n\n elem.setAttribute('viewBox', '0 0 ' + w + ' ' + h); // Fetch the default direction, use TD if none was found\n\n var width = w; // 450\n\n var height = 450;\n var margin = 40;\n var legendRectSize = 18;\n var legendSpacing = 4;\n var radius = Math.min(width, height) / 2 - margin;\n var svg = select('#' + id).append('svg').attr('width', width).attr('height', height).append('g').attr('transform', 'translate(' + width / 2 + ',' + height / 2 + ')');\n var data = pieData.getSections();\n var sum = 0;\n Object.keys(data).forEach(function (key) {\n sum += data[key];\n });\n logger.info(data); // set the color scale\n\n var color = scaleOrdinal().domain(data).range(schemeSet2); // Compute the position of each group on the pie:\n\n var pie = d3pie().value(function (d) {\n return d.value;\n });\n var dataReady = pie(entries(data)); // shape helper to build arcs:\n\n var arcGenerator = arc().innerRadius(0).outerRadius(radius); // Build the pie chart: Basically, each part of the pie is a path that we build using the arc function.\n\n svg.selectAll('mySlices').data(dataReady).enter().append('path').attr('d', arcGenerator).attr('fill', function (d) {\n return color(d.data.key);\n }).attr('stroke', 'black').style('stroke-width', '2px').style('opacity', 0.7); // Now add the Percentage. Use the centroid method to get the best coordinates\n\n svg.selectAll('mySlices').data(dataReady).enter().append('text').text(function (d) {\n return (d.data.value / sum * 100).toFixed(0) + '%';\n }).attr('transform', function (d) {\n return 'translate(' + arcGenerator.centroid(d) + ')';\n }).style('text-anchor', 'middle').attr('class', 'slice').style('font-size', 17);\n svg.append('text').text(parser.yy.getTitle()).attr('x', 0).attr('y', -(h - 50) / 2).attr('class', 'pieTitleText'); //Add the slegend/annotations for each section\n\n var legend = svg.selectAll('.legend').data(color.domain()).enter().append('g').attr('class', 'legend').attr('transform', function (d, i) {\n var height = legendRectSize + legendSpacing;\n var offset = height * color.domain().length / 2;\n var horz = 12 * legendRectSize;\n var vert = i * height - offset;\n return 'translate(' + horz + ',' + vert + ')';\n });\n legend.append('rect').attr('width', legendRectSize).attr('height', legendRectSize).style('fill', color).style('stroke', color);\n legend.append('text').attr('x', legendRectSize + legendSpacing).attr('y', legendRectSize - legendSpacing).text(function (d) {\n return d;\n });\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "name": "./src/diagrams/er/erDb.js", "index": 42, "index2": 40, "size": 1728, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./erDb", "loc": "3:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/erDb", "loc": "48:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "115:30-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "132:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erDb", "loc": "132:25-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "136:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "140:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "144:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "150:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "154:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "158:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "162:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "189:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "191:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "239:38-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "242:39-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n *\n */\nimport { logger } from '../../logger';\nvar entities = {};\nvar relationships = [];\nvar title = '';\nvar Cardinality = {\n ZERO_OR_ONE: 'ZERO_OR_ONE',\n ZERO_OR_MORE: 'ZERO_OR_MORE',\n ONE_OR_MORE: 'ONE_OR_MORE',\n ONLY_ONE: 'ONLY_ONE'\n};\nvar Identification = {\n NON_IDENTIFYING: 'NON_IDENTIFYING',\n IDENTIFYING: 'IDENTIFYING'\n};\n\nvar addEntity = function addEntity(name) {\n if (typeof entities[name] === 'undefined') {\n entities[name] = name;\n logger.debug('Added new entity :', name);\n }\n};\n\nvar getEntities = function getEntities() {\n return entities;\n};\n/**\n * Add a relationship\n * @param entA The first entity in the relationship\n * @param rolA The role played by the first entity in relation to the second\n * @param entB The second entity in the relationship\n * @param rSpec The details of the relationship between the two entities\n */\n\n\nvar addRelationship = function addRelationship(entA, rolA, entB, rSpec) {\n var rel = {\n entityA: entA,\n roleA: rolA,\n entityB: entB,\n relSpec: rSpec\n };\n relationships.push(rel);\n logger.debug('Added new relationship :', rel);\n};\n\nvar getRelationships = function getRelationships() {\n return relationships;\n}; // Keep this - TODO: revisit...allow the diagram to have a title\n\n\nvar setTitle = function setTitle(txt) {\n title = txt;\n};\n\nvar getTitle = function getTitle() {\n return title;\n};\n\nvar clear = function clear() {\n entities = {};\n relationships = [];\n title = '';\n};\n\nexport default {\n Cardinality: Cardinality,\n Identification: Identification,\n addEntity: addEntity,\n getEntities: getEntities,\n addRelationship: addRelationship,\n getRelationships: getRelationships,\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "name": "./src/diagrams/er/erRenderer.js", "index": 81, "index2": 80, "size": 11270, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/erRenderer", "loc": "50:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "375:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "376:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "537:2-12" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { line, curveBasis, select } from 'd3';\nimport erDb from './erDb';\nimport erParser from './parser/erDiagram';\nimport dagre from 'dagre';\nimport { getConfig } from '../../config';\nimport { logger } from '../../logger';\nimport erMarkers from './erMarkers';\nvar conf = {};\n/**\n * Allows the top-level API module to inject config specific to this renderer,\n * storing it in the local conf object. Note that generic config still needs to be\n * retrieved using getConfig() imported from the config module\n */\n\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Use D3 to construct the svg elements for the entities\n * @param svgNode the svg node that contains the diagram\n * @param entities The entities to be drawn\n * @param graph The graph that contains the vertex and edge definitions post-layout\n * @return The first entity that was inserted\n */\n\nvar drawEntities = function drawEntities(svgNode, entities, graph) {\n var keys = Object.keys(entities);\n var firstOne;\n keys.forEach(function (id) {\n // Create a group for each entity\n var groupNode = svgNode.append('g').attr('id', id);\n firstOne = firstOne === undefined ? id : firstOne; // Label the entity - this is done first so that we can get the bounding box\n // which then determines the size of the rectangle\n\n var textId = 'entity-' + id;\n var textNode = groupNode.append('text').attr('class', 'er entityLabel').attr('id', textId).attr('x', 0).attr('y', 0).attr('dominant-baseline', 'middle').attr('text-anchor', 'middle').attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize + 'px').text(id); // Calculate the width and height of the entity\n\n var textBBox = textNode.node().getBBox();\n var entityWidth = Math.max(conf.minEntityWidth, textBBox.width + conf.entityPadding * 2);\n var entityHeight = Math.max(conf.minEntityHeight, textBBox.height + conf.entityPadding * 2); // Make sure the text gets centred relative to the entity box\n\n textNode.attr('transform', 'translate(' + entityWidth / 2 + ',' + entityHeight / 2 + ')'); // Draw the rectangle - insert it before the text so that the text is not obscured\n\n var rectNode = groupNode.insert('rect', '#' + textId).attr('class', 'er entityBox').attr('fill', conf.fill).attr('fill-opacity', '100%').attr('stroke', conf.stroke).attr('x', 0).attr('y', 0).attr('width', entityWidth).attr('height', entityHeight);\n var rectBBox = rectNode.node().getBBox(); // Add the entity to the graph\n\n graph.setNode(id, {\n width: rectBBox.width,\n height: rectBBox.height,\n shape: 'rect',\n id: id\n });\n });\n return firstOne;\n}; // drawEntities\n\n\nvar adjustEntities = function adjustEntities(svgNode, graph) {\n graph.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof graph.node(v) !== 'undefined') {\n svgNode.select('#' + v).attr('transform', 'translate(' + (graph.node(v).x - graph.node(v).width / 2) + ',' + (graph.node(v).y - graph.node(v).height / 2) + ' )');\n }\n });\n return;\n};\n\nvar getEdgeName = function getEdgeName(rel) {\n return (rel.entityA + rel.roleA + rel.entityB).replace(/\\s/g, '');\n};\n/**\n * Add each relationship to the graph\n * @param relationships the relationships to be added\n * @param g the graph\n * @return {Array} The array of relationships\n */\n\n\nvar addRelationships = function addRelationships(relationships, g) {\n relationships.forEach(function (r) {\n g.setEdge(r.entityA, r.entityB, {\n relationship: r\n }, getEdgeName(r));\n });\n return relationships;\n}; // addRelationships\n\n\nvar relCnt = 0;\n/**\n * Draw a relationship using edge information from the graph\n * @param svg the svg node\n * @param rel the relationship to draw in the svg\n * @param g the graph containing the edge information\n * @param insert the insertion point in the svg DOM (because relationships have markers that need to sit 'behind' opaque entity boxes)\n */\n\nvar drawRelationshipFromLayout = function drawRelationshipFromLayout(svg, rel, g, insert) {\n relCnt++; // Find the edge relating to this relationship\n\n var edge = g.edge(rel.entityA, rel.entityB, getEdgeName(rel)); // Get a function that will generate the line path\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis); // Insert the line at the right place\n\n var svgPath = svg.insert('path', '#' + insert).attr('class', 'er relationshipLine').attr('d', lineFunction(edge.points)).attr('stroke', conf.stroke).attr('fill', 'none'); // ...and with dashes if necessary\n\n if (rel.relSpec.relType === erDb.Identification.NON_IDENTIFYING) {\n svgPath.attr('stroke-dasharray', '8,8');\n } // TODO: Understand this better\n\n\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n } // Decide which start and end markers it needs. It may be possible to be more concise here\n // by reversing a start marker to make an end marker...but this will do for now\n // Note that the 'A' entity's marker is at the end of the relationship and the 'B' entity's marker is at the start\n\n\n switch (rel.relSpec.cardA) {\n case erDb.Cardinality.ZERO_OR_ONE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_ONE_END + ')');\n break;\n\n case erDb.Cardinality.ZERO_OR_MORE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_MORE_END + ')');\n break;\n\n case erDb.Cardinality.ONE_OR_MORE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ONE_OR_MORE_END + ')');\n break;\n\n case erDb.Cardinality.ONLY_ONE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ONLY_ONE_END + ')');\n break;\n }\n\n switch (rel.relSpec.cardB) {\n case erDb.Cardinality.ZERO_OR_ONE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_ONE_START + ')');\n break;\n\n case erDb.Cardinality.ZERO_OR_MORE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_MORE_START + ')');\n break;\n\n case erDb.Cardinality.ONE_OR_MORE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ONE_OR_MORE_START + ')');\n break;\n\n case erDb.Cardinality.ONLY_ONE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ONLY_ONE_START + ')');\n break;\n } // Now label the relationship\n // Find the half-way point\n\n\n var len = svgPath.node().getTotalLength();\n var labelPoint = svgPath.node().getPointAtLength(len * 0.5); // Append a text node containing the label\n\n var labelId = 'rel' + relCnt;\n var labelNode = svg.append('text').attr('class', 'er relationshipLabel').attr('id', labelId).attr('x', labelPoint.x).attr('y', labelPoint.y).attr('text-anchor', 'middle').attr('dominant-baseline', 'middle').attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize + 'px').text(rel.roleA); // Figure out how big the opaque 'container' rectangle needs to be\n\n var labelBBox = labelNode.node().getBBox(); // Insert the opaque rectangle before the text label\n\n svg.insert('rect', '#' + labelId).attr('class', 'er relationshipLabelBox').attr('x', labelPoint.x - labelBBox.width / 2).attr('y', labelPoint.y - labelBBox.height / 2).attr('width', labelBBox.width).attr('height', labelBBox.height).attr('fill', 'white').attr('fill-opacity', '85%');\n return;\n};\n/**\n * Draw en E-R diagram in the tag with id: id based on the text definition of the diagram\n * @param text the text of the diagram\n * @param id the unique id of the DOM node that contains the diagram\n */\n\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing ER diagram');\n erDb.clear();\n var parser = erParser.parser;\n parser.yy = erDb; // Parse the text to populate erDb\n\n try {\n parser.parse(text);\n } catch (err) {\n logger.debug('Parsing failed');\n } // Get a reference to the svg node that contains the text\n\n\n var svg = select(\"[id='\".concat(id, \"']\")); // Add cardinality marker definitions to the svg\n\n erMarkers.insertMarkers(svg, conf); // Now we have to construct the diagram in a specific way:\n // ---\n // 1. Create all the entities in the svg node at 0,0, but with the correct dimensions (allowing for text content)\n // 2. Make sure they are all added to the graph\n // 3. Add all the edges (relationships) to the graph aswell\n // 4. Let dagre do its magic to layout the graph. This assigns:\n // - the centre co-ordinates for each node, bearing in mind the dimensions and edge relationships\n // - the path co-ordinates for each edge\n // But it has no impact on the svg child nodes - the diagram remains with every entity rooted at 0,0\n // 5. Now assign a transform to each entity in the svg node so that it gets drawn in the correct place, as determined by\n // its centre point, which is obtained from the graph, and it's width and height\n // 6. And finally, create all the edges in the svg node using information from the graph\n // ---\n // Create the graph\n\n var g; // TODO: Explore directed vs undirected graphs, and how the layout is affected\n // An E-R diagram could be said to be undirected, but there is merit in setting\n // the direction from parent to child in a one-to-many as this influences graphlib to\n // put the parent above the child (does it?), which is intuitive. Most relationships\n // in ER diagrams are one-to-many.\n\n g = new graphlib.Graph({\n multigraph: true,\n directed: true,\n compound: false\n }).setGraph({\n rankdir: conf.layoutDirection,\n marginx: 20,\n marginy: 20,\n nodesep: 100,\n edgesep: 100,\n ranksep: 100\n }).setDefaultEdgeLabel(function () {\n return {};\n }); // Draw the entities (at 0,0), returning the first svg node that got\n // inserted - this represents the insertion point for relationship paths\n\n var firstEntity = drawEntities(svg, erDb.getEntities(), g); // TODO: externalise the addition of entities to the graph - it's a bit 'buried' in the above\n // Add all the relationships to the graph\n\n var relationships = addRelationships(erDb.getRelationships(), g);\n dagre.layout(g); // Node and edge positions will be updated\n // Adjust the positions of the entities so that they adhere to the layout\n\n adjustEntities(svg, g); // Draw the relationships\n\n relationships.forEach(function (rel) {\n drawRelationshipFromLayout(svg, rel, g, firstEntity);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n }\n\n svg.attr('viewBox', \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height));\n}; // draw\n\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyDb.js", "name": "./src/diagrams/user-journey/journeyDb.js", "index": 44, "index2": 42, "size": 3069, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./journeyDb", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./journeyDb", "loc": "5:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/journeyDb", "loc": "52:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyDb", "loc": "138:25-34" } ], "usedExports": [ "default" ], "providedExports": [ "clear", "setTitle", "getTitle", "addSection", "getSections", "getTasks", "addTask", "addTaskOrg", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nvar title = '';\nvar currentSection = '';\nvar sections = [];\nvar tasks = [];\nvar rawTasks = [];\nexport var clear = function clear() {\n sections.length = 0;\n tasks.length = 0;\n currentSection = '';\n title = '';\n rawTasks.length = 0;\n};\nexport var setTitle = function setTitle(txt) {\n title = txt;\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var addSection = function addSection(txt) {\n currentSection = txt;\n sections.push(txt);\n};\nexport var getSections = function getSections() {\n return sections;\n};\nexport var getTasks = function getTasks() {\n var allItemsProcessed = compileTasks();\n var maxDepth = 100;\n var iterationCount = 0;\n\n while (!allItemsProcessed && iterationCount < maxDepth) {\n allItemsProcessed = compileTasks();\n iterationCount++;\n }\n\n tasks.push.apply(tasks, rawTasks);\n return tasks;\n};\n\nvar updateActors = function updateActors() {\n var tempActors = [];\n tasks.forEach(function (task) {\n if (task.people) {\n tempActors.push.apply(tempActors, _toConsumableArray(task.people));\n }\n });\n var unique = new Set(tempActors);\n return _toConsumableArray(unique).sort();\n};\n\nexport var addTask = function addTask(descr, taskData) {\n var pieces = taskData.substr(1).split(':');\n var score = 0;\n var peeps = [];\n\n if (pieces.length === 1) {\n score = Number(pieces[0]);\n peeps = [];\n } else {\n score = Number(pieces[0]);\n peeps = pieces[1].split(',');\n }\n\n var peopleList = peeps.map(function (s) {\n return s.trim();\n });\n var rawTask = {\n section: currentSection,\n type: currentSection,\n people: peopleList,\n task: descr,\n score: score\n };\n rawTasks.push(rawTask);\n};\nexport var addTaskOrg = function addTaskOrg(descr) {\n var newTask = {\n section: currentSection,\n type: currentSection,\n description: descr,\n task: descr,\n classes: []\n };\n tasks.push(newTask);\n};\n\nvar compileTasks = function compileTasks() {\n var compileTask = function compileTask(pos) {\n return rawTasks[pos].processed;\n };\n\n var allProcessed = true;\n\n for (var i = 0; i < rawTasks.length; i++) {\n compileTask(i);\n allProcessed = allProcessed && rawTasks[i].processed;\n }\n\n return allProcessed;\n};\n\nvar getActors = function getActors() {\n return updateActors();\n};\n\nexport default {\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle,\n addSection: addSection,\n getSections: getSections,\n getTasks: getTasks,\n addTask: addTask,\n addTaskOrg: addTaskOrg,\n getActors: getActors\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "name": "./src/diagrams/user-journey/journeyRenderer.js", "index": 83, "index2": 82, "size": 7798, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "53:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "380:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "381:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "538:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "bounds", "drawTasks", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport { parser } from './parser/journey';\nimport journeyDb from './journeyDb';\nimport svgDraw from './svgDraw';\nparser.yy = journeyDb;\nvar conf = {\n leftMargin: 150,\n diagramMarginX: 50,\n diagramMarginY: 20,\n // Margin between tasks\n taskMargin: 50,\n // Width of task boxes\n width: 150,\n // Height of task boxes\n height: 50,\n taskFontSize: 14,\n taskFontFamily: '\"Open-Sans\", \"sans-serif\"',\n // Margin around loop boxes\n boxMargin: 10,\n boxTextMargin: 5,\n noteMargin: 10,\n // Space between messages\n messageMargin: 35,\n // Multiline message alignment\n messageAlign: 'center',\n // Depending on css styling this might need adjustment\n // Projects the edge of the diagram downwards\n bottomMarginAdj: 1,\n // width of activation box\n activationWidth: 10,\n // text placement as: tspan | fo | old only text as before\n textPlacement: 'fo',\n actorColours: ['#8FBC8F', '#7CFC00', '#00FFFF', '#20B2AA', '#B0E0E6', '#FFFFE0'],\n sectionFills: ['#191970', '#8B008B', '#4B0082', '#2F4F4F', '#800000', '#8B4513', '#00008B'],\n sectionColours: ['#fff']\n};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\nvar actors = {};\n\nfunction drawActorLegend(diagram) {\n // Draw the actors\n var yPos = 60;\n Object.keys(actors).forEach(function (person) {\n var colour = actors[person];\n var circleData = {\n cx: 20,\n cy: yPos,\n r: 7,\n fill: colour,\n stroke: '#000'\n };\n svgDraw.drawCircle(diagram, circleData);\n var labelData = {\n x: 40,\n y: yPos + 7,\n fill: '#666',\n text: person\n };\n svgDraw.drawText(diagram, labelData);\n yPos += 20;\n });\n}\n\nvar LEFT_MARGIN = conf.leftMargin;\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.parse(text + '\\n');\n bounds.init();\n var diagram = select('#' + id);\n diagram.attr('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n svgDraw.initGraphics(diagram);\n var tasks = parser.yy.getTasks();\n var title = parser.yy.getTitle();\n var actorNames = parser.yy.getActors();\n\n for (var member in actors) {\n delete actors[member];\n }\n\n var actorPos = 0;\n actorNames.forEach(function (actorName) {\n actors[actorName] = conf.actorColours[actorPos % conf.actorColours.length];\n actorPos++;\n });\n drawActorLegend(diagram);\n bounds.insert(0, 0, LEFT_MARGIN, Object.keys(actors).length * 50);\n drawTasks(diagram, tasks, 0);\n var box = bounds.getBounds();\n\n if (title) {\n diagram.append('text').text(title).attr('x', LEFT_MARGIN).attr('font-size', '4ex').attr('font-weight', 'bold').attr('y', 25);\n }\n\n var height = box.stopy - box.starty + 2 * conf.diagramMarginY;\n var width = LEFT_MARGIN + box.stopx + 2 * conf.diagramMarginX;\n\n if (conf.useMaxWidth) {\n diagram.attr('height', '100%');\n diagram.attr('width', '100%');\n diagram.attr('style', 'max-width:' + width + 'px;');\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n } // Draw activity line\n\n\n diagram.append('line').attr('x1', LEFT_MARGIN).attr('y1', conf.height * 4) // One section head + one task + margins\n .attr('x2', width - LEFT_MARGIN - 4) // Subtract stroke width so arrow point is retained\n .attr('y2', conf.height * 4).attr('stroke-width', 4).attr('stroke', 'black').attr('marker-end', 'url(#arrowhead)');\n var extraVertForTitle = title ? 70 : 0;\n diagram.attr('viewBox', \"\".concat(box.startx, \" -25 \").concat(width, \" \").concat(height + extraVertForTitle));\n diagram.attr('preserveAspectRatio', 'xMinYMin meet');\n};\nexport var bounds = {\n data: {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n },\n verticalPos: 0,\n sequenceItems: [],\n init: function init() {\n this.sequenceItems = [];\n this.data = {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n };\n this.verticalPos = 0;\n },\n updateVal: function updateVal(obj, key, val, fun) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = val;\n } else {\n obj[key] = fun(val, obj[key]);\n }\n },\n updateBounds: function updateBounds(startx, starty, stopx, stopy) {\n var _self = this;\n\n var cnt = 0;\n\n function updateFn(type) {\n return function updateItemBounds(item) {\n cnt++; // The loop sequenceItems is a stack so the biggest margins in the beginning of the sequenceItems\n\n var n = _self.sequenceItems.length - cnt + 1;\n\n _self.updateVal(item, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopy', stopy + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n if (!(type === 'activation')) {\n _self.updateVal(item, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopy', stopy + n * conf.boxMargin, Math.max);\n }\n };\n }\n\n this.sequenceItems.forEach(updateFn());\n },\n insert: function insert(startx, starty, stopx, stopy) {\n var _startx = Math.min(startx, stopx);\n\n var _stopx = Math.max(startx, stopx);\n\n var _starty = Math.min(starty, stopy);\n\n var _stopy = Math.max(starty, stopy);\n\n this.updateVal(bounds.data, 'startx', _startx, Math.min);\n this.updateVal(bounds.data, 'starty', _starty, Math.min);\n this.updateVal(bounds.data, 'stopx', _stopx, Math.max);\n this.updateVal(bounds.data, 'stopy', _stopy, Math.max);\n this.updateBounds(_startx, _starty, _stopx, _stopy);\n },\n bumpVerticalPos: function bumpVerticalPos(bump) {\n this.verticalPos = this.verticalPos + bump;\n this.data.stopy = this.verticalPos;\n },\n getVerticalPos: function getVerticalPos() {\n return this.verticalPos;\n },\n getBounds: function getBounds() {\n return this.data;\n }\n};\nvar fills = conf.sectionFills;\nvar textColours = conf.sectionColours;\nexport var drawTasks = function drawTasks(diagram, tasks, verticalPos) {\n var lastSection = '';\n var sectionVHeight = conf.height * 2 + conf.diagramMarginY;\n var taskPos = verticalPos + sectionVHeight;\n var sectionNumber = 0;\n var fill = '#CCC';\n var colour = 'black'; // Draw the tasks\n\n for (var i = 0; i < tasks.length; i++) {\n var task = tasks[i];\n\n if (lastSection !== task.section) {\n fill = fills[sectionNumber % fills.length];\n colour = textColours[sectionNumber % textColours.length];\n var section = {\n x: i * conf.taskMargin + i * conf.width + LEFT_MARGIN,\n y: 50,\n text: task.section,\n fill: fill,\n colour: colour\n };\n svgDraw.drawSection(diagram, section, conf);\n lastSection = task.section;\n sectionNumber++;\n } // Collect the actors involved in the task\n\n\n var taskActors = task.people.reduce(function (acc, actorName) {\n if (actors[actorName]) {\n acc[actorName] = actors[actorName];\n }\n\n return acc;\n }, {}); // Add some rendering data to the object\n\n task.x = i * conf.taskMargin + i * conf.width + LEFT_MARGIN;\n task.y = taskPos;\n task.width = conf.diagramMarginX;\n task.height = conf.diagramMarginY;\n task.colour = colour;\n task.fill = fill;\n task.actors = taskActors; // Draw the box with the attached line\n\n svgDraw.drawTask(diagram, task, conf);\n bounds.insert(task.x, task.y, task.x + task.width + conf.taskMargin, 300 + 5 * 30); // stopy is the length of the descenders.\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowChartShapes.js", "name": "./src/diagrams/flowchart/flowChartShapes.js", "index": 49, "index2": 46, "size": 7760, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1673, "building": 1032, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./flowChartShapes", "loc": "11:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowChartShapes", "loc": "352:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "addToRender", "addToRenderV2", "default" ], "optimizationBailout": [], "depth": 3, "source": "import dagreD3 from 'dagre-d3';\n\nfunction question(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var s = (w + h) * 0.9;\n var points = [{\n x: s / 2,\n y: 0\n }, {\n x: s,\n y: -s / 2\n }, {\n x: s / 2,\n y: -s\n }, {\n x: 0,\n y: -s / 2\n }];\n var shapeSvg = insertPolygonShape(parent, s, s, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction hexagon(parent, bbox, node) {\n var f = 4;\n var h = bbox.height;\n var m = h / f;\n var w = bbox.width + 2 * m;\n var points = [{\n x: m,\n y: 0\n }, {\n x: w - m,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w - m,\n y: -h\n }, {\n x: m,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction rect_left_inv_arrow(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -h / 2,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: -h / 2,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction lean_right(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction lean_left(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 2 * h / 6,\n y: 0\n }, {\n x: w + h / 6,\n y: 0\n }, {\n x: w - 2 * h / 6,\n y: -h\n }, {\n x: -h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction trapezoid(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction inv_trapezoid(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: -2 * h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction rect_right_inv_arrow(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w + h / 2,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w + h / 2,\n y: -h\n }, {\n x: 0,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction stadium(parent, bbox, node) {\n var h = bbox.height;\n var w = bbox.width + h / 4;\n var shapeSvg = parent.insert('rect', ':first-child').attr('rx', h / 2).attr('ry', h / 2).attr('x', -w / 2).attr('y', -h / 2).attr('width', w).attr('height', h);\n\n node.intersect = function (point) {\n return dagreD3.intersect.rect(node, point);\n };\n\n return shapeSvg;\n}\n\nfunction subroutine(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: 0,\n y: -h\n }, {\n x: 0,\n y: 0\n }, {\n x: -8,\n y: 0\n }, {\n x: w + 8,\n y: 0\n }, {\n x: w + 8,\n y: -h\n }, {\n x: -8,\n y: -h\n }, {\n x: -8,\n y: 0\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction cylinder(parent, bbox, node) {\n var w = bbox.width;\n var rx = w / 2;\n var ry = rx / (2.5 + w / 50);\n var h = bbox.height + ry;\n var shape = 'M 0,' + ry + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 a ' + rx + ',' + ry + ' 0,0,0 ' + -w + ' 0 l 0,' + h + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 l 0,' + -h;\n var shapeSvg = parent.attr('label-offset-y', ry).insert('path', ':first-child').attr('d', shape).attr('transform', 'translate(' + -w / 2 + ',' + -(h / 2 + ry) + ')');\n\n node.intersect = function (point) {\n var pos = dagreD3.intersect.rect(node, point);\n var x = pos.x - node.x;\n\n if (rx != 0 && (Math.abs(x) < node.width / 2 || Math.abs(x) == node.width / 2 && Math.abs(pos.y - node.y) > node.height / 2 - ry)) {\n // ellipsis equation: x*x / a*a + y*y / b*b = 1\n // solve for y to get adjustion value for pos.y\n var y = ry * ry * (1 - x * x / (rx * rx));\n if (y != 0) y = Math.sqrt(y);\n y = ry - y;\n if (point.y - node.y > 0) y = -y;\n pos.y += y;\n }\n\n return pos;\n };\n\n return shapeSvg;\n}\n\nexport function addToRender(render) {\n render.shapes().question = question;\n render.shapes().hexagon = hexagon;\n render.shapes().stadium = stadium;\n render.shapes().subroutine = subroutine;\n render.shapes().cylinder = cylinder; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().rect_left_inv_arrow = rect_left_inv_arrow; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().lean_right = lean_right; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().lean_left = lean_left; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().trapezoid = trapezoid; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().inv_trapezoid = inv_trapezoid; // Add custom shape for box with inverted arrow on right side\n\n render.shapes().rect_right_inv_arrow = rect_right_inv_arrow;\n}\nexport function addToRenderV2(addShape) {\n addShape({\n question: question\n });\n addShape({\n hexagon: hexagon\n });\n addShape({\n stadium: stadium\n });\n addShape({\n subroutine: subroutine\n });\n addShape({\n cylinder: cylinder\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n rect_left_inv_arrow: rect_left_inv_arrow\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n lean_right: lean_right\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n lean_left: lean_left\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n trapezoid: trapezoid\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n inv_trapezoid: inv_trapezoid\n }); // Add custom shape for box with inverted arrow on right side\n\n addShape({\n rect_right_inv_arrow: rect_right_inv_arrow\n });\n}\n\nfunction insertPolygonShape(parent, w, h, points) {\n return parent.insert('polygon', ':first-child').attr('points', points.map(function (d) {\n return d.x + ',' + d.y;\n }).join(' ')).attr('transform', 'translate(' + -w / 2 + ',' + h / 2 + ')');\n}\n\nexport default {\n addToRender: addToRender,\n addToRenderV2: addToRenderV2\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "index": 52, "index2": 65, "size": 5901, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer-v2.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1316, "building": 41, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../dagre-wrapper/index.js", "loc": "6:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../dagre-wrapper/index.js", "loc": "6:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../dagre-wrapper/index.js", "loc": "257:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../dagre-wrapper/index.js", "loc": "380:2-8" } ], "usedExports": [ "render" ], "providedExports": [ "render" ], "optimizationBailout": [], "depth": 3, "source": "import dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport insertMarkers from './markers';\nimport { updateNodeBounds } from './shapes/util';\nimport { clear as clearGraphlib, clusterDb, adjustClustersAndEdges, findNonClusterChild } from './mermaid-graphlib';\nimport { insertNode, positionNode, clear as clearNodes, setNodeElem } from './nodes';\nimport { insertCluster, clear as clearClusters } from './clusters';\nimport { insertEdgeLabel, positionEdgeLabel, insertEdge, clear as clearEdges } from './edges';\nimport { logger as log } from '../logger';\n\nvar recursiveRender = function recursiveRender(_elem, graph, diagramtype, parentCluster) {\n log.info('Graph in recursive render:', graphlib.json.write(graph), parentCluster);\n var dir = graph.graph().rankdir;\n log.warn('Dir in recursive render - dir:', dir);\n\n var elem = _elem.insert('g').attr('class', 'root'); // eslint-disable-line\n\n\n if (!graph.nodes()) {\n log.trace('No nodes found for', graph);\n } else {\n log.trace('Recursive render', graph.nodes());\n }\n\n if (graph.edges().length > 0) {\n log.trace('Recursive edges', graph.edge(graph.edges()[0]));\n }\n\n var clusters = elem.insert('g').attr('class', 'clusters'); // eslint-disable-line\n\n var edgePaths = elem.insert('g').attr('class', 'edgePaths');\n var edgeLabels = elem.insert('g').attr('class', 'edgeLabels');\n var nodes = elem.insert('g').attr('class', 'nodes'); // Insert nodes, this will insert them into the dom and each node will get a size. The size is updated\n // to the abstract node and is later used by dagre for the layout\n\n graph.nodes().forEach(function (v) {\n var node = graph.node(v);\n\n if (typeof parentCluster !== 'undefined') {\n var data = JSON.parse(JSON.stringify(parentCluster.clusterData)); // data.clusterPositioning = true;\n\n log.trace('Setting data for cluster', data);\n graph.setNode(parentCluster.id, data);\n graph.setParent(v, parentCluster.id, data);\n }\n\n log.trace('(Insert) Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n\n if (node && node.clusterNode) {\n // const children = graph.children(v);\n log.trace('Cluster identified', v, node, graph.node(v));\n var newEl = recursiveRender(nodes, node.graph, diagramtype, graph.node(v));\n updateNodeBounds(node, newEl);\n setNodeElem(newEl, node);\n log.warn('Recursive render complete', newEl, node);\n } else {\n if (graph.children(v).length > 0) {\n // This is a cluster but not to be rendered recusively\n // Render as before\n log.trace('Cluster - the non recursive path', v, node.id, node, graph);\n log.trace(findNonClusterChild(node.id, graph));\n clusterDb[node.id] = {\n id: findNonClusterChild(node.id, graph),\n node: node\n }; // insertCluster(clusters, graph.node(v));\n } else {\n log.trace('Node - the non recursive path', v, node.id, node);\n insertNode(nodes, graph.node(v), dir);\n }\n }\n }); // Insert labels, this will insert them into the dom so that the width can be calculated\n // Also figure out which edges point to/from clusters and adjust them accordingly\n // Edges from/to clusters really points to the first child in the cluster.\n // TODO: pick optimal child in the cluster to us as link anchor\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e.v, e.w, e.name);\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ', e, ' ', JSON.stringify(graph.edge(e))); // Check if link is either from or to a cluster\n\n log.trace('Fix', clusterDb, 'ids:', e.v, e.w, 'Translateing: ', clusterDb[e.v], clusterDb[e.w]);\n insertEdgeLabel(edgeLabels, edge);\n });\n graph.edges().forEach(function (e) {\n log.info('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n });\n log.info('#############################################');\n log.info('### Layout ###');\n log.info('#############################################');\n log.info(graph);\n dagre.layout(graph);\n log.trace('Graph after layout:', graphlib.json.write(graph)); // Move the nodes to the correct place\n\n graph.nodes().forEach(function (v) {\n var node = graph.node(v);\n log.trace('Position ' + v + ': ' + JSON.stringify(graph.node(v)));\n log.info('Position ' + v + ': (' + node.x, ',' + node.y, ') width: ', node.width, ' height: ', node.height);\n\n if (node && node.clusterNode) {\n // clusterDb[node.id].node = node;\n positionNode(node);\n } else {\n // Non cluster node\n if (graph.children(v).length > 0) {\n // A cluster in the non-recurive way\n // positionCluster(node);\n insertCluster(clusters, node);\n clusterDb[node.id].node = node;\n } else {\n positionNode(node);\n }\n }\n }); // Move the edge labels to the correct place after layout\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e);\n log.info('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(edge), edge);\n var updatedPath = insertEdge(edgePaths, e, edge, clusterDb, diagramtype, graph);\n positionEdgeLabel(edge, updatedPath);\n });\n return elem;\n};\n\nexport var render = function render(elem, graph, markers, diagramtype, id) {\n insertMarkers(elem, markers, diagramtype, id);\n clearNodes();\n clearEdges();\n clearClusters();\n clearGraphlib();\n log.warn('Graph before:', graphlib.json.write(graph));\n adjustClustersAndEdges(graph);\n log.warn('Graph after:', graphlib.json.write(graph));\n log.warn('Graph ever after:', graph.graph());\n recursiveRender(elem, graph, diagramtype);\n}; // const shapeDefinitions = {};\n// export const addShape = ({ shapeType: fun }) => {\n// shapeDefinitions[shapeType] = fun;\n// };\n// const arrowDefinitions = {};\n// export const addArrow = ({ arrowType: fun }) => {\n// arrowDefinitions[arrowType] = fun;\n// };" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "name": "./src/diagrams/sequence/svgDraw.js", "index": 70, "index2": 67, "size": 15081, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/sequence/sequenceRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "name": "./src/diagrams/sequence/sequenceRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1532, "building": 996, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "152:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "228:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "234:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "235:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "249:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "284:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "299:2-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "385:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "474:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "475:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "476:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "486:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "517:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "530:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "543:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "562:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "581:8-15" } ], "usedExports": [ "default", "drawText" ], "providedExports": [ "drawRect", "drawText", "drawLabel", "drawActor", "anchorElement", "drawActivation", "drawLoop", "drawBackgroundRect", "insertArrowHead", "insertSequenceNumber", "insertArrowCrossHead", "getTextObj", "getNoteRect", "default" ], "optimizationBailout": [], "depth": 3, "source": "import common from '../common/common';\nexport var drawRect = function drawRect(elem, rectData) {\n var rectElem = elem.append('rect');\n rectElem.attr('x', rectData.x);\n rectElem.attr('y', rectData.y);\n rectElem.attr('fill', rectData.fill);\n rectElem.attr('stroke', rectData.stroke);\n rectElem.attr('width', rectData.width);\n rectElem.attr('height', rectData.height);\n rectElem.attr('rx', rectData.rx);\n rectElem.attr('ry', rectData.ry);\n\n if (typeof rectData.class !== 'undefined') {\n rectElem.attr('class', rectData.class);\n }\n\n return rectElem;\n};\nexport var drawText = function drawText(elem, textData) {\n var prevTextHeight = 0,\n textHeight = 0;\n var lines = textData.wrap ? textData.text.split(common.lineBreakRegex) : [textData.text.replace(common.lineBreakRegex, ' ')];\n var textElems = [];\n var dy = 0;\n\n var yfunc = function yfunc() {\n return textData.y;\n };\n\n if (typeof textData.valign !== 'undefined' && typeof textData.textMargin !== 'undefined' && textData.textMargin > 0) {\n switch (textData.valign) {\n case 'top':\n case 'start':\n yfunc = function yfunc() {\n return Math.round(textData.y + textData.textMargin);\n };\n\n break;\n\n case 'middle':\n case 'center':\n yfunc = function yfunc() {\n return Math.round(textData.y + (prevTextHeight + textHeight + textData.textMargin) / 2);\n };\n\n break;\n\n case 'bottom':\n case 'end':\n yfunc = function yfunc() {\n return Math.round(textData.y + (prevTextHeight + textHeight + 2 * textData.textMargin) - textData.textMargin);\n };\n\n break;\n }\n }\n\n if (typeof textData.anchor !== 'undefined' && typeof textData.textMargin !== 'undefined' && typeof textData.width !== 'undefined') {\n switch (textData.anchor) {\n case 'left':\n case 'start':\n textData.x = Math.round(textData.x + textData.textMargin);\n textData.anchor = 'start';\n textData.dominantBaseline = 'text-after-edge';\n textData.alignmentBaseline = 'middle';\n break;\n\n case 'middle':\n case 'center':\n textData.x = Math.round(textData.x + textData.width / 2);\n textData.anchor = 'middle';\n textData.dominantBaseline = 'middle';\n textData.alignmentBaseline = 'middle';\n break;\n\n case 'right':\n case 'end':\n textData.x = Math.round(textData.x + textData.width - textData.textMargin);\n textData.anchor = 'end';\n textData.dominantBaseline = 'text-before-edge';\n textData.alignmentBaseline = 'middle';\n break;\n }\n }\n\n for (var i = 0; i < lines.length; i++) {\n var line = lines[i];\n\n if (typeof textData.textMargin !== 'undefined' && textData.textMargin === 0 && typeof textData.fontSize !== 'undefined') {\n dy = i * textData.fontSize;\n }\n\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', yfunc());\n\n if (typeof textData.anchor !== 'undefined') {\n textElem.attr('text-anchor', textData.anchor).attr('dominant-baseline', textData.dominantBaseline).attr('alignment-baseline', textData.alignmentBaseline);\n }\n\n if (typeof textData.fontFamily !== 'undefined') {\n textElem.style('font-family', textData.fontFamily);\n }\n\n if (typeof textData.fontSize !== 'undefined') {\n textElem.style('font-size', textData.fontSize);\n }\n\n if (typeof textData.fontWeight !== 'undefined') {\n textElem.style('font-weight', textData.fontWeight);\n }\n\n if (typeof textData.fill !== 'undefined') {\n textElem.attr('fill', textData.fill);\n }\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n if (typeof textData.dy !== 'undefined') {\n textElem.attr('dy', textData.dy);\n } else if (dy !== 0) {\n textElem.attr('dy', dy);\n }\n\n if (textData.tspan) {\n var span = textElem.append('tspan');\n span.attr('x', textData.x);\n\n if (typeof textData.fill !== 'undefined') {\n span.attr('fill', textData.fill);\n }\n\n span.text(line);\n } else {\n textElem.text(line);\n }\n\n if (typeof textData.valign !== 'undefined' && typeof textData.textMargin !== 'undefined' && textData.textMargin > 0) {\n textHeight += (textElem._groups || textElem)[0][0].getBBox().height;\n prevTextHeight = textHeight;\n }\n\n textElems.push(textElem);\n }\n\n return textElems;\n};\nexport var drawLabel = function drawLabel(elem, txtObject) {\n function genPoints(x, y, width, height, cut) {\n return x + ',' + y + ' ' + (x + width) + ',' + y + ' ' + (x + width) + ',' + (y + height - cut) + ' ' + (x + width - cut * 1.2) + ',' + (y + height) + ' ' + x + ',' + (y + height);\n }\n\n var polygon = elem.append('polygon');\n polygon.attr('points', genPoints(txtObject.x, txtObject.y, txtObject.width, txtObject.height, 7));\n polygon.attr('class', 'labelBox');\n txtObject.y = txtObject.y + txtObject.height / 2;\n drawText(elem, txtObject);\n return polygon;\n};\nvar actorCnt = -1;\n/**\n * Draws an actor in the diagram with the attached line\n * @param elem - The diagram we'll draw to.\n * @param actor - The actor to draw.\n * @param conf - drawText implementation discriminator object\n */\n\nexport var drawActor = function drawActor(elem, actor, conf) {\n var center = actor.x + actor.width / 2;\n var g = elem.append('g');\n\n if (actor.y === 0) {\n actorCnt++;\n g.append('line').attr('id', 'actor' + actorCnt).attr('x1', center).attr('y1', 5).attr('x2', center).attr('y2', 2000).attr('class', 'actor-line').attr('stroke-width', '0.5px').attr('stroke', '#999');\n }\n\n var rect = getNoteRect();\n rect.x = actor.x;\n rect.y = actor.y;\n rect.fill = '#eaeaea';\n rect.width = actor.width;\n rect.height = actor.height;\n rect.class = 'actor';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n\n _drawTextCandidateFunc(conf)(actor.description, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'actor'\n }, conf);\n};\nexport var anchorElement = function anchorElement(elem) {\n return elem.append('g');\n};\n/**\n * Draws an activation in the diagram\n * @param elem - element to append activation rect.\n * @param bounds - activation box bounds.\n * @param verticalPos - precise y cooridnate of bottom activation box edge.\n * @param conf - sequence diagram config object.\n * @param actorActivations - number of activations on the actor.\n */\n\nexport var drawActivation = function drawActivation(elem, bounds, verticalPos, conf, actorActivations) {\n var rect = getNoteRect();\n var g = bounds.anchored;\n rect.x = bounds.startx;\n rect.y = bounds.starty;\n rect.class = 'activation' + actorActivations % 3; // Will evaluate to 0, 1 or 2\n\n rect.width = bounds.stopx - bounds.startx;\n rect.height = verticalPos - bounds.starty;\n drawRect(g, rect);\n};\n/**\n * Draws a loop in the diagram\n * @param elem - elemenet to append the loop to.\n * @param loopModel - loopModel of the given loop.\n * @param labelText - Text within the loop.\n * @param conf - diagrom configuration\n */\n\nexport var drawLoop = function drawLoop(elem, loopModel, labelText, conf) {\n var boxMargin = conf.boxMargin,\n boxTextMargin = conf.boxTextMargin,\n labelBoxHeight = conf.labelBoxHeight,\n labelBoxWidth = conf.labelBoxWidth,\n fontFamily = conf.messageFontFamily,\n fontSize = conf.messageFontSize,\n fontWeight = conf.messageFontWeight;\n var g = elem.append('g');\n\n var drawLoopLine = function drawLoopLine(startx, starty, stopx, stopy) {\n return g.append('line').attr('x1', startx).attr('y1', starty).attr('x2', stopx).attr('y2', stopy).attr('class', 'loopLine');\n };\n\n drawLoopLine(loopModel.startx, loopModel.starty, loopModel.stopx, loopModel.starty);\n drawLoopLine(loopModel.stopx, loopModel.starty, loopModel.stopx, loopModel.stopy);\n drawLoopLine(loopModel.startx, loopModel.stopy, loopModel.stopx, loopModel.stopy);\n drawLoopLine(loopModel.startx, loopModel.starty, loopModel.startx, loopModel.stopy);\n\n if (typeof loopModel.sections !== 'undefined') {\n loopModel.sections.forEach(function (item) {\n drawLoopLine(loopModel.startx, item.y, loopModel.stopx, item.y).style('stroke-dasharray', '3, 3');\n });\n }\n\n var txt = getTextObj();\n txt.text = labelText;\n txt.x = loopModel.startx;\n txt.y = loopModel.starty;\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.tspan = false;\n txt.width = labelBoxWidth || 50;\n txt.height = labelBoxHeight || 20;\n txt.textMargin = boxTextMargin;\n txt.class = 'labelText';\n drawLabel(g, txt);\n txt = getTextObj();\n txt.text = loopModel.title;\n txt.x = loopModel.startx + labelBoxWidth / 2 + (loopModel.stopx - loopModel.startx) / 2;\n txt.y = loopModel.starty + boxMargin + boxTextMargin;\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.textMargin = boxTextMargin;\n txt.class = 'loopText';\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.wrap = true;\n var textElem = drawText(g, txt);\n\n if (typeof loopModel.sectionTitles !== 'undefined') {\n loopModel.sectionTitles.forEach(function (item, idx) {\n if (item.message) {\n txt.text = item.message;\n txt.x = loopModel.startx + (loopModel.stopx - loopModel.startx) / 2;\n txt.y = loopModel.sections[idx].y + boxMargin + boxTextMargin;\n txt.class = 'loopText';\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.tspan = false;\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.wrap = loopModel.wrap;\n textElem = drawText(g, txt);\n var sectionHeight = Math.round(textElem.map(function (te) {\n return (te._groups || te)[0][0].getBBox().height;\n }).reduce(function (acc, curr) {\n return acc + curr;\n }));\n loopModel.sections[idx].height += sectionHeight - (boxMargin + boxTextMargin);\n }\n });\n }\n\n loopModel.height = Math.round(loopModel.stopy - loopModel.starty);\n return g;\n};\n/**\n * Draws a background rectangle\n * @param elem diagram (reference for bounds)\n * @param bounds shape of the rectangle\n */\n\nexport var drawBackgroundRect = function drawBackgroundRect(elem, bounds) {\n var rectElem = drawRect(elem, {\n x: bounds.startx,\n y: bounds.starty,\n width: bounds.stopx - bounds.startx,\n height: bounds.stopy - bounds.starty,\n fill: bounds.fill,\n class: 'rect'\n });\n rectElem.lower();\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nexport var insertArrowHead = function insertArrowHead(elem) {\n elem.append('defs').append('marker').attr('id', 'arrowhead').attr('refX', 5).attr('refY', 2).attr('markerWidth', 6).attr('markerHeight', 4).attr('orient', 'auto').append('path').attr('d', 'M 0,0 V 4 L6,2 Z'); // this is actual shape for arrowhead\n};\n/**\n * Setup node number. The result is appended to the svg.\n */\n\nexport var insertSequenceNumber = function insertSequenceNumber(elem) {\n elem.append('defs').append('marker').attr('id', 'sequencenumber').attr('refX', 15).attr('refY', 15).attr('markerWidth', 60).attr('markerHeight', 40).attr('orient', 'auto').append('circle').attr('cx', 15).attr('cy', 15).attr('r', 6); // .style(\"fill\", '#f00');\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nexport var insertArrowCrossHead = function insertArrowCrossHead(elem) {\n var defs = elem.append('defs');\n var marker = defs.append('marker').attr('id', 'crosshead').attr('markerWidth', 15).attr('markerHeight', 8).attr('orient', 'auto').attr('refX', 16).attr('refY', 4); // The arrow\n\n marker.append('path').attr('fill', 'black').attr('stroke', '#000000').style('stroke-dasharray', '0, 0').attr('stroke-width', '1px').attr('d', 'M 9,2 V 6 L16,4 Z'); // The cross\n\n marker.append('path').attr('fill', 'none').attr('stroke', '#000000').style('stroke-dasharray', '0, 0').attr('stroke-width', '1px').attr('d', 'M 0,1 L 6,7 M 6,1 L 0,7'); // this is actual shape for arrowhead\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n anchor: undefined,\n style: '#666',\n width: undefined,\n height: undefined,\n textMargin: 0,\n rx: 0,\n ry: 0,\n tspan: true,\n valign: undefined\n };\n};\nexport var getNoteRect = function getNoteRect() {\n return {\n x: 0,\n y: 0,\n fill: '#EDF2AE',\n stroke: '#666',\n width: 100,\n anchor: 'start',\n height: 100,\n rx: 0,\n ry: 0\n };\n};\n\nvar _drawTextCandidateFunc = function () {\n function byText(content, g, x, y, width, height, textAttrs) {\n var text = g.append('text').attr('x', x + width / 2).attr('y', y + height / 2 + 5).style('text-anchor', 'middle').text(content);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function byTspan(content, g, x, y, width, height, textAttrs, conf) {\n var actorFontSize = conf.actorFontSize,\n actorFontFamily = conf.actorFontFamily,\n actorFontWeight = conf.actorFontWeight;\n var lines = content.split(common.lineBreakRegex);\n\n for (var i = 0; i < lines.length; i++) {\n var dy = i * actorFontSize - actorFontSize * (lines.length - 1) / 2;\n var text = g.append('text').attr('x', x + width / 2).attr('y', y).style('text-anchor', 'middle').style('font-size', actorFontSize).style('font-weight', actorFontWeight).style('font-family', actorFontFamily);\n text.append('tspan').attr('x', x + width / 2).attr('dy', dy).text(lines[i]);\n text.attr('y', y + height / 2.0).attr('dominant-baseline', 'central').attr('alignment-baseline', 'central');\n\n _setTextAttrs(text, textAttrs);\n }\n }\n\n function byFo(content, g, x, y, width, height, textAttrs, conf) {\n var s = g.append('switch');\n var f = s.append('foreignObject').attr('x', x).attr('y', y).attr('width', width).attr('height', height);\n var text = f.append('div').style('display', 'table').style('height', '100%').style('width', '100%');\n text.append('div').style('display', 'table-cell').style('text-align', 'center').style('vertical-align', 'middle').text(content);\n byTspan(content, s, x, y, width, height, textAttrs, conf);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function _setTextAttrs(toText, fromTextAttrsDict) {\n for (var key in fromTextAttrsDict) {\n if (fromTextAttrsDict.hasOwnProperty(key)) {\n // eslint-disable-line\n toText.attr(key, fromTextAttrsDict[key]);\n }\n }\n }\n\n return function (conf) {\n return conf.textPlacement === 'fo' ? byFo : conf.textPlacement === 'old' ? byText : byTspan;\n };\n}();\n\nexport default {\n drawRect: drawRect,\n drawText: drawText,\n drawLabel: drawLabel,\n drawActor: drawActor,\n anchorElement: anchorElement,\n drawActivation: drawActivation,\n drawLoop: drawLoop,\n drawBackgroundRect: drawBackgroundRect,\n insertArrowHead: insertArrowHead,\n insertSequenceNumber: insertSequenceNumber,\n insertArrowCrossHead: insertArrowCrossHead,\n getTextObj: getTextObj,\n getNoteRect: getNoteRect\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "name": "./src/diagrams/class/svgDraw.js", "index": 73, "index2": 70, "size": 11509, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/class/classRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1802, "building": 543, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "7:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "82:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "108:6-13" } ], "usedExports": [ "default" ], "providedExports": [ "drawEdge", "drawClass", "parseMember", "default" ], "optimizationBailout": [], "depth": 3, "source": "import { line, curveBasis } from 'd3';\nimport { lookUpDomId, relationType } from './classDb';\nimport utils from '../../utils';\nimport { logger } from '../../logger';\nvar edgeCount = 0;\nexport var drawEdge = function drawEdge(elem, path, relation, conf) {\n var getRelationType = function getRelationType(type) {\n switch (type) {\n case relationType.AGGREGATION:\n return 'aggregation';\n\n case relationType.EXTENSION:\n return 'extension';\n\n case relationType.COMPOSITION:\n return 'composition';\n\n case relationType.DEPENDENCY:\n return 'dependency';\n }\n };\n\n path.points = path.points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // The data for our line\n\n var lineData = path.points; // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis);\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', 'edge' + edgeCount).attr('class', 'relation');\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n if (relation.relation.lineType == 1) {\n svgPath.attr('class', 'relation dashed-line');\n }\n\n if (relation.relation.type1 !== 'none') {\n svgPath.attr('marker-start', 'url(' + url + '#' + getRelationType(relation.relation.type1) + 'Start' + ')');\n }\n\n if (relation.relation.type2 !== 'none') {\n svgPath.attr('marker-end', 'url(' + url + '#' + getRelationType(relation.relation.type2) + 'End' + ')');\n }\n\n var x, y;\n var l = path.points.length; // Calculate Label position\n\n var labelPosition = utils.calcLabelPosition(path.points);\n x = labelPosition.x;\n y = labelPosition.y;\n var p1_card_x, p1_card_y;\n var p2_card_x, p2_card_y;\n\n if (l % 2 !== 0 && l > 1) {\n var cardinality_1_point = utils.calcCardinalityPosition(relation.relation.type1 !== 'none', path.points, path.points[0]);\n var cardinality_2_point = utils.calcCardinalityPosition(relation.relation.type2 !== 'none', path.points, path.points[l - 1]);\n logger.debug('cardinality_1_point ' + JSON.stringify(cardinality_1_point));\n logger.debug('cardinality_2_point ' + JSON.stringify(cardinality_2_point));\n p1_card_x = cardinality_1_point.x;\n p1_card_y = cardinality_1_point.y;\n p2_card_x = cardinality_2_point.x;\n p2_card_y = cardinality_2_point.y;\n }\n\n if (typeof relation.title !== 'undefined') {\n var g = elem.append('g').attr('class', 'classLabel');\n var label = g.append('text').attr('class', 'label').attr('x', x).attr('y', y).attr('fill', 'red').attr('text-anchor', 'middle').text(relation.title);\n window.label = label;\n var bounds = label.node().getBBox();\n g.insert('rect', ':first-child').attr('class', 'box').attr('x', bounds.x - conf.padding / 2).attr('y', bounds.y - conf.padding / 2).attr('width', bounds.width + conf.padding).attr('height', bounds.height + conf.padding);\n }\n\n logger.info('Rendering relation ' + JSON.stringify(relation));\n\n if (typeof relation.relationTitle1 !== 'undefined' && relation.relationTitle1 !== 'none') {\n var _g = elem.append('g').attr('class', 'cardinality');\n\n _g.append('text').attr('class', 'type1').attr('x', p1_card_x).attr('y', p1_card_y).attr('fill', 'black').attr('font-size', '6').text(relation.relationTitle1);\n }\n\n if (typeof relation.relationTitle2 !== 'undefined' && relation.relationTitle2 !== 'none') {\n var _g2 = elem.append('g').attr('class', 'cardinality');\n\n _g2.append('text').attr('class', 'type2').attr('x', p2_card_x).attr('y', p2_card_y).attr('fill', 'black').attr('font-size', '6').text(relation.relationTitle2);\n }\n\n edgeCount++;\n};\nexport var drawClass = function drawClass(elem, classDef, conf) {\n logger.info('Rendering class ' + classDef);\n var cssClassStr = 'classGroup ';\n\n if (classDef.cssClasses.length > 0) {\n cssClassStr = cssClassStr + classDef.cssClasses.join(' ');\n }\n\n var id = classDef.id;\n var classInfo = {\n id: id,\n label: classDef.id,\n width: 0,\n height: 0\n }; // add class group\n\n var g = elem.append('g').attr('id', lookUpDomId(id)).attr('class', cssClassStr); // add title\n\n var title;\n\n if (classDef.link) {\n title = g.append('svg:a').attr('xlink:href', classDef.link).attr('target', '_blank').append('text').attr('y', conf.textHeight + conf.padding).attr('x', 0);\n } else {\n title = g.append('text').attr('y', conf.textHeight + conf.padding).attr('x', 0);\n } // add annotations\n\n\n var isFirst = true;\n classDef.annotations.forEach(function (member) {\n var titleText2 = title.append('tspan').text('«' + member + '»');\n if (!isFirst) titleText2.attr('dy', conf.textHeight);\n isFirst = false;\n });\n var classTitleString = classDef.id;\n\n if (classDef.type !== undefined && classDef.type !== '') {\n classTitleString += '<' + classDef.type + '>';\n }\n\n var classTitle = title.append('tspan').text(classTitleString).attr('class', 'title'); // If class has annotations the title needs to have an offset of the text height\n\n if (!isFirst) classTitle.attr('dy', conf.textHeight);\n var titleHeight = title.node().getBBox().height;\n var membersLine = g.append('line') // text label for the x axis\n .attr('x1', 0).attr('y1', conf.padding + titleHeight + conf.dividerMargin / 2).attr('y2', conf.padding + titleHeight + conf.dividerMargin / 2);\n var members = g.append('text') // text label for the x axis\n .attr('x', conf.padding).attr('y', titleHeight + conf.dividerMargin + conf.textHeight).attr('fill', 'white').attr('class', 'classText');\n isFirst = true;\n classDef.members.forEach(function (member) {\n addTspan(members, member, isFirst, conf);\n isFirst = false;\n });\n var membersBox = members.node().getBBox();\n var methodsLine = g.append('line') // text label for the x axis\n .attr('x1', 0).attr('y1', conf.padding + titleHeight + conf.dividerMargin + membersBox.height).attr('y2', conf.padding + titleHeight + conf.dividerMargin + membersBox.height);\n var methods = g.append('text') // text label for the x axis\n .attr('x', conf.padding).attr('y', titleHeight + 2 * conf.dividerMargin + membersBox.height + conf.textHeight).attr('fill', 'white').attr('class', 'classText');\n isFirst = true;\n classDef.methods.forEach(function (method) {\n addTspan(methods, method, isFirst, conf);\n isFirst = false;\n });\n var classBox = g.node().getBBox();\n var rect = g.insert('rect', ':first-child').attr('x', 0).attr('y', 0).attr('width', classBox.width + 2 * conf.padding).attr('height', classBox.height + conf.padding + 0.5 * conf.dividerMargin);\n var rectWidth = rect.node().getBBox().width; // Center title\n // We subtract the width of each text element from the class box width and divide it by 2\n\n title.node().childNodes.forEach(function (x) {\n x.setAttribute('x', (rectWidth - x.getBBox().width) / 2);\n });\n\n if (classDef.tooltip) {\n title.insert('title').text(classDef.tooltip);\n }\n\n membersLine.attr('x2', rectWidth);\n methodsLine.attr('x2', rectWidth);\n classInfo.width = rectWidth;\n classInfo.height = classBox.height + conf.padding + 0.5 * conf.dividerMargin;\n return classInfo;\n};\nexport var parseMember = function parseMember(text) {\n var fieldRegEx = /(\\+|-|~|#)?(\\w+)(~\\w+~|\\[\\])?\\s+(\\w+)/;\n var methodRegEx = /^([+|\\-|~|#])?(\\w+) *\\( *(.*)\\) *(\\*|\\$)? *(\\w*[~|[\\]]*\\s*\\w*~?)$/;\n var fieldMatch = text.match(fieldRegEx);\n var methodMatch = text.match(methodRegEx);\n\n if (fieldMatch && !methodMatch) {\n return buildFieldDisplay(fieldMatch);\n } else if (methodMatch) {\n return buildMethodDisplay(methodMatch);\n } else {\n return buildLegacyDisplay(text);\n }\n};\n\nvar buildFieldDisplay = function buildFieldDisplay(parsedText) {\n var displayText = '';\n\n try {\n var visibility = parsedText[1] ? parsedText[1].trim() : '';\n var fieldType = parsedText[2] ? parsedText[2].trim() : '';\n var genericType = parsedText[3] ? parseGenericTypes(parsedText[3].trim()) : '';\n var fieldName = parsedText[4] ? parsedText[4].trim() : '';\n displayText = visibility + fieldType + genericType + ' ' + fieldName;\n } catch (err) {\n displayText = parsedText;\n }\n\n return {\n displayText: displayText,\n cssStyle: ''\n };\n};\n\nvar buildMethodDisplay = function buildMethodDisplay(parsedText) {\n var cssStyle = '';\n var displayText = '';\n\n try {\n var visibility = parsedText[1] ? parsedText[1].trim() : '';\n var methodName = parsedText[2] ? parsedText[2].trim() : '';\n var parameters = parsedText[3] ? parseGenericTypes(parsedText[3].trim()) : '';\n var classifier = parsedText[4] ? parsedText[4].trim() : '';\n var returnType = parsedText[5] ? ' : ' + parseGenericTypes(parsedText[5]).trim() : '';\n displayText = visibility + methodName + '(' + parameters + ')' + returnType;\n cssStyle = parseClassifier(classifier);\n } catch (err) {\n displayText = parsedText;\n }\n\n return {\n displayText: displayText,\n cssStyle: cssStyle\n };\n};\n\nvar buildLegacyDisplay = function buildLegacyDisplay(text) {\n // if for some reason we dont have any match, use old format to parse text\n var displayText = '';\n var cssStyle = '';\n var memberText = '';\n var returnType = '';\n var methodStart = text.indexOf('(');\n var methodEnd = text.indexOf(')');\n\n if (methodStart > 1 && methodEnd > methodStart && methodEnd <= text.length) {\n var visibility = '';\n var methodName = '';\n var firstChar = text.substring(0, 1);\n\n if (firstChar.match(/\\w/)) {\n methodName = text.substring(0, methodStart).trim();\n } else {\n if (firstChar.match(/\\+|-|~|#/)) {\n visibility = firstChar;\n }\n\n methodName = text.substring(1, methodStart).trim();\n }\n\n var parameters = text.substring(methodStart + 1, methodEnd);\n var classifier = text.substring(methodEnd + 1, 1);\n cssStyle = parseClassifier(classifier);\n displayText = visibility + methodName + '(' + parseGenericTypes(parameters.trim()) + ')';\n\n if (methodEnd < memberText.length) {\n returnType = text.substring(methodEnd + 2).trim();\n\n if (returnType !== '') {\n returnType = ' : ' + parseGenericTypes(returnType);\n }\n }\n } else {\n // finally - if all else fails, just send the text back as written (other than parsing for generic types)\n displayText = parseGenericTypes(text);\n }\n\n return {\n displayText: displayText,\n cssStyle: cssStyle\n };\n};\n\nvar addTspan = function addTspan(textEl, txt, isFirst, conf) {\n var member = parseMember(txt);\n var tSpan = textEl.append('tspan').attr('x', conf.padding).text(member.displayText);\n\n if (member.cssStyle !== '') {\n tSpan.attr('style', member.cssStyle);\n }\n\n if (!isFirst) {\n tSpan.attr('dy', conf.textHeight);\n }\n};\n\nvar parseGenericTypes = function parseGenericTypes(text) {\n var cleanedText = text;\n\n if (text.indexOf('~') != -1) {\n cleanedText = cleanedText.replace('~', '<');\n cleanedText = cleanedText.replace('~', '>');\n return parseGenericTypes(cleanedText);\n } else {\n return cleanedText;\n }\n};\n\nvar parseClassifier = function parseClassifier(classifier) {\n switch (classifier) {\n case '*':\n return 'font-style:italic;';\n\n case '$':\n return 'text-decoration:underline;';\n\n default:\n return '';\n }\n};\n\nexport default {\n drawClass: drawClass,\n drawEdge: drawEdge,\n parseMember: parseMember\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "name": "./src/diagrams/state/shapes.js", "index": 75, "index2": 73, "size": 15372, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/state/stateRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1735, "building": 602, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./shapes", "loc": "9:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "142:14-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "157:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "168:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "235:6-14" } ], "usedExports": [ "addTitleAndBox", "drawState", "drawEdge" ], "providedExports": [ "drawStartState", "drawDivider", "drawSimpleState", "drawDescrState", "addTitleAndBox", "drawText", "drawNote", "drawState", "drawEdge" ], "optimizationBailout": [], "depth": 3, "source": "import { line, curveBasis } from 'd3';\nimport idCache from './id-cache.js';\nimport stateDb from './stateDb';\nimport utils from '../../utils';\nimport common from '../common/common';\nimport { getConfig } from '../../config';\nimport { logger } from '../../logger'; // let conf;\n\n/**\n * Draws a start state as a black circle\n */\n\nexport var drawStartState = function drawStartState(g) {\n return g.append('circle').style('stroke', 'black').style('fill', 'black').attr('r', getConfig().state.sizeUnit).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit);\n};\n/**\n * Draws a start state as a black circle\n */\n\nexport var drawDivider = function drawDivider(g) {\n return g.append('line').style('stroke', 'grey').style('stroke-dasharray', '3').attr('x1', getConfig().state.textHeight).attr('class', 'divider').attr('x2', getConfig().state.textHeight * 2).attr('y1', 0).attr('y2', 0);\n};\n/**\n * Draws a an end state as a black circle\n */\n\nexport var drawSimpleState = function drawSimpleState(g, stateDef) {\n var state = g.append('text').attr('x', 2 * getConfig().state.padding).attr('y', getConfig().state.textHeight + 2 * getConfig().state.padding).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.id);\n var classBox = state.node().getBBox();\n g.insert('rect', ':first-child').attr('x', getConfig().state.padding).attr('y', getConfig().state.padding).attr('width', classBox.width + 2 * getConfig().state.padding).attr('height', classBox.height + 2 * getConfig().state.padding).attr('rx', getConfig().state.radius);\n return state;\n};\n/**\n * Draws a state with descriptions\n * @param {*} g\n * @param {*} stateDef\n */\n\nexport var drawDescrState = function drawDescrState(g, stateDef) {\n var addTspan = function addTspan(textEl, txt, isFirst) {\n var tSpan = textEl.append('tspan').attr('x', 2 * getConfig().state.padding).text(txt);\n\n if (!isFirst) {\n tSpan.attr('dy', getConfig().state.textHeight);\n }\n };\n\n var title = g.append('text').attr('x', 2 * getConfig().state.padding).attr('y', getConfig().state.textHeight + 1.3 * getConfig().state.padding).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.descriptions[0]);\n var titleBox = title.node().getBBox();\n var titleHeight = titleBox.height;\n var description = g.append('text') // text label for the x axis\n .attr('x', getConfig().state.padding).attr('y', titleHeight + getConfig().state.padding * 0.4 + getConfig().state.dividerMargin + getConfig().state.textHeight).attr('class', 'state-description');\n var isFirst = true;\n var isSecond = true;\n stateDef.descriptions.forEach(function (descr) {\n if (!isFirst) {\n addTspan(description, descr, isSecond);\n isSecond = false;\n }\n\n isFirst = false;\n });\n var descrLine = g.append('line') // text label for the x axis\n .attr('x1', getConfig().state.padding).attr('y1', getConfig().state.padding + titleHeight + getConfig().state.dividerMargin / 2).attr('y2', getConfig().state.padding + titleHeight + getConfig().state.dividerMargin / 2).attr('class', 'descr-divider');\n var descrBox = description.node().getBBox();\n var width = Math.max(descrBox.width, titleBox.width);\n descrLine.attr('x2', width + 3 * getConfig().state.padding); // const classBox = title.node().getBBox();\n\n g.insert('rect', ':first-child').attr('x', getConfig().state.padding).attr('y', getConfig().state.padding).attr('width', width + 2 * getConfig().state.padding).attr('height', descrBox.height + titleHeight + 2 * getConfig().state.padding).attr('rx', getConfig().state.radius);\n return g;\n};\n/**\n * Adds the creates a box around the existing content and adds a\n * panel for the id on top of the content.\n */\n\n/**\n * Function that creates an title row and a frame around a substate for a composit state diagram.\n * The function returns a new d3 svg object with updated width and height properties;\n * @param {*} g The d3 svg object for the substate to framed\n * @param {*} stateDef The info about the\n */\n\nexport var addTitleAndBox = function addTitleAndBox(g, stateDef, altBkg) {\n var pad = getConfig().state.padding;\n var dblPad = 2 * getConfig().state.padding;\n var orgBox = g.node().getBBox();\n var orgWidth = orgBox.width;\n var orgX = orgBox.x;\n var title = g.append('text').attr('x', 0).attr('y', getConfig().state.titleShift).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.id);\n var titleBox = title.node().getBBox();\n var titleWidth = titleBox.width + dblPad;\n var width = Math.max(titleWidth, orgWidth); // + dblPad;\n\n if (width === orgWidth) {\n width = width + dblPad;\n }\n\n var startX; // const lineY = 1 - getConfig().state.textHeight;\n // const descrLine = g\n // .append('line') // text label for the x axis\n // .attr('x1', 0)\n // .attr('y1', lineY)\n // .attr('y2', lineY)\n // .attr('class', 'descr-divider');\n\n var graphBox = g.node().getBBox(); // console.warn(width / 2, titleWidth / 2, getConfig().state.padding, orgBox);\n // descrLine.attr('x2', graphBox.width + getConfig().state.padding);\n\n if (stateDef.doc) {// cnsole.warn(\n // stateDef.id,\n // 'orgX: ',\n // orgX,\n // 'width: ',\n // width,\n // 'titleWidth: ',\n // titleWidth,\n // 'orgWidth: ',\n // orgWidth,\n // 'width',\n // width\n // );\n }\n\n startX = orgX - pad;\n\n if (titleWidth > orgWidth) {\n startX = (orgWidth - width) / 2 + pad;\n }\n\n if (Math.abs(orgX - graphBox.x) < pad) {\n if (titleWidth > orgWidth) {\n startX = orgX - (titleWidth - orgWidth) / 2;\n }\n }\n\n var lineY = 1 - getConfig().state.textHeight; // White color\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', lineY).attr('class', altBkg ? 'alt-composit' : 'composit').attr('width', width).attr('height', graphBox.height + getConfig().state.textHeight + getConfig().state.titleShift + 1).attr('rx', '0');\n title.attr('x', startX + pad);\n if (titleWidth <= orgWidth) title.attr('x', orgX + (width - dblPad) / 2 - titleWidth / 2 + pad); // Title background\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', getConfig().state.titleShift - getConfig().state.textHeight - getConfig().state.padding).attr('width', width) // Just needs to be higher then the descr line, will be clipped by the white color box\n .attr('height', getConfig().state.textHeight * 3).attr('rx', getConfig().state.radius); // Full background\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', getConfig().state.titleShift - getConfig().state.textHeight - getConfig().state.padding).attr('width', width).attr('height', graphBox.height + 3 + 2 * getConfig().state.textHeight).attr('rx', getConfig().state.radius);\n return g;\n};\n\nvar drawEndState = function drawEndState(g) {\n g.append('circle').style('stroke', 'black').style('fill', 'white').attr('r', getConfig().state.sizeUnit + getConfig().state.miniPadding).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit + getConfig().state.miniPadding).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit + getConfig().state.miniPadding);\n return g.append('circle').style('stroke', 'black').style('fill', 'black').attr('r', getConfig().state.sizeUnit).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit + 2).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit + 2);\n};\n\nvar drawForkJoinState = function drawForkJoinState(g, stateDef) {\n var width = getConfig().state.forkWidth;\n var height = getConfig().state.forkHeight;\n\n if (stateDef.parentId) {\n var tmp = width;\n width = height;\n height = tmp;\n }\n\n return g.append('rect').style('stroke', 'black').style('fill', 'black').attr('width', width).attr('height', height).attr('x', getConfig().state.padding).attr('y', getConfig().state.padding);\n};\n\nexport var drawText = function drawText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(common.lineBreakRegex, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.style('text-anchor', textData.anchor);\n textElem.attr('fill', textData.fill);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.attr('fill', textData.fill);\n span.text(nText);\n return textElem;\n};\n\nvar _drawLongText = function _drawLongText(_text, x, y, g) {\n var textHeight = 0;\n var textElem = g.append('text');\n textElem.style('text-anchor', 'start');\n textElem.attr('class', 'noteText');\n\n var text = _text.replace(/\\r\\n/g, '
');\n\n text = text.replace(/\\n/g, '
');\n var lines = text.split(common.lineBreakRegex);\n var tHeight = 1.25 * getConfig().state.noteMargin;\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = lines[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var _line = _step.value;\n\n var txt = _line.trim();\n\n if (txt.length > 0) {\n var span = textElem.append('tspan');\n span.text(txt);\n\n if (tHeight === 0) {\n var textBounds = span.node().getBBox();\n tHeight += textBounds.height;\n } // console.warn('textBounds', textBounds);\n\n\n textHeight += tHeight;\n span.attr('x', x + getConfig().state.noteMargin);\n span.attr('y', y + textHeight + 1.25 * getConfig().state.noteMargin);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return {\n textWidth: textElem.node().getBBox().width,\n textHeight: textHeight\n };\n};\n/**\n * Draws a note to the diagram\n * @param text - The text of the given note.\n * @param g - The element the note is attached to.\n */\n\n\nexport var drawNote = function drawNote(text, g) {\n g.attr('class', 'state-note');\n var note = g.append('rect').attr('x', 0).attr('y', getConfig().state.padding);\n var rectElem = g.append('g');\n\n var _drawLongText2 = _drawLongText(text, 0, 0, rectElem),\n textWidth = _drawLongText2.textWidth,\n textHeight = _drawLongText2.textHeight;\n\n note.attr('height', textHeight + 2 * getConfig().state.noteMargin);\n note.attr('width', textWidth + getConfig().state.noteMargin * 2);\n return note;\n};\n/**\n * Starting point for drawing a state. The function finds out the specifics\n * about the state and renders with approprtiate function.\n * @param {*} elem\n * @param {*} stateDef\n */\n\nexport var drawState = function drawState(elem, stateDef) {\n var id = stateDef.id;\n var stateInfo = {\n id: id,\n label: stateDef.id,\n width: 0,\n height: 0\n };\n var g = elem.append('g').attr('id', id).attr('class', 'stateGroup');\n if (stateDef.type === 'start') drawStartState(g);\n if (stateDef.type === 'end') drawEndState(g);\n if (stateDef.type === 'fork' || stateDef.type === 'join') drawForkJoinState(g, stateDef);\n if (stateDef.type === 'note') drawNote(stateDef.note.text, g);\n if (stateDef.type === 'divider') drawDivider(g);\n if (stateDef.type === 'default' && stateDef.descriptions.length === 0) drawSimpleState(g, stateDef);\n if (stateDef.type === 'default' && stateDef.descriptions.length > 0) drawDescrState(g, stateDef);\n var stateBox = g.node().getBBox();\n stateInfo.width = stateBox.width + 2 * getConfig().state.padding;\n stateInfo.height = stateBox.height + 2 * getConfig().state.padding;\n idCache.set(id, stateInfo); // stateCnt++;\n\n return stateInfo;\n};\nvar edgeCount = 0;\nexport var drawEdge = function drawEdge(elem, path, relation) {\n var getRelationType = function getRelationType(type) {\n switch (type) {\n case stateDb.relationType.AGGREGATION:\n return 'aggregation';\n\n case stateDb.relationType.EXTENSION:\n return 'extension';\n\n case stateDb.relationType.COMPOSITION:\n return 'composition';\n\n case stateDb.relationType.DEPENDENCY:\n return 'dependency';\n }\n };\n\n path.points = path.points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // The data for our line\n\n var lineData = path.points; // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis);\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', 'edge' + edgeCount).attr('class', 'transition');\n var url = '';\n\n if (getConfig().state.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n svgPath.attr('marker-end', 'url(' + url + '#' + getRelationType(stateDb.relationType.DEPENDENCY) + 'End' + ')');\n\n if (typeof relation.title !== 'undefined') {\n var label = elem.append('g').attr('class', 'stateLabel');\n\n var _utils$calcLabelPosit = utils.calcLabelPosition(path.points),\n x = _utils$calcLabelPosit.x,\n y = _utils$calcLabelPosit.y;\n\n var rows = common.getRows(relation.title); // console.warn(rows);\n\n var titleHeight = 0;\n var titleRows = [];\n var maxWidth = 0;\n var minX = 0;\n\n for (var i = 0; i <= rows.length; i++) {\n var title = label.append('text').attr('text-anchor', 'middle').text(rows[i]).attr('x', x).attr('y', y + titleHeight);\n var boundstmp = title.node().getBBox();\n maxWidth = Math.max(maxWidth, boundstmp.width);\n minX = Math.min(minX, boundstmp.x);\n logger.info(boundstmp.x, x, y + titleHeight);\n\n if (titleHeight === 0) {\n var titleBox = title.node().getBBox();\n titleHeight = titleBox.height;\n logger.info('Title height', titleHeight, y);\n }\n\n titleRows.push(title);\n }\n\n var boxHeight = titleHeight * rows.length;\n\n if (rows.length > 1) {\n var heightAdj = (rows.length - 1) * titleHeight * 0.5;\n titleRows.forEach(function (title, i) {\n return title.attr('y', y + i * titleHeight - heightAdj);\n });\n boxHeight = titleHeight * rows.length;\n }\n\n var bounds = label.node().getBBox();\n label.insert('rect', ':first-child').attr('class', 'box').attr('x', x - maxWidth / 2 - getConfig().state.padding / 2).attr('y', y - boxHeight / 2 - getConfig().state.padding / 2 - 3.5).attr('width', maxWidth + getConfig().state.padding).attr('height', boxHeight + getConfig().state.padding);\n logger.info(bounds); //label.attr('transform', '0 -' + (bounds.y / 2));\n // Debug points\n // path.points.forEach(point => {\n // g.append('circle')\n // .style('stroke', 'red')\n // .style('fill', 'red')\n // .attr('r', 1)\n // .attr('cx', point.x)\n // .attr('cy', point.y);\n // });\n // g.append('circle')\n // .style('stroke', 'blue')\n // .style('fill', 'blue')\n // .attr('r', 1)\n // .attr('cx', x)\n // .attr('cy', y);\n }\n\n edgeCount++;\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erMarkers.js", "name": "./src/diagrams/er/erMarkers.js", "index": 82, "index2": 79, "size": 3422, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/er/erRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "name": "./src/diagrams/er/erRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1517, "building": 508 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./erMarkers", "loc": "8:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "133:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "137:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "141:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "145:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "151:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "155:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "159:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "163:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "202:2-11" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 3, "source": "var ERMarkers = {\n ONLY_ONE_START: 'ONLY_ONE_START',\n ONLY_ONE_END: 'ONLY_ONE_END',\n ZERO_OR_ONE_START: 'ZERO_OR_ONE_START',\n ZERO_OR_ONE_END: 'ZERO_OR_ONE_END',\n ONE_OR_MORE_START: 'ONE_OR_MORE_START',\n ONE_OR_MORE_END: 'ONE_OR_MORE_END',\n ZERO_OR_MORE_START: 'ZERO_OR_MORE_START',\n ZERO_OR_MORE_END: 'ZERO_OR_MORE_END'\n};\n/**\n * Put the markers into the svg DOM for later use with edge paths\n */\n\nvar insertMarkers = function insertMarkers(elem, conf) {\n var marker;\n elem.append('defs').append('marker').attr('id', ERMarkers.ONLY_ONE_START).attr('refX', 0).attr('refY', 9).attr('markerWidth', 18).attr('markerHeight', 18).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M9,0 L9,18 M15,0 L15,18');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONLY_ONE_END).attr('refX', 18).attr('refY', 9).attr('markerWidth', 18).attr('markerHeight', 18).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M3,0 L3,18 M9,0 L9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_ONE_START).attr('refX', 0).attr('refY', 9).attr('markerWidth', 30).attr('markerHeight', 18).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 21).attr('cy', 9).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M9,0 L9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_ONE_END).attr('refX', 30).attr('refY', 9).attr('markerWidth', 30).attr('markerHeight', 18).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 9).attr('cy', 9).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M21,0 L21,18');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONE_OR_MORE_START).attr('refX', 18).attr('refY', 18).attr('markerWidth', 45).attr('markerHeight', 36).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONE_OR_MORE_END).attr('refX', 27).attr('refY', 18).attr('markerWidth', 45).attr('markerHeight', 36).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_MORE_START).attr('refX', 18).attr('refY', 18).attr('markerWidth', 57).attr('markerHeight', 36).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 48).attr('cy', 18).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M0,18 Q18,0 36,18 Q18,36 0,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_MORE_END).attr('refX', 39).attr('refY', 18).attr('markerWidth', 57).attr('markerHeight', 36).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 9).attr('cy', 18).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M21,18 Q39,0 57,18 Q39,36 21,18');\n return;\n};\n\nexport default {\n ERMarkers: ERMarkers,\n insertMarkers: insertMarkers\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/svgDraw.js", "name": "./src/diagrams/user-journey/svgDraw.js", "index": 84, "index2": 81, "size": 9389, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/user-journey/journeyRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "name": "./src/diagrams/user-journey/journeyRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1472, "building": 637, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "57:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "64:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "76:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "227:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "249:4-11" } ], "usedExports": [ "default" ], "providedExports": [ "drawRect", "drawFace", "drawCircle", "drawText", "drawLabel", "drawSection", "drawTask", "drawBackgroundRect", "getTextObj", "getNoteRect", "default" ], "optimizationBailout": [], "depth": 3, "source": "import { arc as d3arc } from 'd3';\nexport var drawRect = function drawRect(elem, rectData) {\n var rectElem = elem.append('rect');\n rectElem.attr('x', rectData.x);\n rectElem.attr('y', rectData.y);\n rectElem.attr('fill', rectData.fill);\n rectElem.attr('stroke', rectData.stroke);\n rectElem.attr('width', rectData.width);\n rectElem.attr('height', rectData.height);\n rectElem.attr('rx', rectData.rx);\n rectElem.attr('ry', rectData.ry);\n\n if (typeof rectData.class !== 'undefined') {\n rectElem.attr('class', rectData.class);\n }\n\n return rectElem;\n};\nexport var drawFace = function drawFace(element, faceData) {\n var radius = 15;\n var circleElement = element.append('circle').attr('cx', faceData.cx).attr('cy', faceData.cy).attr('fill', '#FFF8DC').attr('stroke', '#999').attr('r', radius).attr('stroke-width', 2).attr('overflow', 'visible');\n var face = element.append('g'); //left eye\n\n face.append('circle').attr('cx', faceData.cx - radius / 3).attr('cy', faceData.cy - radius / 3).attr('r', 1.5).attr('stroke-width', 2).attr('fill', '#666').attr('stroke', '#666'); //right eye\n\n face.append('circle').attr('cx', faceData.cx + radius / 3).attr('cy', faceData.cy - radius / 3).attr('r', 1.5).attr('stroke-width', 2).attr('fill', '#666').attr('stroke', '#666');\n\n function smile(face) {\n var arc = d3arc().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2); //mouth\n\n face.append('path').attr('d', arc).attr('transform', 'translate(' + faceData.cx + ',' + (faceData.cy + 2) + ')');\n }\n\n function sad(face) {\n var arc = d3arc().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2); //mouth\n\n face.append('path').attr('d', arc).attr('transform', 'translate(' + faceData.cx + ',' + (faceData.cy + 7) + ')');\n }\n\n function ambivalent(face) {\n face.append('line').attr('stroke', 2).attr('x1', faceData.cx - 5).attr('y1', faceData.cy + 7).attr('x2', faceData.cx + 5).attr('y2', faceData.cy + 7).attr('class', 'task-line').attr('stroke-width', '1px').attr('stroke', '#666');\n }\n\n if (faceData.score > 3) {\n smile(face);\n } else if (faceData.score < 3) {\n sad(face);\n } else {\n ambivalent(face);\n }\n\n return circleElement;\n};\nexport var drawCircle = function drawCircle(element, circleData) {\n var circleElement = element.append('circle');\n circleElement.attr('cx', circleData.cx);\n circleElement.attr('cy', circleData.cy);\n circleElement.attr('fill', circleData.fill);\n circleElement.attr('stroke', circleData.stroke);\n circleElement.attr('r', circleData.r);\n\n if (typeof circleElement.class !== 'undefined') {\n circleElement.attr('class', circleElement.class);\n }\n\n if (typeof circleData.title !== 'undefined') {\n circleElement.append('title').text(circleData.title);\n }\n\n return circleElement;\n};\nexport var drawText = function drawText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(//gi, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.attr('fill', textData.fill);\n textElem.style('text-anchor', textData.anchor);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.text(nText);\n return textElem;\n};\nexport var drawLabel = function drawLabel(elem, txtObject) {\n function genPoints(x, y, width, height, cut) {\n return x + ',' + y + ' ' + (x + width) + ',' + y + ' ' + (x + width) + ',' + (y + height - cut) + ' ' + (x + width - cut * 1.2) + ',' + (y + height) + ' ' + x + ',' + (y + height);\n }\n\n var polygon = elem.append('polygon');\n polygon.attr('points', genPoints(txtObject.x, txtObject.y, 50, 20, 7));\n polygon.attr('class', 'labelBox');\n txtObject.y = txtObject.y + txtObject.labelMargin;\n txtObject.x = txtObject.x + 0.5 * txtObject.labelMargin;\n drawText(elem, txtObject);\n};\nexport var drawSection = function drawSection(elem, section, conf) {\n var g = elem.append('g');\n var rect = getNoteRect();\n rect.x = section.x;\n rect.y = section.y;\n rect.fill = section.fill;\n rect.width = conf.width;\n rect.height = conf.height;\n rect.class = 'journey-section';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n\n _drawTextCandidateFunc(conf)(section.text, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'journey-section'\n }, conf, section.colour);\n};\nvar taskCount = -1;\n/**\n * Draws an actor in the diagram with the attaced line\n * @param elem The HTML element\n * @param task The task to render\n * @param conf The global configuration\n */\n\nexport var drawTask = function drawTask(elem, task, conf) {\n var center = task.x + conf.width / 2;\n var g = elem.append('g');\n taskCount++;\n var maxHeight = 300 + 5 * 30;\n g.append('line').attr('id', 'task' + taskCount).attr('x1', center).attr('y1', task.y).attr('x2', center).attr('y2', maxHeight).attr('class', 'task-line').attr('stroke-width', '1px').attr('stroke-dasharray', '4 2').attr('stroke', '#666');\n drawFace(g, {\n cx: center,\n cy: 300 + (5 - task.score) * 30,\n score: task.score\n });\n var rect = getNoteRect();\n rect.x = task.x;\n rect.y = task.y;\n rect.fill = task.fill;\n rect.width = conf.width;\n rect.height = conf.height;\n rect.class = 'task';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n var xPos = task.x + 14;\n task.people.forEach(function (person) {\n var colour = task.actors[person];\n var circle = {\n cx: xPos,\n cy: task.y,\n r: 7,\n fill: colour,\n stroke: '#000',\n title: person\n };\n drawCircle(g, circle);\n xPos += 10;\n });\n\n _drawTextCandidateFunc(conf)(task.task, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'task'\n }, conf, task.colour);\n};\n/**\n * Draws a background rectangle\n * @param elem The html element\n * @param bounds The bounds of the drawing\n */\n\nexport var drawBackgroundRect = function drawBackgroundRect(elem, bounds) {\n var rectElem = drawRect(elem, {\n x: bounds.startx,\n y: bounds.starty,\n width: bounds.stopx - bounds.startx,\n height: bounds.stopy - bounds.starty,\n fill: bounds.fill,\n class: 'rect'\n });\n rectElem.lower();\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n 'text-anchor': 'start',\n width: 100,\n height: 100,\n textMargin: 0,\n rx: 0,\n ry: 0\n };\n};\nexport var getNoteRect = function getNoteRect() {\n return {\n x: 0,\n y: 0,\n width: 100,\n anchor: 'start',\n height: 100,\n rx: 0,\n ry: 0\n };\n};\n\nvar _drawTextCandidateFunc = function () {\n function byText(content, g, x, y, width, height, textAttrs, colour) {\n var text = g.append('text').attr('x', x + width / 2).attr('y', y + height / 2 + 5).style('font-color', colour).style('text-anchor', 'middle').text(content);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function byTspan(content, g, x, y, width, height, textAttrs, conf, colour) {\n var taskFontSize = conf.taskFontSize,\n taskFontFamily = conf.taskFontFamily;\n var lines = content.split(//gi);\n\n for (var i = 0; i < lines.length; i++) {\n var dy = i * taskFontSize - taskFontSize * (lines.length - 1) / 2;\n var text = g.append('text').attr('x', x + width / 2).attr('y', y).attr('fill', colour).style('text-anchor', 'middle').style('font-size', taskFontSize).style('font-family', taskFontFamily);\n text.append('tspan').attr('x', x + width / 2).attr('dy', dy).text(lines[i]);\n text.attr('y', y + height / 2.0).attr('dominant-baseline', 'central').attr('alignment-baseline', 'central');\n\n _setTextAttrs(text, textAttrs);\n }\n }\n\n function byFo(content, g, x, y, width, height, textAttrs, conf, colour) {\n var body = g.append('switch');\n var f = body.append('foreignObject').attr('x', x).attr('y', y).attr('width', width).attr('height', height).attr('position', 'fixed');\n var text = f.append('div').style('display', 'table').style('height', '100%').style('width', '100%');\n text.append('div').style('display', 'table-cell').style('text-align', 'center').style('vertical-align', 'middle').style('color', colour).text(content);\n byTspan(content, body, x, y, width, height, textAttrs, conf);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function _setTextAttrs(toText, fromTextAttrsDict) {\n for (var key in fromTextAttrsDict) {\n if (key in fromTextAttrsDict) {\n // eslint-disable-line\n // noinspection JSUnfilteredForInLoop\n toText.attr(key, fromTextAttrsDict[key]);\n }\n }\n }\n\n return function (conf) {\n return conf.textPlacement === 'fo' ? byFo : conf.textPlacement === 'old' ? byText : byTspan;\n };\n}();\n\nvar initGraphics = function initGraphics(graphics) {\n graphics.append('defs').append('marker').attr('id', 'arrowhead').attr('refX', 5).attr('refY', 2).attr('markerWidth', 6).attr('markerHeight', 4).attr('orient', 'auto').append('path').attr('d', 'M 0,0 V 4 L6,2 Z'); // this is actual shape for arrowhead\n};\n\nexport default {\n drawRect: drawRect,\n drawCircle: drawCircle,\n drawSection: drawSection,\n drawText: drawText,\n drawLabel: drawLabel,\n drawTask: drawTask,\n drawBackgroundRect: drawBackgroundRect,\n getTextObj: getTextObj,\n getNoteRect: getNoteRect,\n initGraphics: initGraphics\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "name": "./src/dagre-wrapper/markers.js", "index": 68, "index2": 64, "size": 6123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./markers", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./markers", "loc": "125:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\nimport { logger } from '../logger'; // Only add the number of markers that the diagram needs\n\nvar insertMarkers = function insertMarkers(elem, markerArray, type, id) {\n markerArray.forEach(function (markerName) {\n markers[markerName](elem, type, id);\n });\n};\n\nvar extension = function extension(elem, type, id) {\n logger.trace('Making markers for ', id);\n elem.append('defs').append('marker').attr('id', type + '-extensionStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 1,7 L18,13 V 1 Z');\n elem.append('defs').append('marker').attr('id', type + '-extensionEnd ' + type).attr('class', 'marker extension ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 1,1 V 13 L18,7 Z'); // this is actual shape for arrowhead\n};\n\nvar composition = function composition(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-compositionStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-compositionEnd').attr('class', 'marker extension ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n};\n\nvar aggregation = function aggregation(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-aggregationStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-aggregationEnd').attr('class', 'marker ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n};\n\nvar dependency = function dependency(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-dependencyStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 5,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-dependencyEnd').attr('class', 'marker ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L14,7 L9,1 Z');\n};\n\nvar point = function point(elem, type) {\n elem.append('marker').attr('id', type + '-pointEnd').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 12).attr('markerHeight', 12).attr('orient', 'auto').append('path').attr('d', 'M 0 0 L 10 5 L 0 10 z').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-pointStart').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 0).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 12).attr('markerHeight', 12).attr('orient', 'auto').append('path').attr('d', 'M 0 5 L 10 10 L 10 0 z').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n};\n\nvar circle = function circle(elem, type) {\n elem.append('marker').attr('id', type + '-circleEnd').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 11).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('circle').attr('cx', '5').attr('cy', '5').attr('r', '5').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-circleStart').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', -1).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('circle').attr('cx', '5').attr('cy', '5').attr('r', '5').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n};\n\nvar cross = function cross(elem, type) {\n elem.append('marker').attr('id', type + '-crossEnd').attr('class', 'marker cross ' + type).attr('viewBox', '0 0 11 11').attr('refX', 12).attr('refY', 5.2).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('path') // .attr('stroke', 'black')\n .attr('d', 'M 1,1 l 9,9 M 10,1 l -9,9').attr('class', 'arrowMarkerPath').style('stroke-width', 2).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-crossStart').attr('class', 'marker cross ' + type).attr('viewBox', '0 0 11 11').attr('refX', -1).attr('refY', 5.2).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('path') // .attr('stroke', 'black')\n .attr('d', 'M 1,1 l 9,9 M 10,1 l -9,9').attr('class', 'arrowMarkerPath').style('stroke-width', 2).style('stroke-dasharray', '1,0');\n};\n\nvar barb = function barb(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-barbEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 14).attr('markerUnits', 0).attr('orient', 'auto').append('path').attr('d', 'M 19,7 L9,13 L14,7 L9,1 Z');\n}; // TODO rename the class diagram markers to something shape descriptive and semanitc free\n\n\nvar markers = {\n extension: extension,\n composition: composition,\n aggregation: aggregation,\n dependency: dependency,\n point: point,\n circle: circle,\n cross: cross,\n barb: barb\n};\nexport default insertMarkers;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "name": "./src/dagre-wrapper/shapes/util.js", "index": 54, "index2": 51, "size": 1604, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "./util", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/util", "loc": "4:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/util", "loc": "5:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "./util", "loc": "7:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "11:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "./util", "loc": "16:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "32:21-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "33:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "44:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "53:6-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "71:12-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "72:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "82:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "104:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "105:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "115:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "134:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "135:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "145:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "164:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "165:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "175:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "194:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "195:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "205:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "224:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "225:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "235:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "257:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "258:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "268:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "278:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "301:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "310:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "380:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "390:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "398:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "408:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "417:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "428:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "465:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "466:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "480:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "500:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "517:2-18" } ], "usedExports": [ "updateNodeBounds", "labelHelper", "insertPolygonShape" ], "providedExports": [ "labelHelper", "updateNodeBounds", "insertPolygonShape" ], "optimizationBailout": [], "depth": 4, "source": "import createLabel from '../createLabel';\nimport { getConfig } from '../../config';\nimport { select } from 'd3';\nexport var labelHelper = function labelHelper(parent, node, _classes, isNode) {\n var classes;\n\n if (!_classes) {\n classes = 'node default';\n } else {\n classes = _classes;\n } // Add outer g element\n\n\n var shapeSvg = parent.insert('g').attr('class', classes).attr('id', node.id); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'label');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, false, isNode)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n var halfPadding = node.padding / 2; // Center the label\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + -bbox.height / 2 + ')');\n return {\n shapeSvg: shapeSvg,\n bbox: bbox,\n halfPadding: halfPadding,\n label: label\n };\n};\nexport var updateNodeBounds = function updateNodeBounds(node, element) {\n var bbox = element.node().getBBox();\n node.width = bbox.width;\n node.height = bbox.height;\n};\nexport function insertPolygonShape(parent, w, h, points) {\n return parent.insert('polygon', ':first-child').attr('points', points.map(function (d) {\n return d.x + ',' + d.y;\n }).join(' ')).attr('class', 'label-container').attr('transform', 'translate(' + -w / 2 + ',' + h / 2 + ')');\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "name": "./src/dagre-wrapper/mermaid-graphlib.js", "index": 65, "index2": 61, "size": 11877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./mermaid-graphlib", "loc": "5:0-116" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "61:18-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "62:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "63:14-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:21-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:68-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:84-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "108:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "118:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "129:2-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "131:2-24" } ], "usedExports": [ "findNonClusterChild", "clusterDb", "clear", "adjustClustersAndEdges" ], "providedExports": [ "clusterDb", "clear", "extractDecendants", "validate", "findNonClusterChild", "adjustClustersAndEdges", "extractor" ], "optimizationBailout": [], "depth": 4, "source": "/**\n * Decorates with functions required by mermaids dagre-wrapper.\n */\nimport { logger as log } from '../logger';\nimport graphlib from 'graphlib';\nexport var clusterDb = {};\nvar decendants = {};\nvar parents = {};\nexport var clear = function clear() {\n decendants = {};\n parents = {};\n clusterDb = {};\n};\n\nvar isDecendant = function isDecendant(id, ancenstorId) {\n // if (id === ancenstorId) return true;\n log.debug('In isDecendant', ancenstorId, ' ', id, ' = ', decendants[ancenstorId].indexOf(id) >= 0);\n if (decendants[ancenstorId].indexOf(id) >= 0) return true;\n return false;\n};\n\nvar edgeInCluster = function edgeInCluster(edge, clusterId) {\n log.info('Decendants of ', clusterId, ' is ', decendants[clusterId]);\n log.info('Edge is ', edge); // Edges to/from the cluster is not in the cluster, they are in the parent\n\n if (edge.v === clusterId) return false;\n if (edge.w === clusterId) return false;\n\n if (!decendants[clusterId]) {\n log.debug('Tilt, ', clusterId, ',not in decendants');\n return false;\n }\n\n log.info('Here ');\n if (decendants[clusterId].indexOf(edge.v) >= 0) return true;\n if (isDecendant(edge.v, clusterId)) return true;\n if (isDecendant(edge.w, clusterId)) return true;\n if (decendants[clusterId].indexOf(edge.w) >= 0) return true;\n return false;\n};\n\nvar copy = function copy(clusterId, graph, newGraph, rootId) {\n log.info('Copying children of ', clusterId, 'root', rootId, 'data', graph.node(clusterId), rootId);\n var nodes = graph.children(clusterId) || []; // Include cluster node if it is not the root\n\n if (clusterId !== rootId) {\n nodes.push(clusterId);\n }\n\n log.debug('Copying (nodes) clusterId', clusterId, 'nodes', nodes);\n nodes.forEach(function (node) {\n if (graph.children(node).length > 0) {\n copy(node, graph, newGraph, rootId);\n } else {\n var data = graph.node(node);\n log.info('cp ', node, ' to ', rootId, ' with parent ', clusterId); //,node, data, ' parent is ', clusterId);\n\n newGraph.setNode(node, data);\n log.debug('Setting parent', node, graph.parent(node));\n\n if (rootId !== graph.parent(node)) {\n newGraph.setParent(node, graph.parent(node));\n }\n\n if (clusterId !== rootId && node !== clusterId) {\n log.debug('Setting parent', node, clusterId);\n newGraph.setParent(node, clusterId);\n } else {\n log.info('In copy ', clusterId, 'root', rootId, 'data', graph.node(clusterId), rootId);\n log.debug('Not Setting parent for node=', node, 'cluster!==rootId', clusterId !== rootId, 'node!==clusterId', node !== clusterId);\n }\n\n var edges = graph.edges(node);\n log.debug('Copying Edges', edges);\n edges.forEach(function (edge) {\n log.info('Edge', edge);\n var data = graph.edge(edge.v, edge.w, edge.name);\n log.info('Edge data', data, rootId);\n\n try {\n // Do not copy edges in and out of the root cluster, they belong to the parent graph\n if (edgeInCluster(edge, rootId)) {\n log.info('Copying as ', edge.v, edge.w, data, edge.name);\n newGraph.setEdge(edge.v, edge.w, data, edge.name);\n log.info('newGraph edges ', newGraph.edges(), newGraph.edge(newGraph.edges()[0]));\n } else {\n log.info('Skipping copy of edge ', edge.v, '-->', edge.w, ' rootId: ', rootId, ' clusterId:', clusterId);\n }\n } catch (e) {\n log.error(e);\n }\n });\n }\n\n log.debug('Removing node', node);\n graph.removeNode(node);\n });\n};\n\nexport var extractDecendants = function extractDecendants(id, graph) {\n // log.debug('Extracting ', id);\n var children = graph.children(id);\n var res = [].concat(children);\n\n for (var i = 0; i < children.length; i++) {\n parents[children[i]] = id;\n res = res.concat(extractDecendants(children[i], graph));\n }\n\n return res;\n};\n/**\n * Validates the graph, checking that all parent child relation points to existing nodes and that\n * edges between nodes also ia correct. When not correct the function logs the discrepancies.\n * @param {graphlib graph} g\n */\n\nexport var validate = function validate(graph) {\n var edges = graph.edges();\n log.trace('Edges: ', edges);\n\n for (var i = 0; i < edges.length; i++) {\n if (graph.children(edges[i].v).length > 0) {\n log.trace('The node ', edges[i].v, ' is part of and edge even though it has children');\n return false;\n }\n\n if (graph.children(edges[i].w).length > 0) {\n log.trace('The node ', edges[i].w, ' is part of and edge even though it has children');\n return false;\n }\n }\n\n return true;\n};\n/**\n * Finds a child that is not a cluster. When faking a edge between a node and a cluster.\n * @param {Finds a } id\n * @param {*} graph\n */\n\nexport var findNonClusterChild = function findNonClusterChild(id, graph) {\n // const node = graph.node(id);\n log.trace('Searching', id); // const children = graph.children(id).reverse();\n\n var children = graph.children(id); //.reverse();\n\n log.trace('Searching children of id ', id, children);\n\n if (children.length < 1) {\n log.trace('This is a valid node', id);\n return id;\n }\n\n for (var i = 0; i < children.length; i++) {\n var _id = findNonClusterChild(children[i], graph);\n\n if (_id) {\n log.trace('Found replacement for', id, ' => ', _id);\n return _id;\n }\n }\n};\n\nvar getAnchorId = function getAnchorId(id) {\n if (!clusterDb[id]) {\n return id;\n } // If the cluster has no external connections\n\n\n if (!clusterDb[id].externalConnections) {\n return id;\n } // Return the replacement node\n\n\n if (clusterDb[id]) {\n return clusterDb[id].id;\n }\n\n return id;\n};\n\nexport var adjustClustersAndEdges = function adjustClustersAndEdges(graph, depth) {\n if (!graph || depth > 10) {\n log.debug('Opting out, no graph ');\n return;\n } else {\n log.debug('Opting in, graph ');\n } // Go through the nodes and for each cluster found, save a replacment node, this can be used when\n // faking a link to a cluster\n\n\n graph.nodes().forEach(function (id) {\n var children = graph.children(id);\n\n if (children.length > 0) {\n log.warn('Cluster identified', id, ' Replacement id in edges: ', findNonClusterChild(id, graph));\n decendants[id] = extractDecendants(id, graph);\n clusterDb[id] = {\n id: findNonClusterChild(id, graph),\n clusterData: graph.node(id)\n };\n }\n }); // Check incoming and outgoing edges for each cluster\n\n graph.nodes().forEach(function (id) {\n var children = graph.children(id);\n var edges = graph.edges();\n\n if (children.length > 0) {\n log.debug('Cluster identified', id, decendants);\n edges.forEach(function (edge) {\n // log.debug('Edge, decendants: ', edge, decendants[id]);\n // Check if any edge leaves the cluster (not the actual cluster, thats a link from the box)\n if (edge.v !== id && edge.w !== id) {\n // Any edge where either the one of the nodes is decending to the cluster but not the other\n // if (decendants[id].indexOf(edge.v) < 0 && decendants[id].indexOf(edge.w) < 0) {\n var d1 = isDecendant(edge.v, id);\n var d2 = isDecendant(edge.w, id); // d1 xor d2 - if either d1 is true and d2 is false or the other way around\n\n if (d1 ^ d2) {\n log.debug('Edge: ', edge, ' leaves cluster ', id);\n log.debug('Decendants of ', id, ': ', decendants[id]);\n clusterDb[id].externalConnections = true;\n }\n }\n });\n }\n });\n extractor(graph, 0); // For clusters with incoming and/or outgoing edges translate those edges to a real node\n // in the cluster inorder to fake the edge\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e);\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(graph.edge(e)));\n var v = e.v;\n var w = e.w; // Check if link is either from or to a cluster\n\n log.trace('Fix', clusterDb, 'ids:', e.v, e.w, 'Translateing: ', clusterDb[e.v], clusterDb[e.w]);\n\n if (clusterDb[e.v] || clusterDb[e.w]) {\n log.warn('Fixing and trixing - removing', e.v, e.w, e.name);\n v = getAnchorId(e.v);\n w = getAnchorId(e.w);\n graph.removeEdge(e.v, e.w, e.name);\n if (v !== e.v) edge.fromCluster = e.v;\n if (w !== e.w) edge.toCluster = e.w;\n log.warn('Replacing with', v, w, e.name);\n graph.setEdge(v, w, edge, e.name);\n }\n });\n log.warn('Adjusted Graph', graphlib.json.write(graph));\n log.trace(clusterDb); // Remove references to extracted cluster\n // graph.edges().forEach(edge => {\n // if (isDecendant(edge.v, clusterId) || isDecendant(edge.w, clusterId)) {\n // graph.removeEdge(edge);\n // }\n // });\n};\nexport var extractor = function extractor(graph, depth) {\n log.debug('extractor - ', depth, graphlib.json.write(graph), graph.children('D'));\n\n if (depth > 10) {\n log.error('Bailing out');\n return;\n } // For clusters without incoming and/or outgoing edges, create a new cluster-node\n // containing the nodes and edges in the custer in a new graph\n // for (let i = 0;)\n\n\n var nodes = graph.nodes();\n var hasChildren = false;\n\n for (var i = 0; i < nodes.length; i++) {\n var node = nodes[i];\n var children = graph.children(node);\n hasChildren = hasChildren || children.length > 0;\n }\n\n if (!hasChildren) {\n log.debug('Done, no node has children', graph.nodes());\n return;\n } // const clusters = Object.keys(clusterDb);\n // clusters.forEach(clusterId => {\n\n\n log.debug('Nodes = ', nodes, depth);\n\n for (var _i = 0; _i < nodes.length; _i++) {\n var _node = nodes[_i];\n log.debug('Extracting node', _node, clusterDb, clusterDb[_node] && !clusterDb[_node].externalConnections, !graph.parent(_node), graph.node(_node), graph.children('D'), ' Depth ', depth); // Note that the node might have been removed after the Object.keys call so better check\n // that it still is in the game\n\n if (!clusterDb[_node]) {\n // Skip if the node is not a cluster\n log.debug('Not a cluster', _node, depth); // break;\n } else if (!clusterDb[_node].externalConnections && !graph.parent(_node) && graph.children(_node) && graph.children(_node).length > 0) {\n log.debug('Cluster without external connections, without a parent and with children', _node, depth);\n var graphSettings = graph.graph();\n var clusterGraph = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: graphSettings.rankdir === 'TB' ? 'LR' : 'TB',\n // Todo: set proper spacing\n nodesep: 50,\n ranksep: 50,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n log.debug('Old graph before copy', graphlib.json.write(graph));\n copy(_node, graph, clusterGraph, _node);\n graph.setNode(_node, {\n clusterNode: true,\n id: _node,\n clusterData: clusterDb[_node].clusterData,\n labelText: clusterDb[_node].labelText,\n graph: clusterGraph\n });\n log.debug('New graph after copy', graphlib.json.write(clusterGraph));\n log.debug('Old graph after copy', graphlib.json.write(graph));\n } else {\n log.debug('Cluster ** ', _node, ' **not meeting the criteria !externalConnections:', !clusterDb[_node].externalConnections, ' no parent: ', !graph.parent(_node), ' children ', graph.children(_node) && graph.children(_node).length > 0, graph.children('D'), depth);\n log.debug(clusterDb);\n }\n }\n\n nodes = graph.nodes();\n log.debug('New list of nodes', nodes);\n\n for (var _i2 = 0; _i2 < nodes.length; _i2++) {\n var _node2 = nodes[_i2];\n var data = graph.node(_node2);\n log.debug(' Now next leveö', _node2, data);\n\n if (data.clusterNode) {\n extractor(data.graph, depth + 1);\n }\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "index": 56, "index2": 60, "size": 15504, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./nodes", "loc": "6:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "54:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "68:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "101:6-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "110:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "126:2-12" } ], "usedExports": [ "setNodeElem", "insertNode", "positionNode", "clear" ], "providedExports": [ "insertNode", "setNodeElem", "clear", "positionNode" ], "optimizationBailout": [], "depth": 4, "source": "import intersect from './intersect/index.js';\nimport { select } from 'd3';\nimport { logger } from '../logger'; // eslint-disable-line\n\nimport { labelHelper, updateNodeBounds, insertPolygonShape } from './shapes/util';\nimport { getConfig } from '../config';\nimport createLabel from './createLabel';\nimport note from './shapes/note';\n\nvar question = function question(parent, node) {\n var _labelHelper = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper.shapeSvg,\n bbox = _labelHelper.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var s = w + h;\n var points = [{\n x: s / 2,\n y: 0\n }, {\n x: s,\n y: -s / 2\n }, {\n x: s / 2,\n y: -s\n }, {\n x: 0,\n y: -s / 2\n }];\n logger.info('Question main (Circle)');\n var questionElem = insertPolygonShape(shapeSvg, s, s, points);\n updateNodeBounds(node, questionElem);\n\n node.intersect = function (point) {\n logger.warn('Intersect called');\n return intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n};\n\nvar hexagon = function hexagon(parent, node) {\n var _labelHelper2 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper2.shapeSvg,\n bbox = _labelHelper2.bbox;\n\n var f = 4;\n var h = bbox.height + node.padding;\n var m = h / f;\n var w = bbox.width + 2 * m + node.padding;\n var points = [{\n x: m,\n y: 0\n }, {\n x: w - m,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w - m,\n y: -h\n }, {\n x: m,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var hex = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, hex);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rect_left_inv_arrow = function rect_left_inv_arrow(parent, node) {\n var _labelHelper3 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper3.shapeSvg,\n bbox = _labelHelper3.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -h / 2,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: -h / 2,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar lean_right = function lean_right(parent, node) {\n var _labelHelper4 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper4.shapeSvg,\n bbox = _labelHelper4.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar lean_left = function lean_left(parent, node) {\n var _labelHelper5 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper5.shapeSvg,\n bbox = _labelHelper5.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 2 * h / 6,\n y: 0\n }, {\n x: w + h / 6,\n y: 0\n }, {\n x: w - 2 * h / 6,\n y: -h\n }, {\n x: -h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar trapezoid = function trapezoid(parent, node) {\n var _labelHelper6 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper6.shapeSvg,\n bbox = _labelHelper6.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar inv_trapezoid = function inv_trapezoid(parent, node) {\n var _labelHelper7 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper7.shapeSvg,\n bbox = _labelHelper7.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: -2 * h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rect_right_inv_arrow = function rect_right_inv_arrow(parent, node) {\n var _labelHelper8 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper8.shapeSvg,\n bbox = _labelHelper8.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w + h / 2,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w + h / 2,\n y: -h\n }, {\n x: 0,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar cylinder = function cylinder(parent, node) {\n var _labelHelper9 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper9.shapeSvg,\n bbox = _labelHelper9.bbox;\n\n var w = bbox.width + node.padding;\n var rx = w / 2;\n var ry = rx / (2.5 + w / 50);\n var h = bbox.height + ry + node.padding;\n var shape = 'M 0,' + ry + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 a ' + rx + ',' + ry + ' 0,0,0 ' + -w + ' 0 l 0,' + h + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 l 0,' + -h;\n var el = shapeSvg.attr('label-offset-y', ry).insert('path', ':first-child').attr('d', shape).attr('transform', 'translate(' + -w / 2 + ',' + -(h / 2 + ry) + ')');\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n var pos = intersect.rect(node, point);\n var x = pos.x - node.x;\n\n if (rx != 0 && (Math.abs(x) < node.width / 2 || Math.abs(x) == node.width / 2 && Math.abs(pos.y - node.y) > node.height / 2 - ry)) {\n // ellipsis equation: x*x / a*a + y*y / b*b = 1\n // solve for y to get adjustion value for pos.y\n var y = ry * ry * (1 - x * x / (rx * rx));\n if (y != 0) y = Math.sqrt(y);\n y = ry - y;\n if (point.y - node.y > 0) y = -y;\n pos.y += y;\n }\n\n return pos;\n };\n\n return shapeSvg;\n};\n\nvar rect = function rect(parent, node) {\n var _labelHelper10 = labelHelper(parent, node, 'node ' + node.classes, true),\n shapeSvg = _labelHelper10.shapeSvg,\n bbox = _labelHelper10.bbox,\n halfPadding = _labelHelper10.halfPadding;\n\n logger.trace('Classes = ', node.classes); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n rect.attr('class', 'basic label-container').attr('rx', node.rx).attr('ry', node.ry).attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rectWithTitle = function rectWithTitle(parent, node) {\n // const { shapeSvg, bbox, halfPadding } = labelHelper(parent, node, 'node ' + node.classes);\n var classes;\n\n if (!node.classes) {\n classes = 'node default';\n } else {\n classes = 'node ' + node.classes;\n } // Add outer g element\n\n\n var shapeSvg = parent.insert('g').attr('class', classes).attr('id', node.id); // Create the title label and insert it after the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // const innerRect = shapeSvg.insert('rect');\n\n var innerLine = shapeSvg.insert('line');\n var label = shapeSvg.insert('g').attr('class', 'label');\n var text2 = node.labelText.flat();\n logger.info('Label text', text2[0]);\n var text = label.node().appendChild(createLabel(text2[0], node.labelStyle, true, true));\n var bbox;\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n logger.info('Text 2', text2);\n var textRows = text2.slice(1, text2.length);\n var titleBox = text.getBBox();\n var descr = label.node().appendChild(createLabel(textRows.join('
'), node.labelStyle, true, true));\n\n if (getConfig().flowchart.htmlLabels) {\n var _div = descr.children[0];\n\n var _dv = select(descr);\n\n bbox = _div.getBoundingClientRect();\n\n _dv.attr('width', bbox.width);\n\n _dv.attr('height', bbox.height);\n } // bbox = label.getBBox();\n // logger.info(descr);\n\n\n var halfPadding = node.padding / 2;\n select(descr).attr('transform', 'translate( ' + ( // (titleBox.width - bbox.width) / 2 +\n bbox.width > titleBox.width ? 0 : (titleBox.width - bbox.width) / 2) + ', ' + (titleBox.height + halfPadding + 5) + ')');\n select(text).attr('transform', 'translate( ' + ( // (titleBox.width - bbox.width) / 2 +\n bbox.width < titleBox.width ? 0 : -(titleBox.width - bbox.width) / 2) + ', ' + 0 + ')'); // Get the size of the label\n // Bounding box for title and text\n\n bbox = label.node().getBBox(); // Center the label\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + (-bbox.height / 2 - halfPadding + 3) + ')');\n rect.attr('class', 'outer title-state').attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n innerLine.attr('class', 'divider').attr('x1', -bbox.width / 2 - halfPadding).attr('x2', bbox.width / 2 + halfPadding).attr('y1', -bbox.height / 2 - halfPadding + titleBox.height + halfPadding).attr('y2', -bbox.height / 2 - halfPadding + titleBox.height + halfPadding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar stadium = function stadium(parent, node) {\n var _labelHelper11 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper11.shapeSvg,\n bbox = _labelHelper11.bbox;\n\n var h = bbox.height + node.padding;\n var w = bbox.width + h / 4 + node.padding; // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child').attr('rx', h / 2).attr('ry', h / 2).attr('x', -w / 2).attr('y', -h / 2).attr('width', w).attr('height', h);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar circle = function circle(parent, node) {\n var _labelHelper12 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper12.shapeSvg,\n bbox = _labelHelper12.bbox,\n halfPadding = _labelHelper12.halfPadding;\n\n var circle = shapeSvg.insert('circle', ':first-child'); // center the circle around its coordinate\n\n circle.attr('rx', node.rx).attr('ry', node.ry).attr('r', bbox.width / 2 + halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n logger.info('Circle main');\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n logger.info('Circle intersect', node, bbox.width / 2 + halfPadding, point);\n return intersect.circle(node, bbox.width / 2 + halfPadding, point);\n };\n\n return shapeSvg;\n};\n\nvar subroutine = function subroutine(parent, node) {\n var _labelHelper13 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper13.shapeSvg,\n bbox = _labelHelper13.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: 0,\n y: -h\n }, {\n x: 0,\n y: 0\n }, {\n x: -8,\n y: 0\n }, {\n x: w + 8,\n y: 0\n }, {\n x: w + 8,\n y: -h\n }, {\n x: -8,\n y: -h\n }, {\n x: -8,\n y: 0\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar start = function start(parent, node) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var circle = shapeSvg.insert('circle', ':first-child'); // center the circle around its coordinate\n\n circle.attr('class', 'state-start').attr('r', 7).attr('width', 14).attr('height', 14);\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n return intersect.circle(node, 7, point);\n };\n\n return shapeSvg;\n};\n\nvar forkJoin = function forkJoin(parent, node, dir) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var width = 70;\n var height = 10;\n\n if (dir === 'LR') {\n width = 10;\n height = 70;\n }\n\n var shape = shapeSvg.append('rect').style('stroke', 'black').style('fill', 'black').attr('x', -1 * width / 2).attr('y', -1 * height / 2).attr('width', width).attr('height', height).attr('class', 'fork-join');\n updateNodeBounds(node, shape);\n node.height = node.height + node.padding / 2;\n node.width = node.width + node.padding / 2;\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar end = function end(parent, node) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var innerCircle = shapeSvg.insert('circle', ':first-child');\n var circle = shapeSvg.insert('circle', ':first-child');\n circle.attr('class', 'state-start').attr('r', 7).attr('width', 14).attr('height', 14);\n innerCircle.attr('class', 'state-end').attr('r', 5).attr('width', 10).attr('height', 10);\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n return intersect.circle(node, 7, point);\n };\n\n return shapeSvg;\n};\n\nvar shapes = {\n question: question,\n rect: rect,\n rectWithTitle: rectWithTitle,\n circle: circle,\n stadium: stadium,\n hexagon: hexagon,\n rect_left_inv_arrow: rect_left_inv_arrow,\n lean_right: lean_right,\n lean_left: lean_left,\n trapezoid: trapezoid,\n inv_trapezoid: inv_trapezoid,\n rect_right_inv_arrow: rect_right_inv_arrow,\n cylinder: cylinder,\n start: start,\n end: end,\n note: note,\n subroutine: subroutine,\n fork: forkJoin,\n join: forkJoin\n};\nvar nodeElems = {};\nexport var insertNode = function insertNode(elem, node, dir) {\n nodeElems[node.id] = shapes[node.shape](elem, node, dir);\n};\nexport var setNodeElem = function setNodeElem(elem, node) {\n nodeElems[node.id] = elem;\n};\nexport var clear = function clear() {\n nodeElems = {};\n};\nexport var positionNode = function positionNode(node) {\n var el = nodeElems[node.id];\n logger.trace('Transforming node', node, 'translate(' + (node.x - node.width / 2 - 5) + ', ' + (node.y - node.height / 2 - 5) + ')');\n var padding = 8;\n\n if (node.clusterNode) {\n el.attr('transform', 'translate(' + (node.x - node.width / 2 - padding) + ', ' + (node.y - node.height / 2 - padding) + ')');\n } else {\n el.attr('transform', 'translate(' + node.x + ', ' + node.y + ')');\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "name": "./src/dagre-wrapper/clusters.js", "index": 67, "index2": 63, "size": 5981, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./clusters", "loc": "7:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./clusters", "loc": "107:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./clusters", "loc": "128:2-15" } ], "usedExports": [ "insertCluster", "clear" ], "providedExports": [ "insertCluster", "getClusterTitleWidth", "clear", "positionCluster" ], "optimizationBailout": [], "depth": 4, "source": "import intersectRect from './intersect/intersect-rect';\nimport { logger as log } from '../logger'; // eslint-disable-line\n\nimport createLabel from './createLabel';\nimport { select } from 'd3';\nimport { getConfig } from '../config';\n\nvar rect = function rect(parent, node) {\n log.trace('Creating subgraph rect for ', node.id, node); // Add outer g element\n\n var shapeSvg = parent.insert('g').attr('class', 'cluster').attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'cluster-label');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, undefined, true)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n var padding = 0 * node.padding;\n var halfPadding = padding / 2;\n log.trace('Data ', node, JSON.stringify(node)); // center the rect around its coordinate\n\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding); // Center the label\n\n label.attr('transform', 'translate(' + (node.x - bbox.width / 2) + ', ' + (node.y - node.height / 2 - node.padding / 3 + 3) + ')');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n/**\n * Non visiable cluster where the note is group with its\n */\n\n\nvar noteGroup = function noteGroup(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', 'note-cluster').attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding).attr('fill', 'none');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar roundedWithTitle = function roundedWithTitle(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', node.classes).attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'cluster-label');\n var innerRect = shapeSvg.append('rect');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, undefined, true)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n bbox = text.getBBox();\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('class', 'outer').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding);\n innerRect.attr('class', 'inner').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding + bbox.height - 1).attr('width', node.width + padding).attr('height', node.height + padding - bbox.height - 3); // Center the label\n\n label.attr('transform', 'translate(' + (node.x - bbox.width / 2) + ', ' + (node.y - node.height / 2 - node.padding / 3 + (getConfig().flowchart.htmlLabels ? 5 : 3)) + ')');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar divider = function divider(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', node.classes).attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('class', 'divider').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2).attr('width', node.width + padding).attr('height', node.height + padding);\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar shapes = {\n rect: rect,\n roundedWithTitle: roundedWithTitle,\n noteGroup: noteGroup,\n divider: divider\n};\nvar clusterElems = {};\nexport var insertCluster = function insertCluster(elem, node) {\n log.trace('Inserting cluster');\n var shape = node.shape || 'rect';\n clusterElems[node.id] = shapes[shape](elem, node);\n};\nexport var getClusterTitleWidth = function getClusterTitleWidth(elem, node) {\n var label = createLabel(node.labelText, node.labelStyle, undefined, true);\n elem.node().appendChild(label);\n var width = label.getBBox().width;\n elem.node().removeChild(label);\n return width;\n};\nexport var clear = function clear() {\n clusterElems = {};\n};\nexport var positionCluster = function positionCluster(node) {\n log.info('Position cluster');\n var el = clusterElems[node.id];\n el.attr('transform', 'translate(' + node.x + ', ' + node.y + ')');\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "name": "./src/dagre-wrapper/edges.js", "index": 66, "index2": 62, "size": 10214, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./edges", "loc": "8:0-94" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "82:4-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "118:22-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "119:4-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "127:2-12" } ], "usedExports": [ "insertEdgeLabel", "insertEdge", "positionEdgeLabel", "clear" ], "providedExports": [ "clear", "insertEdgeLabel", "positionEdgeLabel", "intersection", "insertEdge" ], "optimizationBailout": [], "depth": 4, "source": "import { logger } from '../logger'; // eslint-disable-line\n\nimport createLabel from './createLabel';\nimport { line, curveBasis, select } from 'd3';\nimport { getConfig } from '../config';\nimport utils from '../utils'; // import { calcLabelPosition } from '../utils';\n\nvar edgeLabels = {};\nexport var clear = function clear() {\n edgeLabels = {};\n};\nexport var insertEdgeLabel = function insertEdgeLabel(elem, edge) {\n // Create the actual text element\n var labelElement = createLabel(edge.label, edge.labelStyle); // Create outer g, edgeLabel, this will be positioned after graph layout\n\n var edgeLabel = elem.insert('g').attr('class', 'edgeLabel'); // Create inner g, label, this will be positioned now for centering the text\n\n var label = edgeLabel.insert('g').attr('class', 'label');\n label.node().appendChild(labelElement); // Center the label\n\n var bbox = labelElement.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = labelElement.children[0];\n var dv = select(labelElement);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + -bbox.height / 2 + ')'); // Make element accessible by id for positioning\n\n edgeLabels[edge.id] = edgeLabel; // Update the abstract data of the edge with the new information about its width and height\n\n edge.width = bbox.width;\n edge.height = bbox.height;\n};\nexport var positionEdgeLabel = function positionEdgeLabel(edge, points) {\n logger.info('Moving label', edge.id, edge.label, edgeLabels[edge.id]);\n\n if (edge.label) {\n var el = edgeLabels[edge.id];\n var x = edge.x;\n var y = edge.y;\n\n if (points) {\n // debugger;\n var pos = utils.calcLabelPosition(points);\n x = pos.x;\n y = pos.y;\n }\n\n el.attr('transform', 'translate(' + x + ', ' + y + ')');\n }\n}; // const getRelationType = function(type) {\n// switch (type) {\n// case stateDb.relationType.AGGREGATION:\n// return 'aggregation';\n// case stateDb.relationType.EXTENSION:\n// return 'extension';\n// case stateDb.relationType.COMPOSITION:\n// return 'composition';\n// case stateDb.relationType.DEPENDENCY:\n// return 'dependency';\n// }\n// };\n\nvar outsideNode = function outsideNode(node, point) {\n // logger.warn('Checking bounds ', node, point);\n var x = node.x;\n var y = node.y;\n var dx = Math.abs(point.x - x);\n var dy = Math.abs(point.y - y);\n var w = node.width / 2;\n var h = node.height / 2;\n\n if (dx >= w || dy >= h) {\n return true;\n }\n\n return false;\n};\n\nexport var intersection = function intersection(node, outsidePoint, insidePoint) {\n logger.warn('intersection calc o:', outsidePoint, ' i:', insidePoint, node);\n var x = node.x;\n var y = node.y;\n var dx = Math.abs(x - insidePoint.x);\n var w = node.width / 2;\n var r = insidePoint.x < outsidePoint.x ? w - dx : w + dx;\n var h = node.height / 2;\n var edges = {\n x1: x - w,\n x2: x + w,\n y1: y - h,\n y2: y + h\n };\n\n if (outsidePoint.x === edges.x1 || outsidePoint.x === edges.x2 || outsidePoint.y === edges.y1 || outsidePoint.y === edges.y2) {\n // logger.warn('calc equals on edge');\n return outsidePoint;\n }\n\n var Q = Math.abs(outsidePoint.y - insidePoint.y);\n var R = Math.abs(outsidePoint.x - insidePoint.x); // log.warn();\n\n if (Math.abs(y - outsidePoint.y) * w > Math.abs(x - outsidePoint.x) * h) {\n // eslint-disable-line\n // Intersection is top or bottom of rect.\n // let q = insidePoint.y < outsidePoint.y ? outsidePoint.y - h - y : y - h - outsidePoint.y;\n var q = insidePoint.y < outsidePoint.y ? outsidePoint.y - h - y : y - h - outsidePoint.y;\n r = R * q / Q;\n var res = {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x - r,\n y: outsidePoint.y + q\n };\n logger.warn(\"topp/bott calc, Q \".concat(Q, \", q \").concat(q, \", R \").concat(R, \", r \").concat(r), res);\n return res;\n } else {\n // Intersection onn sides of rect\n // q = (Q * r) / R;\n // q = 2;\n // r = (R * q) / Q;\n if (insidePoint.x < outsidePoint.x) {\n r = outsidePoint.x - w - x;\n } else {\n // r = outsidePoint.x - w - x;\n r = x - w - outsidePoint.x;\n }\n\n var _q = _q = Q * r / R;\n\n logger.warn(\"sides calc, Q \".concat(Q, \", q \").concat(_q, \", R \").concat(R, \", r \").concat(r), {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x + dx - w,\n y: insidePoint.y < outsidePoint.y ? insidePoint.y + _q : insidePoint.y - _q\n });\n return {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x + dx - w,\n y: insidePoint.y < outsidePoint.y ? insidePoint.y + _q : insidePoint.y - _q\n };\n }\n}; //(edgePaths, e, edge, clusterDb, diagramtype, graph)\n\nexport var insertEdge = function insertEdge(elem, e, edge, clusterDb, diagramType, graph) {\n var points = edge.points;\n var pointsHasChanged = false;\n var tail = graph.node(e.v);\n var head = graph.node(e.w);\n\n if (head.intersect && tail.intersect) {\n points = points.slice(1, edge.points.length - 1);\n points.unshift(tail.intersect(points[0]));\n logger.info('Last point', points[points.length - 1], head, head.intersect(points[points.length - 1]));\n points.push(head.intersect(points[points.length - 1]));\n }\n\n if (edge.toCluster) {\n logger.trace('edge', edge);\n logger.trace('to cluster', clusterDb[edge.toCluster]);\n points = [];\n var lastPointOutside;\n var isInside = false;\n edge.points.forEach(function (point) {\n var node = clusterDb[edge.toCluster].node;\n\n if (!outsideNode(node, point) && !isInside) {\n logger.trace('inside', edge.toCluster, point, lastPointOutside); // First point inside the rect\n\n var insterection = intersection(node, lastPointOutside, point);\n logger.trace('intersect', insterection);\n points.push(insterection);\n isInside = true;\n } else {\n if (!isInside) points.push(point);\n }\n\n lastPointOutside = point;\n });\n pointsHasChanged = true;\n }\n\n if (edge.fromCluster) {\n logger.trace('edge', edge);\n logger.warn('from cluster', clusterDb[edge.fromCluster]);\n var updatedPoints = [];\n\n var _lastPointOutside;\n\n var _isInside = false;\n\n for (var i = points.length - 1; i >= 0; i--) {\n var point = points[i];\n var node = clusterDb[edge.fromCluster].node;\n\n if (!outsideNode(node, point) && !_isInside) {\n logger.warn('inside', edge.fromCluster, point, node); // First point inside the rect\n\n var insterection = intersection(node, _lastPointOutside, point); // logger.trace('intersect', intersection(node, lastPointOutside, point));\n\n updatedPoints.unshift(insterection); // points.push(insterection);\n\n _isInside = true;\n } else {\n // at the outside\n logger.trace('Outside point', point);\n if (!_isInside) updatedPoints.unshift(point);\n }\n\n _lastPointOutside = point;\n }\n\n points = updatedPoints;\n pointsHasChanged = true;\n } // The data for our line\n\n\n var lineData = points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis); // Contruct stroke classes based on properties\n\n var strokeClasses;\n\n switch (edge.thickness) {\n case 'normal':\n strokeClasses = 'edge-thickness-normal';\n break;\n\n case 'thick':\n strokeClasses = 'edge-thickness-thick';\n break;\n\n default:\n strokeClasses = '';\n }\n\n switch (edge.pattern) {\n case 'solid':\n strokeClasses += ' edge-pattern-solid';\n break;\n\n case 'dotted':\n strokeClasses += ' edge-pattern-dotted';\n break;\n\n case 'dashed':\n strokeClasses += ' edge-pattern-dashed';\n break;\n }\n\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', edge.id).attr('class', ' ' + strokeClasses + (edge.classes ? ' ' + edge.classes : '')); // DEBUG code, adds a red circle at each edge coordinate\n // edge.points.forEach(point => {\n // elem\n // .append('circle')\n // .style('stroke', 'red')\n // .style('fill', 'red')\n // .attr('r', 1)\n // .attr('cx', point.x)\n // .attr('cy', point.y);\n // });\n\n var url = '';\n\n if (getConfig().state.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n logger.info('arrowType', edge.arrowType);\n\n switch (edge.arrowType) {\n case 'arrow_cross':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-crossEnd' + ')');\n break;\n\n case 'double_arrow_cross':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-crossEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-crossStart' + ')');\n break;\n\n case 'arrow_point':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-pointEnd' + ')');\n break;\n\n case 'double_arrow_point':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-pointEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-pointStart' + ')');\n break;\n\n case 'arrow_barb':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-barbEnd' + ')');\n break;\n\n case 'double_arrow_barb':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-barnEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-barbStart' + ')');\n break;\n\n case 'arrow_circle':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-circleEnd' + ')');\n break;\n\n case 'double_arrow_circle':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-circleEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-circleStart' + ')');\n break;\n\n default:\n }\n\n if (pointsHasChanged) {\n return points;\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/id-cache.js", "name": "./src/diagrams/state/id-cache.js", "index": 76, "index2": 72, "size": 347, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "issuerId": null, "issuerName": "./src/diagrams/state/shapes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "name": "./src/diagrams/state/shapes.js", "profile": { "factory": 1735, "building": 602, "dependencies": 0 } } ], "profile": { "factory": 266, "building": 27 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "./id-cache.js", "loc": "2:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./id-cache.js", "loc": "290:2-9" } ], "usedExports": [ "default" ], "providedExports": [ "set", "get", "keys", "size", "default" ], "optimizationBailout": [], "depth": 4, "source": "var idCache = {};\nexport var set = function set(key, val) {\n idCache[key] = val;\n};\nexport var get = function get(k) {\n return idCache[k];\n};\nexport var keys = function keys() {\n return Object.keys(idCache);\n};\nexport var size = function size() {\n return keys().length;\n};\nexport default {\n get: get,\n set: set,\n keys: keys,\n size: size\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "name": "./src/dagre-wrapper/createLabel.js", "index": 55, "index2": 50, "size": 4142, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } } ], "profile": { "factory": 307, "building": 54, "dependencies": 9 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony side effect evaluation", "userRequest": "../createLabel", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "4:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "7:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "14:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "16:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony import specifier", "userRequest": "../createLabel", "loc": "17:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "78:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "142:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "338:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "352:39-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import { select } from 'd3';\nimport { logger } from '../logger'; // eslint-disable-line\n// let vertexNode;\n// if (getConfig().flowchart.htmlLabels) {\n// // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n// const node = {\n// label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, s => ``)\n// };\n// vertexNode = addHtmlLabel(svg, node).node();\n// vertexNode.parentNode.removeChild(vertexNode);\n// } else {\n// const svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n// svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n// const rows = vertexText.split(common.lineBreakRegex);\n// for (let j = 0; j < rows.length; j++) {\n// const tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n// tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n// tspan.setAttribute('dy', '1em');\n// tspan.setAttribute('x', '1');\n// tspan.textContent = rows[j];\n// svgLabel.appendChild(tspan);\n// }\n// vertexNode = svgLabel;\n// }\n\nimport { getConfig } from '../config';\n\nfunction applyStyle(dom, styleFn) {\n if (styleFn) {\n dom.attr('style', styleFn);\n }\n}\n\nfunction addHtmlLabel(node) {\n // var fo = root.append('foreignObject').attr('width', '100000');\n // var div = fo.append('xhtml:div');\n // div.attr('xmlns', 'http://www.w3.org/1999/xhtml');\n // var label = node.label;\n // switch (typeof label) {\n // case 'function':\n // div.insert(label);\n // break;\n // case 'object':\n // // Currently we assume this is a DOM object.\n // div.insert(function() {\n // return label;\n // });\n // break;\n // default:\n // div.html(label);\n // }\n // applyStyle(div, node.labelStyle);\n // div.style('display', 'inline-block');\n // // Fix for firefox\n // div.style('white-space', 'nowrap');\n // var client = div.node().getBoundingClientRect();\n // fo.attr('width', client.width).attr('height', client.height);\n var fo = select(document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject'));\n var div = fo.append('xhtml:div');\n var label = node.label;\n var labelClass = node.isNode ? 'nodeLabel' : 'edgeLabel';\n div.html('' + label + '');\n applyStyle(div, node.labelStyle);\n div.style('display', 'inline-block'); // Fix for firefox\n\n div.style('white-space', 'nowrap');\n div.attr('xmlns', 'http://www.w3.org/1999/xhtml');\n return fo.node();\n}\n\nvar createLabel = function createLabel(_vertexText, style, isTitle, isNode) {\n var vertexText = _vertexText || '';\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n vertexText = vertexText.replace(/\\\\n|\\n/g, '
');\n logger.info('vertexText' + vertexText);\n var node = {\n isNode: isNode,\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n var vertexNode = addHtmlLabel(node); // vertexNode.parentNode.removeChild(vertexNode);\n\n return vertexNode;\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', style.replace('color:', 'fill:'));\n var rows = [];\n\n if (typeof vertexText === 'string') {\n rows = vertexText.split(/\\\\n|\\n|/gi);\n } else if (Array.isArray(vertexText)) {\n rows = vertexText;\n } else {\n rows = [];\n }\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '0');\n\n if (isTitle) {\n tspan.setAttribute('class', 'title-row');\n } else {\n tspan.setAttribute('class', 'row');\n }\n\n tspan.textContent = rows[j].trim();\n svgLabel.appendChild(tspan);\n }\n\n return svgLabel;\n }\n};\n\nexport default createLabel;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-rect.js", "name": "./src/dagre-wrapper/intersect/intersect-rect.js", "index": 63, "index2": 57, "size": 740, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/clusters.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "name": "./src/dagre-wrapper/clusters.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } } ], "profile": { "factory": 288, "building": 77 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "./intersect/intersect-rect", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-rect.js", "loc": "8:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-rect.js", "loc": "14:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "40:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "64:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "103:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "123:11-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "var intersectRect = function intersectRect(node, point) {\n var x = node.x;\n var y = node.y; // Rectangle intersection algorithm from:\n // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n\n var dx = point.x - x;\n var dy = point.y - y;\n var w = node.width / 2;\n var h = node.height / 2;\n var sx, sy;\n\n if (Math.abs(dy) * w > Math.abs(dx) * h) {\n // Intersection is top or bottom of rect.\n if (dy < 0) {\n h = -h;\n }\n\n sx = dy === 0 ? 0 : h * dx / dy;\n sy = h;\n } else {\n // Intersection is left or right of rect.\n if (dx < 0) {\n w = -w;\n }\n\n sx = w;\n sy = dx === 0 ? 0 : w * dy / dx;\n }\n\n return {\n x: x + sx,\n y: y + sy\n };\n};\n\nexport default intersectRect;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "index": 57, "index2": 58, "size": 395, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } } ], "profile": { "factory": 307, "building": 54, "dependencies": 9 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./intersect/index.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "../intersect/index.js", "loc": "4:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "../intersect/index.js", "loc": "19:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "37:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "75:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "108:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "138:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "168:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "198:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "228:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "261:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "281:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "313:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "383:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "401:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "421:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "469:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "483:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "505:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "520:11-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "/*\n * Borrowed with love from from dagrge-d3. Many thanks to cpettitt!\n */\nimport node from './intersect-node.js';\nimport circle from './intersect-circle.js';\nimport ellipse from './intersect-ellipse.js';\nimport polygon from './intersect-polygon.js';\nimport rect from './intersect-rect.js';\nexport default {\n node: node,\n circle: circle,\n ellipse: ellipse,\n polygon: polygon,\n rect: rect\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "name": "./src/dagre-wrapper/shapes/note.js", "index": 64, "index2": 59, "size": 894, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } } ], "profile": { "factory": 307, "building": 54, "dependencies": 9 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/note", "loc": "8:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/note", "loc": "542:8-12" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import { updateNodeBounds, labelHelper } from './util';\nimport { logger } from '../../logger'; // eslint-disable-line\n\nimport intersect from '../intersect/index.js';\n\nvar note = function note(parent, node) {\n var _labelHelper = labelHelper(parent, node, 'node ' + node.classes, true),\n shapeSvg = _labelHelper.shapeSvg,\n bbox = _labelHelper.bbox,\n halfPadding = _labelHelper.halfPadding;\n\n logger.info('Classes = ', node.classes); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nexport default note;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-ellipse.js", "name": "./src/dagre-wrapper/intersect/intersect-ellipse.js", "index": 60, "index2": 53, "size": 526, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 307, "building": 54, "dependencies": 9 } } ], "profile": { "factory": 12, "building": 102, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "module": "./src/dagre-wrapper/intersect/intersect-circle.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-circle.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-ellipse", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "module": "./src/dagre-wrapper/intersect/intersect-circle.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-circle.js", "type": "harmony import specifier", "userRequest": "./intersect-ellipse", "loc": "4:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-ellipse.js", "loc": "6:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-ellipse.js", "loc": "12:11-18" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "function intersectEllipse(node, rx, ry, point) {\n // Formulae from: http://mathworld.wolfram.com/Ellipse-LineIntersection.html\n var cx = node.x;\n var cy = node.y;\n var px = cx - point.x;\n var py = cy - point.y;\n var det = Math.sqrt(rx * rx * py * py + ry * ry * px * px);\n var dx = Math.abs(rx * ry * px / det);\n\n if (point.x < cx) {\n dx = -dx;\n }\n\n var dy = Math.abs(rx * ry * py / det);\n\n if (point.y < cy) {\n dy = -dy;\n }\n\n return {\n x: cx + dx,\n y: cy + dy\n };\n}\n\nexport default intersectEllipse;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "name": "./src/dagre-wrapper/intersect/intersect-circle.js", "index": 59, "index2": 54, "size": 179, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 307, "building": 54, "dependencies": 9 } } ], "profile": { "factory": 12, "building": 102, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-circle.js", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-circle.js", "loc": "11:10-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "import intersectEllipse from './intersect-ellipse';\n\nfunction intersectCircle(node, rx, point) {\n return intersectEllipse(node, rx, rx, point);\n}\n\nexport default intersectCircle;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "name": "./src/dagre-wrapper/intersect/intersect-polygon.js", "index": 61, "index2": 56, "size": 1612, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 307, "building": 54, "dependencies": 9 } } ], "profile": { "factory": 12, "building": 102, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-polygon.js", "loc": "7:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-polygon.js", "loc": "13:11-18" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "/* eslint \"no-console\": off */\nimport intersectLine from './intersect-line';\nexport default intersectPolygon;\n/*\n * Returns the point ({x, y}) at which the point argument intersects with the\n * node argument assuming that it has the shape specified by polygon.\n */\n\nfunction intersectPolygon(node, polyPoints, point) {\n var x1 = node.x;\n var y1 = node.y;\n var intersections = [];\n var minX = Number.POSITIVE_INFINITY;\n var minY = Number.POSITIVE_INFINITY;\n polyPoints.forEach(function (entry) {\n minX = Math.min(minX, entry.x);\n minY = Math.min(minY, entry.y);\n });\n var left = x1 - node.width / 2 - minX;\n var top = y1 - node.height / 2 - minY;\n\n for (var i = 0; i < polyPoints.length; i++) {\n var p1 = polyPoints[i];\n var p2 = polyPoints[i < polyPoints.length - 1 ? i + 1 : 0];\n var intersect = intersectLine(node, point, {\n x: left + p1.x,\n y: top + p1.y\n }, {\n x: left + p2.x,\n y: top + p2.y\n });\n\n if (intersect) {\n intersections.push(intersect);\n }\n }\n\n if (!intersections.length) {\n console.log('NO INTERSECTION FOUND, RETURN NODE CENTER', node);\n return node;\n }\n\n if (intersections.length > 1) {\n // More intersections, find the one nearest to edge end point\n intersections.sort(function (p, q) {\n var pdx = p.x - point.x;\n var pdy = p.y - point.y;\n var distp = Math.sqrt(pdx * pdx + pdy * pdy);\n var qdx = q.x - point.x;\n var qdy = q.y - point.y;\n var distq = Math.sqrt(qdx * qdx + qdy * qdy);\n return distp < distq ? -1 : distp === distq ? 0 : 1;\n });\n }\n\n return intersections[0];\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-line.js", "name": "./src/dagre-wrapper/intersect/intersect-line.js", "index": 62, "index2": 55, "size": 1886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 307, "building": 54, "dependencies": 9 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "name": "./src/dagre-wrapper/intersect/intersect-polygon.js", "profile": { "factory": 12, "building": 102, "dependencies": 113 } } ], "profile": { "factory": 107, "building": 73 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "module": "./src/dagre-wrapper/intersect/intersect-polygon.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-line", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "module": "./src/dagre-wrapper/intersect/intersect-polygon.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "type": "harmony import specifier", "userRequest": "./intersect-line", "loc": "25:20-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 7, "source": "/*\n * Returns the point at which two lines, p and q, intersect or returns\n * undefined if they do not intersect.\n */\nfunction intersectLine(p1, p2, q1, q2) {\n // Algorithm from J. Avro, (ed.) Graphics Gems, No 2, Morgan Kaufmann, 1994,\n // p7 and p473.\n var a1, a2, b1, b2, c1, c2;\n var r1, r2, r3, r4;\n var denom, offset, num;\n var x, y; // Compute a1, b1, c1, where line joining points 1 and 2 is F(x,y) = a1 x +\n // b1 y + c1 = 0.\n\n a1 = p2.y - p1.y;\n b1 = p1.x - p2.x;\n c1 = p2.x * p1.y - p1.x * p2.y; // Compute r3 and r4.\n\n r3 = a1 * q1.x + b1 * q1.y + c1;\n r4 = a1 * q2.x + b1 * q2.y + c1; // Check signs of r3 and r4. If both point 3 and point 4 lie on\n // same side of line 1, the line segments do not intersect.\n\n if (r3 !== 0 && r4 !== 0 && sameSign(r3, r4)) {\n return;\n } // Compute a2, b2, c2 where line joining points 3 and 4 is G(x,y) = a2 x + b2 y + c2 = 0\n\n\n a2 = q2.y - q1.y;\n b2 = q1.x - q2.x;\n c2 = q2.x * q1.y - q1.x * q2.y; // Compute r1 and r2\n\n r1 = a2 * p1.x + b2 * p1.y + c2;\n r2 = a2 * p2.x + b2 * p2.y + c2; // Check signs of r1 and r2. If both point 1 and point 2 lie\n // on same side of second line segment, the line segments do\n // not intersect.\n\n if (r1 !== 0 && r2 !== 0 && sameSign(r1, r2)) {\n return;\n } // Line segments intersect: compute intersection point.\n\n\n denom = a1 * b2 - a2 * b1;\n\n if (denom === 0) {\n return;\n }\n\n offset = Math.abs(denom / 2); // The denom/2 is to get rounding instead of truncating. It\n // is added or subtracted to the numerator, depending upon the\n // sign of the numerator.\n\n num = b1 * c2 - b2 * c1;\n x = num < 0 ? (num - offset) / denom : (num + offset) / denom;\n num = a2 * c1 - a1 * c2;\n y = num < 0 ? (num - offset) / denom : (num + offset) / denom;\n return {\n x: x,\n y: y\n };\n}\n\nfunction sameSign(r1, r2) {\n return r1 * r2 > 0;\n}\n\nexport default intersectLine;" } ], "filteredModules": 0 } ], "filteredModules": 0, "origins": [ { "module": "", "moduleIdentifier": "", "moduleName": "", "loc": "mermaid", "request": "./src/mermaid.js", "reasons": [] } ] } ], "modules": [ { "id": 0, "identifier": "external \"d3\"", "name": "external \"d3\"", "index": 3, "index2": 1, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-39" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-102" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-46" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-38" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "1:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-52" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-46" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "2:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "3:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-82" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "4:0-46" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "5:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "13:0-196" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "d3", "loc": "15:0-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "20:14-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "21:20-36" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "22:18-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "23:15-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "24:21-38" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "25:18-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "26:18-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "27:16-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "28:13-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:14-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:18-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "29:21-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "30:19-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "33:11-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "35:14-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "37:46-56" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "39:16-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "44:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:18-27" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "46:38-41" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "48:6-9" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "54:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "58:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:16-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "62:50-60" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "63:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "64:14-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "67:24-31" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "69:23-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "74:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "84:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:21-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "91:108-122" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "102:6-12" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "107:21-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "111:11-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "200:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "207:6-12" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "208:6-12" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "221:21-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "225:11-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "229:60-71" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "231:68-79" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "232:4-10" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "233:54-65" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "241:20-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "244:18-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "246:4-10" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "247:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "250:60-71" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "251:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "252:68-79" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "254:54-65" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "255:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "256:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "263:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:16-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "281:102-112" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "318:21-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "322:11-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:4-13" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "339:20-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "342:18-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "343:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "345:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "348:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "357:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "361:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "365:4-13" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "367:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "369:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "371:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "377:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "379:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "390:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "402:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "403:20-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "433:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "436:4-10" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "439:17-23" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "445:17-23" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "463:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "617:19-28" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "d3", "loc": "710:13-19" } ], "usedExports": [ "arc", "axisBottom", "curveBasis", "curveBasisClosed", "curveBasisOpen", "curveLinear", "curveLinearClosed", "curveMonotoneX", "curveMonotoneY", "curveNatural", "curveStep", "curveStepAfter", "curveStepBefore", "entries", "interpolateHcl", "line", "max", "min", "pie", "scaleLinear", "scaleOrdinal", "scaleTime", "schemeSet2", "select", "selectAll", "timeFormat" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 1, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "name": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "index": 29, "index2": 27, "size": 32724, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/sequenceDiagram", "loc": "4:0-50" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "8:0-6" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/parser/sequenceDiagram", "loc": "26:0-72" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "84:12-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/parser/sequenceDiagram", "loc": "93:15-29" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:15-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:53-59" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "331:97-103" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "351:15-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "351:52-58" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "355:15-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "355:58-64" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "458:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "459:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "460:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "465:15-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "466:18-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "467:17-23" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "468:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "496:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "501:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "505:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "509:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "515:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "522:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "528:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "535:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "541:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "548:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "554:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "560:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "567:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "573:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "579:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:9-15" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:40-46" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:72-78" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:98-104" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:125-131" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "601:157-163" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "661:28-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "666:28-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "700:35-41" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "702:35-41" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "704:35-41" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "781:24-30" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "784:31-37" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:7-13" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:38-44" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:70-76" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:96-102" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:123-129" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "807:155-161" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "852:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "853:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "854:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "855:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "865:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "866:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "876:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "877:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "878:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "879:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "884:11-17" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/sequenceDiagram", "loc": "899:11-17" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,2],$V1=[1,3],$V2=[1,5],$V3=[1,7],$V4=[2,5],$V5=[1,15],$V6=[1,17],$V7=[1,18],$V8=[1,20],$V9=[1,21],$Va=[1,22],$Vb=[1,24],$Vc=[1,25],$Vd=[1,26],$Ve=[1,27],$Vf=[1,28],$Vg=[1,29],$Vh=[1,32],$Vi=[1,33],$Vj=[1,36],$Vk=[1,4,5,16,21,22,23,25,27,28,29,30,31,33,35,36,37,48,56],$Vl=[1,44],$Vm=[4,5,16,21,22,23,25,27,28,29,30,31,33,37,48,56],$Vn=[4,5,16,21,22,23,25,27,28,29,30,31,33,36,37,48,56],$Vo=[4,5,16,21,22,23,25,27,28,29,30,31,33,35,37,48,56],$Vp=[46,47,48],$Vq=[1,4,5,7,16,21,22,23,25,27,28,29,30,31,33,35,36,37,48,56];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"SPACE\":4,\"NL\":5,\"directive\":6,\"SD\":7,\"document\":8,\"line\":9,\"statement\":10,\"openDirective\":11,\"typeDirective\":12,\"closeDirective\":13,\":\":14,\"argDirective\":15,\"participant\":16,\"actor\":17,\"AS\":18,\"restOfLine\":19,\"signal\":20,\"autonumber\":21,\"activate\":22,\"deactivate\":23,\"note_statement\":24,\"title\":25,\"text2\":26,\"loop\":27,\"end\":28,\"rect\":29,\"opt\":30,\"alt\":31,\"else_sections\":32,\"par\":33,\"par_sections\":34,\"and\":35,\"else\":36,\"note\":37,\"placement\":38,\"over\":39,\"actor_pair\":40,\"spaceList\":41,\",\":42,\"left_of\":43,\"right_of\":44,\"signaltype\":45,\"+\":46,\"-\":47,\"ACTOR\":48,\"SOLID_OPEN_ARROW\":49,\"DOTTED_OPEN_ARROW\":50,\"SOLID_ARROW\":51,\"DOTTED_ARROW\":52,\"SOLID_CROSS\":53,\"DOTTED_CROSS\":54,\"TXT\":55,\"open_directive\":56,\"type_directive\":57,\"arg_directive\":58,\"close_directive\":59,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"SPACE\",5:\"NL\",7:\"SD\",14:\":\",16:\"participant\",18:\"AS\",19:\"restOfLine\",21:\"autonumber\",22:\"activate\",23:\"deactivate\",25:\"title\",27:\"loop\",28:\"end\",29:\"rect\",30:\"opt\",31:\"alt\",33:\"par\",35:\"and\",36:\"else\",37:\"note\",39:\"over\",42:\",\",43:\"left_of\",44:\"right_of\",46:\"+\",47:\"-\",48:\"ACTOR\",49:\"SOLID_OPEN_ARROW\",50:\"DOTTED_OPEN_ARROW\",51:\"SOLID_ARROW\",52:\"DOTTED_ARROW\",53:\"SOLID_CROSS\",54:\"DOTTED_CROSS\",55:\"TXT\",56:\"open_directive\",57:\"type_directive\",58:\"arg_directive\",59:\"close_directive\"},\nproductions_: [0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[6,4],[6,6],[10,5],[10,3],[10,2],[10,1],[10,3],[10,3],[10,2],[10,3],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[34,1],[34,4],[32,1],[32,4],[24,4],[24,4],[41,2],[41,1],[40,3],[40,1],[38,1],[38,1],[20,5],[20,5],[20,4],[17,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[26,1],[11,1],[12,1],[15,1],[13,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 4:\n yy.apply($$[$0]);return $$[$0]; \nbreak;\ncase 5:\n this.$ = [] \nbreak;\ncase 6:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 7: case 8:\n this.$ = $$[$0] \nbreak;\ncase 9:\n this.$=[]; \nbreak;\ncase 12:\n$$[$0-3].description=yy.parseMessage($$[$0-1]); this.$=$$[$0-3];\nbreak;\ncase 13:\nthis.$=$$[$0-1];\nbreak;\ncase 15:\nyy.enableSequenceNumbers()\nbreak;\ncase 16:\nthis.$={type: 'activeStart', signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0-1]};\nbreak;\ncase 17:\nthis.$={type: 'activeEnd', signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0-1]};\nbreak;\ncase 19:\nthis.$=[{type:'setTitle', text:$$[$0-1]}]\nbreak;\ncase 20:\n\n\t\t$$[$0-1].unshift({type: 'loopStart', loopText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.LOOP_START});\n\t\t$$[$0-1].push({type: 'loopEnd', loopText:$$[$0-2], signalType: yy.LINETYPE.LOOP_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 21:\n\n\t\t$$[$0-1].unshift({type: 'rectStart', color:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.RECT_START });\n\t\t$$[$0-1].push({type: 'rectEnd', color:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.RECT_END });\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 22:\n\n\t\t$$[$0-1].unshift({type: 'optStart', optText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.OPT_START});\n\t\t$$[$0-1].push({type: 'optEnd', optText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.OPT_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 23:\n\n\t\t// Alt start\n\t\t$$[$0-1].unshift({type: 'altStart', altText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.ALT_START});\n\t\t// Content in alt is already in $$[$0-1]\n\t\t// End\n\t\t$$[$0-1].push({type: 'altEnd', signalType: yy.LINETYPE.ALT_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 24:\n\n\t\t// Parallel start\n\t\t$$[$0-1].unshift({type: 'parStart', parText:yy.parseMessage($$[$0-2]), signalType: yy.LINETYPE.PAR_START});\n\t\t// Content in par is already in $$[$0-1]\n\t\t// End\n\t\t$$[$0-1].push({type: 'parEnd', signalType: yy.LINETYPE.PAR_END});\n\t\tthis.$=$$[$0-1];\nbreak;\ncase 27:\n this.$ = $$[$0-3].concat([{type: 'and', parText:yy.parseMessage($$[$0-1]), signalType: yy.LINETYPE.PAR_AND}, $$[$0]]); \nbreak;\ncase 29:\n this.$ = $$[$0-3].concat([{type: 'else', altText:yy.parseMessage($$[$0-1]), signalType: yy.LINETYPE.ALT_ELSE}, $$[$0]]); \nbreak;\ncase 30:\n\n\t\tthis.$ = [$$[$0-1], {type:'addNote', placement:$$[$0-2], actor:$$[$0-1].actor, text:$$[$0]}];\nbreak;\ncase 31:\n\n\t\t// Coerce actor_pair into a [to, from, ...] array\n\t\t$$[$0-2] = [].concat($$[$0-1], $$[$0-1]).slice(0, 2);\n\t\t$$[$0-2][0] = $$[$0-2][0].actor;\n\t\t$$[$0-2][1] = $$[$0-2][1].actor;\n\t\tthis.$ = [$$[$0-1], {type:'addNote', placement:yy.PLACEMENT.OVER, actor:$$[$0-2].slice(0, 2), text:$$[$0]}];\nbreak;\ncase 34:\n this.$ = [$$[$0-2], $$[$0]]; \nbreak;\ncase 35:\n this.$ = $$[$0]; \nbreak;\ncase 36:\n this.$ = yy.PLACEMENT.LEFTOF; \nbreak;\ncase 37:\n this.$ = yy.PLACEMENT.RIGHTOF; \nbreak;\ncase 38:\n this.$ = [$$[$0-4],$$[$0-1],{type: 'addMessage', from:$$[$0-4].actor, to:$$[$0-1].actor, signalType:$$[$0-3], msg:$$[$0]},\n\t {type: 'activeStart', signalType: yy.LINETYPE.ACTIVE_START, actor: $$[$0-1]}\n\t ]\nbreak;\ncase 39:\n this.$ = [$$[$0-4],$$[$0-1],{type: 'addMessage', from:$$[$0-4].actor, to:$$[$0-1].actor, signalType:$$[$0-3], msg:$$[$0]},\n\t {type: 'activeEnd', signalType: yy.LINETYPE.ACTIVE_END, actor: $$[$0-4]}\n\t ]\nbreak;\ncase 40:\n this.$ = [$$[$0-3],$$[$0-1],{type: 'addMessage', from:$$[$0-3].actor, to:$$[$0-1].actor, signalType:$$[$0-2], msg:$$[$0]}]\nbreak;\ncase 41:\nthis.$={type: 'addActor', actor:$$[$0]}\nbreak;\ncase 42:\n this.$ = yy.LINETYPE.SOLID_OPEN; \nbreak;\ncase 43:\n this.$ = yy.LINETYPE.DOTTED_OPEN; \nbreak;\ncase 44:\n this.$ = yy.LINETYPE.SOLID; \nbreak;\ncase 45:\n this.$ = yy.LINETYPE.DOTTED; \nbreak;\ncase 46:\n this.$ = yy.LINETYPE.SOLID_CROSS; \nbreak;\ncase 47:\n this.$ = yy.LINETYPE.DOTTED_CROSS; \nbreak;\ncase 48:\nthis.$ = yy.parseMessage($$[$0].trim().substring(1)) \nbreak;\ncase 49:\n yy.parseDirective('%%{', 'open_directive'); \nbreak;\ncase 50:\n yy.parseDirective($$[$0], 'type_directive'); \nbreak;\ncase 51:\n $$[$0] = $$[$0].trim().replace(/'/g, '\"'); yy.parseDirective($$[$0], 'arg_directive'); \nbreak;\ncase 52:\n yy.parseDirective('}%%', 'close_directive', 'sequence'); \nbreak;\n}\n},\ntable: [{3:1,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{1:[3]},{3:8,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{3:9,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},{3:10,4:$V0,5:$V1,6:4,7:$V2,11:6,56:$V3},o([1,4,5,16,21,22,23,25,27,29,30,31,33,37,48,56],$V4,{8:11}),{12:12,57:[1,13]},{57:[2,49]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{13:34,14:[1,35],59:$Vj},o([14,59],[2,50]),o($Vk,[2,6]),{6:30,10:37,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},o($Vk,[2,8]),o($Vk,[2,9]),{17:38,48:$Vi},{5:[1,39]},o($Vk,[2,15]),{17:40,48:$Vi},{17:41,48:$Vi},{5:[1,42]},{26:43,55:$Vl},{19:[1,45]},{19:[1,46]},{19:[1,47]},{19:[1,48]},{19:[1,49]},o($Vk,[2,25]),{45:50,49:[1,51],50:[1,52],51:[1,53],52:[1,54],53:[1,55],54:[1,56]},{38:57,39:[1,58],43:[1,59],44:[1,60]},o([5,18,42,49,50,51,52,53,54,55],[2,41]),{5:[1,61]},{15:62,58:[1,63]},{5:[2,52]},o($Vk,[2,7]),{5:[1,65],18:[1,64]},o($Vk,[2,14]),{5:[1,66]},{5:[1,67]},o($Vk,[2,18]),{5:[1,68]},{5:[2,48]},o($Vm,$V4,{8:69}),o($Vm,$V4,{8:70}),o($Vm,$V4,{8:71}),o($Vn,$V4,{32:72,8:73}),o($Vo,$V4,{34:74,8:75}),{17:78,46:[1,76],47:[1,77],48:$Vi},o($Vp,[2,42]),o($Vp,[2,43]),o($Vp,[2,44]),o($Vp,[2,45]),o($Vp,[2,46]),o($Vp,[2,47]),{17:79,48:$Vi},{17:81,40:80,48:$Vi},{48:[2,36]},{48:[2,37]},o($Vq,[2,10]),{13:82,59:$Vj},{59:[2,51]},{19:[1,83]},o($Vk,[2,13]),o($Vk,[2,16]),o($Vk,[2,17]),o($Vk,[2,19]),{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,84],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,85],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[1,86],29:$Vd,30:$Ve,31:$Vf,33:$Vg,37:$Vh,48:$Vi,56:$V3},{28:[1,87]},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[2,28],29:$Vd,30:$Ve,31:$Vf,33:$Vg,36:[1,88],37:$Vh,48:$Vi,56:$V3},{28:[1,89]},{4:$V5,5:$V6,6:30,9:14,10:16,11:6,16:$V7,17:31,20:19,21:$V8,22:$V9,23:$Va,24:23,25:$Vb,27:$Vc,28:[2,26],29:$Vd,30:$Ve,31:$Vf,33:$Vg,35:[1,90],37:$Vh,48:$Vi,56:$V3},{17:91,48:$Vi},{17:92,48:$Vi},{26:93,55:$Vl},{26:94,55:$Vl},{26:95,55:$Vl},{42:[1,96],55:[2,35]},{5:[1,97]},{5:[1,98]},o($Vk,[2,20]),o($Vk,[2,21]),o($Vk,[2,22]),o($Vk,[2,23]),{19:[1,99]},o($Vk,[2,24]),{19:[1,100]},{26:101,55:$Vl},{26:102,55:$Vl},{5:[2,40]},{5:[2,30]},{5:[2,31]},{17:103,48:$Vi},o($Vq,[2,11]),o($Vk,[2,12]),o($Vn,$V4,{8:73,32:104}),o($Vo,$V4,{8:75,34:105}),{5:[2,38]},{5:[2,39]},{55:[2,34]},{28:[2,29]},{28:[2,27]}],\ndefaultActions: {7:[2,49],8:[2,1],9:[2,2],10:[2,3],36:[2,52],44:[2,48],59:[2,36],60:[2,37],63:[2,51],93:[2,40],94:[2,30],95:[2,31],101:[2,38],102:[2,39],103:[2,34],104:[2,29],105:[2,27]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0: this.begin('OPEN_DIRECTIVE'); return 56; \nbreak;\ncase 1: this.begin('TYPE_DIRECTIVE'); return 57; \nbreak;\ncase 2: this.popState(); this.begin('ARG_DIRECTIVE'); return 14; \nbreak;\ncase 3: this.popState(); this.popState(); return 59; \nbreak;\ncase 4:return 58;\nbreak;\ncase 5:return 5;\nbreak;\ncase 6:/* skip all whitespace */\nbreak;\ncase 7:/* skip same-line whitespace */\nbreak;\ncase 8:/* skip comments */\nbreak;\ncase 9:/* skip comments */\nbreak;\ncase 10:/* skip comments */\nbreak;\ncase 11: this.begin('ID'); return 16; \nbreak;\ncase 12: yy_.yytext = yy_.yytext.trim(); this.begin('ALIAS'); return 48; \nbreak;\ncase 13: this.popState(); this.popState(); this.begin('LINE'); return 18; \nbreak;\ncase 14: this.popState(); this.popState(); return 5; \nbreak;\ncase 15: this.begin('LINE'); return 27; \nbreak;\ncase 16: this.begin('LINE'); return 29; \nbreak;\ncase 17: this.begin('LINE'); return 30; \nbreak;\ncase 18: this.begin('LINE'); return 31; \nbreak;\ncase 19: this.begin('LINE'); return 36; \nbreak;\ncase 20: this.begin('LINE'); return 33; \nbreak;\ncase 21: this.begin('LINE'); return 35; \nbreak;\ncase 22: this.popState(); return 19; \nbreak;\ncase 23:return 28;\nbreak;\ncase 24:return 43;\nbreak;\ncase 25:return 44;\nbreak;\ncase 26:return 39;\nbreak;\ncase 27:return 37;\nbreak;\ncase 28: this.begin('ID'); return 22; \nbreak;\ncase 29: this.begin('ID'); return 23; \nbreak;\ncase 30:return 25;\nbreak;\ncase 31:return 7;\nbreak;\ncase 32:return 21;\nbreak;\ncase 33:return 42;\nbreak;\ncase 34:return 5;\nbreak;\ncase 35: yy_.yytext = yy_.yytext.trim(); return 48; \nbreak;\ncase 36:return 51;\nbreak;\ncase 37:return 52;\nbreak;\ncase 38:return 49;\nbreak;\ncase 39:return 50;\nbreak;\ncase 40:return 53;\nbreak;\ncase 41:return 54;\nbreak;\ncase 42:return 55;\nbreak;\ncase 43:return 46;\nbreak;\ncase 44:return 47;\nbreak;\ncase 45:return 5;\nbreak;\ncase 46:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:%%\\{)/i,/^(?:((?:(?!\\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\\}%%)/i,/^(?:((?:(?!\\}%%).|\\n)*))/i,/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:((?!\\n)\\s)+)/i,/^(?:#[^\\n]*)/i,/^(?:%(?!\\{)[^\\n]*)/i,/^(?:[^\\}]%%[^\\n]*)/i,/^(?:participant\\b)/i,/^(?:[^\\->:\\n,;]+?(?=((?!\\n)\\s)+as(?!\\n)\\s|[#\\n;]|$))/i,/^(?:as\\b)/i,/^(?:(?:))/i,/^(?:loop\\b)/i,/^(?:rect\\b)/i,/^(?:opt\\b)/i,/^(?:alt\\b)/i,/^(?:else\\b)/i,/^(?:par\\b)/i,/^(?:and\\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\\n;]*)/i,/^(?:end\\b)/i,/^(?:left of\\b)/i,/^(?:right of\\b)/i,/^(?:over\\b)/i,/^(?:note\\b)/i,/^(?:activate\\b)/i,/^(?:deactivate\\b)/i,/^(?:title\\b)/i,/^(?:sequenceDiagram\\b)/i,/^(?:autonumber\\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\\+\\->:\\n,;]+)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?::(?:(?:no)?wrap)?[^#\\n;]+)/i,/^(?:\\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"LINE\":{\"rules\":[7,8,22],\"inclusive\":false},\"ARG_DIRECTIVE\":{\"rules\":[3,4,8],\"inclusive\":false},\"TYPE_DIRECTIVE\":{\"rules\":[2,3,8],\"inclusive\":false},\"OPEN_DIRECTIVE\":{\"rules\":[1,8],\"inclusive\":false},\"ALIAS\":{\"rules\":[7,8,13,14],\"inclusive\":false},\"ID\":{\"rules\":[7,8,12],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,5,6,8,9,10,11,15,16,17,18,19,20,21,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 2, "identifier": "external \"graphlib\"", "name": "external \"graphlib\"", "index": 46, "index2": 43, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1673, "building": 1032, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "1:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "2:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "3:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "3:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "graphlib", "loc": "5:0-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "12:41-49" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "40:18-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "66:14-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "76:18-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "92:35-43" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "130:28-36" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "132:27-35" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "223:10-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "237:14-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "253:29-37" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "262:35-43" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "301:29-37" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "312:14-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "314:41-49" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "323:40-48" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "324:40-48" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "graphlib", "loc": "335:14-22" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3 }, { "id": 3, "identifier": "external \"dagre-d3\"", "name": "external \"dagre-d3\"", "index": 47, "index2": 44, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1673, "building": 1032, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3", "loc": "1:0-31" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3", "loc": "6:0-31" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "23:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "56:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "84:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "109:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "134:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "159:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "184:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "212:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "224:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "267:11-18" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "282:14-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "349:15-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3", "loc": "357:4-11" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3 }, { "id": 4, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/process/browser.js", "name": "./node_modules/process/browser.js", "index": 21, "index2": 18, "size": 5418, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 10, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1146, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 7, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/path-browserify/index.js", "module": "./node_modules/path-browserify/index.js", "moduleName": "./node_modules/path-browserify/index.js", "type": "cjs require", "userRequest": "process", "loc": "1:0-34" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 10, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 11, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 12, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 15, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "process", "loc": "1:0-56" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n" }, { "id": 5, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/webpack/buildin/module.js", "name": "(webpack)/buildin/module.js", "index": 22, "index2": 19, "size": 497, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 10, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1146, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 10, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 11, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 12, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 15, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "module", "loc": "1:0-63" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n" }, { "id": 6, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/node-libs-browser/mock/empty.js", "name": "./node_modules/node-libs-browser/mock/empty.js", "index": 23, "index2": 20, "size": 0, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 10, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1146, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "835:17-30" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "769:17-30" }, { "moduleId": 10, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "fs", "loc": "993:17-30" }, { "moduleId": 11, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "fs", "loc": "722:17-30" }, { "moduleId": 12, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "fs", "loc": "640:17-30" }, { "moduleId": 15, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "776:17-30" }, { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "fs", "loc": "690:17-30" }, { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "fs", "loc": "616:17-30" }, { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "fs", "loc": "628:17-30" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "fs", "loc": "673:17-30" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "" }, { "id": 7, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/path-browserify/index.js", "name": "./node_modules/path-browserify/index.js", "index": 24, "index2": 21, "size": 8742, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "issuerId": 10, "issuerName": "./src/diagrams/flowchart/parser/flow.jison", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1146, "building": 30, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 1, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/parser/sequenceDiagram.jison", "module": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "moduleName": "./src/diagrams/sequence/parser/sequenceDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "835:44-59" }, { "moduleId": 8, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "module": "./src/diagrams/state/parser/stateDiagram.jison", "moduleName": "./src/diagrams/state/parser/stateDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "769:44-59" }, { "moduleId": 10, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "module": "./src/diagrams/flowchart/parser/flow.jison", "moduleName": "./src/diagrams/flowchart/parser/flow.jison", "type": "cjs require", "userRequest": "path", "loc": "993:44-59" }, { "moduleId": 11, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "module": "./src/diagrams/gantt/parser/gantt.jison", "moduleName": "./src/diagrams/gantt/parser/gantt.jison", "type": "cjs require", "userRequest": "path", "loc": "722:44-59" }, { "moduleId": 12, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "module": "./src/diagrams/user-journey/parser/journey.jison", "moduleName": "./src/diagrams/user-journey/parser/journey.jison", "type": "cjs require", "userRequest": "path", "loc": "640:44-59" }, { "moduleId": 15, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "module": "./src/diagrams/class/parser/classDiagram.jison", "moduleName": "./src/diagrams/class/parser/classDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "776:44-59" }, { "moduleId": 18, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "module": "./src/diagrams/git/parser/gitGraph.jison", "moduleName": "./src/diagrams/git/parser/gitGraph.jison", "type": "cjs require", "userRequest": "path", "loc": "690:44-59" }, { "moduleId": 19, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "module": "./src/diagrams/info/parser/info.jison", "moduleName": "./src/diagrams/info/parser/info.jison", "type": "cjs require", "userRequest": "path", "loc": "616:44-59" }, { "moduleId": 20, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "module": "./src/diagrams/pie/parser/pie.jison", "moduleName": "./src/diagrams/pie/parser/pie.jison", "type": "cjs require", "userRequest": "path", "loc": "628:44-59" }, { "moduleId": 21, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "module": "./src/diagrams/er/parser/erDiagram.jison", "moduleName": "./src/diagrams/er/parser/erDiagram.jison", "type": "cjs require", "userRequest": "path", "loc": "673:44-59" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// .dirname, .basename, and .extname methods are extracted from Node.js v8.11.1,\n// backported and transplited with Babel, with backwards-compat fixes\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// resolves . and .. elements in a path array with directory names there\n// must be no slashes, empty elements, or device names (c:\\) in the array\n// (so also no leading and trailing slashes - it does not distinguish\n// relative and absolute paths)\nfunction normalizeArray(parts, allowAboveRoot) {\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = parts.length - 1; i >= 0; i--) {\n var last = parts[i];\n if (last === '.') {\n parts.splice(i, 1);\n } else if (last === '..') {\n parts.splice(i, 1);\n up++;\n } else if (up) {\n parts.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (allowAboveRoot) {\n for (; up--; up) {\n parts.unshift('..');\n }\n }\n\n return parts;\n}\n\n// path.resolve([from ...], to)\n// posix version\nexports.resolve = function() {\n var resolvedPath = '',\n resolvedAbsolute = false;\n\n for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {\n var path = (i >= 0) ? arguments[i] : process.cwd();\n\n // Skip empty and invalid entries\n if (typeof path !== 'string') {\n throw new TypeError('Arguments to path.resolve must be strings');\n } else if (!path) {\n continue;\n }\n\n resolvedPath = path + '/' + resolvedPath;\n resolvedAbsolute = path.charAt(0) === '/';\n }\n\n // At this point the path should be resolved to a full absolute path, but\n // handle relative paths to be safe (might happen when process.cwd() fails)\n\n // Normalize the path\n resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {\n return !!p;\n }), !resolvedAbsolute).join('/');\n\n return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';\n};\n\n// path.normalize(path)\n// posix version\nexports.normalize = function(path) {\n var isAbsolute = exports.isAbsolute(path),\n trailingSlash = substr(path, -1) === '/';\n\n // Normalize the path\n path = normalizeArray(filter(path.split('/'), function(p) {\n return !!p;\n }), !isAbsolute).join('/');\n\n if (!path && !isAbsolute) {\n path = '.';\n }\n if (path && trailingSlash) {\n path += '/';\n }\n\n return (isAbsolute ? '/' : '') + path;\n};\n\n// posix version\nexports.isAbsolute = function(path) {\n return path.charAt(0) === '/';\n};\n\n// posix version\nexports.join = function() {\n var paths = Array.prototype.slice.call(arguments, 0);\n return exports.normalize(filter(paths, function(p, index) {\n if (typeof p !== 'string') {\n throw new TypeError('Arguments to path.join must be strings');\n }\n return p;\n }).join('/'));\n};\n\n\n// path.relative(from, to)\n// posix version\nexports.relative = function(from, to) {\n from = exports.resolve(from).substr(1);\n to = exports.resolve(to).substr(1);\n\n function trim(arr) {\n var start = 0;\n for (; start < arr.length; start++) {\n if (arr[start] !== '') break;\n }\n\n var end = arr.length - 1;\n for (; end >= 0; end--) {\n if (arr[end] !== '') break;\n }\n\n if (start > end) return [];\n return arr.slice(start, end - start + 1);\n }\n\n var fromParts = trim(from.split('/'));\n var toParts = trim(to.split('/'));\n\n var length = Math.min(fromParts.length, toParts.length);\n var samePartsLength = length;\n for (var i = 0; i < length; i++) {\n if (fromParts[i] !== toParts[i]) {\n samePartsLength = i;\n break;\n }\n }\n\n var outputParts = [];\n for (var i = samePartsLength; i < fromParts.length; i++) {\n outputParts.push('..');\n }\n\n outputParts = outputParts.concat(toParts.slice(samePartsLength));\n\n return outputParts.join('/');\n};\n\nexports.sep = '/';\nexports.delimiter = ':';\n\nexports.dirname = function (path) {\n if (typeof path !== 'string') path = path + '';\n if (path.length === 0) return '.';\n var code = path.charCodeAt(0);\n var hasRoot = code === 47 /*/*/;\n var end = -1;\n var matchedSlash = true;\n for (var i = path.length - 1; i >= 1; --i) {\n code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n if (!matchedSlash) {\n end = i;\n break;\n }\n } else {\n // We saw the first non-path separator\n matchedSlash = false;\n }\n }\n\n if (end === -1) return hasRoot ? '/' : '.';\n if (hasRoot && end === 1) {\n // return '//';\n // Backwards-compat fix:\n return '/';\n }\n return path.slice(0, end);\n};\n\nfunction basename(path) {\n if (typeof path !== 'string') path = path + '';\n\n var start = 0;\n var end = -1;\n var matchedSlash = true;\n var i;\n\n for (i = path.length - 1; i >= 0; --i) {\n if (path.charCodeAt(i) === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n start = i + 1;\n break;\n }\n } else if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // path component\n matchedSlash = false;\n end = i + 1;\n }\n }\n\n if (end === -1) return '';\n return path.slice(start, end);\n}\n\n// Uses a mixed approach for backwards-compatibility, as ext behavior changed\n// in new Node.js versions, so only basename() above is backported here\nexports.basename = function (path, ext) {\n var f = basename(path);\n if (ext && f.substr(-1 * ext.length) === ext) {\n f = f.substr(0, f.length - ext.length);\n }\n return f;\n};\n\nexports.extname = function (path) {\n if (typeof path !== 'string') path = path + '';\n var startDot = -1;\n var startPart = 0;\n var end = -1;\n var matchedSlash = true;\n // Track the state of characters (if any) we see before our first dot and\n // after any path separator we find\n var preDotState = 0;\n for (var i = path.length - 1; i >= 0; --i) {\n var code = path.charCodeAt(i);\n if (code === 47 /*/*/) {\n // If we reached a path separator that was not part of a set of path\n // separators at the end of the string, stop now\n if (!matchedSlash) {\n startPart = i + 1;\n break;\n }\n continue;\n }\n if (end === -1) {\n // We saw the first non-path separator, mark this as the end of our\n // extension\n matchedSlash = false;\n end = i + 1;\n }\n if (code === 46 /*.*/) {\n // If this is our first dot, mark it as the start of our extension\n if (startDot === -1)\n startDot = i;\n else if (preDotState !== 1)\n preDotState = 1;\n } else if (startDot !== -1) {\n // We saw a non-dot and non-path separator before our dot, so we should\n // have a good chance at having a non-empty extension\n preDotState = -1;\n }\n }\n\n if (startDot === -1 || end === -1 ||\n // We saw a non-dot character immediately before the dot\n preDotState === 0 ||\n // The (right-most) trimmed path component is exactly '..'\n preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) {\n return '';\n }\n return path.slice(startDot, end);\n};\n\nfunction filter (xs, f) {\n if (xs.filter) return xs.filter(f);\n var res = [];\n for (var i = 0; i < xs.length; i++) {\n if (f(xs[i], i, xs)) res.push(xs[i]);\n }\n return res;\n}\n\n// String.prototype.substr - negative index don't work in IE8\nvar substr = 'ab'.substr(-1) === 'b'\n ? function (str, start, len) { return str.substr(start, len) }\n : function (str, start, len) {\n if (start < 0) start = str.length + start;\n return str.substr(start, len);\n }\n;\n" }, { "id": 8, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/parser/stateDiagram.jison", "name": "./src/diagrams/state/parser/stateDiagram.jison", "index": 35, "index2": 33, "size": 29755, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/stateDiagram", "loc": "4:0-42" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/stateDiagram", "loc": "7:0-47" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "11:0-6" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "25:15-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "33:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "34:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "36:0-63" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "108:15-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/state/parser/stateDiagram", "loc": "113:15-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/stateDiagram", "loc": "217:15-20" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,2],$V1=[1,3],$V2=[1,4],$V3=[2,4],$V4=[1,9],$V5=[1,11],$V6=[1,13],$V7=[1,14],$V8=[1,15],$V9=[1,16],$Va=[1,21],$Vb=[1,17],$Vc=[1,18],$Vd=[1,19],$Ve=[1,20],$Vf=[1,22],$Vg=[1,4,5,13,14,16,18,19,21,22,23,24,25,28],$Vh=[1,4,5,11,12,13,14,16,18,19,21,22,23,24,25,28],$Vi=[4,5,13,14,16,18,19,21,22,23,24,25,28];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"SPACE\":4,\"NL\":5,\"SD\":6,\"document\":7,\"line\":8,\"statement\":9,\"idStatement\":10,\"DESCR\":11,\"-->\":12,\"HIDE_EMPTY\":13,\"scale\":14,\"WIDTH\":15,\"COMPOSIT_STATE\":16,\"STRUCT_START\":17,\"STRUCT_STOP\":18,\"STATE_DESCR\":19,\"AS\":20,\"ID\":21,\"FORK\":22,\"JOIN\":23,\"CONCURRENT\":24,\"note\":25,\"notePosition\":26,\"NOTE_TEXT\":27,\"EDGE_STATE\":28,\"left_of\":29,\"right_of\":30,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"SPACE\",5:\"NL\",6:\"SD\",11:\"DESCR\",12:\"-->\",13:\"HIDE_EMPTY\",14:\"scale\",15:\"WIDTH\",16:\"COMPOSIT_STATE\",17:\"STRUCT_START\",18:\"STRUCT_STOP\",19:\"STATE_DESCR\",20:\"AS\",21:\"ID\",22:\"FORK\",23:\"JOIN\",24:\"CONCURRENT\",25:\"note\",27:\"NOTE_TEXT\",28:\"EDGE_STATE\",29:\"left_of\",30:\"right_of\"},\nproductions_: [0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,4],[9,4],[10,1],[10,1],[26,1],[26,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 3:\n /*console.warn('Root document', $$[$0]);*/ yy.setRootDoc($$[$0]);return $$[$0]; \nbreak;\ncase 4:\n this.$ = [] \nbreak;\ncase 5:\n\n if($$[$0]!='nl'){\n $$[$0-1].push($$[$0]);this.$ = $$[$0-1]\n }\n // console.warn('Got document',$$[$0-1], $$[$0]);\n \nbreak;\ncase 6: case 7:\n this.$ = $$[$0] \nbreak;\ncase 8:\n this.$='nl';\nbreak;\ncase 9:\n /*console.warn('got id and descr', $$[$0]);*/this.$={ stmt: 'state', id: $$[$0], type: 'default', description: ''};\nbreak;\ncase 10:\n /*console.warn('got id and descr', $$[$0-1], $$[$0].trim());*/this.$={ stmt: 'state', id: $$[$0-1], type: 'default', description: yy.trimColon($$[$0])};\nbreak;\ncase 11:\n\n /*console.warn('got id', $$[$0-2]);yy.addRelation($$[$0-2], $$[$0]);*/\n this.$={ stmt: 'relation', state1: { stmt: 'state', id: $$[$0-2], type: 'default', description: '' }, state2:{ stmt: 'state', id: $$[$0] ,type: 'default', description: ''}};\n \nbreak;\ncase 12:\n\n /*yy.addRelation($$[$0-3], $$[$0-1], $$[$0].substr(1).trim());*/\n this.$={ stmt: 'relation', state1: { stmt: 'state', id: $$[$0-3], type: 'default', description: '' }, state2:{ stmt: 'state', id: $$[$0-1] ,type: 'default', description: ''}, description: $$[$0].substr(1).trim()};\n \nbreak;\ncase 16:\n\n\n /* console.warn('Adding document for state without id ', $$[$0-3]);*/\n this.$={ stmt: 'state', id: $$[$0-3], type: 'default', description: '', doc: $$[$0-1] }\n \nbreak;\ncase 17:\n\n var id=$$[$0];\n var description = $$[$0-2].trim();\n if($$[$0].match(':')){\n var parts = $$[$0].split(':');\n id=parts[0];\n description = [description, parts[1]];\n }\n this.$={stmt: 'state', id: id, type: 'default', description: description};\n\n \nbreak;\ncase 18:\n\n //console.warn('Adding document for state with id ', $$[$0-3], $$[$0-2]); yy.addDocument($$[$0-3]);\n this.$={ stmt: 'state', id: $$[$0-3], type: 'default', description: $$[$0-5], doc: $$[$0-1] }\n \nbreak;\ncase 19:\n\n this.$={ stmt: 'state', id: $$[$0], type: 'fork' }\n \nbreak;\ncase 20:\n\n this.$={ stmt: 'state', id: $$[$0], type: 'join' }\n \nbreak;\ncase 21:\n\n this.$={ stmt: 'state', id: yy.getDividerId(), type: 'divider' }\n \nbreak;\ncase 22:\n\n /*console.warn('got NOTE, position: ', $$[$0-2].trim(), 'id = ', $$[$0-1].trim(), 'note: ', $$[$0]);*/\n this.$={ stmt: 'state', id: $$[$0-1].trim(), note:{position: $$[$0-2].trim(), text: $$[$0].trim()}};\n \nbreak;\ncase 24: case 25:\nthis.$=$$[$0];\nbreak;\n}\n},\ntable: [{3:1,4:$V0,5:$V1,6:$V2},{1:[3]},{3:5,4:$V0,5:$V1,6:$V2},{3:6,4:$V0,5:$V1,6:$V2},o([1,4,5,13,14,16,19,21,22,23,24,25,28],$V3,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,5]),{9:23,10:12,13:$V6,14:$V7,16:$V8,19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,7]),o($Vg,[2,8]),o($Vg,[2,9],{11:[1,24],12:[1,25]}),o($Vg,[2,13]),{15:[1,26]},o($Vg,[2,15],{17:[1,27]}),{20:[1,28]},o($Vg,[2,19]),o($Vg,[2,20]),o($Vg,[2,21]),{26:29,27:[1,30],29:[1,31],30:[1,32]},o($Vh,[2,24]),o($Vh,[2,25]),o($Vg,[2,6]),o($Vg,[2,10]),{10:33,21:$Va,28:$Vf},o($Vg,[2,14]),o($Vi,$V3,{7:34}),{21:[1,35]},{21:[1,36]},{20:[1,37]},{21:[2,26]},{21:[2,27]},o($Vg,[2,11],{11:[1,38]}),{4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,18:[1,39],19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,17],{17:[1,40]}),{27:[1,41]},{21:[1,42]},o($Vg,[2,12]),o($Vg,[2,16]),o($Vi,$V3,{7:43}),o($Vg,[2,22]),o($Vg,[2,23]),{4:$V4,5:$V5,8:8,9:10,10:12,13:$V6,14:$V7,16:$V8,18:[1,44],19:$V9,21:$Va,22:$Vb,23:$Vc,24:$Vd,25:$Ve,28:$Vf},o($Vg,[2,18])],\ndefaultActions: {5:[2,1],6:[2,2],31:[2,26],32:[2,27]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 5;\nbreak;\ncase 1:/* skip all whitespace */\nbreak;\ncase 2:/* skip same-line whitespace */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:/* skip comments */\nbreak;\ncase 5: this.pushState('SCALE'); /* console.log('Got scale', yy_.yytext);*/ return 14; \nbreak;\ncase 6:return 15;\nbreak;\ncase 7:this.popState();\nbreak;\ncase 8: this.pushState('STATE'); \nbreak;\ncase 9:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim(); /*console.warn('Fork Fork: ',yy_.yytext);*/return 22;\nbreak;\ncase 10:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Join: ',yy_.yytext);*/return 23;\nbreak;\ncase 11:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Fork: ',yy_.yytext);*/return 22;\nbreak;\ncase 12:this.popState();yy_.yytext=yy_.yytext.slice(0,-8).trim();/*console.warn('Fork Join: ',yy_.yytext);*/return 23;\nbreak;\ncase 13:this.begin(\"STATE_STRING\");\nbreak;\ncase 14:this.popState();this.pushState('STATE_ID');return \"AS\";\nbreak;\ncase 15:this.popState();/* console.log('STATE_ID', yy_.yytext);*/return \"ID\";\nbreak;\ncase 16:this.popState();\nbreak;\ncase 17: /*console.log('Long description:', yy_.yytext);*/return \"STATE_DESCR\";\nbreak;\ncase 18:/*console.log('COMPOSIT_STATE', yy_.yytext);*/return 16;\nbreak;\ncase 19:this.popState();\nbreak;\ncase 20:this.popState();this.pushState('struct'); /*console.log('begin struct', yy_.yytext);*/return 17;\nbreak;\ncase 21: /*console.log('Ending struct');*/ this.popState(); return 18;\nbreak;\ncase 22:/* nothing */\nbreak;\ncase 23: this.begin('NOTE'); return 25; \nbreak;\ncase 24: this.popState();this.pushState('NOTE_ID');return 29;\nbreak;\ncase 25: this.popState();this.pushState('NOTE_ID');return 30;\nbreak;\ncase 26: this.popState();this.pushState('FLOATING_NOTE');\nbreak;\ncase 27:this.popState();this.pushState('FLOATING_NOTE_ID');return \"AS\";\nbreak;\ncase 28:/**/\nbreak;\ncase 29: /*console.log('Floating note text: ', yy_.yytext);*/return \"NOTE_TEXT\";\nbreak;\ncase 30:this.popState();/*console.log('Floating note ID', yy_.yytext);*/return \"ID\";\nbreak;\ncase 31: this.popState();this.pushState('NOTE_TEXT');/*console.log('Got ID for note', yy_.yytext);*/return 21;\nbreak;\ncase 32: this.popState();/*console.log('Got NOTE_TEXT for note',yy_.yytext);*/yy_.yytext = yy_.yytext.substr(2).trim();return 27;\nbreak;\ncase 33: this.popState();/*console.log('Got NOTE_TEXT for note',yy_.yytext);*/yy_.yytext = yy_.yytext.slice(0,-8).trim();return 27;\nbreak;\ncase 34: /*console.log('Got state diagram', yy_.yytext,'#');*/return 6; \nbreak;\ncase 35: /*console.log('Got state diagram', yy_.yytext,'#');*/return 6; \nbreak;\ncase 36: /*console.log('HIDE_EMPTY', yy_.yytext,'#');*/return 13; \nbreak;\ncase 37: /*console.log('EDGE_STATE=',yy_.yytext);*/ return 28;\nbreak;\ncase 38: /*console.log('=>ID=',yy_.yytext);*/ return 21;\nbreak;\ncase 39: yy_.yytext = yy_.yytext.trim(); /*console.log('Descr = ', yy_.yytext);*/ return 11; \nbreak;\ncase 40:return 12;\nbreak;\ncase 41:return 24;\nbreak;\ncase 42:return 5;\nbreak;\ncase 43:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:((?!\\n)\\s)+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:scale\\s+)/i,/^(?:\\d+)/i,/^(?:\\s+width\\b)/i,/^(?:state\\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\\[\\[fork\\]\\])/i,/^(?:.*\\[\\[join\\]\\])/i,/^(?:[\"])/i,/^(?:\\s*as\\s+)/i,/^(?:[^\\n\\{]*)/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[^\\n\\s\\{]+)/i,/^(?:\\n)/i,/^(?:\\{)/i,/^(?:\\})/i,/^(?:[\\n])/i,/^(?:note\\s+)/i,/^(?:left of\\b)/i,/^(?:right of\\b)/i,/^(?:\")/i,/^(?:\\s*as\\s*)/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[^\\n]*)/i,/^(?:\\s*[^:\\n\\s\\-]+)/i,/^(?:\\s*:[^:\\n;]+)/i,/^(?:\\s*[^:;]+end note\\b)/i,/^(?:stateDiagram\\s+)/i,/^(?:stateDiagram-v2\\s+)/i,/^(?:hide empty description\\b)/i,/^(?:\\[\\*\\])/i,/^(?:[^:\\n\\s\\-\\{]+)/i,/^(?:\\s*:[^:\\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"LINE\":{\"rules\":[2,3],\"inclusive\":false},\"struct\":{\"rules\":[2,3,8,21,22,23,37,38,39,40,41],\"inclusive\":false},\"FLOATING_NOTE_ID\":{\"rules\":[30],\"inclusive\":false},\"FLOATING_NOTE\":{\"rules\":[27,28,29],\"inclusive\":false},\"NOTE_TEXT\":{\"rules\":[32,33],\"inclusive\":false},\"NOTE_ID\":{\"rules\":[31],\"inclusive\":false},\"NOTE\":{\"rules\":[24,25,26],\"inclusive\":false},\"SCALE\":{\"rules\":[6,7],\"inclusive\":false},\"ALIAS\":{\"rules\":[],\"inclusive\":false},\"STATE_ID\":{\"rules\":[15],\"inclusive\":false},\"STATE_STRING\":{\"rules\":[16,17],\"inclusive\":false},\"FORK_STATE\":{\"rules\":[],\"inclusive\":false},\"STATE\":{\"rules\":[2,3,9,10,11,12,13,14,18,19,20],\"inclusive\":false},\"ID\":{\"rules\":[2,3],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,3,4,5,8,20,23,34,35,36,37,38,39,40,42,43],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 9, "identifier": "external \"moment-mini\"", "name": "external \"moment-mini\"", "index": 18, "index2": 14, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "issuerId": null, "issuerName": "./src/logger.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 0, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "moment-mini", "loc": "1:0-33" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "moment-mini", "loc": "9:0-33" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "63:13-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "115:18-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "117:16-22" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "177:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "223:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "233:62-68" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "301:25-31" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "moment-mini", "loc": "451:38-44" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 10, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/parser/flow.jison", "name": "./src/diagrams/flowchart/parser/flow.jison", "index": 28, "index2": 26, "size": 57072, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/flow", "loc": "4:0-33" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/flow", "loc": "4:0-33" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "23:0-58" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "82:15-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/parser/flow", "loc": "88:15-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "275:17-21" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "293:15-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "295:15-19" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/flow", "loc": "316:15-19" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,4],$V1=[1,3],$V2=[1,5],$V3=[1,8,9,10,11,26,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$V4=[2,2],$V5=[1,12],$V6=[1,13],$V7=[1,14],$V8=[1,15],$V9=[1,22],$Va=[1,46],$Vb=[1,24],$Vc=[1,25],$Vd=[1,26],$Ve=[1,27],$Vf=[1,28],$Vg=[1,40],$Vh=[1,35],$Vi=[1,37],$Vj=[1,32],$Vk=[1,36],$Vl=[1,39],$Vm=[1,43],$Vn=[1,44],$Vo=[1,45],$Vp=[1,34],$Vq=[1,38],$Vr=[1,41],$Vs=[1,42],$Vt=[1,33],$Vu=[1,51],$Vv=[1,8,9,10,11,26,30,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Vw=[1,55],$Vx=[1,54],$Vy=[1,56],$Vz=[8,9,11,57,58],$VA=[8,9,10,11,57,58],$VB=[8,9,10,11,35,57,58],$VC=[8,9,10,11,28,34,35,37,39,41,43,45,47,49,50,52,57,58,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VD=[8,9,11,34,57,58,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VE=[34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$VF=[1,101],$VG=[1,122],$VH=[1,123],$VI=[1,124],$VJ=[1,125],$VK=[1,105],$VL=[1,96],$VM=[1,97],$VN=[1,93],$VO=[1,117],$VP=[1,118],$VQ=[1,119],$VR=[1,120],$VS=[1,121],$VT=[1,126],$VU=[1,127],$VV=[1,99],$VW=[1,107],$VX=[1,110],$VY=[1,108],$VZ=[1,109],$V_=[1,102],$V$=[1,115],$V01=[1,114],$V11=[1,98],$V21=[1,95],$V31=[1,104],$V41=[1,106],$V51=[1,111],$V61=[1,112],$V71=[1,113],$V81=[1,116],$V91=[8,9,10,11,26,30,34,63,64,65,66,67,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Va1=[1,130],$Vb1=[1,134],$Vc1=[1,136],$Vd1=[1,137],$Ve1=[8,9,10,11,12,13,26,28,29,30,34,38,40,42,44,46,48,49,51,53,57,58,59,63,64,65,66,67,68,69,72,78,79,82,83,84,86,87,88,89,93,94,95,96,97,98],$Vf1=[8,9,10,11,13,34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],$Vg1=[10,79],$Vh1=[1,204],$Vi1=[1,208],$Vj1=[1,205],$Vk1=[1,202],$Vl1=[1,199],$Vm1=[1,200],$Vn1=[1,201],$Vo1=[1,203],$Vp1=[1,206],$Vq1=[1,207],$Vr1=[1,209],$Vs1=[8,9,11],$Vt1=[1,225],$Vu1=[8,9,11,79],$Vv1=[8,9,10,11,63,75,78,79,82,83,84,85,86,87,88];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"mermaidDoc\":3,\"graphConfig\":4,\"document\":5,\"line\":6,\"statement\":7,\"SEMI\":8,\"NEWLINE\":9,\"SPACE\":10,\"EOF\":11,\"GRAPH\":12,\"DIR\":13,\"FirstStmtSeperator\":14,\"ending\":15,\"endToken\":16,\"spaceList\":17,\"spaceListNewline\":18,\"verticeStatement\":19,\"separator\":20,\"styleStatement\":21,\"linkStyleStatement\":22,\"classDefStatement\":23,\"classStatement\":24,\"clickStatement\":25,\"subgraph\":26,\"text\":27,\"SQS\":28,\"SQE\":29,\"end\":30,\"link\":31,\"node\":32,\"vertex\":33,\"AMP\":34,\"STYLE_SEPARATOR\":35,\"idString\":36,\"PS\":37,\"PE\":38,\"(-\":39,\"-)\":40,\"STADIUMSTART\":41,\"STADIUMEND\":42,\"SUBROUTINESTART\":43,\"SUBROUTINEEND\":44,\"CYLINDERSTART\":45,\"CYLINDEREND\":46,\"DIAMOND_START\":47,\"DIAMOND_STOP\":48,\"TAGEND\":49,\"TRAPSTART\":50,\"TRAPEND\":51,\"INVTRAPSTART\":52,\"INVTRAPEND\":53,\"linkStatement\":54,\"arrowText\":55,\"TESTSTR\":56,\"START_LINK\":57,\"LINK\":58,\"PIPE\":59,\"textToken\":60,\"STR\":61,\"keywords\":62,\"STYLE\":63,\"LINKSTYLE\":64,\"CLASSDEF\":65,\"CLASS\":66,\"CLICK\":67,\"DOWN\":68,\"UP\":69,\"textNoTags\":70,\"textNoTagsToken\":71,\"DEFAULT\":72,\"stylesOpt\":73,\"alphaNum\":74,\"HEX\":75,\"numList\":76,\"INTERPOLATE\":77,\"NUM\":78,\"COMMA\":79,\"style\":80,\"styleComponent\":81,\"ALPHA\":82,\"COLON\":83,\"MINUS\":84,\"UNIT\":85,\"BRKT\":86,\"DOT\":87,\"PCT\":88,\"TAGSTART\":89,\"alphaNumToken\":90,\"idStringToken\":91,\"alphaNumStatement\":92,\"PUNCTUATION\":93,\"UNICODE_TEXT\":94,\"PLUS\":95,\"EQUALS\":96,\"MULT\":97,\"UNDERSCORE\":98,\"graphCodeTokens\":99,\"ARROW_CROSS\":100,\"ARROW_POINT\":101,\"ARROW_CIRCLE\":102,\"ARROW_OPEN\":103,\"QUOTE\":104,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",8:\"SEMI\",9:\"NEWLINE\",10:\"SPACE\",11:\"EOF\",12:\"GRAPH\",13:\"DIR\",26:\"subgraph\",28:\"SQS\",29:\"SQE\",30:\"end\",34:\"AMP\",35:\"STYLE_SEPARATOR\",37:\"PS\",38:\"PE\",39:\"(-\",40:\"-)\",41:\"STADIUMSTART\",42:\"STADIUMEND\",43:\"SUBROUTINESTART\",44:\"SUBROUTINEEND\",45:\"CYLINDERSTART\",46:\"CYLINDEREND\",47:\"DIAMOND_START\",48:\"DIAMOND_STOP\",49:\"TAGEND\",50:\"TRAPSTART\",51:\"TRAPEND\",52:\"INVTRAPSTART\",53:\"INVTRAPEND\",56:\"TESTSTR\",57:\"START_LINK\",58:\"LINK\",59:\"PIPE\",61:\"STR\",63:\"STYLE\",64:\"LINKSTYLE\",65:\"CLASSDEF\",66:\"CLASS\",67:\"CLICK\",68:\"DOWN\",69:\"UP\",72:\"DEFAULT\",75:\"HEX\",77:\"INTERPOLATE\",78:\"NUM\",79:\"COMMA\",82:\"ALPHA\",83:\"COLON\",84:\"MINUS\",85:\"UNIT\",86:\"BRKT\",87:\"DOT\",88:\"PCT\",89:\"TAGSTART\",93:\"PUNCTUATION\",94:\"UNICODE_TEXT\",95:\"PLUS\",96:\"EQUALS\",97:\"MULT\",98:\"UNDERSCORE\",100:\"ARROW_CROSS\",101:\"ARROW_POINT\",102:\"ARROW_CIRCLE\",103:\"ARROW_OPEN\",104:\"QUOTE\"},\nproductions_: [0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,3],[15,2],[15,1],[16,1],[16,1],[16,1],[14,1],[14,1],[14,2],[18,2],[18,2],[18,1],[18,1],[17,2],[17,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[20,1],[20,1],[20,1],[19,3],[19,4],[19,2],[19,1],[32,1],[32,5],[32,3],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,1],[31,2],[31,3],[31,3],[31,1],[31,3],[54,1],[55,3],[27,1],[27,2],[27,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[70,1],[70,2],[23,5],[23,5],[24,5],[25,5],[25,7],[25,5],[25,7],[21,5],[21,5],[22,5],[22,5],[22,9],[22,9],[22,7],[22,7],[76,1],[76,3],[73,1],[73,3],[80,1],[80,2],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[81,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[71,1],[71,1],[71,1],[71,1],[36,1],[36,2],[74,1],[74,2],[92,1],[92,1],[92,1],[92,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 2:\n this.$ = [];\nbreak;\ncase 3:\n\n\t if($$[$0] !== []){\n\t $$[$0-1].push($$[$0]);\n\t }\n\t this.$=$$[$0-1];\nbreak;\ncase 4: case 67: case 69: case 81: case 127: case 129: case 130:\nthis.$=$$[$0];\nbreak;\ncase 11:\n yy.setDirection($$[$0-1]);this.$ = $$[$0-1];\nbreak;\ncase 26:\n /* console.warn('finat vs', $$[$0-1].nodes); */ this.$=$$[$0-1].nodes\nbreak;\ncase 27: case 28: case 29: case 30: case 31:\nthis.$=[];\nbreak;\ncase 32:\nthis.$=yy.addSubGraph($$[$0-6],$$[$0-1],$$[$0-4]);\nbreak;\ncase 33:\nthis.$=yy.addSubGraph($$[$0-3],$$[$0-1],$$[$0-3]);\nbreak;\ncase 34:\nthis.$=yy.addSubGraph(undefined,$$[$0-1],undefined);\nbreak;\ncase 38:\n /* console.warn('vs',$$[$0-2].stmt,$$[$0]); */ yy.addLink($$[$0-2].stmt,$$[$0],$$[$0-1]); this.$ = { stmt: $$[$0], nodes: $$[$0].concat($$[$0-2].nodes) } \nbreak;\ncase 39:\n /* console.warn('vs',$$[$0-3].stmt,$$[$0-1]); */ yy.addLink($$[$0-3].stmt,$$[$0-1],$$[$0-2]); this.$ = { stmt: $$[$0-1], nodes: $$[$0-1].concat($$[$0-3].nodes) } \nbreak;\ncase 40:\n/*console.warn('noda', $$[$0-1]);*/ this.$ = {stmt: $$[$0-1], nodes:$$[$0-1] }\nbreak;\ncase 41:\n /*console.warn('noda', $$[$0]);*/ this.$ = {stmt: $$[$0], nodes:$$[$0] }\nbreak;\ncase 42:\n /* console.warn('nod', $$[$0]); */ this.$ = [$$[$0]];\nbreak;\ncase 43:\n this.$ = $$[$0-4].concat($$[$0]); /* console.warn('pip', $$[$0-4][0], $$[$0], this.$); */ \nbreak;\ncase 44:\nthis.$ = [$$[$0-2]];yy.setClass($$[$0-2],$$[$0])\nbreak;\ncase 45:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'square');\nbreak;\ncase 46:\nthis.$ = $$[$0-5];yy.addVertex($$[$0-5],$$[$0-2],'circle');\nbreak;\ncase 47:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'ellipse');\nbreak;\ncase 48:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'stadium');\nbreak;\ncase 49:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'subroutine');\nbreak;\ncase 50:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'cylinder');\nbreak;\ncase 51:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'round');\nbreak;\ncase 52:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'diamond');\nbreak;\ncase 53:\nthis.$ = $$[$0-5];yy.addVertex($$[$0-5],$$[$0-2],'hexagon');\nbreak;\ncase 54:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'odd');\nbreak;\ncase 55:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'trapezoid');\nbreak;\ncase 56:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'inv_trapezoid');\nbreak;\ncase 57:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'lean_right');\nbreak;\ncase 58:\nthis.$ = $$[$0-3];yy.addVertex($$[$0-3],$$[$0-1],'lean_left');\nbreak;\ncase 59:\n /*console.warn('h: ', $$[$0]);*/this.$ = $$[$0];yy.addVertex($$[$0]);\nbreak;\ncase 60:\n$$[$0-1].text = $$[$0];this.$ = $$[$0-1];\nbreak;\ncase 61: case 62:\n$$[$0-2].text = $$[$0-1];this.$ = $$[$0-2];\nbreak;\ncase 63:\nthis.$ = $$[$0];\nbreak;\ncase 64:\nvar inf = yy.destructLink($$[$0], $$[$0-2]); this.$ = {\"type\":inf.type,\"stroke\":inf.stroke,\"text\":$$[$0-1]};\nbreak;\ncase 65:\nvar inf = yy.destructLink($$[$0]);this.$ = {\"type\":inf.type,\"stroke\":inf.stroke};\nbreak;\ncase 66:\nthis.$ = $$[$0-1];\nbreak;\ncase 68: case 82: case 128:\nthis.$=$$[$0-1]+''+$$[$0];\nbreak;\ncase 83: case 84:\nthis.$ = $$[$0-4];yy.addClass($$[$0-2],$$[$0]);\nbreak;\ncase 85:\nthis.$ = $$[$0-4];yy.setClass($$[$0-2], $$[$0]);\nbreak;\ncase 86:\nthis.$ = $$[$0-4];yy.setClickEvent($$[$0-2], $$[$0], undefined);\nbreak;\ncase 87:\nthis.$ = $$[$0-6];yy.setClickEvent($$[$0-4], $$[$0-2], $$[$0]) ;\nbreak;\ncase 88:\nthis.$ = $$[$0-4];yy.setLink($$[$0-2], $$[$0], undefined);\nbreak;\ncase 89:\nthis.$ = $$[$0-6];yy.setLink($$[$0-4], $$[$0-2], $$[$0] );\nbreak;\ncase 90:\nthis.$ = $$[$0-4];yy.addVertex($$[$0-2],undefined,undefined,$$[$0]);\nbreak;\ncase 91: case 93:\nthis.$ = $$[$0-4];yy.updateLink($$[$0-2],$$[$0]);\nbreak;\ncase 92:\nthis.$ = $$[$0-4];yy.updateLink([$$[$0-2]],$$[$0]);\nbreak;\ncase 94:\nthis.$ = $$[$0-8];yy.updateLinkInterpolate([$$[$0-6]],$$[$0-2]);yy.updateLink([$$[$0-6]],$$[$0]);\nbreak;\ncase 95:\nthis.$ = $$[$0-8];yy.updateLinkInterpolate($$[$0-6],$$[$0-2]);yy.updateLink($$[$0-6],$$[$0]);\nbreak;\ncase 96:\nthis.$ = $$[$0-6];yy.updateLinkInterpolate([$$[$0-4]],$$[$0]);\nbreak;\ncase 97:\nthis.$ = $$[$0-6];yy.updateLinkInterpolate($$[$0-4],$$[$0]);\nbreak;\ncase 98: case 100:\nthis.$ = [$$[$0]]\nbreak;\ncase 99: case 101:\n$$[$0-2].push($$[$0]);this.$ = $$[$0-2];\nbreak;\ncase 103:\nthis.$ = $$[$0-1] + $$[$0];\nbreak;\ncase 125:\nthis.$=$$[$0]\nbreak;\ncase 126:\nthis.$=$$[$0-1]+''+$$[$0]\nbreak;\ncase 131:\nthis.$='v';\nbreak;\ncase 132:\nthis.$='-';\nbreak;\n}\n},\ntable: [{3:1,4:2,9:$V0,10:$V1,12:$V2},{1:[3]},o($V3,$V4,{5:6}),{4:7,9:$V0,10:$V1,12:$V2},{4:8,9:$V0,10:$V1,12:$V2},{13:[1,9]},{1:[2,1],6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($V3,[2,9]),o($V3,[2,10]),{8:[1,48],9:[1,49],10:$Vu,14:47,17:50},o($Vv,[2,3]),o($Vv,[2,4]),o($Vv,[2,5]),o($Vv,[2,6]),o($Vv,[2,7]),o($Vv,[2,8]),{8:$Vw,9:$Vx,11:$Vy,20:52,31:53,54:57,57:[1,58],58:[1,59]},{8:$Vw,9:$Vx,11:$Vy,20:60},{8:$Vw,9:$Vx,11:$Vy,20:61},{8:$Vw,9:$Vx,11:$Vy,20:62},{8:$Vw,9:$Vx,11:$Vy,20:63},{8:$Vw,9:$Vx,11:$Vy,20:64},{8:$Vw,9:$Vx,10:[1,65],11:$Vy,20:66},o($Vz,[2,41],{17:67,10:$Vu}),{10:[1,68]},{10:[1,69]},{10:[1,70]},{10:[1,71]},{10:[1,72]},o($VA,[2,42],{35:[1,73]}),o($VB,[2,59],{91:84,28:[1,74],34:$Va,37:[1,75],39:[1,76],41:[1,77],43:[1,78],45:[1,79],47:[1,80],49:[1,81],50:[1,82],52:[1,83],68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt}),o($VC,[2,125]),o($VC,[2,146]),o($VC,[2,147]),o($VC,[2,148]),o($VC,[2,149]),o($VC,[2,150]),o($VC,[2,151]),o($VC,[2,152]),o($VC,[2,153]),o($VC,[2,154]),o($VC,[2,155]),o($VC,[2,156]),o($VC,[2,157]),o($VC,[2,158]),o($VC,[2,159]),o($VC,[2,160]),o($V3,[2,11]),o($V3,[2,17]),o($V3,[2,18]),{9:[1,85]},o($VD,[2,25],{17:86,10:$Vu}),o($Vv,[2,26]),{32:87,33:29,34:$Va,36:30,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($Vv,[2,35]),o($Vv,[2,36]),o($Vv,[2,37]),o($VE,[2,63],{55:88,56:[1,89],59:[1,90]}),{10:$VF,12:$VG,13:$VH,26:$VI,27:91,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o([34,56,59,68,78,79,82,83,84,86,87,93,94,95,96,97,98],[2,65]),o($Vv,[2,27]),o($Vv,[2,28]),o($Vv,[2,29]),o($Vv,[2,30]),o($Vv,[2,31]),{10:$VF,12:$VG,13:$VH,26:$VI,27:128,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($V91,$V4,{5:129}),o($Vz,[2,40],{34:$Va1}),{13:$Vb1,34:$VK,68:$Vc1,74:131,75:[1,132],78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{72:[1,138],76:139,78:[1,140]},{13:$Vb1,34:$VK,68:$Vc1,72:[1,141],74:142,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:143,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:144,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{34:$Va,36:145,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$VF,12:$VG,13:$VH,26:$VI,27:146,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:148,30:$VJ,34:$VK,37:[1,147],49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:149,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:150,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:151,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:152,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:153,30:$VJ,34:$VK,47:[1,154],49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:155,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:156,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:157,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VC,[2,126]),o($V3,[2,19]),o($VD,[2,24]),o($Vz,[2,38],{17:158,10:$Vu}),o($VE,[2,60],{10:[1,159]}),{10:[1,160]},{10:$VF,12:$VG,13:$VH,26:$VI,27:161,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,57:$VM,58:[1,162],60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($Ve1,[2,67]),o($Ve1,[2,69]),o($Ve1,[2,115]),o($Ve1,[2,116]),o($Ve1,[2,117]),o($Ve1,[2,118]),o($Ve1,[2,119]),o($Ve1,[2,120]),o($Ve1,[2,121]),o($Ve1,[2,122]),o($Ve1,[2,123]),o($Ve1,[2,124]),o($Ve1,[2,133]),o($Ve1,[2,134]),o($Ve1,[2,135]),o($Ve1,[2,136]),o($Ve1,[2,137]),o($Ve1,[2,138]),o($Ve1,[2,139]),o($Ve1,[2,140]),o($Ve1,[2,141]),o($Ve1,[2,142]),o($Ve1,[2,143]),o($Ve1,[2,144]),o($Ve1,[2,145]),o($Ve1,[2,70]),o($Ve1,[2,71]),o($Ve1,[2,72]),o($Ve1,[2,73]),o($Ve1,[2,74]),o($Ve1,[2,75]),o($Ve1,[2,76]),o($Ve1,[2,77]),o($Ve1,[2,78]),o($Ve1,[2,79]),o($Ve1,[2,80]),{8:$Vw,9:$Vx,10:$VF,11:$Vy,12:$VG,13:$VH,20:165,26:$VI,28:[1,164],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,166],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vu,17:167},{10:[1,168],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,170]},o($Vf1,[2,127]),o($Vf1,[2,129]),o($Vf1,[2,130]),o($Vf1,[2,131]),o($Vf1,[2,132]),{10:[1,171]},{10:[1,172],79:[1,173]},o($Vg1,[2,98]),{10:[1,174]},{10:[1,175],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,176],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:[1,177],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:169,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VA,[2,44],{91:84,34:$Va,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt}),{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,178],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:179,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,38:[1,180],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,40:[1,181],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,42:[1,182],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,44:[1,183],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,46:[1,184],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,48:[1,185],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,27:186,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,187],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,51:[1,188],53:[1,189],57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,51:[1,191],53:[1,190],57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($Vz,[2,39],{34:$Va1}),o($VE,[2,62]),o($VE,[2,61]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,49:$VL,57:$VM,59:[1,192],60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VE,[2,64]),o($Ve1,[2,68]),{10:$VF,12:$VG,13:$VH,26:$VI,27:193,30:$VJ,34:$VK,49:$VL,57:$VM,60:92,61:$VN,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($V91,$V4,{5:194}),o($Vv,[2,34]),{33:195,34:$Va,36:30,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vh1,63:$Vi1,73:196,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vf1,[2,128]),{10:$Vh1,63:$Vi1,73:210,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:211,75:$Vj1,77:[1,212],78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:213,75:$Vj1,77:[1,214],78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{78:[1,215]},{10:$Vh1,63:$Vi1,73:216,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:217,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{13:$Vb1,34:$VK,68:$Vc1,74:218,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,61:[1,220],68:$Vc1,74:219,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,45]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,38:[1,221],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,51]),o($VB,[2,47]),o($VB,[2,48]),o($VB,[2,49]),o($VB,[2,50]),o($VB,[2,52]),{10:$VF,12:$VG,13:$VH,26:$VI,30:$VJ,34:$VK,48:[1,222],49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},o($VB,[2,54]),o($VB,[2,55]),o($VB,[2,57]),o($VB,[2,56]),o($VB,[2,58]),o([10,34,68,78,79,82,83,84,86,87,93,94,95,96,97,98],[2,66]),{10:$VF,12:$VG,13:$VH,26:$VI,29:[1,223],30:$VJ,34:$VK,49:$VL,57:$VM,60:163,62:103,63:$VO,64:$VP,65:$VQ,66:$VR,67:$VS,68:$VT,69:$VU,71:94,72:$VV,78:$VW,79:$VX,82:$VY,83:$VZ,84:$V_,86:$V$,87:$V01,88:$V11,89:$V21,90:100,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,224],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},o($VA,[2,43]),o($Vs1,[2,90],{79:$Vt1}),o($Vu1,[2,100],{81:226,10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1}),o($Vv1,[2,102]),o($Vv1,[2,104]),o($Vv1,[2,105]),o($Vv1,[2,106]),o($Vv1,[2,107]),o($Vv1,[2,108]),o($Vv1,[2,109]),o($Vv1,[2,110]),o($Vv1,[2,111]),o($Vv1,[2,112]),o($Vv1,[2,113]),o($Vv1,[2,114]),o($Vs1,[2,91],{79:$Vt1}),o($Vs1,[2,92],{79:$Vt1}),{10:[1,227]},o($Vs1,[2,93],{79:$Vt1}),{10:[1,228]},o($Vg1,[2,99]),o($Vs1,[2,83],{79:$Vt1}),o($Vs1,[2,84],{79:$Vt1}),o($Vs1,[2,85],{90:135,92:169,13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,86],{90:135,92:169,10:[1,229],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,88],{10:[1,230]}),{38:[1,231]},{48:[1,232]},{8:$Vw,9:$Vx,11:$Vy,20:233},o($Vv,[2,33]),{10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,80:234,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vv1,[2,103]),{13:$Vb1,34:$VK,68:$Vc1,74:235,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{13:$Vb1,34:$VK,68:$Vc1,74:236,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,90:135,92:133,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81},{61:[1,237]},{61:[1,238]},o($VB,[2,46]),o($VB,[2,53]),o($V91,$V4,{5:239}),o($Vu1,[2,101],{81:226,10:$Vh1,63:$Vi1,75:$Vj1,78:$Vk1,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1}),o($Vs1,[2,96],{90:135,92:169,10:[1,240],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,97],{90:135,92:169,10:[1,241],13:$Vb1,34:$VK,68:$Vc1,78:$VW,79:$VX,82:$VY,83:$VZ,84:$Vd1,86:$V$,87:$V01,93:$V31,94:$V41,95:$V51,96:$V61,97:$V71,98:$V81}),o($Vs1,[2,87]),o($Vs1,[2,89]),{6:10,7:11,8:$V5,9:$V6,10:$V7,11:$V8,19:16,21:17,22:18,23:19,24:20,25:21,26:$V9,30:[1,242],32:23,33:29,34:$Va,36:30,63:$Vb,64:$Vc,65:$Vd,66:$Ve,67:$Vf,68:$Vg,78:$Vh,79:$Vi,82:$Vj,83:$Vk,84:$Vl,86:$Vm,87:$Vn,91:31,93:$Vo,94:$Vp,95:$Vq,96:$Vr,97:$Vs,98:$Vt},{10:$Vh1,63:$Vi1,73:243,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},{10:$Vh1,63:$Vi1,73:244,75:$Vj1,78:$Vk1,80:197,81:198,82:$Vl1,83:$Vm1,84:$Vn1,85:$Vo1,86:$Vp1,87:$Vq1,88:$Vr1},o($Vv,[2,32]),o($Vs1,[2,94],{79:$Vt1}),o($Vs1,[2,95],{79:$Vt1})],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:this.begin(\"string\");\nbreak;\ncase 2:this.popState();\nbreak;\ncase 3:return \"STR\";\nbreak;\ncase 4:return 63;\nbreak;\ncase 5:return 72;\nbreak;\ncase 6:return 64;\nbreak;\ncase 7:return 77;\nbreak;\ncase 8:return 65;\nbreak;\ncase 9:return 66;\nbreak;\ncase 10:return 67;\nbreak;\ncase 11:if(yy.lex.firstGraph()){this.begin(\"dir\");} return 12;\nbreak;\ncase 12:if(yy.lex.firstGraph()){this.begin(\"dir\");} return 12;\nbreak;\ncase 13:return 26;\nbreak;\ncase 14:return 30;\nbreak;\ncase 15: this.popState(); return 13; \nbreak;\ncase 16: this.popState(); return 13; \nbreak;\ncase 17: this.popState(); return 13; \nbreak;\ncase 18: this.popState(); return 13; \nbreak;\ncase 19: this.popState(); return 13; \nbreak;\ncase 20: this.popState(); return 13; \nbreak;\ncase 21: this.popState(); return 13; \nbreak;\ncase 22: this.popState(); return 13; \nbreak;\ncase 23: this.popState(); return 13; \nbreak;\ncase 24: this.popState(); return 13; \nbreak;\ncase 25: return 78;\nbreak;\ncase 26:return 86;\nbreak;\ncase 27:return 35;\nbreak;\ncase 28:return 83;\nbreak;\ncase 29:return 34;\nbreak;\ncase 30:return 8;\nbreak;\ncase 31:return 79;\nbreak;\ncase 32:return 97;\nbreak;\ncase 33:return 58;\nbreak;\ncase 34:return 58;\nbreak;\ncase 35:return 58;\nbreak;\ncase 36:return 58;\nbreak;\ncase 37:return 58;\nbreak;\ncase 38:return 58;\nbreak;\ncase 39:return 58;\nbreak;\ncase 40:return 58;\nbreak;\ncase 41:return 58;\nbreak;\ncase 42:return 58;\nbreak;\ncase 43:return 58;\nbreak;\ncase 44:return 58;\nbreak;\ncase 45:return 58;\nbreak;\ncase 46:return 58;\nbreak;\ncase 47:return 58;\nbreak;\ncase 48:return 58;\nbreak;\ncase 49:return 58;\nbreak;\ncase 50:return 58;\nbreak;\ncase 51:return 58;\nbreak;\ncase 52:return 58;\nbreak;\ncase 53:return 58;\nbreak;\ncase 54:return 58;\nbreak;\ncase 55:return 58;\nbreak;\ncase 56:return 58;\nbreak;\ncase 57:return 58;\nbreak;\ncase 58:return 58;\nbreak;\ncase 59:return 58;\nbreak;\ncase 60:return 58;\nbreak;\ncase 61:return 57;\nbreak;\ncase 62:return 57;\nbreak;\ncase 63:return 57;\nbreak;\ncase 64:return 57;\nbreak;\ncase 65:return 57;\nbreak;\ncase 66:return 57;\nbreak;\ncase 67:return 57;\nbreak;\ncase 68:return 57;\nbreak;\ncase 69:return 57;\nbreak;\ncase 70:return 57;\nbreak;\ncase 71:return 57;\nbreak;\ncase 72:return 57;\nbreak;\ncase 73:return 39;\nbreak;\ncase 74:return 40;\nbreak;\ncase 75:return 41;\nbreak;\ncase 76:return 42;\nbreak;\ncase 77:return 43;\nbreak;\ncase 78:return 44;\nbreak;\ncase 79:return 45;\nbreak;\ncase 80:return 46;\nbreak;\ncase 81:return 84;\nbreak;\ncase 82:return 87;\nbreak;\ncase 83:return 98;\nbreak;\ncase 84:return 95;\nbreak;\ncase 85:return 88;\nbreak;\ncase 86:return 96;\nbreak;\ncase 87:return 96;\nbreak;\ncase 88:return 89;\nbreak;\ncase 89:return 49;\nbreak;\ncase 90:return 69;\nbreak;\ncase 91:return 'SEP';\nbreak;\ncase 92:return 68;\nbreak;\ncase 93:return 82;\nbreak;\ncase 94:return 51;\nbreak;\ncase 95:return 50;\nbreak;\ncase 96:return 53;\nbreak;\ncase 97:return 52;\nbreak;\ncase 98:return 93;\nbreak;\ncase 99:return 94;\nbreak;\ncase 100:return 59;\nbreak;\ncase 101:return 37;\nbreak;\ncase 102:return 38;\nbreak;\ncase 103:return 28;\nbreak;\ncase 104:return 29;\nbreak;\ncase 105:return 47\nbreak;\ncase 106:return 48\nbreak;\ncase 107:return 104;\nbreak;\ncase 108:return 9;\nbreak;\ncase 109:return 10;\nbreak;\ncase 110:return 11;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*\\n*)/,/^(?:[\"])/,/^(?:[\"])/,/^(?:[^\"]*)/,/^(?:style\\b)/,/^(?:default\\b)/,/^(?:linkStyle\\b)/,/^(?:interpolate\\b)/,/^(?:classDef\\b)/,/^(?:class\\b)/,/^(?:click\\b)/,/^(?:graph\\b)/,/^(?:flowchart\\b)/,/^(?:subgraph\\b)/,/^(?:end\\b\\s*)/,/^(?:\\s*LR\\b)/,/^(?:\\s*RL\\b)/,/^(?:\\s*TB\\b)/,/^(?:\\s*BT\\b)/,/^(?:\\s*TD\\b)/,/^(?:\\s*BR\\b)/,/^(?:\\s*<)/,/^(?:\\s*>)/,/^(?:\\s*\\^)/,/^(?:\\s*v\\b)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\\*)/,/^(?:\\s*--[x]\\s*)/,/^(?:\\s*-->\\s*)/,/^(?:\\s*<-->\\s*)/,/^(?:\\s*[x]--[x]\\s*)/,/^(?:\\s*[o]--[o]\\s*)/,/^(?:\\s*[o]\\.-[o]\\s*)/,/^(?:\\s*<==>\\s*)/,/^(?:\\s*[o]==[o]\\s*)/,/^(?:\\s*[x]==[x]\\s*)/,/^(?:\\s*[x].-[x]\\s*)/,/^(?:\\s*[x]-\\.-[x]\\s*)/,/^(?:\\s*<\\.->\\s*)/,/^(?:\\s*<-\\.->\\s*)/,/^(?:\\s*[o]-\\.-[o]\\s*)/,/^(?:\\s*--[o]\\s*)/,/^(?:\\s*---\\s*)/,/^(?:\\s*-\\.-[x]\\s*)/,/^(?:\\s*-\\.->\\s*)/,/^(?:\\s*-\\.-[o]\\s*)/,/^(?:\\s*-\\.-\\s*)/,/^(?:\\s*.-[x]\\s*)/,/^(?:\\s*\\.->\\s*)/,/^(?:\\s*\\.-[o]\\s*)/,/^(?:\\s*\\.-\\s*)/,/^(?:\\s*==[x]\\s*)/,/^(?:\\s*==>\\s*)/,/^(?:\\s*==[o]\\s*)/,/^(?:\\s*==[\\=]\\s*)/,/^(?:\\s*<--\\s*)/,/^(?:\\s*[x]--\\s*)/,/^(?:\\s*[o]--\\s*)/,/^(?:\\s*<-\\.\\s*)/,/^(?:\\s*[x]-\\.\\s*)/,/^(?:\\s*[o]-\\.\\s*)/,/^(?:\\s*<==\\s*)/,/^(?:\\s*[x]==\\s*)/,/^(?:\\s*[o]==\\s*)/,/^(?:\\s*--\\s*)/,/^(?:\\s*-\\.\\s*)/,/^(?:\\s*==\\s*)/,/^(?:\\(-)/,/^(?:-\\))/,/^(?:\\(\\[)/,/^(?:\\]\\))/,/^(?:\\[\\[)/,/^(?:\\]\\])/,/^(?:\\[\\()/,/^(?:\\)\\])/,/^(?:-)/,/^(?:\\.)/,/^(?:[\\_])/,/^(?:\\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\\^)/,/^(?:\\\\\\|)/,/^(?:v\\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\\\\])/,/^(?:\\[\\/)/,/^(?:\\/\\])/,/^(?:\\[\\\\)/,/^(?:[!\"#$%&'*+,-.`?\\\\_/])/,/^(?:[\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6]|[\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377]|[\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5]|[\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA]|[\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE]|[\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA]|[\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0]|[\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977]|[\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2]|[\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A]|[\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39]|[\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8]|[\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C]|[\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C]|[\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99]|[\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0]|[\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D]|[\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3]|[\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10]|[\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1]|[\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81]|[\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3]|[\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6]|[\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A]|[\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081]|[\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D]|[\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0]|[\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310]|[\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C]|[\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711]|[\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7]|[\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C]|[\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16]|[\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF]|[\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC]|[\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D]|[\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D]|[\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3]|[\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F]|[\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128]|[\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184]|[\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3]|[\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6]|[\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE]|[\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C]|[\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D]|[\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC]|[\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B]|[\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788]|[\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805]|[\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB]|[\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28]|[\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5]|[\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4]|[\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E]|[\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D]|[\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36]|[\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D]|[\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC]|[\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF]|[\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC])/,/^(?:\\|)/,/^(?:\\()/,/^(?:\\))/,/^(?:\\[)/,/^(?:\\])/,/^(?:\\{)/,/^(?:\\})/,/^(?:\")/,/^(?:(\\r|\\n|\\r\\n)+)/,/^(?:\\s)/,/^(?:$)/],\nconditions: {\"vertex\":{\"rules\":[],\"inclusive\":false},\"dir\":{\"rules\":[15,16,17,18,19,20,21,22,23,24],\"inclusive\":false},\"string\":{\"rules\":[2,3],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,4,5,6,7,8,9,10,11,12,13,14,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 11, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/parser/gantt.jison", "name": "./src/diagrams/gantt/parser/gantt.jison", "index": 31, "index2": 29, "size": 25297, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/gantt", "loc": "2:0-40" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "5:0-6" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "25:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "26:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/parser/gantt", "loc": "29:0-56" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "38:18-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "84:26-32" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/parser/gantt", "loc": "98:15-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gantt", "loc": "281:113-119" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,8,10,11,12,13,14,15,16,17,19,21],$V1=[1,9],$V2=[1,10],$V3=[1,11],$V4=[1,12],$V5=[1,13],$V6=[1,14],$V7=[1,15],$V8=[1,17],$V9=[1,18];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"gantt\":4,\"document\":5,\"EOF\":6,\"line\":7,\"SPACE\":8,\"statement\":9,\"NL\":10,\"dateFormat\":11,\"inclusiveEndDates\":12,\"axisFormat\":13,\"excludes\":14,\"todayMarker\":15,\"title\":16,\"section\":17,\"clickStatement\":18,\"taskTxt\":19,\"taskData\":20,\"click\":21,\"callbackname\":22,\"callbackargs\":23,\"href\":24,\"clickStatementDebug\":25,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"gantt\",6:\"EOF\",8:\"SPACE\",10:\"NL\",11:\"dateFormat\",12:\"inclusiveEndDates\",13:\"axisFormat\",14:\"excludes\",15:\"todayMarker\",16:\"title\",17:\"section\",19:\"taskTxt\",20:\"taskData\",21:\"click\",22:\"callbackname\",23:\"callbackargs\",24:\"href\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[18,2],[18,3],[18,3],[18,4],[18,3],[18,4],[18,2],[25,2],[25,3],[25,3],[25,4],[25,3],[25,4],[25,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\n this.$ = [] \nbreak;\ncase 3:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 4: case 5:\n this.$ = $$[$0] \nbreak;\ncase 6: case 7:\n this.$=[];\nbreak;\ncase 8:\nyy.setDateFormat($$[$0].substr(11));this.$=$$[$0].substr(11);\nbreak;\ncase 9:\nyy.enableInclusiveEndDates();this.$=$$[$0].substr(18);\nbreak;\ncase 10:\nyy.setAxisFormat($$[$0].substr(11));this.$=$$[$0].substr(11);\nbreak;\ncase 11:\nyy.setExcludes($$[$0].substr(9));this.$=$$[$0].substr(9);\nbreak;\ncase 12:\nyy.setTodayMarker($$[$0].substr(12));this.$=$$[$0].substr(12);\nbreak;\ncase 13:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\ncase 14:\nyy.addSection($$[$0].substr(8));this.$=$$[$0].substr(8);\nbreak;\ncase 16:\nyy.addTask($$[$0-1],$$[$0]);this.$='task';\nbreak;\ncase 17:\nthis.$ = $$[$0-1];yy.setClickEvent($$[$0-1], $$[$0], null);\nbreak;\ncase 18:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\ncase 19:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0-1], null);yy.setLink($$[$0-2],$$[$0]);\nbreak;\ncase 20:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-3], $$[$0-2], $$[$0-1]);yy.setLink($$[$0-3],$$[$0]);\nbreak;\ncase 21:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-2], $$[$0], null);yy.setLink($$[$0-2],$$[$0-1]);\nbreak;\ncase 22:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-3], $$[$0-1], $$[$0]);yy.setLink($$[$0-3],$$[$0-2]);\nbreak;\ncase 23:\nthis.$ = $$[$0-1];yy.setLink($$[$0-1], $$[$0]);\nbreak;\ncase 24: case 30:\nthis.$=$$[$0-1] + ' ' + $$[$0];\nbreak;\ncase 25: case 26: case 28:\nthis.$=$$[$0-2] + ' ' + $$[$0-1] + ' ' + $$[$0];\nbreak;\ncase 27: case 29:\nthis.$=$$[$0-3] + ' ' + $$[$0-2] + ' ' + $$[$0-1] + ' ' + $$[$0];\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:$V1,12:$V2,13:$V3,14:$V4,15:$V5,16:$V6,17:$V7,18:16,19:$V8,21:$V9},o($V0,[2,7],{1:[2,1]}),o($V0,[2,3]),{9:19,11:$V1,12:$V2,13:$V3,14:$V4,15:$V5,16:$V6,17:$V7,18:16,19:$V8,21:$V9},o($V0,[2,5]),o($V0,[2,6]),o($V0,[2,8]),o($V0,[2,9]),o($V0,[2,10]),o($V0,[2,11]),o($V0,[2,12]),o($V0,[2,13]),o($V0,[2,14]),o($V0,[2,15]),{20:[1,20]},{22:[1,21],24:[1,22]},o($V0,[2,4]),o($V0,[2,16]),o($V0,[2,17],{23:[1,23],24:[1,24]}),o($V0,[2,23],{22:[1,25]}),o($V0,[2,18],{24:[1,26]}),o($V0,[2,19]),o($V0,[2,21],{23:[1,27]}),o($V0,[2,20]),o($V0,[2,22])],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 10;\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:this.begin(\"href\");\nbreak;\ncase 5:this.popState();\nbreak;\ncase 6:return 24;\nbreak;\ncase 7:this.begin(\"callbackname\");\nbreak;\ncase 8:this.popState();\nbreak;\ncase 9:this.popState(); this.begin(\"callbackargs\");\nbreak;\ncase 10:return 22;\nbreak;\ncase 11:this.popState();\nbreak;\ncase 12:return 23;\nbreak;\ncase 13:this.begin(\"click\");\nbreak;\ncase 14:this.popState();\nbreak;\ncase 15:return 21;\nbreak;\ncase 16:return 4;\nbreak;\ncase 17:return 11;\nbreak;\ncase 18:return 12;\nbreak;\ncase 19:return 13;\nbreak;\ncase 20:return 14;\nbreak;\ncase 21:return 15;\nbreak;\ncase 22:return 'date';\nbreak;\ncase 23:return 16;\nbreak;\ncase 24:return 17;\nbreak;\ncase 25:return 19;\nbreak;\ncase 26:return 20;\nbreak;\ncase 27:return ':';\nbreak;\ncase 28:return 6;\nbreak;\ncase 29:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:href[\\s]+[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:call[\\s]+)/i,/^(?:\\([\\s]*\\))/i,/^(?:\\()/i,/^(?:[^(]*)/i,/^(?:\\))/i,/^(?:[^)]*)/i,/^(?:click[\\s]+)/i,/^(?:[\\s\\n])/i,/^(?:[^\\s\\n]*)/i,/^(?:gantt\\b)/i,/^(?:dateFormat\\s[^#\\n;]+)/i,/^(?:inclusiveEndDates\\b)/i,/^(?:axisFormat\\s[^#\\n;]+)/i,/^(?:excludes\\s[^#\\n;]+)/i,/^(?:todayMarker\\s[^\\n;]+)/i,/^(?:\\d\\d\\d\\d-\\d\\d-\\d\\d\\b)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:section\\s[^#:\\n;]+)/i,/^(?:[^#:\\n;]+)/i,/^(?::[^#\\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"callbackargs\":{\"rules\":[11,12],\"inclusive\":false},\"callbackname\":{\"rules\":[8,9,10],\"inclusive\":false},\"href\":{\"rules\":[5,6],\"inclusive\":false},\"click\":{\"rules\":[14,15],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,7,13,16,17,18,19,20,21,22,23,24,25,26,27,28,29],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 12, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/parser/journey.jison", "name": "./src/diagrams/user-journey/parser/journey.jison", "index": 43, "index2": 41, "size": 21995, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/journey", "loc": "2:0-42" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "5:0-6" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/parser/journey", "loc": "51:0-67" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "71:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "72:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "77:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "78:14-20" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/journey", "loc": "79:19-25" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/parser/journey", "loc": "137:15-28" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,8,10,11,12,13],$V1=[1,9],$V2=[1,10],$V3=[1,11];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"journey\":4,\"document\":5,\"EOF\":6,\"line\":7,\"SPACE\":8,\"statement\":9,\"NL\":10,\"title\":11,\"section\":12,\"taskName\":13,\"taskData\":14,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"journey\",6:\"EOF\",8:\"SPACE\",10:\"NL\",11:\"title\",12:\"section\",13:\"taskName\",14:\"taskData\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\n this.$ = [] \nbreak;\ncase 3:\n$$[$0-1].push($$[$0]);this.$ = $$[$0-1]\nbreak;\ncase 4: case 5:\n this.$ = $$[$0] \nbreak;\ncase 6: case 7:\n this.$=[];\nbreak;\ncase 8:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\ncase 9:\nyy.addSection($$[$0].substr(8));this.$=$$[$0].substr(8);\nbreak;\ncase 10:\nyy.addTask($$[$0-1], $$[$0]);this.$='task';\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:$V1,12:$V2,13:$V3},o($V0,[2,7],{1:[2,1]}),o($V0,[2,3]),{9:12,11:$V1,12:$V2,13:$V3},o($V0,[2,5]),o($V0,[2,6]),o($V0,[2,8]),o($V0,[2,9]),{14:[1,13]},o($V0,[2,4]),o($V0,[2,10])],\ndefaultActions: {},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 10;\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:return 4;\nbreak;\ncase 5:return 11;\nbreak;\ncase 6:return 12;\nbreak;\ncase 7:return 13;\nbreak;\ncase 8:return 14;\nbreak;\ncase 9:return ':';\nbreak;\ncase 10:return 6;\nbreak;\ncase 11:return 'INVALID';\nbreak;\n}\n},\nrules: [/^(?:[\\n]+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:journey\\b)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:section\\s[^#:\\n;]+)/i,/^(?:[^#:\\n;]+)/i,/^(?::[^#\\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 13, "identifier": "external \"dagre\"", "name": "external \"dagre\"", "index": 53, "index2": 49, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/class/classRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1802, "building": 543, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "1:0-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "2:0-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "2:0-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre", "loc": "5:0-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "91:2-7" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "98:2-7" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "201:2-7" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre", "loc": "243:2-7" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3 }, { "id": 14, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/package.json", "name": "./package.json", "index": 79, "index2": 77, "size": 3186, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "../package.json", "loc": "17:0-34" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "365:35-38" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "371:34-37" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "376:33-36" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "381:38-41" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "386:27-30" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "../package.json", "loc": "543:50-53" } ], "usedExports": [ "default" ], "providedExports": [ "name", "version", "description", "main", "keywords", "scripts", "repository", "author", "license", "standard", "dependencies", "devDependencies", "files", "yarn-upgrade-all", "sideEffects", "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "{\n \"name\": \"mermaid\",\n \"version\": \"8.6.0\",\n \"description\": \"Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.\",\n \"main\": \"dist/mermaid.core.js\",\n \"keywords\": [\n \"diagram\",\n \"markdown\",\n \"flowchart\",\n \"sequence diagram\",\n \"gantt\",\n \"class diagram\",\n \"git graph\"\n ],\n \"scripts\": {\n \"build:development\": \"webpack --progress --colors\",\n \"build:production\": \"yarn build:development -p --config webpack.config.prod.babel.js\",\n \"build\": \"yarn build:development && yarn build:production\",\n \"postbuild\": \"documentation build src/mermaidAPI.js src/config.js --shallow -f md --markdown-toc false -o docs/Setup.md\",\n \"build:watch\": \"yarn build --watch\",\n \"minify\": \"minify ./dist/mermaid.js > ./dist/mermaid.min.js\",\n \"release\": \"yarn build\",\n \"lint\": \"eslint src\",\n \"e2e:depr\": \"yarn lint && jest e2e --config e2e/jest.config.js\",\n \"cypress\": \"percy exec -- cypress run\",\n \"e2e\": \"start-server-and-test dev http://localhost:9000/ cypress\",\n \"e2e-upd\": \"yarn lint && jest e2e -u --config e2e/jest.config.js\",\n \"dev\": \"webpack-dev-server --config webpack.config.e2e.js\",\n \"test\": \"yarn lint && jest src/.*\",\n \"test:watch\": \"jest --watch src\",\n \"prepublishOnly\": \"yarn build && yarn test && yarn e2e\",\n \"prepush\": \"yarn test\",\n \"prepare\": \"yarn build\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/knsv/mermaid\"\n },\n \"author\": \"Knut Sveidqvist\",\n \"license\": \"MIT\",\n \"standard\": {\n \"ignore\": [\n \"**/parser/*.js\",\n \"dist/**/*.js\",\n \"cypress/**/*.js\"\n ],\n \"globals\": [\n \"page\"\n ]\n },\n \"dependencies\": {\n \"@braintree/sanitize-url\": \"^3.1.0\",\n \"crypto-random-string\": \"^3.0.1\",\n \"d3\": \"^5.7.0\",\n \"dagre\": \"^0.8.4\",\n \"dagre-d3\": \"^0.6.4\",\n \"entity-decode\": \"^2.0.2\",\n \"graphlib\": \"^2.1.7\",\n \"he\": \"^1.2.0\",\n \"minify\": \"^4.1.1\",\n \"moment-mini\": \"^2.22.1\",\n \"scope-css\": \"^1.2.1\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.2.2\",\n \"@babel/preset-env\": \"^7.8.4\",\n \"@babel/register\": \"^7.0.0\",\n \"@percy/cypress\": \"*\",\n \"babel-core\": \"7.0.0-bridge.0\",\n \"babel-jest\": \"^24.9.0\",\n \"babel-loader\": \"^8.0.4\",\n \"coveralls\": \"^3.0.2\",\n \"css-loader\": \"^2.0.1\",\n \"css-to-string-loader\": \"^0.1.3\",\n \"cypress\": \"4.0.1\",\n \"documentation\": \"^12.0.1\",\n \"eslint\": \"^6.3.0\",\n \"eslint-config-prettier\": \"^6.3.0\",\n \"eslint-plugin-prettier\": \"^3.1.0\",\n \"husky\": \"^1.2.1\",\n \"identity-obj-proxy\": \"^3.0.0\",\n \"jest\": \"^24.9.0\",\n \"jison\": \"^0.4.18\",\n \"moment\": \"^2.23.0\",\n \"node-sass\": \"^4.12.0\",\n \"prettier\": \"^1.18.2\",\n \"puppeteer\": \"^1.17.0\",\n \"sass-loader\": \"^7.1.0\",\n \"start-server-and-test\": \"^1.10.6\",\n \"terser-webpack-plugin\": \"^2.2.2\",\n \"webpack\": \"^4.41.2\",\n \"webpack-bundle-analyzer\": \"^3.7.0\",\n \"webpack-cli\": \"^3.1.2\",\n \"webpack-dev-server\": \"^3.4.1\",\n \"webpack-node-externals\": \"^1.7.2\",\n \"yarn-upgrade-all\": \"^0.5.0\"\n },\n \"files\": [\n \"dist\"\n ],\n \"yarn-upgrade-all\": {\n \"ignore\": [\n \"babel-core\"\n ]\n },\n \"sideEffects\": [\n \"**/*.css\",\n \"**/*.scss\"\n ]\n}\n" }, { "id": 15, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/parser/classDiagram.jison", "name": "./src/diagrams/class/parser/classDiagram.jison", "index": 33, "index2": 31, "size": 32826, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/classDiagram", "loc": "6:0-47" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "8:0-6" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/parser/classDiagram", "loc": "32:0-63" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "59:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/classDiagram", "loc": "60:2-8" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/class/parser/classDiagram", "loc": "103:15-26" } ], "usedExports": [ "default", "parser" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[1,13],$V1=[1,16],$V2=[1,14],$V3=[1,15],$V4=[1,17],$V5=[1,18],$V6=[1,20],$V7=[1,21],$V8=[1,22],$V9=[6,8],$Va=[1,31],$Vb=[1,32],$Vc=[1,33],$Vd=[1,34],$Ve=[1,35],$Vf=[1,36],$Vg=[6,8,14,20,28,31,32,33,34,35,36],$Vh=[6,8,12,14,20,24,28,31,32,33,34,35,36,52,53,54],$Vi=[28,52,53,54],$Vj=[28,35,36,52,53,54],$Vk=[28,31,32,33,34,52,53,54],$Vl=[6,8,14],$Vm=[1,59];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"mermaidDoc\":3,\"graphConfig\":4,\"CLASS_DIAGRAM\":5,\"NEWLINE\":6,\"statements\":7,\"EOF\":8,\"statement\":9,\"className\":10,\"alphaNumToken\":11,\"GENERICTYPE\":12,\"relationStatement\":13,\"LABEL\":14,\"classStatement\":15,\"methodStatement\":16,\"annotationStatement\":17,\"clickStatement\":18,\"CLASS\":19,\"STRUCT_START\":20,\"members\":21,\"STRUCT_STOP\":22,\"ANNOTATION_START\":23,\"ANNOTATION_END\":24,\"MEMBER\":25,\"SEPARATOR\":26,\"relation\":27,\"STR\":28,\"relationType\":29,\"lineType\":30,\"AGGREGATION\":31,\"EXTENSION\":32,\"COMPOSITION\":33,\"DEPENDENCY\":34,\"LINE\":35,\"DOTTED_LINE\":36,\"CALLBACK\":37,\"LINK\":38,\"commentToken\":39,\"textToken\":40,\"graphCodeTokens\":41,\"textNoTagsToken\":42,\"TAGSTART\":43,\"TAGEND\":44,\"==\":45,\"--\":46,\"PCT\":47,\"DEFAULT\":48,\"SPACE\":49,\"MINUS\":50,\"keywords\":51,\"UNICODE_TEXT\":52,\"NUM\":53,\"ALPHA\":54,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",5:\"CLASS_DIAGRAM\",6:\"NEWLINE\",8:\"EOF\",12:\"GENERICTYPE\",14:\"LABEL\",19:\"CLASS\",20:\"STRUCT_START\",22:\"STRUCT_STOP\",23:\"ANNOTATION_START\",24:\"ANNOTATION_END\",25:\"MEMBER\",26:\"SEPARATOR\",28:\"STR\",31:\"AGGREGATION\",32:\"EXTENSION\",33:\"COMPOSITION\",34:\"DEPENDENCY\",35:\"LINE\",36:\"DOTTED_LINE\",37:\"CALLBACK\",38:\"LINK\",41:\"graphCodeTokens\",43:\"TAGSTART\",44:\"TAGEND\",45:\"==\",46:\"--\",47:\"PCT\",48:\"DEFAULT\",49:\"SPACE\",50:\"MINUS\",51:\"keywords\",52:\"UNICODE_TEXT\",53:\"NUM\",54:\"ALPHA\"},\nproductions_: [0,[3,1],[4,4],[7,1],[7,2],[7,3],[10,2],[10,1],[10,3],[10,2],[9,1],[9,2],[9,1],[9,1],[9,1],[9,1],[15,2],[15,5],[17,4],[21,1],[21,2],[16,1],[16,2],[16,1],[16,1],[13,3],[13,4],[13,4],[13,5],[27,3],[27,2],[27,2],[27,1],[29,1],[29,1],[29,1],[29,1],[30,1],[30,1],[18,3],[18,4],[18,3],[18,4],[39,1],[39,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[42,1],[42,1],[42,1],[42,1],[11,1],[11,1],[11,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 6:\n this.$=$$[$0-1]+$$[$0]; \nbreak;\ncase 7:\n this.$=$$[$0]; \nbreak;\ncase 8:\n this.$=$$[$0-2]+'~'+$$[$0-1]+$$[$0]; \nbreak;\ncase 9:\n this.$=$$[$0-1]+'~'+$$[$0]; \nbreak;\ncase 10:\n yy.addRelation($$[$0]); \nbreak;\ncase 11:\n $$[$0-1].title = yy.cleanupLabel($$[$0]); yy.addRelation($$[$0-1]); \nbreak;\ncase 16:\nyy.addClass($$[$0]);\nbreak;\ncase 17:\n/*console.log($$[$0-3],JSON.stringify($$[$0-1]));*/yy.addClass($$[$0-3]);yy.addMembers($$[$0-3],$$[$0-1]);\nbreak;\ncase 18:\n yy.addAnnotation($$[$0],$$[$0-2]); \nbreak;\ncase 19:\n this.$ = [$$[$0]]; \nbreak;\ncase 20:\n $$[$0].push($$[$0-1]);this.$=$$[$0];\nbreak;\ncase 21:\n/*console.log('Rel found',$$[$0]);*/\nbreak;\ncase 22:\nyy.addMember($$[$0-1],yy.cleanupLabel($$[$0]));\nbreak;\ncase 23:\n/*console.warn('Member',$$[$0]);*/\nbreak;\ncase 24:\n/*console.log('sep found',$$[$0]);*/\nbreak;\ncase 25:\n this.$ = {'id1':$$[$0-2],'id2':$$[$0], relation:$$[$0-1], relationTitle1:'none', relationTitle2:'none'}; \nbreak;\ncase 26:\n this.$ = {id1:$$[$0-3], id2:$$[$0], relation:$$[$0-1], relationTitle1:$$[$0-2], relationTitle2:'none'}\nbreak;\ncase 27:\n this.$ = {id1:$$[$0-3], id2:$$[$0], relation:$$[$0-2], relationTitle1:'none', relationTitle2:$$[$0-1]}; \nbreak;\ncase 28:\n this.$ = {id1:$$[$0-4], id2:$$[$0], relation:$$[$0-2], relationTitle1:$$[$0-3], relationTitle2:$$[$0-1]} \nbreak;\ncase 29:\n this.$={type1:$$[$0-2],type2:$$[$0],lineType:$$[$0-1]}; \nbreak;\ncase 30:\n this.$={type1:'none',type2:$$[$0],lineType:$$[$0-1]}; \nbreak;\ncase 31:\n this.$={type1:$$[$0-1],type2:'none',lineType:$$[$0]}; \nbreak;\ncase 32:\n this.$={type1:'none',type2:'none',lineType:$$[$0]}; \nbreak;\ncase 33:\n this.$=yy.relationType.AGGREGATION;\nbreak;\ncase 34:\n this.$=yy.relationType.EXTENSION;\nbreak;\ncase 35:\n this.$=yy.relationType.COMPOSITION;\nbreak;\ncase 36:\n this.$=yy.relationType.DEPENDENCY;\nbreak;\ncase 37:\nthis.$=yy.lineType.LINE;\nbreak;\ncase 38:\nthis.$=yy.lineType.DOTTED_LINE;\nbreak;\ncase 39:\nthis.$ = $$[$0-2];yy.setClickEvent($$[$0-1], $$[$0], undefined);\nbreak;\ncase 40:\nthis.$ = $$[$0-3];yy.setClickEvent($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\ncase 41:\nthis.$ = $$[$0-2];yy.setLink($$[$0-1], $$[$0], undefined);\nbreak;\ncase 42:\nthis.$ = $$[$0-3];yy.setLink($$[$0-2], $$[$0-1], $$[$0]);\nbreak;\n}\n},\ntable: [{3:1,4:2,5:[1,3]},{1:[3]},{1:[2,1]},{6:[1,4]},{7:5,9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:$V0,23:$V1,25:$V2,26:$V3,37:$V4,38:$V5,52:$V6,53:$V7,54:$V8},{8:[1,23]},{6:[1,24],8:[2,3]},o($V9,[2,10],{14:[1,25]}),o($V9,[2,12]),o($V9,[2,13]),o($V9,[2,14]),o($V9,[2,15]),o($V9,[2,21],{27:26,29:29,30:30,14:[1,28],28:[1,27],31:$Va,32:$Vb,33:$Vc,34:$Vd,35:$Ve,36:$Vf}),{10:37,11:19,52:$V6,53:$V7,54:$V8},o($V9,[2,23]),o($V9,[2,24]),{11:38,52:$V6,53:$V7,54:$V8},{10:39,11:19,52:$V6,53:$V7,54:$V8},{10:40,11:19,52:$V6,53:$V7,54:$V8},o($Vg,[2,7],{11:19,10:41,12:[1,42],52:$V6,53:$V7,54:$V8}),o($Vh,[2,56]),o($Vh,[2,57]),o($Vh,[2,58]),{1:[2,2]},{7:43,8:[2,4],9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:$V0,23:$V1,25:$V2,26:$V3,37:$V4,38:$V5,52:$V6,53:$V7,54:$V8},o($V9,[2,11]),{10:44,11:19,28:[1,45],52:$V6,53:$V7,54:$V8},{27:46,29:29,30:30,31:$Va,32:$Vb,33:$Vc,34:$Vd,35:$Ve,36:$Vf},o($V9,[2,22]),{30:47,35:$Ve,36:$Vf},o($Vi,[2,32],{29:48,31:$Va,32:$Vb,33:$Vc,34:$Vd}),o($Vj,[2,33]),o($Vj,[2,34]),o($Vj,[2,35]),o($Vj,[2,36]),o($Vk,[2,37]),o($Vk,[2,38]),o($V9,[2,16],{20:[1,49]}),{24:[1,50]},{28:[1,51]},{28:[1,52]},o($Vg,[2,6]),o($Vg,[2,9],{11:19,10:53,52:$V6,53:$V7,54:$V8}),{8:[2,5]},o($Vl,[2,25]),{10:54,11:19,52:$V6,53:$V7,54:$V8},{10:55,11:19,28:[1,56],52:$V6,53:$V7,54:$V8},o($Vi,[2,31],{29:57,31:$Va,32:$Vb,33:$Vc,34:$Vd}),o($Vi,[2,30]),{21:58,25:$Vm},{10:60,11:19,52:$V6,53:$V7,54:$V8},o($V9,[2,39],{28:[1,61]}),o($V9,[2,41],{28:[1,62]}),o($Vg,[2,8]),o($Vl,[2,27]),o($Vl,[2,26]),{10:63,11:19,52:$V6,53:$V7,54:$V8},o($Vi,[2,29]),{22:[1,64]},{21:65,22:[2,19],25:$Vm},o($V9,[2,18]),o($V9,[2,40]),o($V9,[2,42]),o($Vl,[2,28]),o($V9,[2,17]),{22:[2,20]}],\ndefaultActions: {2:[2,1],23:[2,2],43:[2,5],65:[2,20]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:return 6;\nbreak;\ncase 2:/* skip whitespace */\nbreak;\ncase 3:return 5;\nbreak;\ncase 4: this.begin(\"struct\"); /*console.log('Starting struct');*/return 20;\nbreak;\ncase 5:return \"EOF_IN_STRUCT\";\nbreak;\ncase 6:return \"OPEN_IN_STRUCT\";\nbreak;\ncase 7: /*console.log('Ending struct');*/this.popState(); return 22;\nbreak;\ncase 8:/* nothing */\nbreak;\ncase 9: /*console.log('lex-member: ' + yy_.yytext);*/ return \"MEMBER\";\nbreak;\ncase 10:return 19;\nbreak;\ncase 11:return 37;\nbreak;\ncase 12:return 38;\nbreak;\ncase 13:return 23;\nbreak;\ncase 14:return 24;\nbreak;\ncase 15:this.begin(\"generic\");\nbreak;\ncase 16:this.popState();\nbreak;\ncase 17:return \"GENERICTYPE\";\nbreak;\ncase 18:this.begin(\"string\");\nbreak;\ncase 19:this.popState();\nbreak;\ncase 20:return \"STR\";\nbreak;\ncase 21:return 32;\nbreak;\ncase 22:return 32;\nbreak;\ncase 23:return 34;\nbreak;\ncase 24:return 34;\nbreak;\ncase 25:return 33;\nbreak;\ncase 26:return 31;\nbreak;\ncase 27:return 35;\nbreak;\ncase 28:return 36;\nbreak;\ncase 29:return 14;\nbreak;\ncase 30:return 50;\nbreak;\ncase 31:return 'DOT';\nbreak;\ncase 32:return 'PLUS';\nbreak;\ncase 33:return 47;\nbreak;\ncase 34:return 'EQUALS';\nbreak;\ncase 35:return 'EQUALS';\nbreak;\ncase 36:return 54;\nbreak;\ncase 37:return 'PUNCTUATION';\nbreak;\ncase 38:return 53;\nbreak;\ncase 39:return 52;\nbreak;\ncase 40:return 49;\nbreak;\ncase 41:return 8;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*\\n*)/,/^(?:\\n+)/,/^(?:\\s+)/,/^(?:classDiagram\\b)/,/^(?:[\\{])/,/^(?:$)/,/^(?:[\\{])/,/^(?:\\})/,/^(?:[\\n])/,/^(?:[^\\{\\}\\n]*)/,/^(?:class\\b)/,/^(?:callback\\b)/,/^(?:link\\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:[\"])/,/^(?:[\"])/,/^(?:[^\"]*)/,/^(?:\\s*<\\|)/,/^(?:\\s*\\|>)/,/^(?:\\s*>)/,/^(?:\\s*<)/,/^(?:\\s*\\*)/,/^(?:\\s*o\\b)/,/^(?:--)/,/^(?:\\.\\.)/,/^(?::[^\\n;]+)/,/^(?:-)/,/^(?:\\.)/,/^(?:\\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\\w+)/,/^(?:[!\"#$%&'*+,-.`?\\\\/])/,/^(?:[0-9]+)/,/^(?:[\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6]|[\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377]|[\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5]|[\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA]|[\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE]|[\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA]|[\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0]|[\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977]|[\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2]|[\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A]|[\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39]|[\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8]|[\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C]|[\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C]|[\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99]|[\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0]|[\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D]|[\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3]|[\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10]|[\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1]|[\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81]|[\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3]|[\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6]|[\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A]|[\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081]|[\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D]|[\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0]|[\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310]|[\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C]|[\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711]|[\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7]|[\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C]|[\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16]|[\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF]|[\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC]|[\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D]|[\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D]|[\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3]|[\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F]|[\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128]|[\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184]|[\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3]|[\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6]|[\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE]|[\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C]|[\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D]|[\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC]|[\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B]|[\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788]|[\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805]|[\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB]|[\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28]|[\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5]|[\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4]|[\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E]|[\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D]|[\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36]|[\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D]|[\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC]|[\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF]|[\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC])/,/^(?:\\s)/,/^(?:$)/],\nconditions: {\"string\":{\"rules\":[19,20],\"inclusive\":false},\"generic\":{\"rules\":[16,17],\"inclusive\":false},\"struct\":{\"rules\":[5,6,7,8,9],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,10,11,12,13,14,15,18,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 16, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/runtime/api.js", "name": "./node_modules/css-loader/dist/runtime/api.js", "index": 8, "index2": 3, "size": 2406, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "issuerId": 32, "issuerName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": 31, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "profile": { "factory": 1711, "building": 0 } }, { "id": 32, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "profile": { "factory": 45, "building": 2971 } } ], "profile": { "factory": 20, "building": 8 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 28, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 30, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 32, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" }, { "moduleId": 34, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "module": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "moduleName": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "type": "cjs require", "userRequest": "../../../node_modules/css-loader/dist/runtime/api.js", "loc": "1:27-90" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 5, "source": "\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return '@media ' + item[2] + '{' + content + '}';\n } else {\n return content;\n }\n }).join('');\n }; // import a list of modules into the list\n\n\n list.i = function (modules, mediaQuery) {\n if (typeof modules === 'string') {\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n for (var i = 0; i < this.length; i++) {\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n\n for (i = 0; i < modules.length; i++) {\n var item = modules[i]; // skip already imported module\n // this implementation is not 100% perfect for weird media query combinations\n // when a module is imported multiple times with different media queries.\n // I hope this will never occur (Hey this way we have smaller bundles)\n\n if (item[0] == null || !alreadyImportedModules[item[0]]) {\n if (mediaQuery && !item[2]) {\n item[2] = mediaQuery;\n } else if (mediaQuery) {\n item[2] = '(' + item[2] + ') and (' + mediaQuery + ')';\n }\n\n list.push(item);\n }\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || '';\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n return '/*# ' + data + ' */';\n}" }, { "id": 17, "identifier": "external \"@braintree/sanitize-url\"", "name": "external \"@braintree/sanitize-url\"", "index": 16, "index2": 13, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "issuerId": null, "issuerName": "./src/utils.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 179, "building": 892 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "@braintree/sanitize-url", "loc": "10:0-54" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "@braintree/sanitize-url", "loc": "15:0-54" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "@braintree/sanitize-url", "loc": "278:13-24" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "@braintree/sanitize-url", "loc": "479:14-25" } ], "usedExports": [ "sanitizeUrl" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 18, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/parser/gitGraph.jison", "name": "./src/diagrams/git/parser/gitGraph.jison", "index": 20, "index2": 22, "size": 23638, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/gitGraph", "loc": "3:0-47" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/parser/gitGraph", "loc": "39:0-60" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/git/parser/gitGraph", "loc": "76:15-29" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/gitGraph", "loc": "237:17-31" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[2,3],$V1=[1,7],$V2=[7,12,15,17,19,20,21],$V3=[7,11,12,15,17,19,20,21],$V4=[2,20],$V5=[1,32];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"GG\":4,\":\":5,\"document\":6,\"EOF\":7,\"DIR\":8,\"options\":9,\"body\":10,\"OPT\":11,\"NL\":12,\"line\":13,\"statement\":14,\"COMMIT\":15,\"commit_arg\":16,\"BRANCH\":17,\"ID\":18,\"CHECKOUT\":19,\"MERGE\":20,\"RESET\":21,\"reset_arg\":22,\"STR\":23,\"HEAD\":24,\"reset_parents\":25,\"CARET\":26,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"GG\",5:\":\",7:\"EOF\",8:\"DIR\",11:\"OPT\",12:\"NL\",15:\"COMMIT\",17:\"BRANCH\",18:\"ID\",19:\"CHECKOUT\",20:\"MERGE\",21:\"RESET\",23:\"STR\",24:\"HEAD\",26:\"CARET\"},\nproductions_: [0,[3,4],[3,5],[6,0],[6,2],[9,2],[9,1],[10,0],[10,2],[13,2],[13,1],[14,2],[14,2],[14,2],[14,2],[14,2],[16,0],[16,1],[22,2],[22,2],[25,0],[25,2]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return $$[$0-1]; \nbreak;\ncase 2:\nyy.setDirection($$[$0-3]); return $$[$0-1];\nbreak;\ncase 4:\n yy.setOptions($$[$0-1]); this.$ = $$[$0]\nbreak;\ncase 5:\n$$[$0-1] +=$$[$0]; this.$=$$[$0-1]\nbreak;\ncase 7:\nthis.$ = []\nbreak;\ncase 8:\n$$[$0-1].push($$[$0]); this.$=$$[$0-1];\nbreak;\ncase 9:\nthis.$ =$$[$0-1]\nbreak;\ncase 11:\nyy.commit($$[$0])\nbreak;\ncase 12:\nyy.branch($$[$0])\nbreak;\ncase 13:\nyy.checkout($$[$0])\nbreak;\ncase 14:\nyy.merge($$[$0])\nbreak;\ncase 15:\nyy.reset($$[$0])\nbreak;\ncase 16:\nthis.$ = \"\"\nbreak;\ncase 17:\nthis.$=$$[$0]\nbreak;\ncase 18:\nthis.$ = $$[$0-1]+ \":\" + $$[$0] \nbreak;\ncase 19:\nthis.$ = $$[$0-1]+ \":\" + yy.count; yy.count = 0\nbreak;\ncase 20:\nyy.count = 0\nbreak;\ncase 21:\n yy.count += 1 \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},{5:[1,3],8:[1,4]},{6:5,7:$V0,9:6,12:$V1},{5:[1,8]},{7:[1,9]},o($V2,[2,7],{10:10,11:[1,11]}),o($V3,[2,6]),{6:12,7:$V0,9:6,12:$V1},{1:[2,1]},{7:[2,4],12:[1,15],13:13,14:14,15:[1,16],17:[1,17],19:[1,18],20:[1,19],21:[1,20]},o($V3,[2,5]),{7:[1,21]},o($V2,[2,8]),{12:[1,22]},o($V2,[2,10]),{12:[2,16],16:23,23:[1,24]},{18:[1,25]},{18:[1,26]},{18:[1,27]},{18:[1,30],22:28,24:[1,29]},{1:[2,2]},o($V2,[2,9]),{12:[2,11]},{12:[2,17]},{12:[2,12]},{12:[2,13]},{12:[2,14]},{12:[2,15]},{12:$V4,25:31,26:$V5},{12:$V4,25:33,26:$V5},{12:[2,18]},{12:$V4,25:34,26:$V5},{12:[2,19]},{12:[2,21]}],\ndefaultActions: {9:[2,1],21:[2,2],23:[2,11],24:[2,17],25:[2,12],26:[2,13],27:[2,14],28:[2,15],31:[2,18],33:[2,19],34:[2,21]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 12;\nbreak;\ncase 1:/* skip all whitespace */\nbreak;\ncase 2:/* skip comments */\nbreak;\ncase 3:/* skip comments */\nbreak;\ncase 4:return 4;\nbreak;\ncase 5:return 15;\nbreak;\ncase 6:return 17;\nbreak;\ncase 7:return 20;\nbreak;\ncase 8:return 21;\nbreak;\ncase 9:return 19;\nbreak;\ncase 10:return 8;\nbreak;\ncase 11:return 8;\nbreak;\ncase 12:return 5;\nbreak;\ncase 13:return 26\nbreak;\ncase 14:this.begin(\"options\");\nbreak;\ncase 15:this.popState();\nbreak;\ncase 16:return 11;\nbreak;\ncase 17:this.begin(\"string\");\nbreak;\ncase 18:this.popState();\nbreak;\ncase 19:return 23;\nbreak;\ncase 20:return 18;\nbreak;\ncase 21:return 7;\nbreak;\n}\n},\nrules: [/^(?:(\\r?\\n)+)/i,/^(?:\\s+)/i,/^(?:#[^\\n]*)/i,/^(?:%[^\\n]*)/i,/^(?:gitGraph\\b)/i,/^(?:commit\\b)/i,/^(?:branch\\b)/i,/^(?:merge\\b)/i,/^(?:reset\\b)/i,/^(?:checkout\\b)/i,/^(?:LR\\b)/i,/^(?:BT\\b)/i,/^(?::)/i,/^(?:\\^)/i,/^(?:options\\r?\\n)/i,/^(?:end\\r?\\n)/i,/^(?:[^\\n]+\\r?\\n)/i,/^(?:[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?:[a-zA-Z][-_\\.a-zA-Z0-9]*[-_a-zA-Z0-9])/i,/^(?:$)/i],\nconditions: {\"options\":{\"rules\":[15,16],\"inclusive\":false},\"string\":{\"rules\":[18,19],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 19, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/parser/info.jison", "name": "./src/diagrams/info/parser/info.jison", "index": 37, "index2": 35, "size": 21150, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/info", "loc": "6:0-39" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/info", "loc": "23:17-27" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/parser/info", "loc": "43:0-53" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/info/parser/info", "loc": "119:15-25" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,9,10];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"info\":4,\"document\":5,\"EOF\":6,\"line\":7,\"statement\":8,\"NL\":9,\"showInfo\":10,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"info\",6:\"EOF\",9:\"NL\",10:\"showInfo\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n return yy; \nbreak;\ncase 4:\n \nbreak;\ncase 6:\n yy.setInfo(true); \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},o($V0,[2,3]),o($V0,[2,4]),o($V0,[2,5]),o($V0,[2,6])],\ndefaultActions: {4:[2,1]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\n\t// Pre-lexer code can go here\n\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:return 4 ;\nbreak;\ncase 1:return 9 ;\nbreak;\ncase 2:return 'space';\nbreak;\ncase 3:return 10;\nbreak;\ncase 4:return 6 ;\nbreak;\ncase 5:return 'TXT' ;\nbreak;\n}\n},\nrules: [/^(?:info\\b)/i,/^(?:[\\s\\n\\r]+)/i,/^(?:[\\s]+)/i,/^(?:showInfo\\b)/i,/^(?:$)/i,/^(?:.)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 20, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/parser/pie.jison", "name": "./src/diagrams/pie/parser/pie.jison", "index": 39, "index2": 37, "size": 21750, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/pie", "loc": "6:0-37" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/pie", "loc": "24:17-26" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/parser/pie", "loc": "46:0-50" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/pie/parser/pie", "loc": "125:15-24" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,9,10,12];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"pie\":4,\"document\":5,\"EOF\":6,\"line\":7,\"statement\":8,\"NL\":9,\"STR\":10,\"VALUE\":11,\"title\":12,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"pie\",6:\"EOF\",9:\"NL\",10:\"STR\",11:\"VALUE\",12:\"title\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,2],[8,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 4:\n \nbreak;\ncase 6:\n\n\t\t/*console.log('str:'+$$[$0-1]+' value: '+$$[$0])*/\n\t\tyy.addSection($$[$0-1],yy.cleanupValue($$[$0])); \nbreak;\ncase 7:\nyy.setTitle($$[$0].substr(6));this.$=$$[$0].substr(6);\nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8],12:[1,9]},{1:[2,1]},o($V0,[2,3]),o($V0,[2,4]),o($V0,[2,5]),{11:[1,10]},o($V0,[2,7]),o($V0,[2,6])],\ndefaultActions: {4:[2,1]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\n\t// Pre-lexer code can go here\n\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* do nothing */\nbreak;\ncase 1:/* skip whitespace */\nbreak;\ncase 2:return 4 ;\nbreak;\ncase 3:return 9 ;\nbreak;\ncase 4:return 'space';\nbreak;\ncase 5:return 12;\nbreak;\ncase 6:/*console.log('begin str');*/this.begin(\"string\");\nbreak;\ncase 7:/*console.log('pop-state');*/this.popState();\nbreak;\ncase 8:/*console.log('ending string')*/return \"STR\";\nbreak;\ncase 9:return \"VALUE\";\nbreak;\ncase 10:return 6 ;\nbreak;\n}\n},\nrules: [/^(?:%%[^\\n]*)/i,/^(?:\\s+)/i,/^(?:pie\\b)/i,/^(?:[\\s\\n\\r]+)/i,/^(?:[\\s]+)/i,/^(?:title\\s[^#\\n;]+)/i,/^(?:[\"])/i,/^(?:[\"])/i,/^(?:[^\"]*)/i,/^(?::[\\s]*[\\d]+(?:\\.[\\d]+)?)/i,/^(?:$)/i],\nconditions: {\"string\":{\"rules\":[7,8],\"inclusive\":false},\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,9,10],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 21, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/jisonLoader.js??ref--7!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/parser/erDiagram.jison", "name": "./src/diagrams/er/parser/erDiagram.jison", "index": 41, "index2": 39, "size": 23211, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./parser/erDiagram", "loc": "4:0-42" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/parser/erDiagram", "loc": "49:0-54" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./diagrams/er/parser/erDiagram", "loc": "131:15-23" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./parser/erDiagram", "loc": "190:15-23" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2, "source": "/* parser generated by jison 0.4.18 */\n/*\n Returns a Parser object of the following structure:\n\n Parser: {\n yy: {}\n }\n\n Parser.prototype: {\n yy: {},\n trace: function(),\n symbols_: {associative list: name ==> number},\n terminals_: {associative list: number ==> name},\n productions_: [...],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),\n table: [...],\n defaultActions: {...},\n parseError: function(str, hash),\n parse: function(input),\n\n lexer: {\n EOF: 1,\n parseError: function(str, hash),\n setInput: function(input),\n input: function(),\n unput: function(str),\n more: function(),\n less: function(n),\n pastInput: function(),\n upcomingInput: function(),\n showPosition: function(),\n test_match: function(regex_match_array, rule_index),\n next: function(),\n lex: function(),\n begin: function(condition),\n popState: function(),\n _currentRules: function(),\n topState: function(),\n pushState: function(condition),\n\n options: {\n ranges: boolean (optional: true ==> token location info will include a .range[] member)\n flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)\n backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)\n },\n\n performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),\n rules: [...],\n conditions: {associative list: name ==> set},\n }\n }\n\n\n token location info (@$, _$, etc.): {\n first_line: n,\n last_line: n,\n first_column: n,\n last_column: n,\n range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)\n }\n\n\n the parseError function receives a 'hash' object with these members for lexer and parser errors: {\n text: (matched text)\n token: (the produced terminal token, if any)\n line: (yylineno)\n }\n while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {\n loc: (yylloc)\n expected: (string describing the set of expected tokens)\n recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)\n }\n*/\nvar parser = (function(){\nvar o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[6,12],$V1=[1,7],$V2=[1,10],$V3=[1,11],$V4=[1,12],$V5=[1,13],$V6=[12,19,20],$V7=[15,16,17,18];\nvar parser = {trace: function trace () { },\nyy: {},\nsymbols_: {\"error\":2,\"start\":3,\"ER_DIAGRAM\":4,\"document\":5,\"EOF\":6,\"statement\":7,\"entityName\":8,\"relSpec\":9,\":\":10,\"role\":11,\"ALPHANUM\":12,\"cardinality\":13,\"relType\":14,\"ZERO_OR_ONE\":15,\"ZERO_OR_MORE\":16,\"ONE_OR_MORE\":17,\"ONLY_ONE\":18,\"NON_IDENTIFYING\":19,\"IDENTIFYING\":20,\"WORD\":21,\"$accept\":0,\"$end\":1},\nterminals_: {2:\"error\",4:\"ER_DIAGRAM\",6:\"EOF\",10:\":\",12:\"ALPHANUM\",15:\"ZERO_OR_ONE\",16:\"ZERO_OR_MORE\",17:\"ONE_OR_MORE\",18:\"ONLY_ONE\",19:\"NON_IDENTIFYING\",20:\"IDENTIFYING\",21:\"WORD\"},\nproductions_: [0,[3,3],[5,0],[5,2],[7,5],[8,1],[9,3],[13,1],[13,1],[13,1],[13,1],[14,1],[14,1],[11,1],[11,1]],\nperformAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {\n/* this == yyval */\n\nvar $0 = $$.length - 1;\nswitch (yystate) {\ncase 1:\n /*console.log('finished parsing');*/ \nbreak;\ncase 4:\n\n yy.addEntity($$[$0-4]); \n yy.addEntity($$[$0-2]); \n yy.addRelationship($$[$0-4], $$[$0], $$[$0-2], $$[$0-3]);\n /*console.log($$[$0-4] + $$[$0-3] + $$[$0-2] + ':' + $$[$0]);*/\n \nbreak;\ncase 5:\n this.$ = $$[$0]; /*console.log('Entity: ' + $$[$0]);*/ \nbreak;\ncase 6:\n\n this.$ = { cardA: $$[$0], relType: $$[$0-1], cardB: $$[$0-2] };\n /*console.log('relSpec: ' + $$[$0] + $$[$0-1] + $$[$0-2]);*/\n \nbreak;\ncase 7:\n this.$ = yy.Cardinality.ZERO_OR_ONE; \nbreak;\ncase 8:\n this.$ = yy.Cardinality.ZERO_OR_MORE; \nbreak;\ncase 9:\n this.$ = yy.Cardinality.ONE_OR_MORE; \nbreak;\ncase 10:\n this.$ = yy.Cardinality.ONLY_ONE; \nbreak;\ncase 11:\n this.$ = yy.Identification.NON_IDENTIFYING; \nbreak;\ncase 12:\n this.$ = yy.Identification.IDENTIFYING; \nbreak;\ncase 13:\n this.$ = $$[$0].replace(/\"/g, ''); \nbreak;\ncase 14:\n this.$ = $$[$0]; \nbreak;\n}\n},\ntable: [{3:1,4:[1,2]},{1:[3]},o($V0,[2,2],{5:3}),{6:[1,4],7:5,8:6,12:$V1},{1:[2,1]},o($V0,[2,3]),{9:8,13:9,15:$V2,16:$V3,17:$V4,18:$V5},o([10,15,16,17,18],[2,5]),{8:14,12:$V1},{14:15,19:[1,16],20:[1,17]},o($V6,[2,7]),o($V6,[2,8]),o($V6,[2,9]),o($V6,[2,10]),{10:[1,18]},{13:19,15:$V2,16:$V3,17:$V4,18:$V5},o($V7,[2,11]),o($V7,[2,12]),{11:20,12:[1,22],21:[1,21]},{12:[2,6]},o($V0,[2,4]),o($V0,[2,13]),o($V0,[2,14])],\ndefaultActions: {4:[2,1],19:[2,6]},\nparseError: function parseError (str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n},\nparse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer;\n sharedState.yy.parser = this;\n if (typeof lexer.yylloc == 'undefined') {\n lexer.yylloc = {};\n }\n var yyloc = lexer.yylloc;\n lstack.push(yyloc);\n var ranges = lexer.options && lexer.options.ranges;\n if (typeof sharedState.yy.parseError === 'function') {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function popStack(n) {\n stack.length = stack.length - 2 * n;\n vstack.length = vstack.length - n;\n lstack.length = lstack.length - n;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer.lex() || EOF;\n if (typeof token !== 'number') {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == 'undefined') {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === 'undefined' || !action.length || !action[0]) {\n var errStr = '';\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push('\\'' + this.terminals_[p] + '\\'');\n }\n }\n if (lexer.showPosition) {\n errStr = 'Parse error on line ' + (yylineno + 1) + ':\\n' + lexer.showPosition() + '\\nExpecting ' + expected.join(', ') + ', got \\'' + (this.terminals_[symbol] || symbol) + '\\'';\n } else {\n errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\\'' + (this.terminals_[symbol] || symbol) + '\\'');\n }\n this.parseError(errStr, {\n text: lexer.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer.yytext);\n lstack.push(lexer.yylloc);\n stack.push(action[1]);\n symbol = null;\n if (!preErrorSymbol) {\n yyleng = lexer.yyleng;\n yytext = lexer.yytext;\n yylineno = lexer.yylineno;\n yyloc = lexer.yylloc;\n if (recovering > 0) {\n recovering--;\n }\n } else {\n symbol = preErrorSymbol;\n preErrorSymbol = null;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== 'undefined') {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n}};\n\n/* generated by jison-lex 0.3.4 */\nvar lexer = (function(){\nvar lexer = ({\n\nEOF:1,\n\nparseError:function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n\n// resets the lexer, sets new input\nsetInput:function (input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = '';\n this.conditionStack = ['INITIAL'];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0,0];\n }\n this.offset = 0;\n return this;\n },\n\n// consumes and returns one char from the input\ninput:function () {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n\n this._input = this._input.slice(1);\n return ch;\n },\n\n// unshifts one char (or a string) into the input\nunput:function (ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n //this.yyleng -= len;\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ?\n (lines.length === oldLines.length ? this.yylloc.first_column : 0)\n + oldLines[oldLines.length - lines.length].length - lines[0].length :\n this.yylloc.first_column - len\n };\n\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n\n// When called from action, caches matched text and appends it on next action\nmore:function () {\n this._more = true;\n return this;\n },\n\n// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.\nreject:function () {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n\n }\n return this;\n },\n\n// retain first n characters of the match\nless:function (n) {\n this.unput(this.match.slice(n));\n },\n\n// displays already matched input, i.e. for error messages\npastInput:function () {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\\n/g, \"\");\n },\n\n// displays upcoming input, i.e. for error messages\nupcomingInput:function () {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20-next.length);\n }\n return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n },\n\n// displays the character position where the lexing error occurred, i.e. for error messages\nshowPosition:function () {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n\n// test the lexed token: return FALSE when not a match, otherwise return token\ntest_match:function(match, indexed_rule) {\n var token,\n lines,\n backup;\n\n if (this.options.backtrack_lexer) {\n // save context\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ?\n lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length :\n this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n // recover context\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false; // rule action called reject() implying the next rule should be tested instead.\n }\n return false;\n },\n\n// return next match in input\nnext:function () {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n\n var token,\n match,\n tempMatch,\n index;\n if (!this._more) {\n this.yytext = '';\n this.match = '';\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue; // rule action called reject() implying a rule MISmatch.\n } else {\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n // else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n\n// return next match that has a token\nlex:function lex () {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n\n// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\nbegin:function begin (condition) {\n this.conditionStack.push(condition);\n },\n\n// pop the previously active lexer condition state off the condition stack\npopState:function popState () {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n\n// produce the lexer rule set which is active for the currently active lexer condition state\n_currentRules:function _currentRules () {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n\n// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\ntopState:function topState (n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n\n// alias for begin(condition)\npushState:function pushState (condition) {\n this.begin(condition);\n },\n\n// return the number of states currently on the stack\nstateStackSize:function stateStackSize() {\n return this.conditionStack.length;\n },\noptions: {\"case-insensitive\":true},\nperformAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {\nvar YYSTATE=YY_START;\nswitch($avoiding_name_collisions) {\ncase 0:/* skip whitespace */\nbreak;\ncase 1:return 'SPACE';\nbreak;\ncase 2:return 21;\nbreak;\ncase 3:return 4;\nbreak;\ncase 4:return 15;\nbreak;\ncase 5:return 16;\nbreak;\ncase 6:return 17;\nbreak;\ncase 7:return 18;\nbreak;\ncase 8:return 15;\nbreak;\ncase 9:return 16;\nbreak;\ncase 10:return 17;\nbreak;\ncase 11:return 19;\nbreak;\ncase 12:return 20;\nbreak;\ncase 13:return 19;\nbreak;\ncase 14:return 19;\nbreak;\ncase 15:return 12;\nbreak;\ncase 16:return yy_.yytext[0];\nbreak;\ncase 17:return 6;\nbreak;\n}\n},\nrules: [/^(?:\\s+)/i,/^(?:[\\s]+)/i,/^(?:\"[^\"]*\")/i,/^(?:erDiagram\\b)/i,/^(?:\\|o\\b)/i,/^(?:\\}o\\b)/i,/^(?:\\}\\|)/i,/^(?:\\|\\|)/i,/^(?:o\\|)/i,/^(?:o\\{)/i,/^(?:\\|\\{)/i,/^(?:\\.\\.)/i,/^(?:--)/i,/^(?:\\.-)/i,/^(?:-\\.)/i,/^(?:[A-Za-z][A-Za-z0-9\\-]*)/i,/^(?:.)/i,/^(?:$)/i],\nconditions: {\"INITIAL\":{\"rules\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],\"inclusive\":true}}\n});\nreturn lexer;\n})();\nparser.lexer = lexer;\nfunction Parser () {\n this.yy = {};\n}\nParser.prototype = parser;parser.Parser = Parser;\nreturn new Parser;\n})();\n\n\nif (typeof require !== 'undefined' && typeof exports !== 'undefined') {\nexports.parser = parser;\nexports.Parser = parser.Parser;\nexports.parse = function () { return parser.parse.apply(parser, arguments); };\nexports.main = function commonjsMain (args) {\n if (!args[1]) {\n console.log('Usage: '+args[0]+' FILE');\n process.exit(1);\n }\n var source = require('fs').readFileSync(require('path').normalize(args[1]), \"utf8\");\n return exports.parser.parse(source);\n};\nif (typeof module !== 'undefined' && require.main === module) {\n exports.main(process.argv.slice(1));\n}\n}" }, { "id": 22, "identifier": "external \"dagre-d3/lib/label/add-html-label.js\"", "name": "external \"dagre-d3/lib/label/add-html-label.js\"", "index": 48, "index2": 45, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1673, "building": 1032, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "7:0-64" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "7:0-64" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "55:19-31" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "dagre-d3/lib/label/add-html-label.js", "loc": "56:19-31" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3 }, { "id": 23, "identifier": "external \"entity-decode/browser\"", "name": "external \"entity-decode/browser\"", "index": 1, "index2": 0, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } } ], "profile": { "factory": 14, "building": 461, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "entity-decode/browser", "loc": "6:0-43" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "entity-decode/browser", "loc": "100:10-16" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 1 }, { "id": 24, "identifier": "external \"scope-css\"", "name": "external \"scope-css\"", "index": 4, "index2": 2, "size": 42, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "scope-css", "loc": "16:0-30" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "scope-css", "loc": "292:21-26" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 25, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-node.js", "name": "./src/dagre-wrapper/intersect/intersect-node.js", "index": 58, "index2": 52, "size": 138, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 307, "building": 54, "dependencies": 9 } } ], "profile": { "factory": 12, "building": 102, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony side effect evaluation", "userRequest": "./intersect-node.js", "loc": "4:0-39" }, { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "harmony import specifier", "userRequest": "./intersect-node.js", "loc": "10:8-12" } ], "usedExports": [ "default" ], "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 6, "source": "module.exports = intersectNode;\n\nfunction intersectNode(node, point) {\n console.info('Intersect Node');\n return node.intersect(point);\n}" }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "index": 5, "index2": 12, "size": 256, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 35, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "module": "./src/mermaid.js + 50 modules", "moduleName": "./src/mermaid.js + 50 modules", "type": "cjs require context", "userRequest": "./themes", "loc": "59:22-75" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 2 }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./src/themes/dark/index.scss", "index": 6, "index2": 5, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 26, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1711, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./dark/index.scss", "loc": "./dark/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 28, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/dark/index.scss", "index": 7, "index2": 4, "size": 8104, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "issuerId": 27, "issuerName": "./src/themes/dark/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": 27, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "name": "./src/themes/dark/index.scss", "profile": { "factory": 1711, "building": 0 } } ], "profile": { "factory": 2, "building": 3019, "dependencies": 15 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 27, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/dark/index.scss", "module": "./src/themes/dark/index.scss", "moduleName": "./src/themes/dark/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#1f2020;stroke:#81B1DB;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#d3d3d3}.edgePath .path{stroke:#d3d3d3;stroke-width:1.5px}.flowchart-link{stroke:#d3d3d3;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#474949;stroke:rgba(255,255,255,0.25);stroke-width:1px}.cluster text{fill:#F9FFFE}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#474949;border:1px solid rgba(255,255,255,0.25);border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#81B1DB;fill:#1f2020}text.actor>tspan{fill:#d3d3d3;stroke:none}.actor-line{stroke:#d3d3d3}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#d3d3d3}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#d3d3d3}#arrowhead path{fill:#d3d3d3;stroke:#d3d3d3}.sequenceNumber{fill:#000}#sequencenumber{fill:#d3d3d3}#crosshead path{fill:#d3d3d3;stroke:#d3d3d3}.messageText{fill:#d3d3d3;stroke:#d3d3d3}.labelBox{stroke:#81B1DB;fill:#1f2020}.labelText,.labelText>tspan{fill:#d3d3d3;stroke:none}.loopText,.loopText>tspan{fill:#d3d3d3;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#81B1DB;fill:#81B1DB}.note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.noteText,.noteText>tspan{fill:#1f2020;stroke:none}.activation0{fill:#474949;stroke:#81B1DB}.activation1{fill:#474949;stroke:#81B1DB}.activation2{fill:#474949;stroke:#81B1DB}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(255,255,255,0.3)}.section2{fill:#EAE8B9}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#F9FFFE}.sectionTitle1{fill:#F9FFFE}.sectionTitle2{fill:#F9FFFE}.sectionTitle3{fill:#F9FFFE}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#DB5757;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#323D47;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#323D47;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#323D47}.task0,.task1,.task2,.task3{fill:#1f2020;stroke:rgba(255,255,255,0.5)}.taskTextOutside0,.taskTextOutside2{fill:#d3d3d3}.taskTextOutside1,.taskTextOutside3{fill:#d3d3d3}.active0,.active1,.active2,.active3{fill:#81B1DB;stroke:rgba(255,255,255,0.5)}.activeText0,.activeText1,.activeText2,.activeText3{fill:#323D47 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#323D47 !important}.crit0,.crit1,.crit2,.crit3{stroke:#E83737;fill:#E83737;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#E83737;fill:#81B1DB;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#E83737;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#323D47 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#323D47 !important}.titleText{text-anchor:middle;font-size:18px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#81B1DB;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#1f2020;stroke:#81B1DB}g.classGroup line{stroke:#81B1DB;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#1f2020;opacity:0.5}.classLabel .label{fill:#81B1DB;font-size:10px}.relation{stroke:#81B1DB;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#compositionEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#aggregationStart{fill:#1f2020;stroke:#81B1DB;stroke-width:1}#aggregationEnd{fill:#1f2020;stroke:#81B1DB;stroke-width:1}#dependencyStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#dependencyEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#extensionStart{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}#extensionEnd{fill:#81B1DB;stroke:#81B1DB;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#81B1DB;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#81B1DB;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#1f2020;stroke:#81B1DB}g.stateGroup line{stroke:#81B1DB;stroke-width:1}.transition{stroke:#81B1DB;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#1f2020;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#81B1DB}.statediagram-cluster rect{fill:#1f2020;stroke:#81B1DB;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#81B1DB}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:rgba(255,255,255,0.25);stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#a44141}.error-text{fill:#ddd;stroke:#ddd}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#d3d3d3}.marker.cross{stroke:#d3d3d3}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 29, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./src/themes/default/index.scss", "index": 9, "index2": 7, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 26, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1711, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./default/index.scss", "loc": "./default/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 30, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/default/index.scss", "index": 10, "index2": 6, "size": 7841, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "issuerId": 29, "issuerName": "./src/themes/default/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": 29, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "name": "./src/themes/default/index.scss", "profile": { "factory": 1711, "building": 0 } } ], "profile": { "factory": 45, "building": 2986, "dependencies": 5 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 29, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/default/index.scss", "module": "./src/themes/default/index.scss", "moduleName": "./src/themes/default/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#333;stroke-width:1.5px}.flowchart-link{stroke:#333;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#ccf;fill:#ECECFF}text.actor>tspan{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#ccf;fill:#ECECFF}.labelText,.labelText>tspan{fill:#000;stroke:none}.loopText,.loopText>tspan{fill:#000;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}.note{stroke:#aa3;fill:#fff5ad}.noteText,.noteText>tspan{fill:#000;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(102,102,255,0.49)}.section2{fill:#fff400}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#8a90dd;stroke:#534fbc}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#bfc7ff;stroke:#534fbc}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#ECECFF;stroke:#9370db}g.classGroup line{stroke:#9370db;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.classLabel .label{fill:#9370db;font-size:10px}.relation{stroke:#9370db;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#ECECFF;stroke:#9370db}g.stateGroup line{stroke:#9370db;stroke-width:1}.transition{stroke:#9370db;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#aa3;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#9370db}.statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#9370db}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#333}.marker.cross{stroke:#333}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 31, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "index": 11, "index2": 9, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 26, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1711, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./forest/index.scss", "loc": "./forest/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 32, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/forest/index.scss", "index": 12, "index2": 8, "size": 7858, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "issuerId": 31, "issuerName": "./src/themes/forest/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": 31, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "name": "./src/themes/forest/index.scss", "profile": { "factory": 1711, "building": 0 } } ], "profile": { "factory": 45, "building": 2971 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 31, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/forest/index.scss", "module": "./src/themes/forest/index.scss", "moduleName": "./src/themes/forest/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#cde498;stroke:#13540c;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:green}.edgePath .path{stroke:green;stroke-width:1.5px}.flowchart-link{stroke:green;fill:none}.edgeLabel{background-color:#e8e8e8;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#cdffb2;stroke:#6eaa49;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#cdffb2;border:1px solid #6eaa49;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#13540c;fill:#cde498}text.actor>tspan{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#326932;fill:#cde498}.labelText,.labelText>tspan{fill:#000;stroke:none}.loopText,.loopText>tspan{fill:#000;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#326932;fill:#326932}.note{stroke:#6eaa49;fill:#fff5ad}.noteText,.noteText>tspan{fill:#000;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#6eaa49}.section2{fill:#6eaa49}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#487e3a;stroke:#13540c}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#cde498;stroke:#13540c}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#cde498;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#13540c;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#cde498;stroke:#13540c}g.classGroup line{stroke:#13540c;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.classLabel .label{fill:#13540c;font-size:10px}.relation{stroke:#13540c;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#compositionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#aggregationStart{fill:#cde498;stroke:#13540c;stroke-width:1}#aggregationEnd{fill:#cde498;stroke:#13540c;stroke-width:1}#dependencyStart{fill:#13540c;stroke:#13540c;stroke-width:1}#dependencyEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#cde498;stroke:#13540c}g.stateGroup line{stroke:#13540c;stroke-width:1}.transition{stroke:#13540c;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#6eaa49;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#13540c}.statediagram-cluster rect{fill:#cde498;stroke:#13540c;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#13540c}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#fff5ad;stroke:#6eaa49;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:green}.marker.cross{stroke:green}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 33, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./src/themes/neutral/index.scss", "index": 13, "index2": 11, "size": 429, "cacheable": true, "built": true, "optional": true, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "issuerId": 26, "issuerName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1711, "building": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 26, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "module": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "moduleName": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "type": "context element", "userRequest": "./neutral/index.scss", "loc": "./neutral/index.scss" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 3, "source": "// css-to-string-loader: transforms styles from css-loader to a string output\n\n// Get the styles\nvar styles = require(\"!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss\");\n\nif (typeof styles === 'string') {\n // Return an existing string\n module.exports = styles;\n} else {\n // Call the custom toString method from css-loader module\n module.exports = styles.toString();\n}" }, { "id": 34, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/themes/neutral/index.scss", "index": 14, "index2": 10, "size": 7696, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "issuerId": 33, "issuerName": "./src/themes/neutral/index.scss", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": 26, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/src/themes sync /^\\.\\/.*\\/index\\.scss$/", "name": "./src/themes sync ^\\.\\/.*\\/index\\.scss$", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": 33, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "name": "./src/themes/neutral/index.scss", "profile": { "factory": 1711, "building": 0 } } ], "profile": { "factory": 44, "building": 3036, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": 33, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-to-string-loader/index.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/css-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/node_modules/sass-loader/dist/cjs.js!/Users/knuts/source/priv/atlantica/mermaid/src/themes/neutral/index.scss", "module": "./src/themes/neutral/index.scss", "moduleName": "./src/themes/neutral/index.scss", "type": "cjs require", "userRequest": "!!../../../node_modules/css-loader/dist/cjs.js!../../../node_modules/sass-loader/dist/cjs.js!./index.scss", "loc": "4:13-129" } ], "usedExports": true, "providedExports": null, "optimizationBailout": [ "ModuleConcatenation bailout: Module is not an ECMAScript module" ], "depth": 4, "source": "exports = module.exports = require(\"../../../node_modules/css-loader/dist/runtime/api.js\")(false);\n// Module\nexports.push([module.id, \".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#eee;stroke:#999;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#666;stroke-width:1.5px}.flowchart-link{stroke:#666;fill:none}.edgeLabel{background-color:#fff;text-align:center}.edgeLabel rect{opacity:0.5}.cluster rect{fill:#eaf2fb;stroke:#26a;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#eaf2fb;border:1px solid #26a;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#999;fill:#eee}text.actor>tspan{fill:#333;stroke:none}.actor-line{stroke:#666}.messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#arrowhead path{fill:#333;stroke:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333;stroke:#333}.messageText{fill:#333;stroke:#333}.labelBox{stroke:#999;fill:#eee}.labelText,.labelText>tspan{fill:#333;stroke:none}.loopText,.loopText>tspan{fill:#333;stroke:none}.loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#999;fill:#999}.note{stroke:#770;fill:#ffa}.noteText,.noteText>tspan{fill:#333;stroke:none}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\\\"trebuchet ms\\\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#80b3e6}.section2{fill:#80b3e6}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#e6e6e6;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#d42;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#333;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#333;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#26a;stroke:#1a4d80}.taskTextOutside0,.taskTextOutside2{fill:#333}.taskTextOutside1,.taskTextOutside3{fill:#333}.active0,.active1,.active2,.active3{fill:#eee;stroke:#1a4d80}.activeText0,.activeText1,.activeText2,.activeText3{fill:#333 !important}.done0,.done1,.done2,.done3{stroke:#666;fill:#bbb;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#333 !important}.crit0,.crit1,.crit2,.crit3{stroke:#b1361b;fill:#d42;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#b1361b;fill:#eee;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#b1361b;fill:#bbb;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#333 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#333 !important}.titleText{text-anchor:middle;font-size:18px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#999;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#eee;stroke:#999}g.classGroup line{stroke:#999;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.classLabel .label{fill:#999;font-size:10px}.relation{stroke:#999;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#999;stroke:#999;stroke-width:1}#compositionEnd{fill:#999;stroke:#999;stroke-width:1}#aggregationStart{fill:#eee;stroke:#999;stroke-width:1}#aggregationEnd{fill:#eee;stroke:#999;stroke-width:1}#dependencyStart{fill:#999;stroke:#999;stroke-width:1}#dependencyEnd{fill:#999;stroke:#999;stroke-width:1}#extensionStart{fill:#999;stroke:#999;stroke-width:1}#extensionEnd{fill:#999;stroke:#999;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.legend text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:17px}g.stateGroup text{fill:#999;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#999;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#eee;stroke:#999}g.stateGroup line{stroke:#999;stroke-width:1}.transition{stroke:#999;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#770;fill:#ffa}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.node circle.state-start{fill:black;stroke:black}.node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#statediagram-barbEnd{fill:#999}.statediagram-cluster rect{fill:#eee;stroke:#999;stroke-width:1px}.statediagram-cluster rect.outer{rx:5px;ry:5px}.statediagram-state .divider{stroke:#999}.statediagram-state .title-state{rx:5px;ry:5px}.statediagram-cluster.statediagram-cluster .inner{fill:white}.statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}.statediagram-cluster .inner{rx:0;ry:0}.statediagram-state rect.basic{rx:5px;ry:5px}.statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}.note-edge{stroke-dasharray:5}.statediagram-note rect{fill:#ffa;stroke:#770;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '\\\"trebuchet ms\\\", verdana, arial';font-family:'\\\"trebuchet ms\\\", verdana, arial';font-family:var(--mermaid-font-family);font-size:16px}.error-icon{fill:#522}.error-text{fill:#522;stroke:#522}.edge-thickness-normal{stroke-width:2px}.edge-thickness-thick{stroke-width:3.5px}.edge-pattern-solid{stroke-dasharray:0}.edge-pattern-dashed{stroke-dasharray:3}.edge-pattern-dotted{stroke-dasharray:2}.marker{fill:#666}.marker.cross{stroke:#666}svg{font-family:var(--mermaid-font-family);font-size:24px}\\n\", \"\"]);\n\n" }, { "id": 35, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js b8cf8b3aa3c09f74d3bf83bfeffb136d", "name": "./src/mermaid.js + 50 modules", "index": 0, "index2": 85, "size": 419844, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [ 0 ], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": null, "module": null, "moduleName": null, "type": "single entry", "userRequest": "./src/mermaid.js", "loc": "mermaid" } ], "usedExports": true, "providedExports": [ "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/class/parser/classDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/er/parser/erDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/flowchart/parser/flow.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/gantt/parser/gantt.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/git/parser/gitGraph.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/info/parser/info.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/pie/parser/pie.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/sequence/parser/sequenceDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/state/parser/stateDiagram.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/diagrams/user-journey/parser/journey.jison (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./src/dagre-wrapper/intersect/intersect-node.js (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with ./package.json (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"@braintree/sanitize-url\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"d3\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"dagre\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"dagre-d3\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"dagre-d3/lib/label/add-html-label.js\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"entity-decode/browser\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"graphlib\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"moment-mini\" (<- Module is not an ECMAScript module)", "ModuleConcatenation bailout: Cannot concat with external \"scope-css\" (<- Module is not an ECMAScript module)" ], "depth": 0, "modules": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "index": 0, "index2": 85, "size": 5291, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": null, "issuerId": null, "issuerName": null, "issuerPath": null, "profile": { "factory": 34, "building": 203 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": null, "module": null, "moduleName": null, "type": "single entry", "userRequest": "./src/mermaid.js", "loc": "mermaid" } ], "usedExports": true, "providedExports": [ "default" ], "optimizationBailout": [ "ModuleConcatenation bailout: Module is an entry point" ], "depth": 0, "source": "/**\n * Web page integration module for the mermaid framework. It uses the mermaidAPI for mermaid functionality and to render\n * the diagrams to svg code.\n */\n// import { decode } from 'he';\nimport decode from 'entity-decode/browser';\nimport mermaidAPI from './mermaidAPI';\nimport { logger } from './logger';\nimport utils from './utils';\n/**\n * ## init\n * Function that goes through the document to find the chart definitions in there and render them.\n *\n * The function tags the processed attributes with the attribute data-processed and ignores found elements with the\n * attribute already set. This way the init function can be triggered several times.\n *\n * Optionally, `init` can accept in the second argument one of the following:\n * - a DOM Node\n * - an array of DOM nodes (as would come from a jQuery selector)\n * - a W3C selector, a la `.mermaid`\n *\n * ```mermaid\n * graph LR;\n * a(Find elements)-->b{Processed}\n * b-->|Yes|c(Leave element)\n * b-->|No |d(Transform)\n * ```\n * Renders the mermaid diagrams\n * @param nodes a css selector or an array of nodes\n */\n\nvar init = function init() {\n var _this = this;\n\n var conf = mermaidAPI.getConfig(); // console.log('Starting rendering diagrams (init) - mermaid.init');\n\n var nodes;\n\n if (arguments.length >= 2) {\n /*! sequence config was passed as #1 */\n if (typeof arguments[0] !== 'undefined') {\n mermaid.sequenceConfig = arguments[0];\n }\n\n nodes = arguments[1];\n } else {\n nodes = arguments[0];\n } // if last argument is a function this is the callback function\n\n\n var callback;\n\n if (typeof arguments[arguments.length - 1] === 'function') {\n callback = arguments[arguments.length - 1];\n logger.debug('Callback function found');\n } else {\n if (typeof conf.mermaid !== 'undefined') {\n if (typeof conf.mermaid.callback === 'function') {\n callback = conf.mermaid.callback;\n logger.debug('Callback function found');\n } else {\n logger.debug('No Callback function found');\n }\n }\n }\n\n nodes = nodes === undefined ? document.querySelectorAll('.mermaid') : typeof nodes === 'string' ? document.querySelectorAll(nodes) : nodes instanceof window.Node ? [nodes] : nodes; // Last case - sequence config was passed pick next\n\n logger.debug('Start On Load before: ' + mermaid.startOnLoad);\n\n if (typeof mermaid.startOnLoad !== 'undefined') {\n logger.debug('Start On Load inner: ' + mermaid.startOnLoad);\n mermaidAPI.initialize({\n startOnLoad: mermaid.startOnLoad\n });\n }\n\n if (typeof mermaid.ganttConfig !== 'undefined') {\n mermaidAPI.initialize({\n gantt: mermaid.ganttConfig\n });\n }\n\n var txt;\n\n var _loop = function _loop(i) {\n var element = nodes[i];\n /*! Check if previously processed */\n\n if (!element.getAttribute('data-processed')) {\n element.setAttribute('data-processed', true);\n } else {\n return \"continue\";\n }\n\n var id = \"mermaid-\".concat(Date.now()); // Fetch the graph definition including tags\n\n txt = element.innerHTML; // transforms the html to pure text\n\n txt = decode(txt).trim().replace(//gi, '
');\n var init = utils.detectInit(txt);\n\n if (init) {\n logger.debug('Detected early reinit: ', init);\n }\n\n try {\n mermaidAPI.render(id, txt, function (svgCode, bindFunctions) {\n element.innerHTML = svgCode;\n\n if (typeof callback !== 'undefined') {\n callback(id);\n }\n\n if (bindFunctions) bindFunctions(element);\n }, element);\n } catch (e) {\n logger.warn('Syntax Error rendering');\n logger.warn(e);\n\n if (_this.parseError) {\n _this.parseError(e);\n }\n }\n };\n\n for (var i = 0; i < nodes.length; i++) {\n var _ret = _loop(i);\n\n if (_ret === \"continue\") continue;\n }\n};\n\nvar initialize = function initialize(config) {\n mermaidAPI.reset();\n\n if (typeof config.mermaid !== 'undefined') {\n if (typeof config.mermaid.startOnLoad !== 'undefined') {\n mermaid.startOnLoad = config.mermaid.startOnLoad;\n }\n\n if (typeof config.mermaid.htmlLabels !== 'undefined') {\n mermaid.htmlLabels = config.mermaid.htmlLabels;\n }\n }\n\n mermaidAPI.initialize(config);\n};\n/**\n * ##contentLoaded\n * Callback function that is called when page is loaded. This functions fetches configuration for mermaid rendering and\n * calls init for rendering the mermaid diagrams on the page.\n */\n\n\nvar contentLoaded = function contentLoaded() {\n var config;\n\n if (mermaid.startOnLoad) {\n // No config found, do check API config\n config = mermaidAPI.getConfig();\n\n if (config.startOnLoad) {\n mermaid.init();\n }\n } else {\n if (typeof mermaid.startOnLoad === 'undefined') {\n logger.debug('In start, no config');\n config = mermaidAPI.getConfig();\n\n if (config.startOnLoad) {\n mermaid.init();\n }\n }\n }\n};\n\nif (typeof document !== 'undefined') {\n /*!\n * Wait for document loaded before starting the execution\n */\n window.addEventListener('load', function () {\n contentLoaded();\n }, false);\n}\n\nvar mermaid = {\n startOnLoad: true,\n htmlLabels: true,\n mermaidAPI: mermaidAPI,\n parse: mermaidAPI.parse,\n render: mermaidAPI.render,\n init: init,\n initialize: initialize,\n contentLoaded: contentLoaded\n};\nexport default mermaid;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/logger.js", "name": "./src/logger.js", "index": 17, "index2": 15, "size": 1937, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } } ], "profile": { "factory": 14, "building": 461, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "1:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "2:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "2:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "2:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "2:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "3:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "module": "./src/diagrams/info/infoDb.js", "moduleName": "./src/diagrams/info/infoDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "module": "./src/diagrams/pie/pieDb.js", "moduleName": "./src/diagrams/pie/pieDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "module": "./src/dagre-wrapper/markers.js", "moduleName": "./src/dagre-wrapper/markers.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "4:0-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "4:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "5:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "8:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "module": "./src/diagrams/info/infoDb.js", "moduleName": "./src/diagrams/info/infoDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "8:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "../logger", "loc": "9:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "9:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../logger", "loc": "11:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "module": "./src/diagrams/pie/pieDb.js", "moduleName": "./src/diagrams/pie/pieDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "11:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "12:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "12:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "13:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "module": "./src/dagre-wrapper/markers.js", "moduleName": "./src/dagre-wrapper/markers.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "13:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "14:0-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "14:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "17:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./logger", "loc": "19:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "20:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "21:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "22:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "22:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "23:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "23:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "24:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "25:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "26:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "26:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "28:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "28:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "30:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "30:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "30:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "31:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "34:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "35:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "35:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "36:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "37:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "38:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "38:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "39:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "module": "./src/errorRenderer.js", "moduleName": "./src/errorRenderer.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "39:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "42:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "42:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "43:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "module": "./src/diagrams/er/erDb.js", "moduleName": "./src/diagrams/er/erDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "46:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "47:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "50:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "51:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "55:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "55:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "56:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "59:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "60:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "60:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "60:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "61:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "61:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "62:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "62:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "66:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "67:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "67:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "67:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "68:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "69:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "69:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "70:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "72:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "72:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "72:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "74:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "76:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "77:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "78:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "78:8-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "79:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "79:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "81:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "81:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "83:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "83:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "85:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "86:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "87:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "87:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "88:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "88:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "89:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "90:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "90:10-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "92:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "93:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "94:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "95:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "95:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "95:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "96:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "97:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "98:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "99:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "100:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "100:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "101:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "104:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "106:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "107:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "117:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "117:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "118:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "118:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "119:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "120:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "123:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "124:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "124:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "125:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "126:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "127:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "129:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "130:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "130:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "130:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "132:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "133:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "133:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "136:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "136:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "137:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "140:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "144:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "148:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "148:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "151:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "152:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "152:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "153:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "153:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "156:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "158:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "159:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "159:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "161:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "165:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "165:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "167:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "168:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "170:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "171:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "179:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "182:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "182:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "183:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "183:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "184:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "185:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "186:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "186:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "188:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "188:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "189:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "193:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "194:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "196:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "196:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "197:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "202:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "205:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "206:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "206:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "208:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "209:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "211:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "214:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "222:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "223:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "223:12-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "228:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "234:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "235:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "236:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "240:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "240:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "module": "./src/diagrams/git/gitGraphAst.js", "moduleName": "./src/diagrams/git/gitGraphAst.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "242:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "243:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "244:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "247:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "249:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "249:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "251:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "253:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "254:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "262:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "265:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "271:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "271:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "272:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "275:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "282:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "288:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "291:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "292:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "293:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "297:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "299:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "303:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "306:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "314:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "314:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "323:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "324:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "326:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "327:6-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "332:2-5" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "337:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "module": "./src/dagre-wrapper/mermaid-graphlib.js", "moduleName": "./src/dagre-wrapper/mermaid-graphlib.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "337:4-7" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "349:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "349:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "353:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "353:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "358:8-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "360:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "376:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "389:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "389:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "403:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "416:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "420:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "430:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "444:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "462:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "469:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "470:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "475:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "516:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "547:2-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "548:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "556:2-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "557:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../logger", "loc": "559:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "584:0-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "595:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "616:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "642:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "715:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "800:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./logger", "loc": "912:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../logger", "loc": "944:2-8" } ], "usedExports": [ "logger", "setLogLevel" ], "providedExports": [ "LEVELS", "logger", "setLogLevel" ], "optimizationBailout": [], "depth": 1, "source": "import moment from 'moment-mini'; //\n\nexport var LEVELS = {\n debug: 1,\n info: 2,\n warn: 3,\n error: 4,\n fatal: 5\n};\nexport var logger = {\n debug: function debug() {},\n info: function info() {},\n warn: function warn() {},\n error: function error() {},\n fatal: function fatal() {}\n};\nexport var setLogLevel = function setLogLevel() {\n var level = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'fatal';\n\n if (isNaN(level)) {\n level = level.toLowerCase();\n\n if (LEVELS[level] !== undefined) {\n level = LEVELS[level];\n }\n }\n\n logger.trace = function () {};\n\n logger.debug = function () {};\n\n logger.info = function () {};\n\n logger.warn = function () {};\n\n logger.error = function () {};\n\n logger.fatal = function () {};\n\n if (level <= LEVELS.fatal) {\n logger.fatal = console.error ? console.error.bind(console, format('FATAL'), 'color: orange') : console.log.bind(console, '\\x1b[35m', format('FATAL'));\n }\n\n if (level <= LEVELS.error) {\n logger.error = console.error ? console.error.bind(console, format('ERROR'), 'color: orange') : console.log.bind(console, '\\x1b[31m', format('ERROR'));\n }\n\n if (level <= LEVELS.warn) {\n logger.warn = console.warn ? console.warn.bind(console, format('WARN'), 'color: orange') : console.log.bind(console, \"\\x1B[33m\", format('WARN'));\n }\n\n if (level <= LEVELS.info) {\n logger.info = console.info ? // ? console.info.bind(console, '\\x1b[34m', format('INFO'), 'color: blue')\n console.info.bind(console, format('INFO'), 'color: lightblue') : console.log.bind(console, '\\x1b[34m', format('INFO'));\n }\n\n if (level <= LEVELS.debug) {\n logger.debug = console.debug ? console.debug.bind(console, format('DEBUG'), 'color: lightgreen') : console.log.bind(console, '\\x1b[32m', format('DEBUG'));\n }\n};\n\nvar format = function format(level) {\n var time = moment().format('ss.SSS');\n return \"%c\".concat(time, \" : \").concat(level, \" : \");\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "index": 15, "index2": 17, "size": 24774, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } } ], "profile": { "factory": 14, "building": 461, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "4:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "5:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "5:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "6:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../utils", "loc": "6:0-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "7:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "9:0-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "10:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "10:0-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../utils", "loc": "13:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./utils", "loc": "20:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "37:14-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "42:17-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "43:17-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../utils", "loc": "48:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "module": "./src/diagrams/state/stateDb.js", "moduleName": "./src/diagrams/state/stateDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "56:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "58:22-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "63:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "65:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "66:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "70:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "101:15-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "160:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "172:25-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "174:24-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "188:24-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "197:19-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "214:19-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "217:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "223:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "227:4-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "229:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "231:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "233:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "250:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "252:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "252:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "254:23-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "262:10-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "280:17-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "282:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "337:32-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "396:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "437:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "441:19-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "527:29-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "548:6-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "548:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "673:38-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "674:30-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "736:26-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "739:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "770:23-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "770:66-71" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "788:21-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "788:64-69" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "797:24-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "821:16-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "824:18-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../../utils", "loc": "847:13-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "854:17-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "855:20-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "866:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "869:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "878:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "890:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "899:9-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "930:2-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "module": "./src/config.js", "moduleName": "./src/config.js", "type": "harmony import specifier", "userRequest": "./utils", "loc": "933:2-17" } ], "usedExports": [ "default", "assignWithDepth", "getStylesFromArray", "interpolateToCurve", "generateId" ], "providedExports": [ "detectInit", "detectDirective", "detectType", "isSubstringInArray", "interpolateToCurve", "formatUrl", "runFunc", "getStylesFromArray", "generateId", "random", "assignWithDepth", "getTextObj", "drawSimpleText", "wrapLabel", "calculateTextHeight", "calculateTextWidth", "calculateTextDimensions", "default" ], "optimizationBailout": [], "depth": 1, "source": "var _this = this;\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport { curveBasis, curveBasisClosed, curveBasisOpen, curveLinear, curveLinearClosed, curveMonotoneX, curveMonotoneY, curveNatural, curveStep, curveStepAfter, curveStepBefore, select } from 'd3';\nimport { logger } from './logger';\nimport { sanitizeUrl } from '@braintree/sanitize-url';\nimport common from './diagrams/common/common'; // import cryptoRandomString from 'crypto-random-string';\n// Effectively an enum of the supported curve types, accessible by name\n\nvar d3CurveTypes = {\n curveBasis: curveBasis,\n curveBasisClosed: curveBasisClosed,\n curveBasisOpen: curveBasisOpen,\n curveLinear: curveLinear,\n curveLinearClosed: curveLinearClosed,\n curveMonotoneX: curveMonotoneX,\n curveMonotoneY: curveMonotoneY,\n curveNatural: curveNatural,\n curveStep: curveStep,\n curveStepAfter: curveStepAfter,\n curveStepBefore: curveStepBefore\n};\nvar directive = /[%]{2}[{]\\s*(?:(?:(\\w+)\\s*:|(\\w+))\\s*(?:(?:(\\w+))|((?:(?![}][%]{2}).|\\r?\\n)*))?\\s*)(?:[}][%]{2})?/gi;\nvar directiveWithoutOpen = /\\s*(?:(?:(\\w+)(?=:):|(\\w+))\\s*(?:(?:(\\w+))|((?:(?![}][%]{2}).|\\r?\\n)*))?\\s*)(?:[}][%]{2})?/gi;\nvar anyComment = /\\s*%%.*\\n/gm;\n/**\n * @function detectInit\n * Detects the init config object from the text\n * ```mermaid\n * %%{init: {\"theme\": \"debug\", \"logLevel\": 1 }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n * or\n * ```mermaid\n * %%{initialize: {\"theme\": \"dark\", logLevel: \"debug\" }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @returns {object} the json object representing the init passed to mermaid.initialize()\n */\n\nexport var detectInit = function detectInit(text) {\n var inits = detectDirective(text, /(?:init\\b)|(?:initialize\\b)/);\n var results = {};\n\n if (Array.isArray(inits)) {\n var args = inits.map(function (init) {\n return init.args;\n });\n results = assignWithDepth(results, _toConsumableArray(args));\n } else {\n results = inits.args;\n }\n\n if (results) {\n var type = detectType(text);\n ['config'].forEach(function (prop) {\n if (typeof results[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n results[type] = results[prop];\n delete results[prop];\n }\n });\n }\n\n return results;\n};\n/**\n * @function detectDirective\n * Detects the directive from the text. Text can be single line or multiline. If type is null or omitted\n * the first directive encountered in text will be returned\n * ```mermaid\n * graph LR\n * %%{somedirective}%%\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @param {string|RegExp} type The directive to return (default: null)\n * @returns {object | Array} An object or Array representing the directive(s): { type: string, args: object|null } matched by the input type\n * if a single directive was found, that directive object will be returned.\n */\n\nexport var detectDirective = function detectDirective(text) {\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n try {\n var commentWithoutDirectives = new RegExp(\"[%]{2}(?![{]\".concat(directiveWithoutOpen.source, \")(?=[}][%]{2}).*\\n\"), 'ig');\n text = text.trim().replace(commentWithoutDirectives, '').replace(/'/gm, '\"');\n logger.debug(\"Detecting diagram directive\".concat(type !== null ? ' type:' + type : '', \" based on the text:\").concat(text));\n var match,\n result = [];\n\n while ((match = directive.exec(text)) !== null) {\n // This is necessary to avoid infinite loops with zero-width matches\n if (match.index === directive.lastIndex) {\n directive.lastIndex++;\n }\n\n if (match && !type || type && match[1] && match[1].match(type) || type && match[2] && match[2].match(type)) {\n var _type = match[1] ? match[1] : match[2];\n\n var args = match[3] ? match[3].trim() : match[4] ? JSON.parse(match[4].trim()) : null;\n result.push({\n type: _type,\n args: args\n });\n }\n }\n\n if (result.length === 0) {\n result.push({\n type: text,\n args: null\n });\n }\n\n return result.length === 1 ? result[0] : result;\n } catch (error) {\n logger.error(\"ERROR: \".concat(error.message, \" - Unable to parse directive\").concat(type !== null ? ' type:' + type : '', \" based on the text:\").concat(text));\n return {\n type: null,\n args: null\n };\n }\n};\n/**\n * @function detectType\n * Detects the type of the graph text. Takes into consideration the possible existence of an %%init\n * directive\n * ```mermaid\n * %%{initialize: {\"startOnLoad\": true, logLevel: \"fatal\" }}%%\n * graph LR\n * a-->b\n * b-->c\n * c-->d\n * d-->e\n * e-->f\n * f-->g\n * g-->h\n * ```\n *\n * @param {string} text The text defining the graph\n * @returns {string} A graph definition key\n */\n\nexport var detectType = function detectType(text) {\n text = text.replace(directive, '').replace(anyComment, '\\n');\n logger.debug('Detecting diagram type based on the text ' + text);\n\n if (text.match(/^\\s*sequenceDiagram/)) {\n return 'sequence';\n }\n\n if (text.match(/^\\s*gantt/)) {\n return 'gantt';\n }\n\n if (text.match(/^\\s*classDiagram/)) {\n return 'class';\n }\n\n if (text.match(/^\\s*stateDiagram-v2/)) {\n return 'stateDiagram';\n }\n\n if (text.match(/^\\s*stateDiagram/)) {\n return 'state';\n }\n\n if (text.match(/^\\s*gitGraph/)) {\n return 'git';\n }\n\n if (text.match(/^\\s*flowchart/)) {\n return 'flowchart-v2';\n }\n\n if (text.match(/^\\s*info/)) {\n return 'info';\n }\n\n if (text.match(/^\\s*pie/)) {\n return 'pie';\n }\n\n if (text.match(/^\\s*erDiagram/)) {\n return 'er';\n }\n\n if (text.match(/^\\s*journey/)) {\n return 'journey';\n }\n\n return 'flowchart';\n};\n\nvar memoize = function memoize(fn, resolver) {\n var cache = {};\n return function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var n = resolver ? resolver.apply(_this, args) : args[0];\n\n if (n in cache) {\n return cache[n];\n } else {\n var result = fn.apply(void 0, args);\n cache[n] = result;\n return result;\n }\n };\n};\n/**\n * @function isSubstringInArray\n * Detects whether a substring in present in a given array\n * @param {string} str The substring to detect\n * @param {array} arr The array to search\n * @returns {number} the array index containing the substring or -1 if not present\n **/\n\n\nexport var isSubstringInArray = function isSubstringInArray(str, arr) {\n for (var i = 0; i < arr.length; i++) {\n if (arr[i].match(str)) return i;\n }\n\n return -1;\n};\nexport var interpolateToCurve = function interpolateToCurve(interpolate, defaultCurve) {\n if (!interpolate) {\n return defaultCurve;\n }\n\n var curveName = \"curve\".concat(interpolate.charAt(0).toUpperCase() + interpolate.slice(1));\n return d3CurveTypes[curveName] || defaultCurve;\n};\nexport var formatUrl = function formatUrl(linkStr, config) {\n var url = linkStr.trim();\n\n if (url) {\n if (config.securityLevel !== 'loose') {\n return sanitizeUrl(url);\n }\n\n return url;\n }\n};\nexport var runFunc = function runFunc(functionName) {\n var _obj;\n\n var arrPaths = functionName.split('.');\n var len = arrPaths.length - 1;\n var fnName = arrPaths[len];\n var obj = window;\n\n for (var i = 0; i < len; i++) {\n obj = obj[arrPaths[i]];\n if (!obj) return;\n }\n\n for (var _len2 = arguments.length, params = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n params[_key2 - 1] = arguments[_key2];\n }\n\n (_obj = obj)[fnName].apply(_obj, params);\n};\n\nvar distance = function distance(p1, p2) {\n return p1 && p2 ? Math.sqrt(Math.pow(p2.x - p1.x, 2) + Math.pow(p2.y - p1.y, 2)) : 0;\n};\n\nvar traverseEdge = function traverseEdge(points) {\n var prevPoint;\n var totalDistance = 0;\n points.forEach(function (point) {\n totalDistance += distance(point, prevPoint);\n prevPoint = point;\n }); // Traverse half of total distance along points\n\n var remainingDistance = totalDistance / 2;\n var center = undefined;\n prevPoint = undefined;\n points.forEach(function (point) {\n if (prevPoint && !center) {\n var vectorDistance = distance(point, prevPoint);\n\n if (vectorDistance < remainingDistance) {\n remainingDistance -= vectorDistance;\n } else {\n // The point is remainingDistance from prevPoint in the vector between prevPoint and point\n // Calculate the coordinates\n var distanceRatio = remainingDistance / vectorDistance;\n if (distanceRatio <= 0) center = prevPoint;\n if (distanceRatio >= 1) center = {\n x: point.x,\n y: point.y\n };\n\n if (distanceRatio > 0 && distanceRatio < 1) {\n center = {\n x: (1 - distanceRatio) * prevPoint.x + distanceRatio * point.x,\n y: (1 - distanceRatio) * prevPoint.y + distanceRatio * point.y\n };\n }\n }\n }\n\n prevPoint = point;\n });\n return center;\n};\n\nvar calcLabelPosition = function calcLabelPosition(points) {\n return traverseEdge(points);\n};\n\nvar calcCardinalityPosition = function calcCardinalityPosition(isRelationTypePresent, points, initialPosition) {\n var prevPoint;\n var totalDistance = 0; // eslint-disable-line\n\n if (points[0] !== initialPosition) {\n points = points.reverse();\n }\n\n points.forEach(function (point) {\n totalDistance += distance(point, prevPoint);\n prevPoint = point;\n }); // Traverse only 25 total distance along points to find cardinality point\n\n var distanceToCardinalityPoint = 25;\n var remainingDistance = distanceToCardinalityPoint;\n var center = {\n x: 0,\n y: 0\n };\n prevPoint = undefined;\n points.forEach(function (point) {\n if (prevPoint && !center) {\n var vectorDistance = distance(point, prevPoint);\n\n if (vectorDistance < remainingDistance) {\n remainingDistance -= vectorDistance;\n } else {\n // The point is remainingDistance from prevPoint in the vector between prevPoint and point\n // Calculate the coordinates\n var distanceRatio = remainingDistance / vectorDistance;\n if (distanceRatio <= 0) center = prevPoint;\n if (distanceRatio >= 1) center = {\n x: point.x,\n y: point.y\n };\n\n if (distanceRatio > 0 && distanceRatio < 1) {\n center = {\n x: (1 - distanceRatio) * prevPoint.x + distanceRatio * point.x,\n y: (1 - distanceRatio) * prevPoint.y + distanceRatio * point.y\n };\n }\n }\n }\n\n prevPoint = point;\n }); // if relation is present (Arrows will be added), change cardinality point off-set distance (d)\n\n var d = isRelationTypePresent ? 10 : 5; //Calculate Angle for x and y axis\n\n var angle = Math.atan2(points[0].y - center.y, points[0].x - center.x);\n var cardinalityPosition = {\n x: 0,\n y: 0\n }; //Calculation cardinality position using angle, center point on the line/curve but pendicular and with offset-distance\n\n cardinalityPosition.x = Math.sin(angle) * d + (points[0].x + center.x) / 2;\n cardinalityPosition.y = -Math.cos(angle) * d + (points[0].y + center.y) / 2;\n return cardinalityPosition;\n};\n\nexport var getStylesFromArray = function getStylesFromArray(arr) {\n var style = '';\n var labelStyle = '';\n\n for (var i = 0; i < arr.length; i++) {\n if (typeof arr[i] !== 'undefined') {\n // add text properties to label style definition\n if (arr[i].startsWith('color:') || arr[i].startsWith('text-align:')) {\n labelStyle = labelStyle + arr[i] + ';';\n } else {\n style = style + arr[i] + ';';\n }\n }\n }\n\n return {\n style: style,\n labelStyle: labelStyle\n };\n};\nvar cnt = 0;\nexport var generateId = function generateId() {\n cnt++;\n return 'id-' + Math.random().toString(36).substr(2, 12) + '-' + cnt;\n};\nexport var random = function random(options) {\n // return cryptoRandomString(options);\n return 'apa';\n};\n/**\n * @function assignWithDepth\n * Extends the functionality of {@link ObjectConstructor.assign} with the ability to merge arbitrary-depth objects\n * For each key in src with path `k` (recursively) performs an Object.assign(dst[`k`], src[`k`]) with\n * a slight change from the typical handling of undefined for dst[`k`]: instead of raising an error,\n * dst[`k`] is auto-initialized to {} and effectively merged with src[`k`]\n *

\n * Additionally, dissimilar types will not clobber unless the config.clobber parameter === true. Example:\n * ```\n * let config_0 = { foo: { bar: 'bar' }, bar: 'foo' };\n * let config_1 = { foo: 'foo', bar: 'bar' };\n * let result = assignWithDepth(config_0, config_1);\n * console.log(result);\n * //-> result: { foo: { bar: 'bar' }, bar: 'bar' }\n * ```\n *

\n * Traditional Object.assign would have clobbered foo in config_0 with foo in config_1.\n *

\n * If src is a destructured array of objects and dst is not an array, assignWithDepth will apply each element of src to dst\n * in order.\n * @param dst:any - the destination of the merge\n * @param src:any - the source object(s) to merge into destination\n * @param config:{ depth: number, clobber: boolean } - depth: depth to traverse within src and dst for merging -\n * clobber: should dissimilar types clobber (default: { depth: 2, clobber: false })\n * @returns {*}\n */\n\nexport var assignWithDepth = function assignWithDepth(dst, src, config) {\n var _Object$assign = Object.assign({\n depth: 2,\n clobber: false\n }, config),\n depth = _Object$assign.depth,\n clobber = _Object$assign.clobber;\n\n if (Array.isArray(src) && !Array.isArray(dst)) {\n src.forEach(function (s) {\n return assignWithDepth(dst, s, config);\n });\n return dst;\n } else if (Array.isArray(src) && Array.isArray(dst)) {\n src.forEach(function (s) {\n if (dst.indexOf(s) === -1) {\n dst.push(s);\n }\n });\n return dst;\n }\n\n if (typeof dst === 'undefined' || depth <= 0) {\n if (dst !== undefined && dst !== null && _typeof(dst) === 'object' && _typeof(src) === 'object') {\n return Object.assign(dst, src);\n } else {\n return src;\n }\n }\n\n if (typeof src !== 'undefined' && _typeof(dst) === 'object' && _typeof(src) === 'object') {\n Object.keys(src).forEach(function (key) {\n if (_typeof(src[key]) === 'object' && (dst[key] === undefined || _typeof(dst[key]) === 'object')) {\n if (dst[key] === undefined) {\n dst[key] = Array.isArray(src[key]) ? [] : {};\n }\n\n dst[key] = assignWithDepth(dst[key], src[key], {\n depth: depth - 1,\n clobber: clobber\n });\n } else if (clobber || _typeof(dst[key]) !== 'object' && _typeof(src[key]) !== 'object') {\n dst[key] = src[key];\n }\n });\n }\n\n return dst;\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n anchor: 'start',\n style: '#666',\n width: 100,\n height: 100,\n textMargin: 0,\n rx: 0,\n ry: 0,\n valign: undefined\n };\n};\nexport var drawSimpleText = function drawSimpleText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(common.lineBreakRegex, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.style('text-anchor', textData.anchor);\n textElem.style('font-family', textData.fontFamily);\n textElem.style('font-size', textData.fontSize);\n textElem.style('font-weight', textData.fontWeight);\n textElem.attr('fill', textData.fill);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.attr('fill', textData.fill);\n span.text(nText);\n return textElem;\n};\nexport var wrapLabel = memoize(function (label, maxWidth, config) {\n if (!label) {\n return label;\n }\n\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n joinWith: '
'\n }, config);\n\n if (common.lineBreakRegex.test(label)) {\n return label;\n }\n\n var words = label.split(' ');\n var completedLines = [];\n var nextLine = '';\n words.forEach(function (word, index) {\n var wordLength = calculateTextWidth(\"\".concat(word, \" \"), config);\n var nextLineLength = calculateTextWidth(nextLine, config);\n\n if (wordLength > maxWidth) {\n var _breakString = breakString(word, maxWidth, '-', config),\n hyphenatedStrings = _breakString.hyphenatedStrings,\n remainingWord = _breakString.remainingWord;\n\n completedLines.push.apply(completedLines, [nextLine].concat(_toConsumableArray(hyphenatedStrings)));\n nextLine = remainingWord;\n } else if (nextLineLength + wordLength >= maxWidth) {\n completedLines.push(nextLine);\n nextLine = word;\n } else {\n nextLine = [nextLine, word].filter(Boolean).join(' ');\n }\n\n var currentWord = index + 1;\n var isLastWord = currentWord === words.length;\n\n if (isLastWord) {\n completedLines.push(nextLine);\n }\n });\n return completedLines.filter(function (line) {\n return line !== '';\n }).join(config.joinWith);\n}, function (label, maxWidth, config) {\n return \"\".concat(label, \"-\").concat(maxWidth, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily, \"-\").concat(config.joinWith);\n});\nvar breakString = memoize(function (word, maxWidth) {\n var hyphenCharacter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-';\n var config = arguments.length > 3 ? arguments[3] : undefined;\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n margin: 0\n }, config);\n var characters = word.split('');\n var lines = [];\n var currentLine = '';\n characters.forEach(function (character, index) {\n var nextLine = \"\".concat(currentLine).concat(character);\n var lineWidth = calculateTextWidth(nextLine, config);\n\n if (lineWidth >= maxWidth) {\n var currentCharacter = index + 1;\n var isLastLine = characters.length === currentCharacter;\n var hyphenatedNextLine = \"\".concat(nextLine).concat(hyphenCharacter);\n lines.push(isLastLine ? nextLine : hyphenatedNextLine);\n currentLine = '';\n } else {\n currentLine = nextLine;\n }\n });\n return {\n hyphenatedStrings: lines,\n remainingWord: currentLine\n };\n}, function (word, maxWidth) {\n var hyphenCharacter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '-';\n var config = arguments.length > 3 ? arguments[3] : undefined;\n return \"\".concat(word, \"-\").concat(maxWidth, \"-\").concat(hyphenCharacter, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily);\n});\n/**\n * This calculates the text's height, taking into account the wrap breaks and\n * both the statically configured height, width, and the length of the text (in pixels).\n *\n * If the wrapped text text has greater height, we extend the height, so it's\n * value won't overflow.\n *\n * @return - The height for the given text\n * @param text the text to measure\n * @param config - the config for fontSize, fontFamily, and fontWeight all impacting the resulting size\n */\n\nexport var calculateTextHeight = function calculateTextHeight(text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial',\n margin: 15\n }, config);\n return calculateTextDimensions(text, config).height;\n};\n/**\n * This calculates the width of the given text, font size and family.\n *\n * @return - The width for the given text\n * @param text - The text to calculate the width of\n * @param config - the config for fontSize, fontFamily, and fontWeight all impacting the resulting size\n */\n\nexport var calculateTextWidth = function calculateTextWidth(text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial'\n }, config);\n return calculateTextDimensions(text, config).width;\n};\n/**\n * This calculates the dimensions of the given text, font size, font family, font weight, and margins.\n *\n * @return - The width for the given text\n * @param text - The text to calculate the width of\n * @param config - the config for fontSize, fontFamily, fontWeight, and margin all impacting the resulting size\n */\n\nexport var calculateTextDimensions = memoize(function (text, config) {\n config = Object.assign({\n fontSize: 12,\n fontWeight: 400,\n fontFamily: 'Arial'\n }, config);\n var _config = config,\n fontSize = _config.fontSize,\n fontFamily = _config.fontFamily,\n fontWeight = _config.fontWeight;\n\n if (!text) {\n return {\n width: 0,\n height: 0\n };\n } // We can't really know if the user supplied font family will render on the user agent;\n // thus, we'll take the max width between the user supplied font family, and a default\n // of sans-serif.\n\n\n var fontFamilies = ['sans-serif', fontFamily];\n var lines = text.split(common.lineBreakRegex);\n var dims = [];\n var body = select('body'); // We don't want to leak DOM elements - if a removal operation isn't available\n // for any reason, do not continue.\n\n if (!body.remove) {\n return {\n width: 0,\n height: 0,\n lineHeight: 0\n };\n }\n\n var g = body.append('svg');\n\n for (var _i = 0, _fontFamilies = fontFamilies; _i < _fontFamilies.length; _i++) {\n var _fontFamily = _fontFamilies[_i];\n var cheight = 0;\n var dim = {\n width: 0,\n height: 0,\n lineHeight: 0\n };\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = lines[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var line = _step.value;\n var textObj = getTextObj();\n textObj.text = line;\n var textElem = drawSimpleText(g, textObj).style('font-size', fontSize).style('font-weight', fontWeight).style('font-family', _fontFamily);\n var bBox = (textElem._groups || textElem)[0][0].getBBox();\n dim.width = Math.round(Math.max(dim.width, bBox.width));\n cheight = Math.round(bBox.height);\n dim.height += cheight;\n dim.lineHeight = Math.round(Math.max(dim.lineHeight, cheight));\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n dims.push(dim);\n }\n\n g.remove();\n var index = isNaN(dims[1].height) || isNaN(dims[1].width) || isNaN(dims[1].lineHeight) || dims[0].height > dims[1].height && dims[0].width > dims[1].width && dims[0].lineHeight > dims[1].lineHeight ? 0 : 1;\n return dims[index];\n}, function (text, config) {\n return \"\".concat(text, \"-\").concat(config.fontSize, \"-\").concat(config.fontWeight, \"-\").concat(config.fontFamily);\n});\nexport default {\n assignWithDepth: assignWithDepth,\n wrapLabel: wrapLabel,\n calculateTextHeight: calculateTextHeight,\n calculateTextWidth: calculateTextWidth,\n calculateTextDimensions: calculateTextDimensions,\n detectInit: detectInit,\n detectDirective: detectDirective,\n detectType: detectType,\n isSubstringInArray: isSubstringInArray,\n interpolateToCurve: interpolateToCurve,\n calcLabelPosition: calcLabelPosition,\n calcCardinalityPosition: calcCardinalityPosition,\n formatUrl: formatUrl,\n getStylesFromArray: getStylesFromArray,\n generateId: generateId,\n random: random,\n memoize: memoize,\n runFunc: runFunc\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "index": 2, "index2": 84, "size": 19471, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "issuerId": null, "issuerName": "./src/mermaid.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } } ], "profile": { "factory": 14, "building": 461, "dependencies": 3 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../mermaidAPI", "loc": "1:0-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony side effect evaluation", "userRequest": "./mermaidAPI", "loc": "7:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../mermaidAPI", "loc": "14:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "35:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "73:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "79:4-14" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "108:6-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "135:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "147:2-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "161:13-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "169:15-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "190:14-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "191:9-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "module": "./src/mermaid.js", "moduleName": "./src/mermaid.js", "type": "harmony import specifier", "userRequest": "./mermaidAPI", "loc": "192:10-20" } ], "usedExports": [ "default" ], "providedExports": [ "encodeEntities", "decodeEntities", "default" ], "optimizationBailout": [], "depth": 1, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\n/**\n * This is the api to be used when optionally handling the integration with the web page, instead of using the default integration provided by mermaid.js.\n *\n * The core of this api is the [**render**](https://github.com/knsv/mermaid/blob/master/docs/mermaidAPI.md#render) function which, given a graph\n * definition as text, renders the graph/diagram and returns an svg element for the graph.\n *\n * It is is then up to the user of the API to make use of the svg, either insert it somewhere in the page or do something completely different.\n *\n * In addition to the render function, a number of behavioral configuration options are available.\n *\n * @name mermaidAPI\n */\nimport { select } from 'd3';\nimport scope from 'scope-css';\nimport pkg from '../package.json';\nimport { setConfig, getConfig, setSiteConfig, getSiteConfig } from './config';\nimport { logger, setLogLevel } from './logger';\nimport utils, { assignWithDepth } from './utils';\nimport flowRenderer from './diagrams/flowchart/flowRenderer';\nimport flowRendererV2 from './diagrams/flowchart/flowRenderer-v2';\nimport flowParser from './diagrams/flowchart/parser/flow';\nimport flowDb from './diagrams/flowchart/flowDb';\nimport sequenceRenderer from './diagrams/sequence/sequenceRenderer';\nimport sequenceParser from './diagrams/sequence/parser/sequenceDiagram';\nimport sequenceDb from './diagrams/sequence/sequenceDb';\nimport ganttRenderer from './diagrams/gantt/ganttRenderer';\nimport ganttParser from './diagrams/gantt/parser/gantt';\nimport ganttDb from './diagrams/gantt/ganttDb';\nimport classRenderer from './diagrams/class/classRenderer';\nimport classParser from './diagrams/class/parser/classDiagram';\nimport classDb from './diagrams/class/classDb';\nimport stateRenderer from './diagrams/state/stateRenderer';\nimport stateRendererV2 from './diagrams/state/stateRenderer-v2';\nimport stateParser from './diagrams/state/parser/stateDiagram';\nimport stateDb from './diagrams/state/stateDb';\nimport gitGraphRenderer from './diagrams/git/gitGraphRenderer';\nimport gitGraphParser from './diagrams/git/parser/gitGraph';\nimport gitGraphAst from './diagrams/git/gitGraphAst';\nimport infoRenderer from './diagrams/info/infoRenderer';\nimport errorRenderer from './errorRenderer';\nimport infoParser from './diagrams/info/parser/info';\nimport infoDb from './diagrams/info/infoDb';\nimport pieRenderer from './diagrams/pie/pieRenderer';\nimport pieParser from './diagrams/pie/parser/pie';\nimport pieDb from './diagrams/pie/pieDb';\nimport erDb from './diagrams/er/erDb';\nimport erParser from './diagrams/er/parser/erDiagram';\nimport erRenderer from './diagrams/er/erRenderer';\nimport journeyParser from './diagrams/user-journey/parser/journey';\nimport journeyDb from './diagrams/user-journey/journeyDb';\nimport journeyRenderer from './diagrams/user-journey/journeyRenderer';\nimport configApi from './config';\nvar themes = {};\n\nfor (var _i = 0, _arr = ['default', 'forest', 'dark', 'neutral']; _i < _arr.length; _i++) {\n var themeName = _arr[_i];\n themes[themeName] = require(\"./themes/\".concat(themeName, \"/index.scss\"));\n}\n\nfunction parse(text) {\n var graphInit = utils.detectInit(text);\n\n if (graphInit) {\n reinitialize(graphInit);\n logger.debug('reinit ', graphInit);\n }\n\n var graphType = utils.detectType(text);\n var parser;\n logger.debug('Type ' + graphType);\n\n switch (graphType) {\n case 'git':\n parser = gitGraphParser;\n parser.parser.yy = gitGraphAst;\n break;\n\n case 'flowchart':\n flowDb.clear();\n parser = flowParser;\n parser.parser.yy = flowDb;\n break;\n\n case 'flowchart-v2':\n flowDb.clear();\n parser = flowParser;\n parser.parser.yy = flowDb;\n break;\n\n case 'sequence':\n parser = sequenceParser;\n parser.parser.yy = sequenceDb;\n break;\n\n case 'gantt':\n parser = ganttParser;\n parser.parser.yy = ganttDb;\n break;\n\n case 'class':\n parser = classParser;\n parser.parser.yy = classDb;\n break;\n\n case 'state':\n parser = stateParser;\n parser.parser.yy = stateDb;\n break;\n\n case 'stateDiagram':\n parser = stateParser;\n parser.parser.yy = stateDb;\n break;\n\n case 'info':\n logger.debug('info info info');\n parser = infoParser;\n parser.parser.yy = infoDb;\n break;\n\n case 'pie':\n logger.debug('pie');\n parser = pieParser;\n parser.parser.yy = pieDb;\n break;\n\n case 'er':\n logger.debug('er');\n parser = erParser;\n parser.parser.yy = erDb;\n break;\n\n case 'journey':\n logger.debug('Journey');\n parser = journeyParser;\n parser.parser.yy = journeyDb;\n break;\n }\n\n parser.parser.yy.graphType = graphType;\n\n parser.parser.yy.parseError = function (str, hash) {\n var error = {\n str: str,\n hash: hash\n };\n throw error;\n };\n\n parser.parse(text);\n return parser;\n}\n\nexport var encodeEntities = function encodeEntities(text) {\n var txt = text;\n txt = txt.replace(/style.*:\\S*#.*;/g, function (s) {\n var innerTxt = s.substring(0, s.length - 1);\n return innerTxt;\n });\n txt = txt.replace(/classDef.*:\\S*#.*;/g, function (s) {\n var innerTxt = s.substring(0, s.length - 1);\n return innerTxt;\n });\n txt = txt.replace(/#\\w+;/g, function (s) {\n var innerTxt = s.substring(1, s.length - 1);\n var isInt = /^\\+?\\d+$/.test(innerTxt);\n\n if (isInt) {\n return 'fl°°' + innerTxt + '¶ß';\n } else {\n return 'fl°' + innerTxt + '¶ß';\n }\n });\n return txt;\n};\nexport var decodeEntities = function decodeEntities(text) {\n var txt = text;\n txt = txt.replace(/fl°°/g, function () {\n return '&#';\n });\n txt = txt.replace(/fl°/g, function () {\n return '&';\n });\n txt = txt.replace(/¶ß/g, function () {\n return ';';\n });\n return txt;\n};\n/**\n * Function that renders an svg with a graph from a chart definition. Usage example below.\n *\n * ```js\n * mermaidAPI.initialize({\n * startOnLoad:true\n * });\n * $(function(){\n * const graphDefinition = 'graph TB\\na-->b';\n * const cb = function(svgGraph){\n * console.log(svgGraph);\n * };\n * mermaidAPI.render('id1',graphDefinition,cb);\n * });\n *```\n * @param id the id of the element to be rendered\n * @param _txt the graph definition\n * @param cb callback which is called after rendering is finished with the svg code as inparam.\n * @param container selector to element in which a div with the graph temporarily will be inserted. In one is\n * provided a hidden div will be inserted in the body of the page instead. The element will be removed when rendering is\n * completed.\n */\n\nvar render = function render(id, _txt, cb, container) {\n var cnf = getConfig(); // Check the maximum allowed text size\n\n var txt = _txt;\n\n if (_txt.length > cnf.maxTextSize) {\n txt = 'graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa';\n }\n\n var graphInit = utils.detectInit(txt);\n\n if (graphInit) {\n reinitialize(graphInit);\n assignWithDepth(cnf, getConfig());\n }\n\n if (typeof container !== 'undefined') {\n container.innerHTML = '';\n select(container).append('div').attr('id', 'd' + id).attr('style', 'font-family: ' + cnf.fontFamily).append('svg').attr('id', id).attr('width', '100%').attr('xmlns', 'http://www.w3.org/2000/svg').append('g');\n } else {\n var existingSvg = document.getElementById(id);\n\n if (existingSvg) {\n existingSvg.remove();\n }\n\n var _element = document.querySelector('#' + 'd' + id);\n\n if (_element) {\n _element.remove();\n }\n\n select('body').append('div').attr('id', 'd' + id).append('svg').attr('id', id).attr('width', '100%').attr('xmlns', 'http://www.w3.org/2000/svg').append('g');\n }\n\n window.txt = txt;\n txt = encodeEntities(txt);\n var element = select('#d' + id).node();\n var graphType = utils.detectType(txt); // insert inline style into svg\n\n var svg = element.firstChild;\n var firstChild = svg.firstChild; // pre-defined theme\n\n var style = themes[cnf.theme];\n\n if (style === undefined) {\n style = '';\n } // user provided theme CSS\n\n\n if (cnf.themeCSS !== undefined) {\n style += \"\\n\".concat(cnf.themeCSS);\n } // user provided theme CSS\n\n\n if (cnf.fontFamily !== undefined) {\n style += \"\\n:root { --mermaid-font-family: \".concat(cnf.fontFamily, \"}\");\n } // user provided theme CSS\n\n\n if (cnf.altFontFamily !== undefined) {\n style += \"\\n:root { --mermaid-alt-font-family: \".concat(cnf.altFontFamily, \"}\");\n } // classDef\n\n\n if (graphType === 'flowchart' || graphType === 'flowchart-v2' || graphType === 'graph') {\n var classes = flowRenderer.getClasses(txt);\n\n for (var className in classes) {\n style += \"\\n.\".concat(className, \" > * { \").concat(classes[className].styles.join(' !important; '), \" !important; }\");\n\n if (classes[className].textStyles) {\n style += \"\\n.\".concat(className, \" tspan { \").concat(classes[className].textStyles.join(' !important; '), \" !important; }\");\n }\n }\n }\n\n var style1 = document.createElement('style');\n style1.innerHTML = scope(style, \"#\".concat(id));\n svg.insertBefore(style1, firstChild); // Verify that the generated svgs are ok before removing this\n // const style2 = document.createElement('style');\n // const cs = window.getComputedStyle(svg);\n // style2.innerHTML = `#d${id} * {\n // color: ${cs.color};\n // // font: ${cs.font};\n // // font-family: Arial;\n // // font-size: 24px;\n // }`;\n // svg.insertBefore(style2, firstChild);\n\n try {\n switch (graphType) {\n case 'git':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n gitGraphRenderer.setConf(cnf.git);\n gitGraphRenderer.draw(txt, id, false);\n break;\n\n case 'flowchart':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n flowRenderer.setConf(cnf.flowchart);\n flowRenderer.draw(txt, id, false);\n break;\n\n case 'flowchart-v2':\n cnf.flowchart.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n flowRendererV2.setConf(cnf.flowchart);\n flowRendererV2.draw(txt, id, false);\n break;\n\n case 'sequence':\n cnf.sequence.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n\n if (cnf.sequenceDiagram) {\n // backwards compatibility\n sequenceRenderer.setConf(Object.assign(cnf.sequence, cnf.sequenceDiagram));\n console.error('`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.');\n } else {\n sequenceRenderer.setConf(cnf.sequence);\n }\n\n sequenceRenderer.draw(txt, id);\n break;\n\n case 'gantt':\n cnf.gantt.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n ganttRenderer.setConf(cnf.gantt);\n ganttRenderer.draw(txt, id);\n break;\n\n case 'class':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n classRenderer.setConf(cnf.class);\n classRenderer.draw(txt, id);\n break;\n\n case 'state':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n stateRenderer.setConf(cnf.state);\n stateRenderer.draw(txt, id);\n break;\n\n case 'stateDiagram':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n stateRendererV2.setConf(cnf.state);\n stateRendererV2.draw(txt, id);\n break;\n\n case 'info':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n infoRenderer.setConf(cnf.class);\n infoRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'pie':\n cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;\n pieRenderer.setConf(cnf.class);\n pieRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'er':\n erRenderer.setConf(cnf.er);\n erRenderer.draw(txt, id, pkg.version);\n break;\n\n case 'journey':\n journeyRenderer.setConf(cnf.journey);\n journeyRenderer.draw(txt, id, pkg.version);\n break;\n }\n } catch (e) {\n // errorRenderer.setConf(cnf.class);\n errorRenderer.draw(id, pkg.version);\n throw e;\n }\n\n select(\"[id=\\\"\".concat(id, \"\\\"]\")).selectAll('foreignobject > *').attr('xmlns', 'http://www.w3.org/1999/xhtml'); // if (cnf.arrowMarkerAbsolute) {\n // url =\n // window.location.protocol +\n // '//' +\n // window.location.host +\n // window.location.pathname +\n // window.location.search;\n // url = url.replace(/\\(/g, '\\\\(');\n // url = url.replace(/\\)/g, '\\\\)');\n // }\n // Fix for when the base tag is used\n\n var svgCode = select('#d' + id).node().innerHTML;\n logger.debug('cnf.arrowMarkerAbsolute', cnf.arrowMarkerAbsolute);\n\n if (!cnf.arrowMarkerAbsolute || cnf.arrowMarkerAbsolute === 'false') {\n svgCode = svgCode.replace(/marker-end=\"url\\(.*?#/g, 'marker-end=\"url(#', 'g');\n }\n\n svgCode = decodeEntities(svgCode);\n\n if (typeof cb !== 'undefined') {\n switch (graphType) {\n case 'flowchart':\n case 'flowchart-v2':\n cb(svgCode, flowDb.bindFunctions);\n break;\n\n case 'gantt':\n cb(svgCode, ganttDb.bindFunctions);\n break;\n\n case 'class':\n cb(svgCode, classDb.bindFunctions);\n break;\n\n default:\n cb(svgCode);\n }\n } else {\n logger.debug('CB = undefined!');\n }\n\n var node = select('#d' + id).node();\n\n if (node !== null && typeof node.remove === 'function') {\n select('#d' + id).node().remove();\n }\n\n return svgCode;\n};\n\nvar currentDirective = {};\n\nvar parseDirective = function parseDirective(statement, context, type) {\n try {\n if (statement !== undefined) {\n statement = statement.trim();\n\n switch (context) {\n case 'open_directive':\n currentDirective = {};\n break;\n\n case 'type_directive':\n currentDirective.type = statement.toLowerCase();\n break;\n\n case 'arg_directive':\n currentDirective.args = JSON.parse(statement);\n break;\n\n case 'close_directive':\n handleDirective(currentDirective, type);\n currentDirective = null;\n break;\n }\n }\n } catch (error) {\n logger.error(\"Error while rendering sequenceDiagram directive: \".concat(statement, \" jison context: \").concat(context));\n logger.error(error.message);\n }\n};\n\nvar handleDirective = function handleDirective(directive, type) {\n logger.debug(\"Directive type=\".concat(directive.type, \" with args:\"), directive.args);\n\n switch (directive.type) {\n case 'init':\n case 'initialize':\n {\n ['config'].forEach(function (prop) {\n if (typeof directive.args[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n directive.args[type] = directive.args[prop];\n delete directive.args[prop];\n }\n });\n reinitialize(directive.args);\n break;\n }\n\n case 'wrap':\n case 'nowrap':\n directive.args = {\n config: {\n wrap: directive.type === 'wrap'\n }\n };\n ['config'].forEach(function (prop) {\n if (typeof directive.args[prop] !== 'undefined') {\n if (type === 'flowchart-v2') {\n type = 'flowchart';\n }\n\n directive.args[type] = directive.args[prop];\n delete directive.args[prop];\n }\n });\n reinitialize(directive.args);\n break;\n\n default:\n logger.warn(\"Unhandled directive: source: '%%{\".concat(directive.type, \": \").concat(JSON.stringify(directive.args ? directive.args : {}), \"}%%\"), directive);\n break;\n }\n};\n\nfunction updateRendererConfigs(conf) {\n gitGraphRenderer.setConf(conf.git);\n flowRenderer.setConf(conf.flowchart);\n flowRendererV2.setConf(conf.flowchart);\n\n if (typeof conf['sequenceDiagram'] !== 'undefined') {\n sequenceRenderer.setConf(assignWithDepth(conf.sequence, conf['sequenceDiagram']));\n }\n\n sequenceRenderer.setConf(conf.sequence);\n ganttRenderer.setConf(conf.gantt);\n classRenderer.setConf(conf.class);\n stateRenderer.setConf(conf.state);\n stateRendererV2.setConf(conf.state);\n infoRenderer.setConf(conf.class);\n pieRenderer.setConf(conf.class);\n erRenderer.setConf(conf.er);\n journeyRenderer.setConf(conf.journey);\n errorRenderer.setConf(conf.class);\n}\n\nfunction reinitialize(options) {\n console.log(\"mermaidAPI.reinitialize: v\".concat(pkg.version), options); // Set default options\n\n var config = _typeof(options) === 'object' ? setConfig(options) : getSiteConfig();\n updateRendererConfigs(config);\n setLogLevel(config.logLevel);\n logger.debug('mermaidAPI.reinitialize: ', config);\n}\n\nfunction initialize(options) {\n // console.log(`mermaidAPI.initialize: v${pkg.version}`);\n // Set default options\n var config = _typeof(options) === 'object' ? setSiteConfig(options) : getSiteConfig();\n updateRendererConfigs(config);\n setLogLevel(config.logLevel);\n logger.debug('mermaidAPI.initialize: ', config);\n} // function getConfig () {\n// console.warn('get config')\n// return config\n// }\n\n\nvar mermaidAPI = Object.freeze({\n render: render,\n parse: parse,\n parseDirective: parseDirective,\n initialize: initialize,\n reinitialize: reinitialize,\n getConfig: getConfig,\n getSiteConfig: getSiteConfig,\n reset: function reset() {\n // console.warn('reset');\n configApi.reset();\n var siteConfig = getSiteConfig();\n updateRendererConfigs(siteConfig);\n },\n globalReset: function globalReset() {\n configApi.reset(configApi.defaultConfig);\n updateRendererConfigs(getConfig());\n },\n defaultConfig: configApi.defaultConfig\n});\nsetLogLevel(getConfig().logLevel);\nconfigApi.reset(getConfig());\nexport default mermaidAPI;\n/**\n * ## mermaidAPI configuration defaults\n *

\n *\n * <script>\n *   var config = {\n *     theme:'default',\n *     logLevel:'fatal',\n *     securityLevel:'strict',\n *     startOnLoad:true,\n *     arrowMarkerAbsolute:false,\n *\n *     er:{\n *       diagramPadding:20,\n *       layoutDirection:'TB',\n *       minEntityWidth:100,\n *       minEntityHeight:75,\n *       entityPadding:15,\n *       stroke:'gray',\n *       fill:'honeydew',\n *       fontSize:12,\n *       useMaxWidth:true,\n *     },\n *     flowchart:{\n *       diagramPadding:8,\n *       htmlLabels:true,\n *       curve:'linear',\n *     },\n *     sequence:{\n *       diagramMarginX:50,\n *       diagramMarginY:10,\n *       actorMargin:50,\n *       width:150,\n *       height:65,\n *       boxMargin:10,\n *       boxTextMargin:5,\n *       noteMargin:10,\n *       messageMargin:35,\n *       messageAlign:'center',\n *       mirrorActors:true,\n *       bottomMarginAdj:1,\n *       useMaxWidth:true,\n *       rightAngles:false,\n *       showSequenceNumbers:false,\n *     },\n *     gantt:{\n *       titleTopMargin:25,\n *       barHeight:20,\n *       barGap:4,\n *       topPadding:50,\n *       leftPadding:75,\n *       gridLineStartPadding:35,\n *       fontSize:11,\n *       fontFamily:'\"Open-Sans\", \"sans-serif\"',\n *       numberSectionStyles:4,\n *       axisFormat:'%Y-%m-%d',\n *     }\n *   };\n *   mermaid.initialize(config);\n * </script>\n *
\n */" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/common/common.js", "name": "./src/diagrams/common/common.js", "index": 19, "index2": 16, "size": 1849, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "issuerId": null, "issuerName": "./src/utils.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "name": "./src/utils.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 179, "building": 892 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "1:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "4:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "8:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "9:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../common/common", "loc": "9:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/common/common", "loc": "16:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "22:50-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "22:98-104" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "55:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "60:34-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "61:34-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "111:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "150:53-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "170:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "175:30-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "197:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "197:33-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "209:28-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "239:21-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "249:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "271:43-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "279:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "295:28-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "341:15-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "module": "./src/diagrams/sequence/svgDraw.js", "moduleName": "./src/diagrams/sequence/svgDraw.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "391:30-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../common/common", "loc": "436:10-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "536:36-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "568:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/utils.js", "module": "./src/utils.js", "moduleName": "./src/utils.js", "type": "harmony import specifier", "userRequest": "./diagrams/common/common", "loc": "708:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "getRows", "removeScript", "sanitizeText", "lineBreakRegex", "hasBreaks", "splitBreaks", "default" ], "optimizationBailout": [], "depth": 2, "source": "export var getRows = function getRows(s) {\n if (!s) return 1;\n var str = breakToPlaceholder(s);\n str = str.replace(/\\\\n/g, '#br#');\n return str.split('#br#');\n};\nexport var removeScript = function removeScript(txt) {\n var rs = '';\n var idx = 0;\n\n while (idx >= 0) {\n idx = txt.indexOf('= 0) {\n rs += txt.substr(0, idx);\n txt = txt.substr(idx + 1);\n idx = txt.indexOf('');\n\n if (idx >= 0) {\n idx += 9;\n txt = txt.substr(idx);\n }\n } else {\n rs += txt;\n idx = -1;\n break;\n }\n }\n\n return rs;\n};\nexport var sanitizeText = function sanitizeText(text, config) {\n var txt = text;\n var htmlLabels = true;\n if (config.flowchart && (config.flowchart.htmlLabels === false || config.flowchart.htmlLabels === 'false')) htmlLabels = false;\n\n if (htmlLabels) {\n var level = config.securityLevel;\n\n if (level == 'antiscript') {\n txt = removeScript(txt);\n } else if (level !== 'loose') {\n // eslint-disable-line\n txt = breakToPlaceholder(txt);\n txt = txt.replace(//g, '>');\n txt = txt.replace(/=/g, '=');\n txt = placeholderToBreak(txt);\n }\n }\n\n return txt;\n};\nexport var lineBreakRegex = //gi;\nexport var hasBreaks = function hasBreaks(text) {\n return //gi.test(text);\n};\nexport var splitBreaks = function splitBreaks(text) {\n return text.split(//gi);\n};\n\nvar breakToPlaceholder = function breakToPlaceholder(s) {\n return s.replace(lineBreakRegex, '#br#');\n};\n\nvar placeholderToBreak = function placeholderToBreak(s) {\n return s.replace(/#br#/g, '
');\n};\n\nexport default {\n getRows: getRows,\n sanitizeText: sanitizeText,\n hasBreaks: hasBreaks,\n splitBreaks: splitBreaks,\n lineBreakRegex: lineBreakRegex,\n removeScript: removeScript\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/config.js", "name": "./src/config.js", "index": 27, "index2": 24, "size": 29029, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "2:0-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "2:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "3:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "5:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "5:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "6:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "6:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "7:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "module": "./src/diagrams/class/classDb.js", "moduleName": "./src/diagrams/class/classDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "7:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "10:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "11:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony side effect evaluation", "userRequest": "../../config", "loc": "12:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:86-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:153-162" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:192-201" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "14:220-229" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./config", "loc": "18:0-78" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "20:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:92-101" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "21:158-167" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "23:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony side effect evaluation", "userRequest": "../config", "loc": "26:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:117-126" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "28:162-171" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:144-153" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:208-217" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "30:246-255" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "32:9-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "41:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "41:219-228" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "44:23-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:119-128" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "48:164-173" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "49:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:64-73" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:98-107" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "52:132-141" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./config", "loc": "54:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:52-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:142-151" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "64:184-193" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "67:35-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:45-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:82-91" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:135-144" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:213-222" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "69:251-260" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "module": "./src/dagre-wrapper/createLabel.js", "moduleName": "./src/dagre-wrapper/createLabel.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "74:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "82:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "85:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "86:19-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "90:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "90:102-111" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "97:124-133" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "137:18-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "139:176-185" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "139:207-216" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "143:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "144:18-27" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "144:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:63-72" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:94-103" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:214-223" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "146:255-264" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:79-88" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:108-117" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:150-159" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:178-187" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:207-216" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:249-258" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:277-286" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "151:306-315" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:86-95" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:125-134" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:153-162" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:196-205" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "152:224-233" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "156:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "157:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "159:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "165:128-137" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "165:165-174" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "172:15-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "173:241-250" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "198:23-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "215:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "220:27-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "221:47-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "227:25-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "233:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "244:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "module": "./src/diagrams/flowchart/flowDb.js", "moduleName": "./src/diagrams/flowchart/flowDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "248:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "253:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "260:39-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "261:33-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "265:10-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "269:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "288:41-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "289:43-52" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "module": "./src/diagrams/sequence/sequenceDb.js", "moduleName": "./src/diagrams/sequence/sequenceDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "306:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "308:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "326:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "331:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "341:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "../config", "loc": "354:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:91-100" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:152-161" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:214-223" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "375:268-277" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "478:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "module": "./src/diagrams/gantt/ganttDb.js", "moduleName": "./src/diagrams/gantt/ganttDb.js", "type": "harmony import specifier", "userRequest": "../../config", "loc": "510:6-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "545:47-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "545:68-81" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "554:47-60" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "554:72-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "570:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "571:17-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "574:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "575:21-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "579:4-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "579:20-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "580:26-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "582:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "584:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "585:0-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./config", "loc": "585:16-25" } ], "usedExports": [ "getConfig", "setConfig", "getSiteConfig", "setSiteConfig", "default" ], "providedExports": [ "defaultConfig", "setSiteConfig", "getSiteConfig", "setConfig", "getConfig", "sanitize", "reset", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { assignWithDepth } from './utils';\nimport { logger } from './logger';\n/**\n * These are the default options which can be overridden with the initialization call like so:\n * **Example 1:**\n *
\n * mermaid.initialize({\n *   flowchart:{\n *     htmlLabels: false\n *   }\n * });\n * 
\n *\n * **Example 2:**\n *
\n * <script>\n *   var config = {\n *     startOnLoad:true,\n *     flowchart:{\n *       useMaxWidth:true,\n *       htmlLabels:true,\n *       curve:'cardinal',\n *     },\n *\n *     securityLevel:'loose',\n *   };\n *   mermaid.initialize(config);\n * </script>\n * 
\n * A summary of all options and their defaults is found [here](https://github.com/knsv/mermaid/blob/master/docs/Setup.md#mermaidapi-configuration-defaults). A description of each option follows below.\n *\n * @name Configuration\n */\n\nvar config = {\n /** theme , the CSS style sheet\n *\n * theme , the CSS style sheet\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| Theme |Built in Themes| String | Optional | Values include, default, forest, dark, neutral, null|\n ***Notes:**To disable any pre-defined mermaid theme, use \"null\".\n *
\n   *  \"theme\": \"forest\",\n   *  \"themeCSS\": \".node rect { fill: red; }\"\n   * 
\n */\n theme: 'default',\n themeCSS: undefined,\n\n /* **maxTextSize** - The maximum allowed size of the users text diamgram */\n maxTextSize: 50000,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *|fontFamily | specifies the font to be used in the rendered diagrams| String | Required | Verdana, Arial, Trebuchet MS,|\n *\n ***notes: Default value is \\\\\"trebuchet ms\\\\\".\n */\n fontFamily: '\"trebuchet ms\", verdana, arial;',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| logLevel |This option decides the amount of logging to be used.| String | Required | 1, 2, 3, 4, 5 |\n *\n *\n ***Notes:**\n *- debug: 1.\n *- info: 2.\n *- warn: 3.\n *- error: 4.\n *- fatal: 5(default).\n */\n logLevel: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| securitylevel | Level of trust for parsed diagram|String | Required | Strict, Loose, antiscript |\n *\n ***Notes:\n *- **strict**: (**default**) tags in text are encoded, click functionality is disabeled\n *- **loose**: tags in text are allowed, click functionality is enabled\n *- **antiscript**: html tags in text are allowed, (only script element is removed), click functionality is enabled\n */\n securityLevel: 'strict',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| startOnLoad| Dictates whether mermaind starts on Page load | Boolean | Required | True, False |\n *\n ***Notes:**\n ***Default value: true**\n */\n startOnLoad: true,\n\n /**\n *| Parameter | Description |Type | Required |Values|\n *| --- | --- | --- | --- | --- |\n *| arrowMarkerAbsolute | Controls whether or arrow markers in html code are absolute paths or anchors | Boolean | Required | True, False |\n *\n *\n *## Notes**: This matters if you are using base tag settings.\n ***Default value: false**.\n */\n arrowMarkerAbsolute: false,\n\n /**\n * This option controls which currentConfig keys are considered _secure_ and can only be changed via\n * call to mermaidAPI.initialize. Calls to mermaidAPI.reinitialize cannot make changes to\n * the `secure` keys in the current currentConfig. This prevents malicious graph directives from\n * overriding a site's default security.\n */\n secure: ['secure', 'securityLevel', 'startOnLoad', 'maxTextSize'],\n\n /**\n * The object containing configurations specific for flowcharts\n */\n flowchart: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramPadding | amount of padding around the diagram as a whole | Integer | Required | Any Positive Value |\n *\n ***Notes:**The amount of padding around the diagram as a whole so that embedded diagrams have margins, expressed in pixels\n ***Default value: 8**.\n */\n diagramPadding: 8,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| htmlLabels | Flag for setting whether or not a html tag should be used for rendering labels on the edges. | Boolean| Required | True, False|\n *\n ***Notes: Default value: true**.\n */\n htmlLabels: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| nodeSpacing | Defines the spacing between nodes on the same level | Integer| Required | Any positive Numbers |\n *\n ***Notes:\n *Pertains to horizontal spacing for TB (top to bottom) or BT (bottom to top) graphs, and the vertical spacing for LR as well as RL graphs.**\n ***Default value 50**.\n */\n nodeSpacing: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rankSpacing | Defines the spacing between nodes on different levels | Integer | Required| Any Positive Numbers |\n *\n ***Notes: pertains to vertical spacing for TB (top to bottom) or BT (bottom to top), and the horizontal spacing for LR as well as RL graphs.\n ***Default value 50**.\n */\n rankSpacing: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| curve | Defines how mermaid renders curves for flowcharts. | String | Required | Basis, Linear, Cardinal|\n *\n ***Notes:\n *Default Vaue: Linear**\n */\n curve: 'linear',\n // Only used in new experimental rendering\n // repreesents the padding between the labels and the shape\n padding: 15\n },\n\n /**\n * The object containing configurations specific for sequence diagrams\n */\n sequence: {\n /**\n * widt of the activation rect\n * **Default value 10**.\n */\n activationWidth: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginX | margin to the right and left of the sequence diagram | Integer | Required | Any Positive Values |\n *\n ***Notes:**\n ***Default value 50**.\n */\n diagramMarginX: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginY | Margin to the over and under the sequence diagram | Integer | Required | Any Positive Values|\n *\n ***Notes:**\n ***Default value 10**.\n */\n diagramMarginY: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorMargin | Margin between actors. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n actorMargin: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| width | Width of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 150**.\n */\n width: 150,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| height | Height of actor boxes | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 65**..\n */\n height: 65,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n ***Default value 10**.\n */\n boxMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxTextMargin| margin around the text in loop/alt/opt boxes | Integer | Required| Any Positive Value|\n *\n ***Notes:**\n *\n ***Default value 5**.\n */\n boxTextMargin: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteMargin | margin around notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n ***Default value 10**.\n */\n noteMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageMargin | Space between messages. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n *Space between messages.\n ***Default value 35**.\n */\n messageMargin: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageAlign | Multiline message alignment | Integer | Required | left, center, right |\n *\n ***Notes:**center **default**\n */\n messageAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| mirrorActors | mirror actors under diagram. | Boolean| Required | True, False |\n *\n ***Notes:**\n *\n ***Default value true**.\n */\n mirrorActors: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| bottomMarginAdj | Prolongs the edge of the diagram downwards. | Integer | Required | Any Positive Value |\n *\n ***Notes:**Depending on css styling this might need adjustment.\n ***Default value 1**.\n */\n bottomMarginAdj: 1,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See Notes | Boolean | Required | True, False |\n *\n ***Notes:**\n *when this flag is set to true, the height and width is set to 100% and is then scaling with the\n *available space. If set to false, the absolute space required is used.\n ***Default value: True**.\n */\n useMaxWidth: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rightAngles | display curve arrows as right angles| Boolean | Required | True, False |\n *\n ***Notes:**\n *\n *This will display arrows that start and begin at the same node as right angles, rather than a curve\n ***Default value false**.\n */\n rightAngles: false,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| showSequenceNumbers | This will show the node numbers | Boolean | Required | True, False |\n *\n ***Notes:**\n ***Default value false**.\n */\n showSequenceNumbers: false,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorFontSize| This sets the font size of the actor's description | Integer | Require | Any Positive Value |\n *\n ***Notes:**\n ***Default value 14**..\n */\n actorFontSize: 14,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorFontFamily |This sets the font family of the actor's description | 3 | 4 | Open-Sans, Sans-Serif |\n *\n ***Notes:**\n ***Default value \"Open-Sans\", \"sans-serif\"**.\n */\n actorFontFamily: '\"Open-Sans\", \"sans-serif\"',\n\n /**\n * This sets the font weight of the actor's description\n * **Default value 400.\n */\n actorFontWeight: 400,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteFontSize |This sets the font size of actor-attached notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 14**..\n */\n noteFontSize: 14,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteFontFamily| This sets the font family of actor-attached notes. | String | Required | trebuchet ms, verdana, arial |\n *\n ***Notes:**\n ***Default value: trebuchet ms **.\n */\n noteFontFamily: '\"trebuchet ms\", verdana, arial',\n\n /**\n * This sets the font weight of the note's description\n * **Default value 400.\n */\n noteFontWeight: 400,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteAlign | This sets the text alignment of actor-attached notes. | string | required | left, center, right|\n *\n ***Notes:**\n ***Default value center**.\n */\n noteAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageFontSize | This sets the font size of actor messages. | Integer | Required | Any Positive Number |\n *\n ***Notes:**\n ***Default value 16**.\n */\n messageFontSize: 16,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageFontFamily | This sets the font family of actor messages. | String| Required | trebuchet ms\", verdana, aria |\n *\n ***Notes:**\n ***Default value:\"trebuchet ms**.\n */\n messageFontFamily: '\"trebuchet ms\", verdana, arial',\n\n /**\n * This sets the font weight of the message's description\n * **Default value 400.\n */\n messageFontWeight: 400,\n\n /**\n * This sets the auto-wrap state for the diagram\n * **Default value false.\n */\n wrap: false,\n\n /**\n * This sets the auto-wrap padding for the diagram (sides only)\n * **Default value 10.\n */\n wrapPadding: 10,\n\n /**\n * This sets the width of the loop-box (loop, alt, opt, par)\n * **Default value 50.\n */\n labelBoxWidth: 50,\n\n /**\n * This sets the height of the loop-box (loop, alt, opt, par)\n * **Default value 20.\n */\n labelBoxHeight: 20,\n messageFont: function messageFont() {\n return {\n fontFamily: this.messageFontFamily,\n fontSize: this.messageFontSize,\n fontWeight: this.messageFontWeight\n };\n },\n noteFont: function noteFont() {\n return {\n fontFamily: this.noteFontFamily,\n fontSize: this.noteFontSize,\n fontWeight: this.noteFontWeight\n };\n },\n actorFont: function actorFont() {\n return {\n fontFamily: this.actorFontFamily,\n fontSize: this.actorFontSize,\n fontWeight: this.actorFontWeight\n };\n }\n },\n\n /**\n * The object containing configurations specific for gantt diagrams*\n */\n gantt: {\n /**\n *### titleTopMargin\n *\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| titleTopMargin | Margin top for the text over the gantt diagram | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 25**.\n */\n titleTopMargin: 25,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| barHeight | The height of the bars in the graph | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 20**.\n */\n barHeight: 20,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| barGap | The margin between the different activities in the gantt diagram. | Integer | Optional |Any Positive Value |\n *\n ***Notes:**\n ***Default value 4**.\n */\n barGap: 4,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| topPadding | Margin between title and gantt diagram and between axis and gantt diagram. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n topPadding: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| leftPadding | The space allocated for the section name to the left of the activities. | Integer| Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 75**.\n */\n leftPadding: 75,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| gridLineStartPadding | Vertical starting position of the grid lines. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 35**.\n */\n gridLineStartPadding: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontSize | Font size| Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 11**.\n */\n fontSize: 11,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontFamily | font Family | string | required |\"Open-Sans\", \"sans-serif\" |\n *\n ***Notes:**\n *\n ***Default value '\"Open-Sans\", \"sans-serif\"'**.\n */\n fontFamily: '\"Open-Sans\", \"sans-serif\"',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| numberSectionStyles | The number of alternating section styles | Integer | 4 | Any Positive Value |\n *\n ***Notes:**\n ***Default value 4**.\n */\n numberSectionStyles: 4,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| axisFormat | Datetime format of the axis. | 3 | Required | Date in yy-mm-dd |\n *\n ***Notes:**\n *\n * This might need adjustment to match your locale and preferences\n ***Default value '%Y-%m-%d'**.\n */\n axisFormat: '%Y-%m-%d'\n },\n\n /**\n * The object containing configurations specific for sequence diagrams\n */\n journey: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginX | margin to the right and left of the sequence diagram | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 50**.\n */\n diagramMarginX: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramMarginY | margin to the over and under the sequence diagram. | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 10**..\n */\n diagramMarginY: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| actorMargin | Margin between actors. | Integer | Required | Any Positive Value|\n *\n ***Notes:**\n ***Default value 50**.\n */\n actorMargin: 50,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| width | Width of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 150**.\n */\n width: 150,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| height | Height of actor boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 65**.\n */\n height: 65,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxMargin | Margin around loop boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 10**.\n */\n boxMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| boxTextMargin | margin around the text in loop/alt/opt boxes | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n */\n boxTextMargin: 5,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| noteMargin | margin around notes. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n ***Default value 10**.\n */\n noteMargin: 10,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageMargin |Space between messages. | Integer | Required | Any Positive Value |\n *\n ***Notes:**\n *\n *Space between messages.\n ***Default value 35**.\n */\n messageMargin: 35,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| messageAlign |Multiline message alignment | 3 | 4 | left, center, right |\n *\n ***Notes:**default:center**\n */\n messageAlign: 'center',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| bottomMarginAdj | Prolongs the edge of the diagram downwards. | Integer | 4 | Any Positive Value |\n *\n ***Notes:**Depending on css styling this might need adjustment.\n ***Default value 1**.\n */\n bottomMarginAdj: 1,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See notes | Boolean | 4 | True, False |\n *\n ***Notes:**when this flag is set the height and width is set to 100% and is then scaling with the\n *available space if not the absolute space required is used.\n *\n ***Default value true**.\n */\n useMaxWidth: true,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| rightAngles | Curved Arrows become Right Angles, | 3 | 4 | True, False |\n *\n ***Notes:**This will display arrows that start and begin at the same node as right angles, rather than a curves\n ***Default value false**.\n */\n rightAngles: false\n },\n class: {\n arrowMarkerAbsolute: false\n },\n git: {\n arrowMarkerAbsolute: false\n },\n state: {\n dividerMargin: 10,\n sizeUnit: 5,\n padding: 8,\n textHeight: 10,\n titleShift: -15,\n noteMargin: 10,\n forkWidth: 70,\n forkHeight: 7,\n // Used\n miniPadding: 2,\n // Font size factor, this is used to guess the width of the edges labels before rendering by dagre\n // layout. This might need updating if/when switching font\n fontSizeFactor: 5.02,\n fontSize: 24,\n labelHeight: 16,\n edgeLengthFactor: '20',\n compositTitleSize: 35,\n radius: 5\n },\n\n /**\n * The object containing configurations specific for entity relationship diagrams\n */\n er: {\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| diagramPadding | amount of padding around the diagram as a whole | Integer | Required | Any Positive Value |\n *\n ***Notes:**The amount of padding around the diagram as a whole so that embedded diagrams have margins, expressed in pixels\n ***Default value: 20**.\n */\n diagramPadding: 20,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| layoutDirection | Directional bias for layout of entities. | String | Required | \"TB\", \"BT\",\"LR\",\"RL\" |\n *\n ***Notes:**\n *'TB' for Top-Bottom, 'BT'for Bottom-Top, 'LR' for Left-Right, or 'RL' for Right to Left.\n * T = top, B = bottom, L = left, and R = right.\n ***Default value: TB **.\n */\n layoutDirection: 'TB',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| minEntityWidth | The mimimum width of an entity box, | Integer | Required| Any Positive Value |\n *\n ***Notes:**expressed in pixels\n ***Default value: 100**.\n */\n minEntityWidth: 100,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| minEntityHeight| The minimum height of an entity box, | Integer | 4 | Any Positive Value |\n *\n ***Notes:**expressed in pixels\n ***Default value: 75 **\n */\n minEntityHeight: 75,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| entityPadding|minimum internal padding betweentext in box and box borders| Integer | 4 | Any Positive Value |\n *\n ***Notes:**The minimum internal padding betweentext in an entity box and the enclosing box borders, expressed in pixels.\n ***Default value: 15 **\n */\n entityPadding: 15,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| stroke | Stroke color of box edges and lines | String | 4 | Any recognized color |\n ***Default value: gray **\n */\n stroke: 'gray',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fill | Fill color of entity boxes | String | 4 | Any recognized color |\n *\n ***Notes:**\n ***Default value:'honeydew'**\n */\n fill: 'honeydew',\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| fontSize| Font Size in pixels| Integer | | Any Positive Value |\n *\n ***Notes:**Font size (expressed as an integer representing a number of pixels)\n ***Default value: 12 **\n */\n fontSize: 12,\n\n /**\n *| Parameter | Description |Type | Required | Values|\n *| --- | --- | --- | --- | --- |\n *| useMaxWidth | See Notes | Boolean | Required | true, false |\n *\n ***Notes:**\n *When this flag is set to true, the diagram width is locked to 100% and\n *scaled based on available space. If set to false, the diagram reserves its\n *absolute width.\n ***Default value: true**.\n */\n useMaxWidth: true\n }\n};\nconfig.class.arrowMarkerAbsolute = config.arrowMarkerAbsolute;\nconfig.git.arrowMarkerAbsolute = config.arrowMarkerAbsolute;\nexport var defaultConfig = Object.freeze(config);\nvar siteConfig = assignWithDepth({}, defaultConfig);\nvar currentConfig = assignWithDepth({}, defaultConfig);\n/**\n * Sets the siteConfig. The siteConfig is a protected configuration for repeat use. Calls to reset() will reset\n * the currentConfig to siteConfig. Calls to reset(configApi.defaultConfig) will reset siteConfig and currentConfig\n * to the defaultConfig\n * Note: currentConfig is set in this function\n * @param conf - the base currentConfig to use as siteConfig\n * @returns {*} - the siteConfig\n */\n\nexport var setSiteConfig = function setSiteConfig(conf) {\n assignWithDepth(currentConfig, conf, {\n clobber: true\n });\n assignWithDepth(siteConfig, conf);\n return getSiteConfig();\n};\n/**\n * Obtains the current siteConfig base configuration\n * @returns {*}\n */\n\nexport var getSiteConfig = function getSiteConfig() {\n return assignWithDepth({}, siteConfig);\n};\n/**\n * Sets the currentConfig. The param conf is sanitized based on the siteConfig.secure keys. Any\n * values found in conf with key found in siteConfig.secure will be replaced with the corresponding\n * siteConfig value.\n * @param conf - the potential currentConfig\n * @returns {*} - the currentConfig merged with the sanitized conf\n */\n\nexport var setConfig = function setConfig(conf) {\n sanitize(conf);\n assignWithDepth(currentConfig, conf);\n return getConfig();\n};\n/**\n * Obtains the currentConfig\n * @returns {*} - the currentConfig\n */\n\nexport var getConfig = function getConfig() {\n return assignWithDepth({}, currentConfig);\n};\n/**\n * Ensures options parameter does not attempt to override siteConfig secure keys\n * Note: modifies options in-place\n * @param options - the potential setConfig parameter\n */\n\nexport var sanitize = function sanitize(options) {\n Object.keys(siteConfig.secure).forEach(function (key) {\n if (typeof options[siteConfig.secure[key]] !== 'undefined') {\n // DO NOT attempt to print options[siteConfig.secure[key]] within `${}` as a malicious script\n // can exploit the logger's attempt to stringify the value and execute arbitrary code\n logger.warn(\"Denied attempt to modify a secure key \".concat(siteConfig.secure[key]), options[siteConfig.secure[key]]);\n delete options[siteConfig.secure[key]];\n }\n });\n};\n/**\n * Resets this currentConfig to conf\n * @param conf - the base currentConfig to reset to (default: current siteConfig )\n */\n\nexport var reset = function reset() {\n var conf = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getSiteConfig();\n Object.keys(siteConfig).forEach(function (key) {\n return delete siteConfig[key];\n });\n Object.keys(currentConfig).forEach(function (key) {\n return delete currentConfig[key];\n });\n assignWithDepth(siteConfig, conf, {\n clobber: true\n });\n assignWithDepth(currentConfig, conf, {\n clobber: true\n });\n};\nvar configApi = Object.freeze({\n sanitize: sanitize,\n setSiteConfig: setSiteConfig,\n getSiteConfig: getSiteConfig,\n setConfig: setConfig,\n getConfig: getConfig,\n reset: reset,\n defaultConfig: defaultConfig\n});\nexport default configApi;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowDb.js", "name": "./src/diagrams/flowchart/flowDb.js", "index": 26, "index2": 25, "size": 18389, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./flowDb", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "./flowDb", "loc": "3:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowDb", "loc": "24:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "81:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "83:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "87:6-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "89:25-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "272:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "276:16-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "279:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "292:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "294:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "294:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "296:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "302:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "305:9-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "315:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "317:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "325:12-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "325:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "329:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "333:13-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "334:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "348:18-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "354:4-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "358:13-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "359:14-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "372:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "383:11-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "392:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./flowDb", "loc": "402:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowDb", "loc": "415:20-26" } ], "usedExports": [ "default" ], "providedExports": [ "addVertex", "addSingleLink", "addLink", "updateLinkInterpolate", "updateLink", "addClass", "setDirection", "setClass", "setLink", "getTooltip", "setClickEvent", "bindFunctions", "getDirection", "getVertices", "getEdges", "getClasses", "clear", "defaultStyle", "addSubGraph", "getDepthFirstPos", "indexNodes", "getSubGraphs", "firstGraph", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { select } from 'd3';\nimport { logger } from '../../logger'; // eslint-disable-line\n\nimport utils from '../../utils';\nimport { getConfig } from '../../config';\nimport common from '../common/common'; // const MERMAID_DOM_ID_PREFIX = 'mermaid-dom-id-';\n\nvar MERMAID_DOM_ID_PREFIX = '';\nvar config = getConfig();\nvar vertices = {};\nvar edges = [];\nvar classes = [];\nvar subGraphs = [];\nvar subGraphLookup = {};\nvar tooltips = {};\nvar subCount = 0;\nvar firstGraphFlag = true;\nvar direction; // Functions to be run after graph rendering\n\nvar funs = [];\n/**\n * Function called by parser when a node definition has been found\n * @param id\n * @param text\n * @param type\n * @param style\n * @param classes\n */\n\nexport var addVertex = function addVertex(_id, text, type, style, classes) {\n var txt;\n var id = _id;\n\n if (typeof id === 'undefined') {\n return;\n }\n\n if (id.trim().length === 0) {\n return;\n }\n\n if (id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] === 'undefined') {\n vertices[id] = {\n id: id,\n styles: [],\n classes: []\n };\n }\n\n if (typeof text !== 'undefined') {\n txt = common.sanitizeText(text.trim(), config); // strip quotes if string starts and ends with a quote\n\n if (txt[0] === '\"' && txt[txt.length - 1] === '\"') {\n txt = txt.substring(1, txt.length - 1);\n }\n\n vertices[id].text = txt;\n } else {\n if (typeof vertices[id].text === 'undefined') {\n vertices[id].text = _id;\n }\n }\n\n if (typeof type !== 'undefined') {\n vertices[id].type = type;\n }\n\n if (typeof style !== 'undefined') {\n if (style !== null) {\n style.forEach(function (s) {\n vertices[id].styles.push(s);\n });\n }\n }\n\n if (typeof classes !== 'undefined') {\n if (classes !== null) {\n classes.forEach(function (s) {\n vertices[id].classes.push(s);\n });\n }\n }\n};\n/**\n * Function called by parser when a link/edge definition has been found\n * @param start\n * @param end\n * @param type\n * @param linktext\n */\n\nexport var addSingleLink = function addSingleLink(_start, _end, type, linktext) {\n var start = _start;\n var end = _end;\n if (start[0].match(/\\d/)) start = MERMAID_DOM_ID_PREFIX + start;\n if (end[0].match(/\\d/)) end = MERMAID_DOM_ID_PREFIX + end; // logger.info('Got edge...', start, end);\n\n var edge = {\n start: start,\n end: end,\n type: undefined,\n text: ''\n };\n linktext = type.text;\n\n if (typeof linktext !== 'undefined') {\n edge.text = common.sanitizeText(linktext.trim(), config); // strip quotes if string starts and exnds with a quote\n\n if (edge.text[0] === '\"' && edge.text[edge.text.length - 1] === '\"') {\n edge.text = edge.text.substring(1, edge.text.length - 1);\n }\n }\n\n if (typeof type !== 'undefined') {\n edge.type = type.type;\n edge.stroke = type.stroke;\n }\n\n edges.push(edge);\n};\nexport var addLink = function addLink(_start, _end, type, linktext) {\n var i, j;\n\n for (i = 0; i < _start.length; i++) {\n for (j = 0; j < _end.length; j++) {\n addSingleLink(_start[i], _end[j], type, linktext);\n }\n }\n};\n/**\n * Updates a link's line interpolation algorithm\n * @param pos\n * @param interpolate\n */\n\nexport var updateLinkInterpolate = function updateLinkInterpolate(positions, interp) {\n positions.forEach(function (pos) {\n if (pos === 'default') {\n edges.defaultInterpolate = interp;\n } else {\n edges[pos].interpolate = interp;\n }\n });\n};\n/**\n * Updates a link with a style\n * @param pos\n * @param style\n */\n\nexport var updateLink = function updateLink(positions, style) {\n positions.forEach(function (pos) {\n if (pos === 'default') {\n edges.defaultStyle = style;\n } else {\n if (utils.isSubstringInArray('fill', style) === -1) {\n style.push('fill:none');\n }\n\n edges[pos].style = style;\n }\n });\n};\nexport var addClass = function addClass(id, style) {\n if (typeof classes[id] === 'undefined') {\n classes[id] = {\n id: id,\n styles: [],\n textStyles: []\n };\n }\n\n if (typeof style !== 'undefined') {\n if (style !== null) {\n style.forEach(function (s) {\n if (s.match('color')) {\n var newStyle1 = s.replace('fill', 'bgFill');\n var newStyle2 = newStyle1.replace('color', 'fill');\n classes[id].textStyles.push(newStyle2);\n }\n\n classes[id].styles.push(s);\n });\n }\n }\n};\n/**\n * Called by parser when a graph definition is found, stores the direction of the chart.\n * @param dir\n */\n\nexport var setDirection = function setDirection(dir) {\n direction = dir;\n\n if (direction.match(/.*/)) {\n direction = 'LR';\n }\n\n if (direction.match(/.*v/)) {\n direction = 'TB';\n }\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setClass = function setClass(ids, className) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] !== 'undefined') {\n vertices[id].classes.push(className);\n }\n\n if (typeof subGraphLookup[id] !== 'undefined') {\n subGraphLookup[id].classes.push(className);\n }\n });\n};\n\nvar setTooltip = function setTooltip(ids, tooltip) {\n ids.split(',').forEach(function (id) {\n if (typeof tooltip !== 'undefined') {\n tooltips[id] = common.sanitizeText(tooltip, config);\n }\n });\n};\n\nvar setClickFun = function setClickFun(_id, functionName) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (getConfig().securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n if (typeof vertices[id] !== 'undefined') {\n funs.push(function () {\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n utils.runFunc(functionName, id);\n }, false);\n }\n });\n }\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n * @param tooltip Tooltip for the clickable element\n */\n\n\nexport var setLink = function setLink(ids, linkStr, tooltip) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof vertices[id] !== 'undefined') {\n vertices[id].link = utils.formatUrl(linkStr, config);\n }\n });\n setTooltip(ids, tooltip);\n setClass(ids, 'clickable');\n};\nexport var getTooltip = function getTooltip(id) {\n return tooltips[id];\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setClickEvent = function setClickEvent(ids, functionName, tooltip) {\n ids.split(',').forEach(function (id) {\n setClickFun(id, functionName);\n });\n setTooltip(ids, tooltip);\n setClass(ids, 'clickable');\n};\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport var getDirection = function getDirection() {\n return direction.trim();\n};\n/**\n * Retrieval function for fetching the found nodes after parsing has completed.\n * @returns {{}|*|vertices}\n */\n\nexport var getVertices = function getVertices() {\n return vertices;\n};\n/**\n * Retrieval function for fetching the found links after parsing has completed.\n * @returns {{}|*|edges}\n */\n\nexport var getEdges = function getEdges() {\n return edges;\n};\n/**\n * Retrieval function for fetching the found class definitions after parsing has completed.\n * @returns {{}|*|classes}\n */\n\nexport var getClasses = function getClasses() {\n return classes;\n};\n\nvar setupToolTips = function setupToolTips(element) {\n var tooltipElem = select('.mermaidTooltip');\n\n if ((tooltipElem._groups || tooltipElem)[0][0] === null) {\n tooltipElem = select('body').append('div').attr('class', 'mermaidTooltip').style('opacity', 0);\n }\n\n var svg = select(element).select('svg');\n var nodes = svg.selectAll('g.node');\n nodes.on('mouseover', function () {\n var el = select(this);\n var title = el.attr('title'); // Dont try to draw a tooltip if no data is provided\n\n if (title === null) {\n return;\n }\n\n var rect = this.getBoundingClientRect();\n tooltipElem.transition().duration(200).style('opacity', '.9');\n tooltipElem.html(el.attr('title')).style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px').style('top', window.scrollY + rect.top - 14 + document.body.scrollTop + 'px');\n el.classed('hover', true);\n }).on('mouseout', function () {\n tooltipElem.transition().duration(500).style('opacity', 0);\n var el = select(this);\n el.classed('hover', false);\n });\n};\n\nfuns.push(setupToolTips);\n/**\n * Clears the internal graph db so that a new graph can be parsed.\n */\n\nexport var clear = function clear() {\n vertices = {};\n classes = {};\n edges = [];\n funs = [];\n funs.push(setupToolTips);\n subGraphs = [];\n subGraphLookup = {};\n subCount = 0;\n tooltips = [];\n firstGraphFlag = true;\n};\n/**\n *\n * @returns {string}\n */\n\nexport var defaultStyle = function defaultStyle() {\n return 'fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;';\n};\n/**\n * Clears the internal graph db so that a new graph can be parsed.\n */\n\nexport var addSubGraph = function addSubGraph(_id, list, _title) {\n var id = _id.trim();\n\n var title = _title;\n\n if (_id === _title && _title.match(/\\s/)) {\n id = undefined;\n }\n\n function uniq(a) {\n var prims = {\n boolean: {},\n number: {},\n string: {}\n };\n var objs = [];\n return a.filter(function (item) {\n var type = _typeof(item);\n\n if (item.trim() === '') {\n return false;\n }\n\n if (type in prims) {\n return prims[type].hasOwnProperty(item) ? false : prims[type][item] = true; // eslint-disable-line\n } else {\n return objs.indexOf(item) >= 0 ? false : objs.push(item);\n }\n });\n }\n\n var nodeList = [];\n nodeList = uniq(nodeList.concat.apply(nodeList, list));\n\n for (var i = 0; i < nodeList.length; i++) {\n if (nodeList[i][0].match(/\\d/)) nodeList[i] = MERMAID_DOM_ID_PREFIX + nodeList[i];\n }\n\n id = id || 'subGraph' + subCount;\n if (id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n title = title || '';\n title = common.sanitizeText(title, config);\n subCount = subCount + 1;\n var subGraph = {\n id: id,\n nodes: nodeList,\n title: title.trim(),\n classes: []\n };\n subGraphs.push(subGraph);\n subGraphLookup[id] = subGraph;\n return id;\n};\n\nvar getPosForId = function getPosForId(id) {\n for (var i = 0; i < subGraphs.length; i++) {\n if (subGraphs[i].id === id) {\n return i;\n }\n }\n\n return -1;\n};\n\nvar secCount = -1;\nvar posCrossRef = [];\n\nvar indexNodes2 = function indexNodes2(id, pos) {\n var nodes = subGraphs[pos].nodes;\n secCount = secCount + 1;\n\n if (secCount > 2000) {\n return;\n }\n\n posCrossRef[secCount] = pos; // Check if match\n\n if (subGraphs[pos].id === id) {\n return {\n result: true,\n count: 0\n };\n }\n\n var count = 0;\n var posCount = 1;\n\n while (count < nodes.length) {\n var childPos = getPosForId(nodes[count]); // Ignore regular nodes (pos will be -1)\n\n if (childPos >= 0) {\n var res = indexNodes2(id, childPos);\n\n if (res.result) {\n return {\n result: true,\n count: posCount + res.count\n };\n } else {\n posCount = posCount + res.count;\n }\n }\n\n count = count + 1;\n }\n\n return {\n result: false,\n count: posCount\n };\n};\n\nexport var getDepthFirstPos = function getDepthFirstPos(pos) {\n return posCrossRef[pos];\n};\nexport var indexNodes = function indexNodes() {\n secCount = -1;\n\n if (subGraphs.length > 0) {\n indexNodes2('none', subGraphs.length - 1, 0);\n }\n};\nexport var getSubGraphs = function getSubGraphs() {\n return subGraphs;\n};\nexport var firstGraph = function firstGraph() {\n if (firstGraphFlag) {\n firstGraphFlag = false;\n return true;\n }\n\n return false;\n};\n\nvar destructStartLink = function destructStartLink(_str) {\n var str = _str.trim();\n\n switch (str) {\n case '<--':\n return {\n type: 'arrow_point',\n stroke: 'normal'\n };\n\n case 'x--':\n return {\n type: 'arrow_cross',\n stroke: 'normal'\n };\n\n case 'o--':\n return {\n type: 'arrow_circle',\n stroke: 'normal'\n };\n\n case '<-.':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case 'x-.':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case 'o-.':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '<==':\n return {\n type: 'arrow_point',\n stroke: 'thick'\n };\n\n case 'x==':\n return {\n type: 'arrow_cross',\n stroke: 'thick'\n };\n\n case 'o==':\n return {\n type: 'arrow_circle',\n stroke: 'thick'\n };\n\n case '--':\n return {\n type: 'arrow_open',\n stroke: 'normal'\n };\n\n case '==':\n return {\n type: 'arrow_open',\n stroke: 'thick'\n };\n\n case '-.':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n }\n};\n\nvar destructEndLink = function destructEndLink(_str) {\n var str = _str.trim();\n\n switch (str) {\n case '--x':\n return {\n type: 'arrow_cross',\n stroke: 'normal'\n };\n\n case '-->':\n return {\n type: 'arrow_point',\n stroke: 'normal'\n };\n\n case '<-->':\n return {\n type: 'double_arrow_point',\n stroke: 'normal'\n };\n\n case 'x--x':\n return {\n type: 'double_arrow_cross',\n stroke: 'normal'\n };\n\n case 'o--o':\n return {\n type: 'double_arrow_circle',\n stroke: 'normal'\n };\n\n case 'o.-o':\n return {\n type: 'double_arrow_circle',\n stroke: 'dotted'\n };\n\n case '<==>':\n return {\n type: 'double_arrow_point',\n stroke: 'thick'\n };\n\n case 'o==o':\n return {\n type: 'double_arrow_circle',\n stroke: 'thick'\n };\n\n case 'x==x':\n return {\n type: 'double_arrow_cross',\n stroke: 'thick'\n };\n\n case 'x.-x':\n return {\n type: 'double_arrow_cross',\n stroke: 'dotted'\n };\n\n case 'x-.-x':\n return {\n type: 'double_arrow_cross',\n stroke: 'dotted'\n };\n\n case '<.->':\n return {\n type: 'double_arrow_point',\n stroke: 'dotted'\n };\n\n case '<-.->':\n return {\n type: 'double_arrow_point',\n stroke: 'dotted'\n };\n\n case 'o-.-o':\n return {\n type: 'double_arrow_circle',\n stroke: 'dotted'\n };\n\n case '--o':\n return {\n type: 'arrow_circle',\n stroke: 'normal'\n };\n\n case '---':\n return {\n type: 'arrow_open',\n stroke: 'normal'\n };\n\n case '-.-x':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case '-.->':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case '-.-o':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '-.-':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n\n case '.-x':\n return {\n type: 'arrow_cross',\n stroke: 'dotted'\n };\n\n case '.->':\n return {\n type: 'arrow_point',\n stroke: 'dotted'\n };\n\n case '.-o':\n return {\n type: 'arrow_circle',\n stroke: 'dotted'\n };\n\n case '.-':\n return {\n type: 'arrow_open',\n stroke: 'dotted'\n };\n\n case '==x':\n return {\n type: 'arrow_cross',\n stroke: 'thick'\n };\n\n case '==>':\n return {\n type: 'arrow_point',\n stroke: 'thick'\n };\n\n case '==o':\n return {\n type: 'arrow_circle',\n stroke: 'thick'\n };\n\n case '===':\n return {\n type: 'arrow_open',\n stroke: 'thick'\n };\n }\n};\n\nvar destructLink = function destructLink(_str, _startStr) {\n var info = destructEndLink(_str);\n var startInfo;\n\n if (_startStr) {\n startInfo = destructStartLink(_startStr);\n\n if (startInfo.stroke !== info.stroke) {\n return {\n type: 'INVALID',\n stroke: 'INVALID'\n };\n }\n\n if (startInfo.type === 'arrow_open') {\n // -- xyz --> - take arrow type form ending\n startInfo.type = info.type;\n } else {\n // x-- xyz --> - not supported\n if (startInfo.type !== info.type) return {\n type: 'INVALID',\n stroke: 'INVALID'\n };\n startInfo.type = 'double_' + startInfo.type;\n }\n\n if (startInfo.type === 'double_arrow') {\n startInfo.type = 'double_arrow_point';\n }\n\n return startInfo;\n }\n\n return info;\n};\n\nexport default {\n addVertex: addVertex,\n addLink: addLink,\n updateLinkInterpolate: updateLinkInterpolate,\n updateLink: updateLink,\n addClass: addClass,\n setDirection: setDirection,\n setClass: setClass,\n getTooltip: getTooltip,\n setClickEvent: setClickEvent,\n setLink: setLink,\n bindFunctions: bindFunctions,\n getDirection: getDirection,\n getVertices: getVertices,\n getEdges: getEdges,\n getClasses: getClasses,\n clear: clear,\n defaultStyle: defaultStyle,\n addSubGraph: addSubGraph,\n getDepthFirstPos: getDepthFirstPos,\n indexNodes: indexNodes,\n getSubGraphs: getSubGraphs,\n destructLink: destructLink,\n lex: {\n firstGraph: firstGraph\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "index": 45, "index2": 47, "size": 14240, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "21:0-61" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "280:18-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "314:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "315:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer", "loc": "523:2-14" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "addVertices", "addEdges", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select, curveLinear, selectAll } from 'd3';\nimport flowDb from './flowDb';\nimport flow from './parser/flow';\nimport { getConfig } from '../../config';\nimport dagreD3 from 'dagre-d3';\nimport addHtmlLabel from 'dagre-d3/lib/label/add-html-label.js';\nimport { logger } from '../../logger';\nimport common from '../common/common';\nimport { interpolateToCurve, getStylesFromArray } from '../../utils';\nimport flowChartShapes from './flowChartShapes';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Function that adds the vertices found in the graph definition to the graph to be rendered.\n * @param vert Object containing the vertices.\n * @param g The graph that is to be drawn.\n */\n\nexport var addVertices = function addVertices(vert, g, svgId) {\n var svg = select(\"[id=\\\"\".concat(svgId, \"\\\"]\"));\n var keys = Object.keys(vert); // Iterate through each item in the vertex object (containing all the vertices found) in the graph definition\n\n keys.forEach(function (id) {\n var vertex = vert[id];\n /**\n * Variable for storing the classes for the vertex\n * @type {string}\n */\n\n var classStr = 'default';\n\n if (vertex.classes.length > 0) {\n classStr = vertex.classes.join(' ');\n }\n\n var styles = getStylesFromArray(vertex.styles); // Use vertex id as text in the box if no text is provided by the graph definition\n\n var vertexText = vertex.text !== undefined ? vertex.text : vertex.id; // We create a SVG label, either by delegating to addHtmlLabel or manually\n\n var vertexNode;\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n var node = {\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n vertexNode = addHtmlLabel(svg, node).node();\n vertexNode.parentNode.removeChild(vertexNode);\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n var rows = vertexText.split(common.lineBreakRegex);\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '1');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n vertexNode = svgLabel;\n }\n\n var radious = 0;\n var _shape = ''; // Set the shape based parameters\n\n switch (vertex.type) {\n case 'round':\n radious = 5;\n _shape = 'rect';\n break;\n\n case 'square':\n _shape = 'rect';\n break;\n\n case 'diamond':\n _shape = 'question';\n break;\n\n case 'hexagon':\n _shape = 'hexagon';\n break;\n\n case 'odd':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'lean_right':\n _shape = 'lean_right';\n break;\n\n case 'lean_left':\n _shape = 'lean_left';\n break;\n\n case 'trapezoid':\n _shape = 'trapezoid';\n break;\n\n case 'inv_trapezoid':\n _shape = 'inv_trapezoid';\n break;\n\n case 'odd_right':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'circle':\n _shape = 'circle';\n break;\n\n case 'ellipse':\n _shape = 'ellipse';\n break;\n\n case 'stadium':\n _shape = 'stadium';\n break;\n\n case 'subroutine':\n _shape = 'subroutine';\n break;\n\n case 'cylinder':\n _shape = 'cylinder';\n break;\n\n case 'group':\n _shape = 'rect';\n break;\n\n default:\n _shape = 'rect';\n } // Add the node\n\n\n g.setNode(vertex.id, {\n labelType: 'svg',\n labelStyle: styles.labelStyle,\n shape: _shape,\n label: vertexNode,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id\n });\n });\n};\n/**\n * Add edges to graph based on parsed graph defninition\n * @param {Object} edges The edges to add to the graph\n * @param {Object} g The graph object\n */\n\nexport var addEdges = function addEdges(edges, g) {\n var cnt = 0;\n var defaultStyle;\n var defaultLabelStyle;\n\n if (typeof edges.defaultStyle !== 'undefined') {\n var defaultStyles = getStylesFromArray(edges.defaultStyle);\n defaultStyle = defaultStyles.style;\n defaultLabelStyle = defaultStyles.labelStyle;\n }\n\n edges.forEach(function (edge) {\n cnt++; // Identify Link\n\n var linkId = 'L-' + edge.start + '-' + edge.end;\n var linkNameStart = 'LS-' + edge.start;\n var linkNameEnd = 'LE-' + edge.end;\n var edgeData = {}; // Set link type for rendering\n\n if (edge.type === 'arrow_open') {\n edgeData.arrowhead = 'none';\n } else {\n edgeData.arrowhead = 'normal';\n }\n\n var style = '';\n var labelStyle = '';\n\n if (typeof edge.style !== 'undefined') {\n var styles = getStylesFromArray(edge.style);\n style = styles.style;\n labelStyle = styles.labelStyle;\n } else {\n switch (edge.stroke) {\n case 'normal':\n style = 'fill:none';\n\n if (typeof defaultStyle !== 'undefined') {\n style = defaultStyle;\n }\n\n if (typeof defaultLabelStyle !== 'undefined') {\n labelStyle = defaultLabelStyle;\n }\n\n break;\n\n case 'dotted':\n style = 'fill:none;stroke-width:2px;stroke-dasharray:3;';\n break;\n\n case 'thick':\n style = ' stroke-width: 3.5px;fill:none';\n break;\n }\n }\n\n edgeData.style = style;\n edgeData.labelStyle = labelStyle;\n\n if (typeof edge.interpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edge.interpolate, curveLinear);\n } else if (typeof edges.defaultInterpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edges.defaultInterpolate, curveLinear);\n } else {\n edgeData.curve = interpolateToCurve(conf.curve, curveLinear);\n }\n\n if (typeof edge.text === 'undefined') {\n if (typeof edge.style !== 'undefined') {\n edgeData.arrowheadStyle = 'fill: #333';\n }\n } else {\n edgeData.arrowheadStyle = 'fill: #333';\n edgeData.labelpos = 'c';\n\n if (getConfig().flowchart.htmlLabels) {\n edgeData.labelType = 'html';\n edgeData.label = \"\").concat(edge.text, \"\");\n } else {\n edgeData.labelType = 'text';\n edgeData.label = edge.text.replace(common.lineBreakRegex, '\\n');\n\n if (typeof edge.style === 'undefined') {\n edgeData.style = edgeData.style || 'stroke: #333; stroke-width: 1.5px;fill:none';\n }\n\n edgeData.labelStyle = edgeData.labelStyle.replace('color:', 'fill:');\n }\n }\n\n edgeData.id = linkId;\n edgeData.class = linkNameStart + ' ' + linkNameEnd; // Add the edge to the graph\n\n g.setEdge(edge.start, edge.end, edgeData, cnt);\n });\n};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.info('Extracting classes');\n flowDb.clear();\n\n try {\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n\n parser.parse(text);\n return flowDb.getClasses();\n } catch (e) {\n return;\n }\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing flowchart');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n // try {\n\n parser.parse(text); // } catch (err) {\n // logger.debug('Parsing failed');\n // }\n // Fetch the default direction, use TD if none was found\n\n var dir = flowDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'TD';\n }\n\n var conf = getConfig().flowchart;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: dir,\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n var subG;\n var subGraphs = flowDb.getSubGraphs();\n\n for (var _i = subGraphs.length - 1; _i >= 0; _i--) {\n subG = subGraphs[_i];\n flowDb.addVertex(subG.id, subG.title, 'group', undefined, subG.classes);\n } // Fetch the verices/nodes and edges/links from the parsed graph definition\n\n\n var vert = flowDb.getVertices();\n var edges = flowDb.getEdges();\n var i = 0;\n\n for (i = subGraphs.length - 1; i >= 0; i--) {\n subG = subGraphs[i];\n selectAll('cluster').append('text');\n\n for (var j = 0; j < subG.nodes.length; j++) {\n g.setParent(subG.nodes[j], subG.id);\n }\n }\n\n addVertices(vert, g, id);\n addEdges(edges, g); // Create the renderer\n\n var Render = dagreD3.render;\n var render = new Render(); // Add custom shapes\n\n flowChartShapes.addToRender(render); // Add our custom arrow - an empty arrowhead\n\n render.arrows().none = function normal(parent, id, edge, type) {\n var marker = parent.append('marker').attr('id', id).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'strokeWidth').attr('markerWidth', 8).attr('markerHeight', 6).attr('orient', 'auto');\n var path = marker.append('path').attr('d', 'M 0 0 L 0 0 L 0 0 z');\n dagreD3.util.applyStyle(path, edge[type + 'Style']);\n }; // Override normal arrowhead defined in d3. Remove style & add class to allow css styling.\n\n\n render.arrows().normal = function normal(parent, id) {\n var marker = parent.append('marker').attr('id', id).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'strokeWidth').attr('markerWidth', 8).attr('markerHeight', 6).attr('orient', 'auto');\n marker.append('path').attr('d', 'M 0 0 L 10 5 L 0 10 z').attr('class', 'arrowheadPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n }; // Set up an SVG group so that we can translate the final graph.\n\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g);\n element.selectAll('g.node').attr('title', function () {\n return flowDb.getTooltip(this.id);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n svg.attr('viewBox', vBox); // Index nodes\n\n flowDb.indexNodes('subGraph' + i); // reposition labels\n\n for (i = 0; i < subGraphs.length; i++) {\n subG = subGraphs[i];\n\n if (subG.title !== 'undefined') {\n var clusterRects = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"] rect');\n var clusterEl = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"]');\n var xPos = clusterRects[0].x.baseVal.value;\n var yPos = clusterRects[0].y.baseVal.value;\n var _width = clusterRects[0].width.baseVal.value;\n var cluster = select(clusterEl[0]);\n var te = cluster.select('.label');\n te.attr('transform', \"translate(\".concat(xPos + _width / 2, \", \").concat(yPos + 14, \")\"));\n te.attr('id', id + 'Text');\n\n for (var _j = 0; _j < subG.classes.length; _j++) {\n clusterEl[0].classList.add(subG.classes[_j]);\n }\n }\n } // Add label rects for non html labels\n\n\n if (!conf.htmlLabels || true) {\n // eslint-disable-line\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n } // If node has a link, wrap it in an anchor SVG object.\n\n\n var keys = Object.keys(vert);\n keys.forEach(function (key) {\n var vertex = vert[key];\n\n if (vertex.link) {\n var node = select('#' + id + ' [id=\"' + key + '\"]');\n\n if (node) {\n var link = document.createElementNS('http://www.w3.org/2000/svg', 'a');\n link.setAttributeNS('http://www.w3.org/2000/svg', 'class', vertex.classes.join(' '));\n link.setAttributeNS('http://www.w3.org/2000/svg', 'href', vertex.link);\n link.setAttributeNS('http://www.w3.org/2000/svg', 'rel', 'noopener');\n var linkNode = node.insert(function () {\n return link;\n }, ':first-child');\n var shape = node.select('.label-container');\n\n if (shape) {\n linkNode.append(function () {\n return shape.node();\n });\n }\n\n var _label = node.select('.label');\n\n if (_label) {\n linkNode.append(function () {\n return _label.node();\n });\n }\n }\n }\n });\n};\nexport default {\n setConf: setConf,\n addVertices: addVertices,\n addEdges: addEdges,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "index": 51, "index2": 66, "size": 14132, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "22:0-66" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "320:8-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "321:8-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/flowchart/flowRenderer-v2", "loc": "524:2-16" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "addVertices", "addEdges", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select, curveLinear, selectAll } from 'd3';\nimport flowDb from './flowDb';\nimport flow from './parser/flow';\nimport { getConfig } from '../../config';\nimport { render } from '../../dagre-wrapper/index.js';\nimport addHtmlLabel from 'dagre-d3/lib/label/add-html-label.js';\nimport { logger } from '../../logger';\nimport common from '../common/common';\nimport { interpolateToCurve, getStylesFromArray } from '../../utils';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Function that adds the vertices found during parsing to the graph to be rendered.\n * @param vert Object containing the vertices.\n * @param g The graph that is to be drawn.\n */\n\nexport var addVertices = function addVertices(vert, g, svgId) {\n var svg = select(\"[id=\\\"\".concat(svgId, \"\\\"]\"));\n var keys = Object.keys(vert); // Iterate through each item in the vertex object (containing all the vertices found) in the graph definition\n\n keys.forEach(function (id) {\n var vertex = vert[id];\n /**\n * Variable for storing the classes for the vertex\n * @type {string}\n */\n\n var classStr = 'default';\n\n if (vertex.classes.length > 0) {\n classStr = vertex.classes.join(' ');\n }\n\n var styles = getStylesFromArray(vertex.styles); // Use vertex id as text in the box if no text is provided by the graph definition\n\n var vertexText = vertex.text !== undefined ? vertex.text : vertex.id; // We create a SVG label, either by delegating to addHtmlLabel or manually\n\n var vertexNode;\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n var node = {\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n vertexNode = addHtmlLabel(svg, node).node();\n vertexNode.parentNode.removeChild(vertexNode);\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n var rows = vertexText.split(common.lineBreakRegex);\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '1');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n vertexNode = svgLabel;\n }\n\n var radious = 0;\n var _shape = ''; // Set the shape based parameters\n\n switch (vertex.type) {\n case 'round':\n radious = 5;\n _shape = 'rect';\n break;\n\n case 'square':\n _shape = 'rect';\n break;\n\n case 'diamond':\n _shape = 'question';\n break;\n\n case 'hexagon':\n _shape = 'hexagon';\n break;\n\n case 'odd':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'lean_right':\n _shape = 'lean_right';\n break;\n\n case 'lean_left':\n _shape = 'lean_left';\n break;\n\n case 'trapezoid':\n _shape = 'trapezoid';\n break;\n\n case 'inv_trapezoid':\n _shape = 'inv_trapezoid';\n break;\n\n case 'odd_right':\n _shape = 'rect_left_inv_arrow';\n break;\n\n case 'circle':\n _shape = 'circle';\n break;\n\n case 'ellipse':\n _shape = 'ellipse';\n break;\n\n case 'stadium':\n _shape = 'stadium';\n break;\n\n case 'subroutine':\n _shape = 'subroutine';\n break;\n\n case 'cylinder':\n _shape = 'cylinder';\n break;\n\n case 'group':\n _shape = 'rect';\n break;\n\n default:\n _shape = 'rect';\n } // Add the node\n\n\n g.setNode(vertex.id, {\n labelStyle: styles.labelStyle,\n shape: _shape,\n labelText: vertexText,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id,\n width: vertex.type === 'group' ? 500 : undefined,\n type: vertex.type,\n padding: getConfig().flowchart.padding\n });\n logger.info('setNode', {\n labelStyle: styles.labelStyle,\n shape: _shape,\n labelText: vertexText,\n rx: radious,\n ry: radious,\n class: classStr,\n style: styles.style,\n id: vertex.id,\n width: vertex.type === 'group' ? 500 : undefined,\n type: vertex.type,\n padding: getConfig().flowchart.padding\n });\n });\n};\n/**\n * Add edges to graph based on parsed graph defninition\n * @param {Object} edges The edges to add to the graph\n * @param {Object} g The graph object\n */\n\nexport var addEdges = function addEdges(edges, g) {\n var cnt = 0;\n var defaultStyle;\n var defaultLabelStyle;\n\n if (typeof edges.defaultStyle !== 'undefined') {\n var defaultStyles = getStylesFromArray(edges.defaultStyle);\n defaultStyle = defaultStyles.style;\n defaultLabelStyle = defaultStyles.labelStyle;\n }\n\n edges.forEach(function (edge) {\n cnt++; // Identify Link\n\n var linkId = 'L-' + edge.start + '-' + edge.end;\n var linkNameStart = 'LS-' + edge.start;\n var linkNameEnd = 'LE-' + edge.end;\n var edgeData = {}; //edgeData.id = 'id' + cnt;\n // Set link type for rendering\n\n if (edge.type === 'arrow_open') {\n edgeData.arrowhead = 'none';\n } else {\n edgeData.arrowhead = 'normal';\n }\n\n logger.info(edgeData, edge);\n edgeData.arrowType = edge.type;\n var style = '';\n var labelStyle = '';\n\n if (typeof edge.style !== 'undefined') {\n var styles = getStylesFromArray(edge.style);\n style = styles.style;\n labelStyle = styles.labelStyle;\n } else {\n switch (edge.stroke) {\n case 'normal':\n style = 'fill:none';\n\n if (typeof defaultStyle !== 'undefined') {\n style = defaultStyle;\n }\n\n if (typeof defaultLabelStyle !== 'undefined') {\n labelStyle = defaultLabelStyle;\n }\n\n edgeData.thickness = 'normal';\n edgeData.pattern = 'solid';\n break;\n\n case 'dotted':\n edgeData.thickness = 'normal';\n edgeData.pattern = 'dotted';\n break;\n\n case 'thick':\n edgeData.thickness = 'thick';\n edgeData.pattern = 'solid';\n break;\n }\n }\n\n edgeData.style = style;\n edgeData.labelStyle = labelStyle;\n\n if (typeof edge.interpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edge.interpolate, curveLinear);\n } else if (typeof edges.defaultInterpolate !== 'undefined') {\n edgeData.curve = interpolateToCurve(edges.defaultInterpolate, curveLinear);\n } else {\n edgeData.curve = interpolateToCurve(conf.curve, curveLinear);\n }\n\n if (typeof edge.text === 'undefined') {\n if (typeof edge.style !== 'undefined') {\n edgeData.arrowheadStyle = 'fill: #333';\n }\n } else {\n edgeData.arrowheadStyle = 'fill: #333';\n edgeData.labelpos = 'c';\n\n if (getConfig().flowchart.htmlLabels && false) {\n // eslint-disable-line\n edgeData.labelType = 'html';\n edgeData.label = \"\").concat(edge.text, \"\");\n } else {\n edgeData.labelType = 'text';\n edgeData.label = edge.text.replace(common.lineBreakRegex, '\\n');\n\n if (typeof edge.style === 'undefined') {\n edgeData.style = edgeData.style || 'stroke: #333; stroke-width: 1.5px;fill:none';\n }\n\n edgeData.labelStyle = edgeData.labelStyle.replace('color:', 'fill:');\n }\n }\n\n edgeData.id = linkId;\n edgeData.classes = 'flowchart-link ' + linkNameStart + ' ' + linkNameEnd; // Add the edge to the graph\n\n g.setEdge(edge.start, edge.end, edgeData, cnt);\n });\n};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.info('Extracting classes');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb;\n\n try {\n // Parse the graph definition\n parser.parse(text);\n } catch (e) {\n return;\n }\n\n return flowDb.getClasses();\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing flowchart');\n flowDb.clear();\n var parser = flow.parser;\n parser.yy = flowDb; // Parse the graph definition\n // try {\n\n parser.parse(text); // } catch (err) {\n // logger.debug('Parsing failed');\n // }\n // Fetch the default direction, use TD if none was found\n\n var dir = flowDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'TD';\n }\n\n var conf = getConfig().flowchart;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: dir,\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n var subG;\n var subGraphs = flowDb.getSubGraphs();\n logger.info('Subgraphs - ', subGraphs);\n\n for (var _i = subGraphs.length - 1; _i >= 0; _i--) {\n subG = subGraphs[_i];\n logger.info('Subgraph - ', subG);\n flowDb.addVertex(subG.id, subG.title, 'group', undefined, subG.classes);\n } // Fetch the verices/nodes and edges/links from the parsed graph definition\n\n\n var vert = flowDb.getVertices();\n var edges = flowDb.getEdges();\n logger.info(edges);\n var i = 0;\n\n for (i = subGraphs.length - 1; i >= 0; i--) {\n subG = subGraphs[i];\n selectAll('cluster').append('text');\n\n for (var j = 0; j < subG.nodes.length; j++) {\n g.setParent(subG.nodes[j], subG.id);\n }\n }\n\n addVertices(vert, g, id);\n addEdges(edges, g); // Add custom shapes\n // flowChartShapes.addToRenderV2(addShape);\n // Set up an SVG group so that we can translate the final graph.\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g, ['point', 'circle', 'cross'], 'flowchart', id); // dagre.layout(g);\n\n element.selectAll('g.node').attr('title', function () {\n return flowDb.getTooltip(this.id);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n logger.debug(\"new ViewBox 0 0 \".concat(width, \" \").concat(height), \"translate(\".concat(padding - g._label.marginx, \", \").concat(padding - g._label.marginy, \")\"));\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n }\n\n svg.attr('viewBox', \"0 0 \".concat(width, \" \").concat(height));\n svg.select('g').attr('transform', \"translate(\".concat(padding - g._label.marginx, \", \").concat(padding - svgBounds.y, \")\")); // Index nodes\n\n flowDb.indexNodes('subGraph' + i); // // reposition labels\n // for (i = 0; i < subGraphs.length; i++) {\n // subG = subGraphs[i];\n // if (subG.title !== 'undefined') {\n // const clusterRects = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"] rect');\n // const clusterEl = document.querySelectorAll('#' + id + ' [id=\"' + subG.id + '\"]');\n // const xPos = clusterRects[0].x.baseVal.value;\n // const yPos = clusterRects[0].y.baseVal.value;\n // const width = clusterRects[0].width.baseVal.value;\n // const cluster = d3.select(clusterEl[0]);\n // const te = cluster.select('.label');\n // te.attr('transform', `translate(${xPos + width / 2}, ${yPos + 14})`);\n // te.attr('id', id + 'Text');\n // for (let j = 0; j < subG.classes.length; j++) {\n // clusterEl[0].classList.add(subG.classes[j]);\n // }\n // }\n // }\n // Add label rects for non html labels\n\n if (!conf.htmlLabels) {\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n } // If node has a link, wrap it in an anchor SVG object.\n\n\n var keys = Object.keys(vert);\n keys.forEach(function (key) {\n var vertex = vert[key];\n\n if (vertex.link) {\n var node = select('#' + id + ' [id=\"' + key + '\"]');\n\n if (node) {\n var link = document.createElementNS('http://www.w3.org/2000/svg', 'a');\n link.setAttributeNS('http://www.w3.org/2000/svg', 'class', vertex.classes.join(' '));\n link.setAttributeNS('http://www.w3.org/2000/svg', 'href', vertex.link);\n link.setAttributeNS('http://www.w3.org/2000/svg', 'rel', 'noopener');\n var linkNode = node.insert(function () {\n return link;\n }, ':first-child');\n var shape = node.select('.label-container');\n\n if (shape) {\n linkNode.append(function () {\n return shape.node();\n });\n }\n\n var _label = node.select('.label');\n\n if (_label) {\n linkNode.append(function () {\n return _label.node();\n });\n }\n }\n }\n });\n};\nexport default {\n setConf: setConf,\n addVertices: addVertices,\n addEdges: addEdges,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceDb.js", "name": "./src/diagrams/sequence/sequenceDb.js", "index": 30, "index2": 28, "size": 8123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./sequenceDb", "loc": "6:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./sequenceDb", "loc": "8:12-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/sequenceDb", "loc": "27:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceDb", "loc": "94:25-35" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./sequenceDb", "loc": "360:6-16" } ], "usedExports": [ "default" ], "providedExports": [ "parseDirective", "addActor", "addMessage", "addSignal", "getMessages", "getActors", "getActor", "getActorKeys", "getTitle", "getTitleWrapped", "enableSequenceNumbers", "showSequenceNumbers", "setWrap", "autoWrap", "clear", "parseMessage", "LINETYPE", "ARROWTYPE", "PLACEMENT", "addNote", "setTitle", "apply", "default" ], "optimizationBailout": [], "depth": 2, "source": "import mermaidAPI from '../../mermaidAPI';\nimport configApi from '../../config';\nimport common from '../common/common';\nimport { logger } from '../../logger';\nvar prevActor = undefined;\nvar actors = {};\nvar messages = [];\nvar notes = [];\nvar title = '';\nvar titleWrapped = false;\nvar sequenceNumbersEnabled = false;\nvar wrapEnabled = false;\nexport var parseDirective = function parseDirective(statement, context, type) {\n mermaidAPI.parseDirective(statement, context, type);\n};\nexport var addActor = function addActor(id, name, description) {\n // Don't allow description nulling\n var old = actors[id];\n if (old && name === old.name && description == null) return; // Don't allow null descriptions, either\n\n if (description == null || description.text == null) {\n description = {\n text: name,\n wrap: null\n };\n }\n\n actors[id] = {\n name: name,\n description: description.text,\n wrap: description.wrap === undefined && autoWrap() || !!description.wrap,\n prevActor: prevActor\n };\n\n if (prevActor && actors[prevActor]) {\n actors[prevActor].nextActor = id;\n }\n\n prevActor = id;\n};\n\nvar activationCount = function activationCount(part) {\n var i;\n var count = 0;\n\n for (i = 0; i < messages.length; i++) {\n // console.warn(i, messages[i]);\n if (messages[i].type === LINETYPE.ACTIVE_START) {\n if (messages[i].from.actor === part) {\n count++;\n }\n }\n\n if (messages[i].type === LINETYPE.ACTIVE_END) {\n if (messages[i].from.actor === part) {\n count--;\n }\n }\n }\n\n return count;\n};\n\nexport var addMessage = function addMessage(idFrom, idTo, message, answer) {\n messages.push({\n from: idFrom,\n to: idTo,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n answer: answer\n });\n};\nexport var addSignal = function addSignal(idFrom, idTo) {\n var message = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {\n text: undefined,\n wrap: undefined\n };\n var messageType = arguments.length > 3 ? arguments[3] : undefined;\n\n if (messageType === LINETYPE.ACTIVE_END) {\n var cnt = activationCount(idFrom.actor);\n\n if (cnt < 1) {\n // Bail out as there is an activation signal from an inactive participant\n var error = new Error('Trying to inactivate an inactive participant (' + idFrom.actor + ')');\n error.hash = {\n text: '->>-',\n token: '->>-',\n line: '1',\n loc: {\n first_line: 1,\n last_line: 1,\n first_column: 1,\n last_column: 1\n },\n expected: [\"'ACTIVE_PARTICIPANT'\"]\n };\n throw error;\n }\n }\n\n messages.push({\n from: idFrom,\n to: idTo,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n type: messageType\n });\n return true;\n};\nexport var getMessages = function getMessages() {\n return messages;\n};\nexport var getActors = function getActors() {\n return actors;\n};\nexport var getActor = function getActor(id) {\n return actors[id];\n};\nexport var getActorKeys = function getActorKeys() {\n return Object.keys(actors);\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var getTitleWrapped = function getTitleWrapped() {\n return titleWrapped;\n};\nexport var enableSequenceNumbers = function enableSequenceNumbers() {\n sequenceNumbersEnabled = true;\n};\nexport var showSequenceNumbers = function showSequenceNumbers() {\n return sequenceNumbersEnabled;\n};\nexport var setWrap = function setWrap(wrapSetting) {\n wrapEnabled = wrapSetting;\n};\nexport var autoWrap = function autoWrap() {\n return wrapEnabled;\n};\nexport var clear = function clear() {\n actors = {};\n messages = [];\n};\nexport var parseMessage = function parseMessage(str) {\n var _str = str.trim();\n\n var message = {\n text: _str.replace(/^[:]?(?:no)?wrap:/, '').trim(),\n wrap: _str.match(/^[:]?(?:no)?wrap:/) === null ? common.hasBreaks(_str) || autoWrap() : _str.match(/^[:]?wrap:/) !== null ? true : _str.match(/^[:]?nowrap:/) !== null ? false : autoWrap()\n };\n logger.debug('parseMessage:', message);\n return message;\n};\nexport var LINETYPE = {\n SOLID: 0,\n DOTTED: 1,\n NOTE: 2,\n SOLID_CROSS: 3,\n DOTTED_CROSS: 4,\n SOLID_OPEN: 5,\n DOTTED_OPEN: 6,\n LOOP_START: 10,\n LOOP_END: 11,\n ALT_START: 12,\n ALT_ELSE: 13,\n ALT_END: 14,\n OPT_START: 15,\n OPT_END: 16,\n ACTIVE_START: 17,\n ACTIVE_END: 18,\n PAR_START: 19,\n PAR_AND: 20,\n PAR_END: 21,\n RECT_START: 22,\n RECT_END: 23\n};\nexport var ARROWTYPE = {\n FILLED: 0,\n OPEN: 1\n};\nexport var PLACEMENT = {\n LEFTOF: 0,\n RIGHTOF: 1,\n OVER: 2\n};\nexport var addNote = function addNote(actor, placement, message) {\n var note = {\n actor: actor,\n placement: placement,\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap\n }; // Coerce actor into a [to, from, ...] array\n\n var actors = [].concat(actor, actor);\n notes.push(note);\n messages.push({\n from: actors[0],\n to: actors[1],\n message: message.text,\n wrap: message.wrap === undefined && autoWrap() || !!message.wrap,\n type: LINETYPE.NOTE,\n placement: placement\n });\n};\nexport var setTitle = function setTitle(titleWrap) {\n title = titleWrap.text;\n titleWrapped = titleWrap.wrap === undefined && autoWrap() || !!titleWrap.wrap;\n};\nexport var apply = function apply(param) {\n if (param instanceof Array) {\n param.forEach(function (item) {\n apply(item);\n });\n } else {\n switch (param.type) {\n case 'addActor':\n addActor(param.actor, param.actor, param.description);\n break;\n\n case 'activeStart':\n addSignal(param.actor, undefined, undefined, param.signalType);\n break;\n\n case 'activeEnd':\n addSignal(param.actor, undefined, undefined, param.signalType);\n break;\n\n case 'addNote':\n addNote(param.actor, param.placement, param.text);\n break;\n\n case 'addMessage':\n addSignal(param.from, param.to, param.msg, param.signalType);\n break;\n\n case 'loopStart':\n addSignal(undefined, undefined, param.loopText, param.signalType);\n break;\n\n case 'loopEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'rectStart':\n addSignal(undefined, undefined, param.color, param.signalType);\n break;\n\n case 'rectEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'optStart':\n addSignal(undefined, undefined, param.optText, param.signalType);\n break;\n\n case 'optEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'altStart':\n addSignal(undefined, undefined, param.altText, param.signalType);\n break;\n\n case 'else':\n addSignal(undefined, undefined, param.altText, param.signalType);\n break;\n\n case 'altEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n\n case 'setTitle':\n setTitle(param.text);\n break;\n\n case 'parStart':\n addSignal(undefined, undefined, param.parText, param.signalType);\n break;\n\n case 'and':\n addSignal(undefined, undefined, param.parText, param.signalType);\n break;\n\n case 'parEnd':\n addSignal(undefined, undefined, undefined, param.signalType);\n break;\n }\n }\n};\nexport default {\n addActor: addActor,\n addMessage: addMessage,\n addSignal: addSignal,\n autoWrap: autoWrap,\n setWrap: setWrap,\n enableSequenceNumbers: enableSequenceNumbers,\n showSequenceNumbers: showSequenceNumbers,\n getMessages: getMessages,\n getActors: getActors,\n getActor: getActor,\n getActorKeys: getActorKeys,\n getTitle: getTitle,\n parseDirective: parseDirective,\n getConfig: function getConfig() {\n return configApi.getConfig().sequence;\n },\n getTitleWrapped: getTitleWrapped,\n clear: clear,\n parseMessage: parseMessage,\n LINETYPE: LINETYPE,\n ARROWTYPE: ARROWTYPE,\n PLACEMENT: PLACEMENT,\n addNote: addNote,\n setTitle: setTitle,\n apply: apply\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "name": "./src/diagrams/sequence/sequenceRenderer.js", "index": 69, "index2": 68, "size": 35513, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "25:0-68" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "329:10-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "332:10-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "335:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "527:4-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/sequence/sequenceRenderer", "loc": "530:2-18" } ], "usedExports": [ "default" ], "providedExports": [ "bounds", "drawActors", "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select, selectAll } from 'd3';\nimport svgDraw, { drawText } from './svgDraw';\nimport { logger } from '../../logger';\nimport { parser } from './parser/sequenceDiagram';\nimport common from '../common/common';\nimport sequenceDb from './sequenceDb';\nimport utils, { assignWithDepth } from '../../utils';\nparser.yy = sequenceDb;\nvar conf = {};\nexport var bounds = {\n data: {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n },\n verticalPos: 0,\n sequenceItems: [],\n activations: [],\n models: {\n getHeight: function getHeight() {\n return Math.max.apply(null, this.actors.length === 0 ? [0] : this.actors.map(function (actor) {\n return actor.height || 0;\n })) + (this.loops.length === 0 ? 0 : this.loops.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n })) + (this.messages.length === 0 ? 0 : this.messages.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n })) + (this.notes.length === 0 ? 0 : this.notes.map(function (it) {\n return it.height || 0;\n }).reduce(function (acc, h) {\n return acc + h;\n }));\n },\n clear: function clear() {\n this.actors = [];\n this.loops = [];\n this.messages = [];\n this.notes = [];\n },\n addActor: function addActor(actorModel) {\n this.actors.push(actorModel);\n },\n addLoop: function addLoop(loopModel) {\n this.loops.push(loopModel);\n },\n addMessage: function addMessage(msgModel) {\n this.messages.push(msgModel);\n },\n addNote: function addNote(noteModel) {\n this.notes.push(noteModel);\n },\n lastActor: function lastActor() {\n return this.actors[this.actors.length - 1];\n },\n lastLoop: function lastLoop() {\n return this.loops[this.loops.length - 1];\n },\n lastMessage: function lastMessage() {\n return this.messages[this.messages.length - 1];\n },\n lastNote: function lastNote() {\n return this.notes[this.notes.length - 1];\n },\n actors: [],\n loops: [],\n messages: [],\n notes: []\n },\n init: function init() {\n this.sequenceItems = [];\n this.activations = [];\n this.models.clear();\n this.data = {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n };\n this.verticalPos = 0;\n setConf(parser.yy.getConfig());\n },\n updateVal: function updateVal(obj, key, val, fun) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = val;\n } else {\n obj[key] = fun(val, obj[key]);\n }\n },\n updateBounds: function updateBounds(startx, starty, stopx, stopy) {\n var _self = this;\n\n var cnt = 0;\n\n function updateFn(type) {\n return function updateItemBounds(item) {\n cnt++; // The loop sequenceItems is a stack so the biggest margins in the beginning of the sequenceItems\n\n var n = _self.sequenceItems.length - cnt + 1;\n\n _self.updateVal(item, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopy', stopy + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n if (!(type === 'activation')) {\n _self.updateVal(item, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopy', stopy + n * conf.boxMargin, Math.max);\n }\n };\n }\n\n this.sequenceItems.forEach(updateFn());\n this.activations.forEach(updateFn('activation'));\n },\n insert: function insert(startx, starty, stopx, stopy) {\n var _startx = Math.min(startx, stopx);\n\n var _stopx = Math.max(startx, stopx);\n\n var _starty = Math.min(starty, stopy);\n\n var _stopy = Math.max(starty, stopy);\n\n this.updateVal(bounds.data, 'startx', _startx, Math.min);\n this.updateVal(bounds.data, 'starty', _starty, Math.min);\n this.updateVal(bounds.data, 'stopx', _stopx, Math.max);\n this.updateVal(bounds.data, 'stopy', _stopy, Math.max);\n this.updateBounds(_startx, _starty, _stopx, _stopy);\n },\n newActivation: function newActivation(message, diagram, actors) {\n var actorRect = actors[message.from.actor];\n var stackedSize = actorActivations(message.from.actor).length || 0;\n var x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;\n this.activations.push({\n startx: x,\n starty: this.verticalPos + 2,\n stopx: x + conf.activationWidth,\n stopy: undefined,\n actor: message.from.actor,\n anchored: svgDraw.anchorElement(diagram)\n });\n },\n endActivation: function endActivation(message) {\n // find most recent activation for given actor\n var lastActorActivationIdx = this.activations.map(function (activation) {\n return activation.actor;\n }).lastIndexOf(message.from.actor);\n return this.activations.splice(lastActorActivationIdx, 1)[0];\n },\n createLoop: function createLoop() {\n var title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n message: undefined,\n wrap: false,\n width: undefined\n };\n var fill = arguments.length > 1 ? arguments[1] : undefined;\n return {\n startx: undefined,\n starty: this.verticalPos,\n stopx: undefined,\n stopy: undefined,\n title: title.message,\n wrap: title.wrap,\n width: title.width,\n height: 0,\n fill: fill\n };\n },\n newLoop: function newLoop() {\n var title = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n message: undefined,\n wrap: false,\n width: undefined\n };\n var fill = arguments.length > 1 ? arguments[1] : undefined;\n this.sequenceItems.push(this.createLoop(title, fill));\n },\n endLoop: function endLoop() {\n return this.sequenceItems.pop();\n },\n addSectionToLoop: function addSectionToLoop(message) {\n var loop = this.sequenceItems.pop();\n loop.sections = loop.sections || [];\n loop.sectionTitles = loop.sectionTitles || [];\n loop.sections.push({\n y: bounds.getVerticalPos(),\n height: 0\n });\n loop.sectionTitles.push(message);\n this.sequenceItems.push(loop);\n },\n bumpVerticalPos: function bumpVerticalPos(bump) {\n this.verticalPos = this.verticalPos + bump;\n this.data.stopy = this.verticalPos;\n },\n getVerticalPos: function getVerticalPos() {\n return this.verticalPos;\n },\n getBounds: function getBounds() {\n return {\n bounds: this.data,\n models: this.models\n };\n }\n};\n/**\n * Draws an note in the diagram with the attached line\n * @param elem - The diagram to draw to.\n * @param noteModel:{x: number, y: number, message: string, width: number} - startx: x axis start position, verticalPos: y axis position, messsage: the message to be shown, width: Set this with a custom width to override the default configured width.\n */\n\nvar drawNote = function drawNote(elem, noteModel) {\n bounds.bumpVerticalPos(conf.boxMargin);\n noteModel.height = conf.boxMargin;\n noteModel.starty = bounds.getVerticalPos();\n var rect = svgDraw.getNoteRect();\n rect.x = noteModel.startx;\n rect.y = noteModel.starty;\n rect.width = noteModel.width || conf.width;\n rect.class = 'note';\n var g = elem.append('g');\n var rectElem = svgDraw.drawRect(g, rect);\n var textObj = svgDraw.getTextObj();\n textObj.x = noteModel.startx;\n textObj.y = noteModel.starty;\n textObj.width = rect.width;\n textObj.dy = '1em';\n textObj.text = noteModel.message;\n textObj.class = 'noteText';\n textObj.fontFamily = conf.noteFontFamily;\n textObj.fontSize = conf.noteFontSize;\n textObj.fontWeight = conf.noteFontWeight;\n textObj.anchor = conf.noteAlign;\n textObj.textMargin = conf.noteMargin;\n textObj.valign = conf.noteAlign;\n textObj.wrap = true;\n var textElem = drawText(g, textObj);\n var textHeight = Math.round(textElem.map(function (te) {\n return (te._groups || te)[0][0].getBBox().height;\n }).reduce(function (acc, curr) {\n return acc + curr;\n }));\n rectElem.attr('height', textHeight + 2 * conf.noteMargin);\n noteModel.height += textHeight + 2 * conf.noteMargin;\n bounds.bumpVerticalPos(textHeight + 2 * conf.noteMargin);\n noteModel.stopy = noteModel.starty + textHeight + 2 * conf.noteMargin;\n noteModel.stopx = noteModel.startx + rect.width;\n bounds.insert(noteModel.startx, noteModel.starty, noteModel.stopx, noteModel.stopy);\n bounds.models.addNote(noteModel);\n};\n/**\n * Draws a message\n * @param g - the parent of the message element\n * @param msgModel - the model containing fields describing a message\n */\n\n\nvar drawMessage = function drawMessage(g, msgModel) {\n bounds.bumpVerticalPos(10);\n var startx = msgModel.startx,\n stopx = msgModel.stopx,\n starty = msgModel.starty,\n message = msgModel.message,\n type = msgModel.type,\n sequenceIndex = msgModel.sequenceIndex,\n wrap = msgModel.wrap;\n var lines = common.splitBreaks(message).length;\n var textDims = utils.calculateTextDimensions(message, conf.messageFont());\n var lineHeight = textDims.height / lines;\n msgModel.height += lineHeight;\n bounds.bumpVerticalPos(lineHeight);\n var textObj = svgDraw.getTextObj();\n textObj.x = startx;\n textObj.y = starty + 10;\n textObj.width = stopx - startx;\n textObj.class = 'messageText';\n textObj.dy = '1em';\n textObj.text = message;\n textObj.fontFamily = conf.messageFontFamily;\n textObj.fontSize = conf.messageFontSize;\n textObj.fontWeight = conf.messageFontWeight;\n textObj.anchor = conf.messageAlign;\n textObj.valign = conf.messageAlign;\n textObj.textMargin = conf.wrapPadding;\n textObj.tspan = false;\n textObj.wrap = wrap;\n drawText(g, textObj);\n var totalOffset = textDims.height - 10;\n var textWidth = textDims.width;\n var line, lineStarty;\n\n if (startx === stopx) {\n lineStarty = bounds.getVerticalPos() + totalOffset;\n\n if (conf.rightAngles) {\n line = g.append('path').attr('d', \"M \".concat(startx, \",\").concat(lineStarty, \" H \").concat(startx + Math.max(conf.width / 2, textWidth / 2), \" V \").concat(lineStarty + 25, \" H \").concat(startx));\n } else {\n totalOffset += conf.boxMargin;\n lineStarty = bounds.getVerticalPos() + totalOffset;\n line = g.append('path').attr('d', 'M ' + startx + ',' + lineStarty + ' C ' + (startx + 60) + ',' + (lineStarty - 10) + ' ' + (startx + 60) + ',' + (lineStarty + 30) + ' ' + startx + ',' + (lineStarty + 20));\n }\n\n totalOffset += 30;\n var dx = Math.max(textWidth / 2, conf.width / 2);\n bounds.insert(startx - dx, bounds.getVerticalPos() - 10 + totalOffset, stopx + dx, bounds.getVerticalPos() + 30 + totalOffset);\n } else {\n totalOffset += conf.boxMargin;\n lineStarty = bounds.getVerticalPos() + totalOffset;\n line = g.append('line');\n line.attr('x1', startx);\n line.attr('y1', lineStarty);\n line.attr('x2', stopx);\n line.attr('y2', lineStarty);\n bounds.insert(startx, lineStarty - 10, stopx, lineStarty);\n } // Make an SVG Container\n // Draw the line\n\n\n if (type === parser.yy.LINETYPE.DOTTED || type === parser.yy.LINETYPE.DOTTED_CROSS || type === parser.yy.LINETYPE.DOTTED_OPEN) {\n line.style('stroke-dasharray', '3, 3');\n line.attr('class', 'messageLine1');\n } else {\n line.attr('class', 'messageLine0');\n }\n\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n line.attr('stroke-width', 2);\n line.attr('stroke', 'none'); // handled by theme/css anyway\n\n line.style('fill', 'none'); // remove any fill colour\n\n if (type === parser.yy.LINETYPE.SOLID || type === parser.yy.LINETYPE.DOTTED) {\n line.attr('marker-end', 'url(' + url + '#arrowhead)');\n }\n\n if (type === parser.yy.LINETYPE.SOLID_CROSS || type === parser.yy.LINETYPE.DOTTED_CROSS) {\n line.attr('marker-end', 'url(' + url + '#crosshead)');\n } // add node number\n\n\n if (sequenceDb.showSequenceNumbers() || conf.showSequenceNumbers) {\n line.attr('marker-start', 'url(' + url + '#sequencenumber)');\n g.append('text').attr('x', startx).attr('y', lineStarty + 4).attr('font-family', 'sans-serif').attr('font-size', '12px').attr('text-anchor', 'middle').attr('textLength', '16px').attr('class', 'sequenceNumber').text(sequenceIndex);\n }\n\n bounds.bumpVerticalPos(totalOffset);\n msgModel.height += totalOffset;\n msgModel.stopy = msgModel.starty + msgModel.height;\n bounds.insert(msgModel.fromBounds, msgModel.starty, msgModel.toBounds, msgModel.stopy);\n};\n\nexport var drawActors = function drawActors(diagram, actors, actorKeys, verticalPos) {\n // Draw the actors\n var prevWidth = 0;\n var prevMargin = 0;\n\n for (var i = 0; i < actorKeys.length; i++) {\n var actor = actors[actorKeys[i]]; // Add some rendering data to the object\n\n actor.width = actor.width || conf.width;\n actor.height = Math.max(actor.height || conf.height, conf.height);\n actor.margin = actor.margin || conf.actorMargin;\n actor.x = prevWidth + prevMargin;\n actor.y = verticalPos; // Draw the box with the attached line\n\n svgDraw.drawActor(diagram, actor, conf);\n bounds.insert(actor.x, verticalPos, actor.x + actor.width, actor.height);\n prevWidth += actor.width;\n prevMargin += actor.margin;\n bounds.models.addActor(actor);\n } // Add a margin between the actor boxes and the first arrow\n\n\n bounds.bumpVerticalPos(conf.height);\n};\nexport var setConf = function setConf(cnf) {\n assignWithDepth(conf, cnf);\n\n if (cnf.fontFamily) {\n conf.actorFontFamily = conf.noteFontFamily = conf.messageFontFamily = cnf.fontFamily;\n }\n\n if (cnf.fontSize) {\n conf.actorFontSize = conf.noteFontSize = conf.messageFontSize = cnf.fontSize;\n }\n\n if (cnf.fontWeight) {\n conf.actorFontWeight = conf.noteFontWeight = conf.messageFontWeight = cnf.fontWeight;\n }\n};\n\nvar actorActivations = function actorActivations(actor) {\n return bounds.activations.filter(function (activation) {\n return activation.actor === actor;\n });\n};\n\nvar activationBounds = function activationBounds(actor, actors) {\n // handle multiple stacked activations for same actor\n var actorObj = actors[actor];\n var activations = actorActivations(actor);\n var left = activations.reduce(function (acc, activation) {\n return Math.min(acc, activation.startx);\n }, actorObj.x + actorObj.width / 2);\n var right = activations.reduce(function (acc, activation) {\n return Math.max(acc, activation.stopx);\n }, actorObj.x + actorObj.width / 2);\n return [left, right];\n};\n\nfunction adjustLoopHeightForWrap(loopWidths, msg, preMargin, postMargin, addLoopFn) {\n bounds.bumpVerticalPos(preMargin);\n var heightAdjust = postMargin;\n\n if (msg.id && msg.message && loopWidths[msg.id]) {\n var loopWidth = loopWidths[msg.id].width;\n var textConf = conf.messageFont();\n msg.message = utils.wrapLabel(\"[\".concat(msg.message, \"]\"), loopWidth - 2 * conf.wrapPadding, textConf);\n msg.width = loopWidth;\n msg.wrap = true; // const lines = common.splitBreaks(msg.message).length;\n\n var textDims = utils.calculateTextDimensions(msg.message, textConf);\n var totalOffset = Math.max(textDims.height, conf.labelBoxHeight);\n heightAdjust = postMargin + totalOffset;\n logger.debug(\"\".concat(totalOffset, \" - \").concat(msg.message));\n }\n\n addLoopFn(msg);\n bounds.bumpVerticalPos(heightAdjust);\n}\n/**\n * Draws a sequenceDiagram in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.yy.setWrap(conf.wrap);\n parser.parse(text + '\\n');\n bounds.init();\n logger.debug(\"C:\".concat(JSON.stringify(conf, null, 2)));\n var diagram = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Fetch data from the parsing\n\n var actors = parser.yy.getActors();\n var actorKeys = parser.yy.getActorKeys();\n var messages = parser.yy.getMessages();\n var title = parser.yy.getTitle();\n var maxMessageWidthPerActor = getMaxMessageWidthPerActor(actors, messages);\n conf.height = calculateActorMargins(actors, maxMessageWidthPerActor);\n drawActors(diagram, actors, actorKeys, 0);\n var loopWidths = calculateLoopBounds(messages, actors, maxMessageWidthPerActor); // The arrow head definition is attached to the svg once\n\n svgDraw.insertArrowHead(diagram);\n svgDraw.insertArrowCrossHead(diagram);\n svgDraw.insertSequenceNumber(diagram);\n\n function activeEnd(msg, verticalPos) {\n var activationData = bounds.endActivation(msg);\n\n if (activationData.starty + 18 > verticalPos) {\n activationData.starty = verticalPos - 6;\n verticalPos += 12;\n }\n\n svgDraw.drawActivation(diagram, activationData, verticalPos, conf, actorActivations(msg.from.actor).length);\n bounds.insert(activationData.startx, verticalPos - 10, activationData.stopx, verticalPos);\n } // Draw the messages/signals\n\n\n var sequenceIndex = 1;\n messages.forEach(function (msg) {\n var loopModel, noteModel, msgModel;\n\n switch (msg.type) {\n case parser.yy.LINETYPE.NOTE:\n noteModel = msg.noteModel;\n drawNote(diagram, noteModel);\n break;\n\n case parser.yy.LINETYPE.ACTIVE_START:\n bounds.newActivation(msg, diagram, actors);\n break;\n\n case parser.yy.LINETYPE.ACTIVE_END:\n activeEnd(msg, bounds.getVerticalPos());\n break;\n\n case parser.yy.LINETYPE.LOOP_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.LOOP_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'loop', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.RECT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin, function (message) {\n return bounds.newLoop(undefined, message.message);\n });\n break;\n\n case parser.yy.LINETYPE.RECT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawBackgroundRect(diagram, loopModel);\n bounds.models.addLoop(loopModel);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n break;\n\n case parser.yy.LINETYPE.OPT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.OPT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'opt', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.ALT_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.ALT_ELSE:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin + conf.boxTextMargin, conf.boxMargin, function (message) {\n return bounds.addSectionToLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.ALT_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'alt', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n case parser.yy.LINETYPE.PAR_START:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin, conf.boxMargin + conf.boxTextMargin, function (message) {\n return bounds.newLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.PAR_AND:\n adjustLoopHeightForWrap(loopWidths, msg, conf.boxMargin + conf.boxTextMargin, conf.boxMargin, function (message) {\n return bounds.addSectionToLoop(message);\n });\n break;\n\n case parser.yy.LINETYPE.PAR_END:\n loopModel = bounds.endLoop();\n svgDraw.drawLoop(diagram, loopModel, 'par', conf);\n bounds.bumpVerticalPos(loopModel.stopy - bounds.getVerticalPos());\n bounds.models.addLoop(loopModel);\n break;\n\n default:\n try {\n // lastMsg = msg\n msgModel = msg.msgModel;\n msgModel.starty = bounds.getVerticalPos();\n msgModel.sequenceIndex = sequenceIndex;\n drawMessage(diagram, msgModel);\n bounds.models.addMessage(msgModel);\n } catch (e) {\n logger.error('error while drawing message', e);\n }\n\n } // Increment sequence counter if msg.type is a line (and not another event like activation or note, etc)\n\n\n if ([parser.yy.LINETYPE.SOLID_OPEN, parser.yy.LINETYPE.DOTTED_OPEN, parser.yy.LINETYPE.SOLID, parser.yy.LINETYPE.DOTTED, parser.yy.LINETYPE.SOLID_CROSS, parser.yy.LINETYPE.DOTTED_CROSS].includes(msg.type)) {\n sequenceIndex++;\n }\n });\n\n if (conf.mirrorActors) {\n // Draw actors below diagram\n bounds.bumpVerticalPos(conf.boxMargin * 2);\n drawActors(diagram, actors, actorKeys, bounds.getVerticalPos());\n }\n\n var _bounds$getBounds = bounds.getBounds(),\n box = _bounds$getBounds.bounds; // Adjust line height of actor lines now that the height of the diagram is known\n\n\n logger.debug('For line height fix Querying: #' + id + ' .actor-line');\n var actorLines = selectAll('#' + id + ' .actor-line');\n actorLines.attr('y2', box.stopy);\n var height = box.stopy - box.starty + 2 * conf.diagramMarginY;\n\n if (conf.mirrorActors) {\n height = height - conf.boxMargin + conf.bottomMarginAdj;\n }\n\n var width = box.stopx - box.startx + 2 * conf.diagramMarginX;\n\n if (title) {\n diagram.append('text').text(title).attr('x', (box.stopx - box.startx) / 2 - 2 * conf.diagramMarginX).attr('y', -25);\n }\n\n if (conf.useMaxWidth) {\n diagram.attr('height', '100%');\n diagram.attr('width', '100%');\n diagram.attr('style', 'max-width:' + width + 'px;'); // diagram.attr('style', 'max-width:100%;');\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n }\n\n var extraVertForTitle = title ? 40 : 0;\n diagram.attr('viewBox', box.startx - conf.diagramMarginX + ' -' + (conf.diagramMarginY + extraVertForTitle) + ' ' + width + ' ' + (height + extraVertForTitle));\n logger.debug(\"models:\", bounds.models);\n};\n/**\n * Retrieves the max message width of each actor, supports signals (messages, loops)\n * and notes.\n *\n * It will enumerate each given message, and will determine its text width, in relation\n * to the actor it originates from, and destined to.\n *\n * @param actors - The actors map\n * @param messages - A list of message objects to iterate\n */\n\nvar getMaxMessageWidthPerActor = function getMaxMessageWidthPerActor(actors, messages) {\n var maxMessageWidthPerActor = {};\n messages.forEach(function (msg) {\n if (actors[msg.to] && actors[msg.from]) {\n var actor = actors[msg.to]; // If this is the first actor, and the message is left of it, no need to calculate the margin\n\n if (msg.placement === parser.yy.PLACEMENT.LEFTOF && !actor.prevActor) {\n return;\n } // If this is the last actor, and the message is right of it, no need to calculate the margin\n\n\n if (msg.placement === parser.yy.PLACEMENT.RIGHTOF && !actor.nextActor) {\n return;\n }\n\n var isNote = msg.placement !== undefined;\n var isMessage = !isNote;\n var textFont = isNote ? conf.noteFont() : conf.messageFont();\n var wrappedMessage = msg.wrap ? utils.wrapLabel(msg.message, conf.width - 2 * conf.wrapPadding, textFont) : msg.message;\n var messageDimensions = utils.calculateTextDimensions(wrappedMessage, textFont);\n var messageWidth = messageDimensions.width + 2 * conf.wrapPadding;\n /*\n * The following scenarios should be supported:\n *\n * - There's a message (non-note) between fromActor and toActor\n * - If fromActor is on the right and toActor is on the left, we should\n * define the toActor's margin\n * - If fromActor is on the left and toActor is on the right, we should\n * define the fromActor's margin\n * - There's a note, in which case fromActor == toActor\n * - If the note is to the left of the actor, we should define the previous actor\n * margin\n * - If the note is on the actor, we should define both the previous and next actor\n * margins, each being the half of the note size\n * - If the note is on the right of the actor, we should define the current actor\n * margin\n */\n\n if (isMessage && msg.from === actor.nextActor) {\n maxMessageWidthPerActor[msg.to] = Math.max(maxMessageWidthPerActor[msg.to] || 0, messageWidth);\n } else if (isMessage && msg.from === actor.prevActor) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth);\n } else if (isMessage && msg.from === msg.to) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth / 2);\n maxMessageWidthPerActor[msg.to] = Math.max(maxMessageWidthPerActor[msg.to] || 0, messageWidth / 2);\n } else if (msg.placement === parser.yy.PLACEMENT.RIGHTOF) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth);\n } else if (msg.placement === parser.yy.PLACEMENT.LEFTOF) {\n maxMessageWidthPerActor[actor.prevActor] = Math.max(maxMessageWidthPerActor[actor.prevActor] || 0, messageWidth);\n } else if (msg.placement === parser.yy.PLACEMENT.OVER) {\n if (actor.prevActor) {\n maxMessageWidthPerActor[actor.prevActor] = Math.max(maxMessageWidthPerActor[actor.prevActor] || 0, messageWidth / 2);\n }\n\n if (actor.nextActor) {\n maxMessageWidthPerActor[msg.from] = Math.max(maxMessageWidthPerActor[msg.from] || 0, messageWidth / 2);\n }\n }\n }\n });\n logger.debug('maxMessageWidthPerActor:', maxMessageWidthPerActor);\n return maxMessageWidthPerActor;\n};\n/**\n * This will calculate the optimal margin for each given actor, for a given\n * actor->messageWidth map.\n *\n * An actor's margin is determined by the width of the actor, the width of the\n * largest message that originates from it, and the configured conf.actorMargin.\n *\n * @param actors - The actors map to calculate margins for\n * @param actorToMessageWidth - A map of actor key -> max message width it holds\n */\n\n\nvar calculateActorMargins = function calculateActorMargins(actors, actorToMessageWidth) {\n var maxHeight = 0;\n Object.keys(actors).forEach(function (prop) {\n var actor = actors[prop];\n\n if (actor.wrap) {\n actor.description = utils.wrapLabel(actor.description, conf.width - 2 * conf.wrapPadding, conf.actorFont());\n }\n\n var actDims = utils.calculateTextDimensions(actor.description, conf.actorFont());\n actor.width = actor.wrap ? conf.width : Math.max(conf.width, actDims.width + 2 * conf.wrapPadding);\n actor.height = actor.wrap ? Math.max(actDims.height, conf.height) : conf.height;\n maxHeight = Math.max(maxHeight, actor.height);\n });\n\n for (var actorKey in actorToMessageWidth) {\n var actor = actors[actorKey];\n\n if (!actor) {\n continue;\n }\n\n var nextActor = actors[actor.nextActor]; // No need to space out an actor that doesn't have a next link\n\n if (!nextActor) {\n continue;\n }\n\n var messageWidth = actorToMessageWidth[actorKey];\n var actorWidth = messageWidth + conf.actorMargin - actor.width / 2 - nextActor.width / 2;\n actor.margin = Math.max(actorWidth, conf.actorMargin);\n }\n\n return Math.max(maxHeight, conf.height);\n};\n\nvar buildNoteModel = function buildNoteModel(msg, actors) {\n var startx = actors[msg.from].x;\n var stopx = actors[msg.to].x;\n var shouldWrap = msg.wrap && msg.message;\n var textDimensions = utils.calculateTextDimensions(shouldWrap ? utils.wrapLabel(msg.message, conf.width, conf.noteFont()) : msg.message, conf.noteFont());\n var noteModel = {\n width: shouldWrap ? conf.width : Math.max(conf.width, textDimensions.width + 2 * conf.noteMargin),\n height: 0,\n startx: actors[msg.from].x,\n stopx: 0,\n starty: 0,\n stopy: 0,\n message: msg.message\n };\n\n if (msg.placement === parser.yy.PLACEMENT.RIGHTOF) {\n noteModel.width = shouldWrap ? Math.max(conf.width, textDimensions.width) : Math.max(actors[msg.from].width / 2 + actors[msg.to].width / 2, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx + (actors[msg.from].width + conf.actorMargin) / 2;\n } else if (msg.placement === parser.yy.PLACEMENT.LEFTOF) {\n noteModel.width = shouldWrap ? Math.max(conf.width, textDimensions.width + 2 * conf.noteMargin) : Math.max(actors[msg.from].width / 2 + actors[msg.to].width / 2, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx - noteModel.width + (actors[msg.from].width - conf.actorMargin) / 2;\n } else if (msg.to === msg.from) {\n textDimensions = utils.calculateTextDimensions(shouldWrap ? utils.wrapLabel(msg.message, Math.max(conf.width, actors[msg.from].width), conf.noteFont()) : msg.message, conf.noteFont());\n noteModel.width = shouldWrap ? Math.max(conf.width, actors[msg.from].width) : Math.max(actors[msg.from].width, conf.width, textDimensions.width + 2 * conf.noteMargin);\n noteModel.startx = startx + (actors[msg.from].width - noteModel.width) / 2;\n } else {\n noteModel.width = Math.abs(startx + actors[msg.from].width / 2 - (stopx + actors[msg.to].width / 2)) + conf.actorMargin;\n noteModel.startx = startx < stopx ? startx + actors[msg.from].width / 2 - conf.actorMargin / 2 : stopx + actors[msg.to].width / 2 - conf.actorMargin / 2;\n }\n\n if (shouldWrap) {\n noteModel.message = utils.wrapLabel(msg.message, noteModel.width - 2 * conf.wrapPadding, conf.noteFont());\n }\n\n logger.debug(\"NM:[\".concat(noteModel.startx, \",\").concat(noteModel.stopx, \",\").concat(noteModel.starty, \",\").concat(noteModel.stopy, \":\").concat(noteModel.width, \",\").concat(noteModel.height, \"=\").concat(msg.message, \"]\"));\n return noteModel;\n};\n\nvar buildMessageModel = function buildMessageModel(msg, actors) {\n var process = false;\n\n if ([parser.yy.LINETYPE.SOLID_OPEN, parser.yy.LINETYPE.DOTTED_OPEN, parser.yy.LINETYPE.SOLID, parser.yy.LINETYPE.DOTTED, parser.yy.LINETYPE.SOLID_CROSS, parser.yy.LINETYPE.DOTTED_CROSS].includes(msg.type)) {\n process = true;\n }\n\n if (!process) {\n return {};\n }\n\n var fromBounds = activationBounds(msg.from, actors);\n var toBounds = activationBounds(msg.to, actors);\n var fromIdx = fromBounds[0] <= toBounds[0] ? 1 : 0;\n var toIdx = fromBounds[0] < toBounds[0] ? 0 : 1;\n var allBounds = fromBounds.concat(toBounds);\n var boundedWidth = Math.abs(toBounds[toIdx] - fromBounds[fromIdx]);\n var msgDims = utils.calculateTextDimensions(msg.message, conf.messageFont());\n\n if (msg.wrap && msg.message) {\n msg.message = utils.wrapLabel(msg.message, Math.max(boundedWidth + 2 * conf.wrapPadding, conf.width), conf.messageFont());\n }\n\n return {\n width: Math.max(msg.wrap ? 0 : msgDims.width + 2 * conf.wrapPadding, boundedWidth + 2 * conf.wrapPadding, conf.width),\n height: 0,\n startx: fromBounds[fromIdx],\n stopx: toBounds[toIdx],\n starty: 0,\n stopy: 0,\n message: msg.message,\n type: msg.type,\n wrap: msg.wrap,\n fromBounds: Math.min.apply(null, allBounds),\n toBounds: Math.max.apply(null, allBounds)\n };\n};\n\nvar calculateLoopBounds = function calculateLoopBounds(messages, actors) {\n var loops = {};\n var stack = [];\n var current, noteModel, msgModel;\n messages.forEach(function (msg) {\n msg.id = utils.random({\n length: 10\n });\n\n switch (msg.type) {\n case parser.yy.LINETYPE.LOOP_START:\n case parser.yy.LINETYPE.ALT_START:\n case parser.yy.LINETYPE.OPT_START:\n case parser.yy.LINETYPE.PAR_START:\n stack.push({\n id: msg.id,\n msg: msg.message,\n from: Number.MAX_SAFE_INTEGER,\n to: Number.MIN_SAFE_INTEGER,\n width: 0\n });\n break;\n\n case parser.yy.LINETYPE.ALT_ELSE:\n case parser.yy.LINETYPE.PAR_AND:\n if (msg.message) {\n current = stack.pop();\n loops[current.id] = current;\n loops[msg.id] = current;\n stack.push(current);\n }\n\n break;\n\n case parser.yy.LINETYPE.LOOP_END:\n case parser.yy.LINETYPE.ALT_END:\n case parser.yy.LINETYPE.OPT_END:\n case parser.yy.LINETYPE.PAR_END:\n current = stack.pop();\n loops[current.id] = current;\n break;\n\n case parser.yy.LINETYPE.ACTIVE_START:\n {\n var actorRect = actors[msg.from ? msg.from.actor : msg.to.actor];\n var stackedSize = actorActivations(msg.from ? msg.from.actor : msg.to.actor).length;\n var x = actorRect.x + actorRect.width / 2 + (stackedSize - 1) * conf.activationWidth / 2;\n var toAdd = {\n startx: x,\n stopx: x + conf.activationWidth,\n actor: msg.from.actor,\n enabled: true\n };\n bounds.activations.push(toAdd);\n }\n break;\n\n case parser.yy.LINETYPE.ACTIVE_END:\n {\n var lastActorActivationIdx = bounds.activations.map(function (a) {\n return a.actor;\n }).lastIndexOf(msg.from.actor);\n delete bounds.activations.splice(lastActorActivationIdx, 1)[0];\n }\n break;\n }\n\n var isNote = msg.placement !== undefined;\n\n if (isNote) {\n noteModel = buildNoteModel(msg, actors);\n msg.noteModel = noteModel;\n stack.forEach(function (stk) {\n current = stk;\n current.from = Math.min(current.from, noteModel.startx);\n current.to = Math.max(current.to, noteModel.startx + noteModel.width);\n current.width = Math.max(current.width, Math.abs(current.from - current.to)) - conf.labelBoxWidth;\n });\n } else {\n msgModel = buildMessageModel(msg, actors);\n msg.msgModel = msgModel;\n\n if (msgModel.startx && msgModel.stopx && stack.length > 0) {\n stack.forEach(function (stk) {\n current = stk;\n\n if (msgModel.startx === msgModel.stopx) {\n var from = actors[msg.from];\n var to = actors[msg.to];\n current.from = Math.min(from.x - msgModel.width / 2, from.x - from.width / 2, current.from);\n current.to = Math.max(to.x + msgModel.width / 2, to.x + from.width / 2, current.to);\n current.width = Math.max(current.width, Math.abs(current.to - current.from)) - conf.labelBoxWidth;\n } else {\n current.from = Math.min(msgModel.startx, current.from);\n current.to = Math.max(msgModel.stopx, current.to);\n current.width = Math.max(current.width, msgModel.width) - conf.labelBoxWidth;\n }\n });\n }\n }\n });\n bounds.activations = [];\n logger.debug('Loop type widths:', loops);\n return loops;\n};\n\nexport default {\n bounds: bounds,\n drawActors: drawActors,\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttDb.js", "name": "./src/diagrams/gantt/ganttDb.js", "index": 32, "index2": 30, "size": 16304, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./ganttDb", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "./ganttDb", "loc": "5:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/ganttDb", "loc": "30:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttDb", "loc": "99:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "module": "./src/diagrams/gantt/ganttRenderer.js", "moduleName": "./src/diagrams/gantt/ganttRenderer.js", "type": "harmony import specifier", "userRequest": "./ganttDb", "loc": "331:22-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttDb", "loc": "419:20-27" } ], "usedExports": [ "default" ], "providedExports": [ "clear", "setAxisFormat", "getAxisFormat", "setTodayMarker", "getTodayMarker", "setDateFormat", "enableInclusiveEndDates", "endDatesAreInclusive", "getDateFormat", "setExcludes", "getExcludes", "setTitle", "getTitle", "addSection", "getSections", "getTasks", "addTask", "findTaskById", "addTaskOrg", "setLink", "setClass", "setClickEvent", "bindFunctions", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nimport moment from 'moment-mini';\nimport { sanitizeUrl } from '@braintree/sanitize-url';\nimport { logger } from '../../logger';\nimport { getConfig } from '../../config';\nimport utils from '../../utils';\nvar dateFormat = '';\nvar axisFormat = '';\nvar todayMarker = '';\nvar excludes = [];\nvar title = '';\nvar sections = [];\nvar tasks = [];\nvar currentSection = '';\nvar tags = ['active', 'done', 'crit', 'milestone'];\nvar funs = [];\nvar inclusiveEndDates = false; // The serial order of the task in the script\n\nvar lastOrder = 0;\nexport var clear = function clear() {\n sections = [];\n tasks = [];\n currentSection = '';\n funs = [];\n title = '';\n taskCnt = 0;\n lastTask = undefined;\n lastTaskID = undefined;\n rawTasks = [];\n dateFormat = '';\n axisFormat = '';\n todayMarker = '';\n excludes = [];\n inclusiveEndDates = false;\n lastOrder = 0;\n};\nexport var setAxisFormat = function setAxisFormat(txt) {\n axisFormat = txt;\n};\nexport var getAxisFormat = function getAxisFormat() {\n return axisFormat;\n};\nexport var setTodayMarker = function setTodayMarker(txt) {\n todayMarker = txt;\n};\nexport var getTodayMarker = function getTodayMarker() {\n return todayMarker;\n};\nexport var setDateFormat = function setDateFormat(txt) {\n dateFormat = txt;\n};\nexport var enableInclusiveEndDates = function enableInclusiveEndDates() {\n inclusiveEndDates = true;\n};\nexport var endDatesAreInclusive = function endDatesAreInclusive() {\n return inclusiveEndDates;\n};\nexport var getDateFormat = function getDateFormat() {\n return dateFormat;\n};\nexport var setExcludes = function setExcludes(txt) {\n excludes = txt.toLowerCase().split(/[\\s,]+/);\n};\nexport var getExcludes = function getExcludes() {\n return excludes;\n};\nexport var setTitle = function setTitle(txt) {\n title = txt;\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var addSection = function addSection(txt) {\n currentSection = txt;\n sections.push(txt);\n};\nexport var getSections = function getSections() {\n return sections;\n};\nexport var getTasks = function getTasks() {\n var allItemsPricessed = compileTasks();\n var maxDepth = 10;\n var iterationCount = 0;\n\n while (!allItemsPricessed && iterationCount < maxDepth) {\n allItemsPricessed = compileTasks();\n iterationCount++;\n }\n\n tasks = rawTasks;\n return tasks;\n};\n\nvar isInvalidDate = function isInvalidDate(date, dateFormat, excludes) {\n if (date.isoWeekday() >= 6 && excludes.indexOf('weekends') >= 0) {\n return true;\n }\n\n if (excludes.indexOf(date.format('dddd').toLowerCase()) >= 0) {\n return true;\n }\n\n return excludes.indexOf(date.format(dateFormat.trim())) >= 0;\n};\n\nvar checkTaskDates = function checkTaskDates(task, dateFormat, excludes) {\n if (!excludes.length || task.manualEndTime) return;\n var startTime = moment(task.startTime, dateFormat, true);\n startTime.add(1, 'd');\n var endTime = moment(task.endTime, dateFormat, true);\n var renderEndTime = fixTaskDates(startTime, endTime, dateFormat, excludes);\n task.endTime = endTime.toDate();\n task.renderEndTime = renderEndTime;\n};\n\nvar fixTaskDates = function fixTaskDates(startTime, endTime, dateFormat, excludes) {\n var invalid = false;\n var renderEndTime = null;\n\n while (startTime <= endTime) {\n if (!invalid) {\n renderEndTime = endTime.toDate();\n }\n\n invalid = isInvalidDate(startTime, dateFormat, excludes);\n\n if (invalid) {\n endTime.add(1, 'd');\n }\n\n startTime.add(1, 'd');\n }\n\n return renderEndTime;\n};\n\nvar getStartDate = function getStartDate(prevTime, dateFormat, str) {\n str = str.trim(); // Test for after\n\n var re = /^after\\s+([\\d\\w- ]+)/;\n var afterStatement = re.exec(str.trim());\n\n if (afterStatement !== null) {\n // check all after ids and take the latest\n var latestEndingTask = null;\n afterStatement[1].split(' ').forEach(function (id) {\n var task = findTaskById(id);\n\n if (typeof task !== 'undefined') {\n if (!latestEndingTask) {\n latestEndingTask = task;\n } else {\n if (task.endTime > latestEndingTask.endTime) {\n latestEndingTask = task;\n }\n }\n }\n });\n\n if (!latestEndingTask) {\n var dt = new Date();\n dt.setHours(0, 0, 0, 0);\n return dt;\n } else {\n return latestEndingTask.endTime;\n }\n } // Check for actual date set\n\n\n var mDate = moment(str, dateFormat.trim(), true);\n\n if (mDate.isValid()) {\n return mDate.toDate();\n } else {\n logger.debug('Invalid date:' + str);\n logger.debug('With date format:' + dateFormat.trim());\n } // Default date - now\n\n\n return new Date();\n};\n\nvar durationToDate = function durationToDate(durationStatement, relativeTime) {\n if (durationStatement !== null) {\n switch (durationStatement[2]) {\n case 's':\n relativeTime.add(durationStatement[1], 'seconds');\n break;\n\n case 'm':\n relativeTime.add(durationStatement[1], 'minutes');\n break;\n\n case 'h':\n relativeTime.add(durationStatement[1], 'hours');\n break;\n\n case 'd':\n relativeTime.add(durationStatement[1], 'days');\n break;\n\n case 'w':\n relativeTime.add(durationStatement[1], 'weeks');\n break;\n }\n } // Default date - now\n\n\n return relativeTime.toDate();\n};\n\nvar getEndDate = function getEndDate(prevTime, dateFormat, str, inclusive) {\n inclusive = inclusive || false;\n str = str.trim(); // Check for actual date\n\n var mDate = moment(str, dateFormat.trim(), true);\n\n if (mDate.isValid()) {\n if (inclusive) {\n mDate.add(1, 'd');\n }\n\n return mDate.toDate();\n }\n\n return durationToDate(/^([\\d]+)([wdhms])/.exec(str.trim()), moment(prevTime));\n};\n\nvar taskCnt = 0;\n\nvar parseId = function parseId(idStr) {\n if (typeof idStr === 'undefined') {\n taskCnt = taskCnt + 1;\n return 'task' + taskCnt;\n }\n\n return idStr;\n}; // id, startDate, endDate\n// id, startDate, length\n// id, after x, endDate\n// id, after x, length\n// startDate, endDate\n// startDate, length\n// after x, endDate\n// after x, length\n// endDate\n// length\n\n\nvar compileData = function compileData(prevTask, dataStr) {\n var ds;\n\n if (dataStr.substr(0, 1) === ':') {\n ds = dataStr.substr(1, dataStr.length);\n } else {\n ds = dataStr;\n }\n\n var data = ds.split(',');\n var task = {}; // Get tags like active, done, crit and milestone\n\n getTaskTags(data, task, tags);\n\n for (var i = 0; i < data.length; i++) {\n data[i] = data[i].trim();\n }\n\n var endTimeData = '';\n\n switch (data.length) {\n case 1:\n task.id = parseId();\n task.startTime = prevTask.endTime;\n endTimeData = data[0];\n break;\n\n case 2:\n task.id = parseId();\n task.startTime = getStartDate(undefined, dateFormat, data[0]);\n endTimeData = data[1];\n break;\n\n case 3:\n task.id = parseId(data[0]);\n task.startTime = getStartDate(undefined, dateFormat, data[1]);\n endTimeData = data[2];\n break;\n\n default:\n }\n\n if (endTimeData) {\n task.endTime = getEndDate(task.startTime, dateFormat, endTimeData, inclusiveEndDates);\n task.manualEndTime = moment(endTimeData, 'YYYY-MM-DD', true).isValid();\n checkTaskDates(task, dateFormat, excludes);\n }\n\n return task;\n};\n\nvar parseData = function parseData(prevTaskId, dataStr) {\n var ds;\n\n if (dataStr.substr(0, 1) === ':') {\n ds = dataStr.substr(1, dataStr.length);\n } else {\n ds = dataStr;\n }\n\n var data = ds.split(',');\n var task = {}; // Get tags like active, done, crit and milestone\n\n getTaskTags(data, task, tags);\n\n for (var i = 0; i < data.length; i++) {\n data[i] = data[i].trim();\n }\n\n switch (data.length) {\n case 1:\n task.id = parseId();\n task.startTime = {\n type: 'prevTaskEnd',\n id: prevTaskId\n };\n task.endTime = {\n data: data[0]\n };\n break;\n\n case 2:\n task.id = parseId();\n task.startTime = {\n type: 'getStartDate',\n startData: data[0]\n };\n task.endTime = {\n data: data[1]\n };\n break;\n\n case 3:\n task.id = parseId(data[0]);\n task.startTime = {\n type: 'getStartDate',\n startData: data[1]\n };\n task.endTime = {\n data: data[2]\n };\n break;\n\n default:\n }\n\n return task;\n};\n\nvar lastTask;\nvar lastTaskID;\nvar rawTasks = [];\nvar taskDb = {};\nexport var addTask = function addTask(descr, data) {\n var rawTask = {\n section: currentSection,\n type: currentSection,\n processed: false,\n manualEndTime: false,\n renderEndTime: null,\n raw: {\n data: data\n },\n task: descr,\n classes: []\n };\n var taskInfo = parseData(lastTaskID, data);\n rawTask.raw.startTime = taskInfo.startTime;\n rawTask.raw.endTime = taskInfo.endTime;\n rawTask.id = taskInfo.id;\n rawTask.prevTaskId = lastTaskID;\n rawTask.active = taskInfo.active;\n rawTask.done = taskInfo.done;\n rawTask.crit = taskInfo.crit;\n rawTask.milestone = taskInfo.milestone;\n rawTask.order = lastOrder;\n lastOrder++;\n var pos = rawTasks.push(rawTask);\n lastTaskID = rawTask.id; // Store cross ref\n\n taskDb[rawTask.id] = pos - 1;\n};\nexport var findTaskById = function findTaskById(id) {\n var pos = taskDb[id];\n return rawTasks[pos];\n};\nexport var addTaskOrg = function addTaskOrg(descr, data) {\n var newTask = {\n section: currentSection,\n type: currentSection,\n description: descr,\n task: descr,\n classes: []\n };\n var taskInfo = compileData(lastTask, data);\n newTask.startTime = taskInfo.startTime;\n newTask.endTime = taskInfo.endTime;\n newTask.id = taskInfo.id;\n newTask.active = taskInfo.active;\n newTask.done = taskInfo.done;\n newTask.crit = taskInfo.crit;\n newTask.milestone = taskInfo.milestone;\n lastTask = newTask;\n tasks.push(newTask);\n};\n\nvar compileTasks = function compileTasks() {\n var compileTask = function compileTask(pos) {\n var task = rawTasks[pos];\n var startTime = '';\n\n switch (rawTasks[pos].raw.startTime.type) {\n case 'prevTaskEnd':\n {\n var prevTask = findTaskById(task.prevTaskId);\n task.startTime = prevTask.endTime;\n break;\n }\n\n case 'getStartDate':\n startTime = getStartDate(undefined, dateFormat, rawTasks[pos].raw.startTime.startData);\n\n if (startTime) {\n rawTasks[pos].startTime = startTime;\n }\n\n break;\n }\n\n if (rawTasks[pos].startTime) {\n rawTasks[pos].endTime = getEndDate(rawTasks[pos].startTime, dateFormat, rawTasks[pos].raw.endTime.data, inclusiveEndDates);\n\n if (rawTasks[pos].endTime) {\n rawTasks[pos].processed = true;\n rawTasks[pos].manualEndTime = moment(rawTasks[pos].raw.endTime.data, 'YYYY-MM-DD', true).isValid();\n checkTaskDates(rawTasks[pos], dateFormat, excludes);\n }\n }\n\n return rawTasks[pos].processed;\n };\n\n var allProcessed = true;\n\n for (var i = 0; i < rawTasks.length; i++) {\n compileTask(i);\n allProcessed = allProcessed && rawTasks[i].processed;\n }\n\n return allProcessed;\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n */\n\n\nexport var setLink = function setLink(ids, _linkStr) {\n var linkStr = _linkStr;\n\n if (getConfig().securityLevel !== 'loose') {\n linkStr = sanitizeUrl(_linkStr);\n }\n\n ids.split(',').forEach(function (id) {\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n pushFun(id, function () {\n window.open(linkStr, '_self');\n });\n }\n });\n setClass(ids, 'clickable');\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setClass = function setClass(ids, className) {\n ids.split(',').forEach(function (id) {\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n rawTask.classes.push(className);\n }\n });\n};\n\nvar setClickFun = function setClickFun(id, functionName, functionArgs) {\n if (getConfig().securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n var argList = [];\n\n if (typeof functionArgs === 'string') {\n /* Splits functionArgs by ',', ignoring all ',' in double quoted strings */\n argList = functionArgs.split(/,(?=(?:(?:[^\"]*\"){2})*[^\"]*$)/);\n\n for (var i = 0; i < argList.length; i++) {\n var item = argList[i].trim();\n /* Removes all double quotes at the start and end of an argument */\n\n /* This preserves all starting and ending whitespace inside */\n\n if (item.charAt(0) === '\"' && item.charAt(item.length - 1) === '\"') {\n item = item.substr(1, item.length - 2);\n }\n\n argList[i] = item;\n }\n }\n /* if no arguments passed into callback, default to passing in id */\n\n\n if (argList.length === 0) {\n argList.push(id);\n }\n\n var rawTask = findTaskById(id);\n\n if (typeof rawTask !== 'undefined') {\n pushFun(id, function () {\n utils.runFunc.apply(utils, [functionName].concat(_toConsumableArray(argList)));\n });\n }\n};\n/**\n * The callbackFunction is executed in a click event bound to the task with the specified id or the task's assigned text\n * @param id The task's id\n * @param callbackFunction A function to be executed when clicked on the task or the task's text\n */\n\n\nvar pushFun = function pushFun(id, callbackFunction) {\n funs.push(function () {\n // const elem = d3.select(element).select(`[id=\"${id}\"]`)\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n callbackFunction();\n });\n }\n });\n funs.push(function () {\n // const elem = d3.select(element).select(`[id=\"${id}-text\"]`)\n var elem = document.querySelector(\"[id=\\\"\".concat(id, \"-text\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n callbackFunction();\n });\n }\n });\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param functionArgs Function args the function should be called with\n */\n\n\nexport var setClickEvent = function setClickEvent(ids, functionName, functionArgs) {\n ids.split(',').forEach(function (id) {\n setClickFun(id, functionName, functionArgs);\n });\n setClass(ids, 'clickable');\n};\n/**\n * Binds all functions previously added to fun (specified through click) to the element\n * @param element\n */\n\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport default {\n clear: clear,\n setDateFormat: setDateFormat,\n getDateFormat: getDateFormat,\n enableInclusiveEndDates: enableInclusiveEndDates,\n endDatesAreInclusive: endDatesAreInclusive,\n setAxisFormat: setAxisFormat,\n getAxisFormat: getAxisFormat,\n setTodayMarker: setTodayMarker,\n getTodayMarker: getTodayMarker,\n setTitle: setTitle,\n getTitle: getTitle,\n addSection: addSection,\n getSections: getSections,\n getTasks: getTasks,\n addTask: addTask,\n findTaskById: findTaskById,\n addTaskOrg: addTaskOrg,\n setExcludes: setExcludes,\n getExcludes: getExcludes,\n setClickEvent: setClickEvent,\n setLink: setLink,\n bindFunctions: bindFunctions,\n durationToDate: durationToDate\n};\n\nfunction getTaskTags(data, task, tags) {\n var matchFound = true;\n\n while (matchFound) {\n matchFound = false;\n tags.forEach(function (t) {\n var pattern = '^\\\\s*' + t + '\\\\s*$';\n var regex = new RegExp(pattern);\n\n if (data[0].match(regex)) {\n task[t] = true;\n data.shift(1);\n matchFound = true;\n }\n });\n }\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/gantt/ganttRenderer.js", "name": "./src/diagrams/gantt/ganttRenderer.js", "index": 71, "index2": 69, "size": 12233, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "28:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "340:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "341:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/gantt/ganttRenderer", "loc": "531:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select, scaleTime, min, max, scaleLinear, interpolateHcl, axisBottom, timeFormat } from 'd3';\nimport { parser } from './parser/gantt';\nimport common from '../common/common';\nimport ganttDb from './ganttDb';\nparser.yy = ganttDb;\nvar conf = {\n titleTopMargin: 25,\n barHeight: 20,\n barGap: 4,\n topPadding: 50,\n rightPadding: 75,\n leftPadding: 75,\n gridLineStartPadding: 35,\n fontSize: 11,\n fontFamily: '\"Open-Sans\", \"sans-serif\"'\n};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\nvar w;\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.parse(text);\n var elem = document.getElementById(id);\n w = elem.parentElement.offsetWidth;\n\n if (typeof w === 'undefined') {\n w = 1200;\n }\n\n if (typeof conf.useWidth !== 'undefined') {\n w = conf.useWidth;\n }\n\n var taskArray = parser.yy.getTasks(); // Set height based on number of tasks\n\n var h = taskArray.length * (conf.barHeight + conf.barGap) + 2 * conf.topPadding;\n elem.setAttribute('height', '100%'); // Set viewBox\n\n elem.setAttribute('viewBox', '0 0 ' + w + ' ' + h);\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Set timescale\n\n var timeScale = scaleTime().domain([min(taskArray, function (d) {\n return d.startTime;\n }), max(taskArray, function (d) {\n return d.endTime;\n })]).rangeRound([0, w - conf.leftPadding - conf.rightPadding]);\n var categories = [];\n\n for (var i = 0; i < taskArray.length; i++) {\n categories.push(taskArray[i].type);\n }\n\n var catsUnfiltered = categories; // for vert labels\n\n categories = checkUnique(categories);\n\n function taskCompare(a, b) {\n var taskA = a.startTime;\n var taskB = b.startTime;\n var result = 0;\n\n if (taskA > taskB) {\n result = 1;\n } else if (taskA < taskB) {\n result = -1;\n }\n\n return result;\n } // Sort the task array using the above taskCompare() so that\n // tasks are created based on their order of startTime\n\n\n taskArray.sort(taskCompare);\n makeGant(taskArray, w, h);\n\n if (typeof conf.useWidth !== 'undefined') {\n elem.setAttribute('width', w);\n }\n\n svg.append('text').text(parser.yy.getTitle()).attr('x', w / 2).attr('y', conf.titleTopMargin).attr('class', 'titleText');\n\n function makeGant(tasks, pageWidth, pageHeight) {\n var barHeight = conf.barHeight;\n var gap = barHeight + conf.barGap;\n var topPadding = conf.topPadding;\n var leftPadding = conf.leftPadding;\n var colorScale = scaleLinear().domain([0, categories.length]).range(['#00B9FA', '#F95002']).interpolate(interpolateHcl);\n makeGrid(leftPadding, topPadding, pageWidth, pageHeight);\n drawRects(tasks, gap, topPadding, leftPadding, barHeight, colorScale, pageWidth, pageHeight);\n vertLabels(gap, topPadding, leftPadding, barHeight, colorScale);\n drawToday(leftPadding, topPadding, pageWidth, pageHeight);\n }\n\n function drawRects(theArray, theGap, theTopPad, theSidePad, theBarHeight, theColorScale, w) {\n // Draw background rects covering the entire width of the graph, these form the section rows.\n svg.append('g').selectAll('rect').data(theArray).enter().append('rect').attr('x', 0).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + theTopPad - 2;\n }).attr('width', function () {\n return w - conf.rightPadding / 2;\n }).attr('height', theGap).attr('class', function (d) {\n for (var _i = 0; _i < categories.length; _i++) {\n if (d.type === categories[_i]) {\n return 'section section' + _i % conf.numberSectionStyles;\n }\n }\n\n return 'section section0';\n }); // Draw the rects representing the tasks\n\n var rectangles = svg.append('g').selectAll('rect').data(theArray).enter();\n rectangles.append('rect').attr('id', function (d) {\n return d.id;\n }).attr('rx', 3).attr('ry', 3).attr('x', function (d) {\n if (d.milestone) {\n return timeScale(d.startTime) + theSidePad + 0.5 * (timeScale(d.endTime) - timeScale(d.startTime)) - 0.5 * theBarHeight;\n }\n\n return timeScale(d.startTime) + theSidePad;\n }).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + theTopPad;\n }).attr('width', function (d) {\n if (d.milestone) {\n return theBarHeight;\n }\n\n return timeScale(d.renderEndTime || d.endTime) - timeScale(d.startTime);\n }).attr('height', theBarHeight).attr('transform-origin', function (d, i) {\n return (timeScale(d.startTime) + theSidePad + 0.5 * (timeScale(d.endTime) - timeScale(d.startTime))).toString() + 'px ' + (i * theGap + theTopPad + 0.5 * theBarHeight).toString() + 'px';\n }).attr('class', function (d) {\n var res = 'task';\n var classStr = '';\n\n if (d.classes.length > 0) {\n classStr = d.classes.join(' ');\n }\n\n var secNum = 0;\n\n for (var _i2 = 0; _i2 < categories.length; _i2++) {\n if (d.type === categories[_i2]) {\n secNum = _i2 % conf.numberSectionStyles;\n }\n }\n\n var taskClass = '';\n\n if (d.active) {\n if (d.crit) {\n taskClass += ' activeCrit';\n } else {\n taskClass = ' active';\n }\n } else if (d.done) {\n if (d.crit) {\n taskClass = ' doneCrit';\n } else {\n taskClass = ' done';\n }\n } else {\n if (d.crit) {\n taskClass += ' crit';\n }\n }\n\n if (taskClass.length === 0) {\n taskClass = ' task';\n }\n\n if (d.milestone) {\n taskClass = ' milestone ' + taskClass;\n }\n\n taskClass += secNum;\n taskClass += ' ' + classStr;\n return res + taskClass;\n }); // Append task labels\n\n rectangles.append('text').attr('id', function (d) {\n return d.id + '-text';\n }).text(function (d) {\n return d.task;\n }).attr('font-size', conf.fontSize).attr('x', function (d) {\n var startX = timeScale(d.startTime);\n var endX = timeScale(d.renderEndTime || d.endTime);\n\n if (d.milestone) {\n startX += 0.5 * (timeScale(d.endTime) - timeScale(d.startTime)) - 0.5 * theBarHeight;\n }\n\n if (d.milestone) {\n endX = startX + theBarHeight;\n }\n\n var textWidth = this.getBBox().width; // Check id text width > width of rectangle\n\n if (textWidth > endX - startX) {\n if (endX + textWidth + 1.5 * conf.leftPadding > w) {\n return startX + theSidePad - 5;\n } else {\n return endX + theSidePad + 5;\n }\n } else {\n return (endX - startX) / 2 + startX + theSidePad;\n }\n }).attr('y', function (d, i) {\n // Ignore the incoming i value and use our order instead\n i = d.order;\n return i * theGap + conf.barHeight / 2 + (conf.fontSize / 2 - 2) + theTopPad;\n }).attr('text-height', theBarHeight).attr('class', function (d) {\n var startX = timeScale(d.startTime);\n var endX = timeScale(d.endTime);\n\n if (d.milestone) {\n endX = startX + theBarHeight;\n }\n\n var textWidth = this.getBBox().width;\n var classStr = '';\n\n if (d.classes.length > 0) {\n classStr = d.classes.join(' ');\n }\n\n var secNum = 0;\n console.log(conf);\n\n for (var _i3 = 0; _i3 < categories.length; _i3++) {\n if (d.type === categories[_i3]) {\n secNum = _i3 % conf.numberSectionStyles;\n }\n }\n\n var taskType = '';\n\n if (d.active) {\n if (d.crit) {\n taskType = 'activeCritText' + secNum;\n } else {\n taskType = 'activeText' + secNum;\n }\n }\n\n if (d.done) {\n if (d.crit) {\n taskType = taskType + ' doneCritText' + secNum;\n } else {\n taskType = taskType + ' doneText' + secNum;\n }\n } else {\n if (d.crit) {\n taskType = taskType + ' critText' + secNum;\n }\n }\n\n if (d.milestone) {\n taskType += ' milestoneText';\n } // Check id text width > width of rectangle\n\n\n if (textWidth > endX - startX) {\n if (endX + textWidth + 1.5 * conf.leftPadding > w) {\n return classStr + ' taskTextOutsideLeft taskTextOutside' + secNum + ' ' + taskType;\n } else {\n return classStr + ' taskTextOutsideRight taskTextOutside' + secNum + ' ' + taskType + ' width-' + textWidth;\n }\n } else {\n return classStr + ' taskText taskText' + secNum + ' ' + taskType + ' width-' + textWidth;\n }\n });\n }\n\n function makeGrid(theSidePad, theTopPad, w, h) {\n var xAxis = axisBottom(timeScale).tickSize(-h + theTopPad + conf.gridLineStartPadding).tickFormat(timeFormat(parser.yy.getAxisFormat() || conf.axisFormat || '%Y-%m-%d'));\n svg.append('g').attr('class', 'grid').attr('transform', 'translate(' + theSidePad + ', ' + (h - 50) + ')').call(xAxis).selectAll('text').style('text-anchor', 'middle').attr('fill', '#000').attr('stroke', 'none').attr('font-size', 10).attr('dy', '1em');\n }\n\n function vertLabels(theGap, theTopPad) {\n var numOccurances = [];\n var prevGap = 0;\n\n for (var _i4 = 0; _i4 < categories.length; _i4++) {\n numOccurances[_i4] = [categories[_i4], getCount(categories[_i4], catsUnfiltered)];\n }\n\n svg.append('g') // without doing this, impossible to put grid lines behind text\n .selectAll('text').data(numOccurances).enter().append(function (d) {\n var rows = d[0].split(common.lineBreakRegex);\n var dy = -(rows.length - 1) / 2;\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('dy', dy + 'em');\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttribute('alignment-baseline', 'central');\n tspan.setAttribute('x', '10');\n if (j > 0) tspan.setAttribute('dy', '1em');\n tspan.textContent = rows[j];\n svgLabel.appendChild(tspan);\n }\n\n return svgLabel;\n }).attr('x', 10).attr('y', function (d, i) {\n if (i > 0) {\n for (var j = 0; j < i; j++) {\n prevGap += numOccurances[i - 1][1];\n return d[1] * theGap / 2 + prevGap * theGap + theTopPad;\n }\n } else {\n return d[1] * theGap / 2 + theTopPad;\n }\n }).attr('class', function (d) {\n for (var _i5 = 0; _i5 < categories.length; _i5++) {\n if (d[0] === categories[_i5]) {\n return 'sectionTitle sectionTitle' + _i5 % conf.numberSectionStyles;\n }\n }\n\n return 'sectionTitle';\n });\n }\n\n function drawToday(theSidePad, theTopPad, w, h) {\n var todayMarker = ganttDb.getTodayMarker();\n\n if (todayMarker === 'off') {\n return;\n }\n\n var todayG = svg.append('g').attr('class', 'today');\n var today = new Date();\n var todayLine = todayG.append('line');\n todayLine.attr('x1', timeScale(today) + theSidePad).attr('x2', timeScale(today) + theSidePad).attr('y1', conf.titleTopMargin).attr('y2', h - conf.titleTopMargin).attr('class', 'today');\n\n if (todayMarker !== '') {\n todayLine.attr('style', todayMarker.replace(/,/g, ';'));\n }\n } // from this stackexchange question: http://stackoverflow.com/questions/1890203/unique-for-arrays-in-javascript\n\n\n function checkUnique(arr) {\n var hash = {};\n var result = [];\n\n for (var _i6 = 0, l = arr.length; _i6 < l; ++_i6) {\n if (!hash.hasOwnProperty(arr[_i6])) {\n // eslint-disable-line\n // it works with objects! in FF, at least\n hash[arr[_i6]] = true;\n result.push(arr[_i6]);\n }\n }\n\n return result;\n } // from this stackexchange question: http://stackoverflow.com/questions/14227981/count-how-many-strings-in-an-array-have-duplicates-in-the-same-array\n\n\n function getCounts(arr) {\n var i = arr.length; // const to loop over\n\n var obj = {}; // obj to store results\n\n while (i) {\n obj[arr[--i]] = (obj[arr[i]] || 0) + 1; // count occurrences\n }\n\n return obj;\n } // get specific from everything\n\n\n function getCount(word, arr) {\n return getCounts(arr)[word] || 0;\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classDb.js", "name": "./src/diagrams/class/classDb.js", "index": 34, "index2": 32, "size": 8112, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony side effect evaluation", "userRequest": "./classDb", "loc": "2:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./classDb", "loc": "5:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "8:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "9:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "12:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "15:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "18:11-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/classDb", "loc": "33:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "77:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "91:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "102:19-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classDb", "loc": "104:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "module": "./src/diagrams/class/svgDraw.js", "moduleName": "./src/diagrams/class/svgDraw.js", "type": "harmony import specifier", "userRequest": "./classDb", "loc": "115:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classDb", "loc": "423:20-27" } ], "usedExports": [ "default", "lookUpDomId", "relationType" ], "providedExports": [ "addClass", "lookUpDomId", "clear", "getClass", "getClasses", "getRelations", "addRelation", "addAnnotation", "addMember", "addMembers", "cleanupLabel", "setCssClass", "setLink", "setClickEvent", "bindFunctions", "lineType", "relationType", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport { logger } from '../../logger';\nimport { getConfig } from '../../config';\nimport common from '../common/common';\nimport utils from '../../utils';\nvar MERMAID_DOM_ID_PREFIX = 'classid-';\nvar config = getConfig();\nvar relations = [];\nvar classes = {};\nvar classCounter = 0;\nvar funs = [];\n\nvar splitClassNameAndType = function splitClassNameAndType(id) {\n var genericType = '';\n var className = id;\n\n if (id.indexOf('~') > 0) {\n var split = id.split('~');\n className = split[0];\n genericType = split[1];\n }\n\n return {\n className: className,\n type: genericType\n };\n};\n/**\n * Function called by parser when a node definition has been found.\n * @param id\n * @public\n */\n\n\nexport var addClass = function addClass(id) {\n var classId = splitClassNameAndType(id); // Only add class if not exists\n\n if (typeof classes[classId.className] !== 'undefined') return;\n classes[classId.className] = {\n id: classId.className,\n type: classId.type,\n cssClasses: [],\n methods: [],\n members: [],\n annotations: [],\n domId: MERMAID_DOM_ID_PREFIX + classId.className + '-' + classCounter\n };\n classCounter++;\n};\n/**\n * Function to lookup domId from id in the graph definition.\n * @param id\n * @public\n */\n\nexport var lookUpDomId = function lookUpDomId(id) {\n var classKeys = Object.keys(classes);\n\n for (var i = 0; i < classKeys.length; i++) {\n if (classes[classKeys[i]].id === id) {\n return classes[classKeys[i]].domId;\n }\n }\n};\nexport var clear = function clear() {\n relations = [];\n classes = {};\n funs = [];\n funs.push(setupToolTips);\n};\nexport var getClass = function getClass(id) {\n return classes[id];\n};\nexport var getClasses = function getClasses() {\n return classes;\n};\nexport var getRelations = function getRelations() {\n return relations;\n};\nexport var addRelation = function addRelation(relation) {\n logger.debug('Adding relation: ' + JSON.stringify(relation));\n addClass(relation.id1);\n addClass(relation.id2);\n relation.id1 = splitClassNameAndType(relation.id1).className;\n relation.id2 = splitClassNameAndType(relation.id2).className;\n relations.push(relation);\n};\n/**\n * Adds an annotation to the specified class\n * Annotations mark special properties of the given type (like 'interface' or 'service')\n * @param className The class name\n * @param annotation The name of the annotation without any brackets\n * @public\n */\n\nexport var addAnnotation = function addAnnotation(className, annotation) {\n var validatedClassName = splitClassNameAndType(className).className;\n classes[validatedClassName].annotations.push(annotation);\n};\n/**\n * Adds a member to the specified class\n * @param className The class name\n * @param member The full name of the member.\n * If the member is enclosed in <> it is treated as an annotation\n * If the member is ending with a closing bracket ) it is treated as a method\n * Otherwise the member will be treated as a normal property\n * @public\n */\n\nexport var addMember = function addMember(className, member) {\n var validatedClassName = splitClassNameAndType(className).className;\n var theClass = classes[validatedClassName];\n\n if (typeof member === 'string') {\n // Member can contain white spaces, we trim them out\n var memberString = member.trim();\n\n if (memberString.startsWith('<<') && memberString.endsWith('>>')) {\n // Remove leading and trailing brackets\n theClass.annotations.push(memberString.substring(2, memberString.length - 2));\n } else if (memberString.indexOf(')') > 0) {\n theClass.methods.push(memberString);\n } else if (memberString) {\n theClass.members.push(memberString);\n }\n }\n};\nexport var addMembers = function addMembers(className, members) {\n if (Array.isArray(members)) {\n members.reverse();\n members.forEach(function (member) {\n return addMember(className, member);\n });\n }\n};\nexport var cleanupLabel = function cleanupLabel(label) {\n if (label.substring(0, 1) === ':') {\n return label.substr(1).trim();\n } else {\n return label.trim();\n }\n};\n/**\n * Called by parser when a special node is found, e.g. a clickable element.\n * @param ids Comma separated list of ids\n * @param className Class to add\n */\n\nexport var setCssClass = function setCssClass(ids, className) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof classes[id] !== 'undefined') {\n classes[id].cssClasses.push(className);\n }\n });\n};\n/**\n * Called by parser when a link is found. Adds the URL to the vertex data.\n * @param ids Comma separated list of ids\n * @param linkStr URL to create a link for\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setLink = function setLink(ids, linkStr, tooltip) {\n ids.split(',').forEach(function (_id) {\n var id = _id;\n if (_id[0].match(/\\d/)) id = MERMAID_DOM_ID_PREFIX + id;\n\n if (typeof classes[id] !== 'undefined') {\n classes[id].link = utils.formatUrl(linkStr, config);\n\n if (tooltip) {\n classes[id].tooltip = common.sanitizeText(tooltip, config);\n }\n }\n });\n setCssClass(ids, 'clickable');\n};\n/**\n * Called by parser when a click definition is found. Registers an event handler.\n * @param ids Comma separated list of ids\n * @param functionName Function to be called on click\n * @param tooltip Tooltip for the clickable element\n */\n\nexport var setClickEvent = function setClickEvent(ids, functionName, tooltip) {\n ids.split(',').forEach(function (id) {\n setClickFunc(id, functionName, tooltip);\n });\n setCssClass(ids, 'clickable');\n};\n\nvar setClickFunc = function setClickFunc(domId, functionName, tooltip) {\n var id = domId;\n var elemId = lookUpDomId(id);\n\n if (config.securityLevel !== 'loose') {\n return;\n }\n\n if (typeof functionName === 'undefined') {\n return;\n }\n\n if (typeof classes[id] !== 'undefined') {\n if (tooltip) {\n classes[id].tooltip = common.sanitizeText(tooltip, config);\n }\n\n funs.push(function () {\n var elem = document.querySelector(\"[id=\\\"\".concat(elemId, \"\\\"]\"));\n\n if (elem !== null) {\n elem.addEventListener('click', function () {\n utils.runFunc(functionName, elemId);\n }, false);\n }\n });\n }\n};\n\nexport var bindFunctions = function bindFunctions(element) {\n funs.forEach(function (fun) {\n fun(element);\n });\n};\nexport var lineType = {\n LINE: 0,\n DOTTED_LINE: 1\n};\nexport var relationType = {\n AGGREGATION: 0,\n EXTENSION: 1,\n COMPOSITION: 2,\n DEPENDENCY: 3\n};\n\nvar setupToolTips = function setupToolTips(element) {\n var tooltipElem = select('.mermaidTooltip');\n\n if ((tooltipElem._groups || tooltipElem)[0][0] === null) {\n tooltipElem = select('body').append('div').attr('class', 'mermaidTooltip').style('opacity', 0);\n }\n\n var svg = select(element).select('svg');\n var nodes = svg.selectAll('g.node');\n nodes.on('mouseover', function () {\n var el = select(this);\n var title = el.attr('title'); // Dont try to draw a tooltip if no data is provided\n\n if (title === null) {\n return;\n }\n\n var rect = this.getBoundingClientRect();\n tooltipElem.transition().duration(200).style('opacity', '.9');\n tooltipElem.html(el.attr('title')).style('left', window.scrollX + rect.left + (rect.right - rect.left) / 2 + 'px').style('top', window.scrollY + rect.top - 14 + document.body.scrollTop + 'px');\n el.classed('hover', true);\n }).on('mouseout', function () {\n tooltipElem.transition().duration(500).style('opacity', 0);\n var el = select(this);\n el.classed('hover', false);\n });\n};\n\nfuns.push(setupToolTips);\nexport default {\n addClass: addClass,\n bindFunctions: bindFunctions,\n clear: clear,\n getClass: getClass,\n getClasses: getClasses,\n addAnnotation: addAnnotation,\n getRelations: getRelations,\n addRelation: addRelation,\n addMember: addMember,\n addMembers: addMembers,\n cleanupLabel: cleanupLabel,\n lineType: lineType,\n relationType: relationType,\n setClickEvent: setClickEvent,\n setCssClass: setCssClass,\n setLink: setLink,\n lookUpDomId: lookUpDomId\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "index": 72, "index2": 71, "size": 5731, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/class/classRenderer", "loc": "31:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "346:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "347:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/class/classRenderer", "loc": "532:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport { logger } from '../../logger';\nimport classDb, { lookUpDomId } from './classDb';\nimport { parser } from './parser/classDiagram';\nimport svgDraw from './svgDraw';\nparser.yy = classDb;\nvar idCache = {};\nvar padding = 20;\nvar conf = {\n dividerMargin: 10,\n padding: 5,\n textHeight: 10\n}; // Todo optimize\n\nvar getGraphId = function getGraphId(label) {\n var keys = Object.keys(idCache);\n\n for (var i = 0; i < keys.length; i++) {\n if (idCache[keys[i]].label === label) {\n return keys[i];\n }\n }\n\n return undefined;\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\n\nvar insertMarkers = function insertMarkers(elem) {\n elem.append('defs').append('marker').attr('id', 'extensionStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 1,7 L18,13 V 1 Z');\n elem.append('defs').append('marker').attr('id', 'extensionEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 1,1 V 13 L18,7 Z'); // this is actual shape for arrowhead\n\n elem.append('defs').append('marker').attr('id', 'compositionStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'compositionEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'aggregationStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'aggregationEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'dependencyStart').attr('class', 'extension').attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 5,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', 'dependencyEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L14,7 L9,1 Z');\n};\n\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(text, id) {\n idCache = {};\n parser.yy.clear();\n parser.parse(text);\n logger.info('Rendering diagram ' + text); // Fetch the default direction, use TD if none was found\n\n var diagram = select(\"[id='\".concat(id, \"']\"));\n insertMarkers(diagram); // Layout graph, Create a new directed graph\n\n var g = new graphlib.Graph({\n multigraph: true\n }); // Set an object for the graph label\n\n g.setGraph({\n isMultiGraph: true\n }); // Default to assigning a new object as a label for each new edge.\n\n g.setDefaultEdgeLabel(function () {\n return {};\n });\n var classes = classDb.getClasses();\n var keys = Object.keys(classes);\n\n for (var i = 0; i < keys.length; i++) {\n var classDef = classes[keys[i]];\n var node = svgDraw.drawClass(diagram, classDef, conf);\n idCache[node.id] = node; // Add nodes to the graph. The first argument is the node id. The second is\n // metadata about the node. In this case we're going to add labels to each of\n // our nodes.\n\n g.setNode(node.id, node);\n logger.info('Org height: ' + node.height);\n }\n\n var relations = classDb.getRelations();\n relations.forEach(function (relation) {\n logger.info('tjoho' + getGraphId(relation.id1) + getGraphId(relation.id2) + JSON.stringify(relation));\n g.setEdge(getGraphId(relation.id1), getGraphId(relation.id2), {\n relation: relation\n }, relation.title || 'DEFAULT');\n });\n dagre.layout(g);\n g.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof g.node(v) !== 'undefined') {\n logger.debug('Node ' + v + ': ' + JSON.stringify(g.node(v)));\n select('#' + lookUpDomId(v)).attr('transform', 'translate(' + (g.node(v).x - g.node(v).width / 2) + ',' + (g.node(v).y - g.node(v).height / 2) + ' )');\n }\n });\n g.edges().forEach(function (e) {\n if (typeof e !== 'undefined' && typeof g.edge(e) !== 'undefined') {\n logger.debug('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(g.edge(e)));\n svgDraw.drawEdge(diagram, g.edge(e), g.edge(e).relation, conf);\n }\n });\n var svgBounds = diagram.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n diagram.attr('width', '100%');\n diagram.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n diagram.attr('viewBox', vBox);\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateDb.js", "name": "./src/diagrams/state/stateDb.js", "index": 36, "index2": 34, "size": 6456, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "3:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./stateDb", "loc": "5:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "11:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "24:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "26:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "29:9-16" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateDb", "loc": "37:0-47" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "51:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateDb", "loc": "109:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateDb", "loc": "114:25-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "121:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "122:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "123:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "215:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "218:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "227:12-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "249:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "250:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "250:18-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "251:14-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "252:26-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "298:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "301:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "304:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "307:11-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./stateDb", "loc": "332:66-73" } ], "usedExports": [ "default" ], "providedExports": [ "addState", "clear", "getState", "getStates", "logDocuments", "getRelations", "addRelation", "cleanupLabel", "lineType", "relationType", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nimport { logger } from '../../logger';\nimport { generateId } from '../../utils';\n\nvar clone = function clone(o) {\n return JSON.parse(JSON.stringify(o));\n};\n\nvar rootDoc = [];\n\nvar setRootDoc = function setRootDoc(o) {\n logger.info('Setting root doc', o); // rootDoc = { id: 'root', doc: o };\n\n rootDoc = o;\n};\n\nvar getRootDoc = function getRootDoc() {\n return rootDoc;\n};\n\nvar docTranslator = function docTranslator(parent, node, first) {\n if (node.stmt === 'relation') {\n docTranslator(parent, node.state1, true);\n docTranslator(parent, node.state2, false);\n } else {\n if (node.stmt === 'state') {\n if (node.id === '[*]') {\n node.id = first ? parent.id + '_start' : parent.id + '_end';\n node.start = first;\n }\n }\n\n if (node.doc) {\n var doc = []; // Check for concurrency\n\n var i = 0;\n var currentDoc = [];\n\n for (i = 0; i < node.doc.length; i++) {\n if (node.doc[i].type === 'divider') {\n // debugger;\n var newNode = clone(node.doc[i]);\n newNode.doc = clone(currentDoc);\n doc.push(newNode);\n currentDoc = [];\n } else {\n currentDoc.push(node.doc[i]);\n }\n } // If any divider was encountered\n\n\n if (doc.length > 0 && currentDoc.length > 0) {\n var _newNode = {\n stmt: 'state',\n id: generateId(),\n type: 'divider',\n doc: clone(currentDoc)\n };\n doc.push(clone(_newNode));\n node.doc = doc;\n }\n\n node.doc.forEach(function (docNode) {\n return docTranslator(node, docNode, true);\n });\n }\n }\n};\n\nvar getRootDocV2 = function getRootDocV2() {\n docTranslator({\n id: 'root'\n }, {\n id: 'root',\n doc: rootDoc\n }, true);\n return {\n id: 'root',\n doc: rootDoc\n };\n};\n\nvar extract = function extract(_doc) {\n // const res = { states: [], relations: [] };\n var doc;\n\n if (_doc.doc) {\n doc = _doc.doc;\n } else {\n doc = _doc;\n } // let doc = root.doc;\n // if (!doc) {\n // doc = root;\n // }\n\n\n logger.info(doc);\n clear();\n logger.info('Extract', doc);\n doc.forEach(function (item) {\n if (item.stmt === 'state') {\n addState(item.id, item.type, item.doc, item.description, item.note);\n }\n\n if (item.stmt === 'relation') {\n addRelation(item.state1.id, item.state2.id, item.description);\n }\n });\n};\n\nvar newDoc = function newDoc() {\n return {\n relations: [],\n states: {},\n documents: {}\n };\n};\n\nvar documents = {\n root: newDoc()\n};\nvar currentDocument = documents.root;\nvar startCnt = 0;\nvar endCnt = 0; // eslint-disable-line\n// let stateCnt = 0;\n\n/**\n * Function called by parser when a node definition has been found.\n * @param id\n * @param text\n * @param type\n * @param style\n */\n\nexport var addState = function addState(id, type, doc, descr, note) {\n if (typeof currentDocument.states[id] === 'undefined') {\n currentDocument.states[id] = {\n id: id,\n descriptions: [],\n type: type,\n doc: doc,\n note: note\n };\n } else {\n if (!currentDocument.states[id].doc) {\n currentDocument.states[id].doc = doc;\n }\n\n if (!currentDocument.states[id].type) {\n currentDocument.states[id].type = type;\n }\n }\n\n if (descr) {\n logger.info('Adding state ', id, descr);\n if (typeof descr === 'string') addDescription(id, descr.trim());\n\n if (_typeof(descr) === 'object') {\n descr.forEach(function (des) {\n return addDescription(id, des.trim());\n });\n }\n }\n\n if (note) currentDocument.states[id].note = note;\n};\nexport var clear = function clear() {\n documents = {\n root: newDoc()\n };\n currentDocument = documents.root;\n currentDocument = documents.root;\n startCnt = 0;\n endCnt = 0; // eslint-disable-line\n\n classes = [];\n};\nexport var getState = function getState(id) {\n return currentDocument.states[id];\n};\nexport var getStates = function getStates() {\n return currentDocument.states;\n};\nexport var logDocuments = function logDocuments() {\n logger.info('Documents = ', documents);\n};\nexport var getRelations = function getRelations() {\n return currentDocument.relations;\n};\nexport var addRelation = function addRelation(_id1, _id2, title) {\n var id1 = _id1;\n var id2 = _id2;\n var type1 = 'default';\n var type2 = 'default';\n\n if (_id1 === '[*]') {\n startCnt++;\n id1 = 'start' + startCnt;\n type1 = 'start';\n }\n\n if (_id2 === '[*]') {\n endCnt++;\n id2 = 'end' + startCnt;\n type2 = 'end';\n }\n\n addState(id1, type1);\n addState(id2, type2);\n currentDocument.relations.push({\n id1: id1,\n id2: id2,\n title: title\n });\n};\n\nvar addDescription = function addDescription(id, _descr) {\n var theState = currentDocument.states[id];\n var descr = _descr;\n\n if (descr[0] === ':') {\n descr = descr.substr(1).trim();\n }\n\n theState.descriptions.push(descr);\n};\n\nexport var cleanupLabel = function cleanupLabel(label) {\n if (label.substring(0, 1) === ':') {\n return label.substr(2).trim();\n } else {\n return label.trim();\n }\n};\nexport var lineType = {\n LINE: 0,\n DOTTED_LINE: 1\n};\nvar dividerCnt = 0;\n\nvar getDividerId = function getDividerId() {\n dividerCnt++;\n return 'divider-id-' + dividerCnt;\n};\n\nvar classes = [];\n\nvar getClasses = function getClasses() {\n return classes;\n};\n\nvar getDirection = function getDirection() {\n return 'TB';\n};\n\nexport var relationType = {\n AGGREGATION: 0,\n EXTENSION: 1,\n COMPOSITION: 2,\n DEPENDENCY: 3\n};\n\nvar trimColon = function trimColon(str) {\n return str && str[0] === ':' ? str.substr(1).trim() : str.trim();\n};\n\nexport default {\n addState: addState,\n clear: clear,\n getState: getState,\n getStates: getStates,\n getRelations: getRelations,\n getClasses: getClasses,\n getDirection: getDirection,\n addRelation: addRelation,\n getDividerId: getDividerId,\n // addDescription,\n cleanupLabel: cleanupLabel,\n lineType: lineType,\n relationType: relationType,\n logDocuments: logDocuments,\n getRootDoc: getRootDoc,\n setRootDoc: setRootDoc,\n getRootDocV2: getRootDocV2,\n extract: extract,\n trimColon: trimColon\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "index": 74, "index2": 74, "size": 8188, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateRenderer", "loc": "34:0-59" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "352:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "353:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer", "loc": "533:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport { logger } from '../../logger';\nimport stateDb from './stateDb';\nimport common from '../common/common';\nimport { parser } from './parser/stateDiagram'; // import idCache from './id-cache';\n\nimport { drawState, addTitleAndBox, drawEdge } from './shapes';\nimport { getConfig } from '../../config';\nparser.yy = stateDb; // TODO Move conf object to main conf in mermaidAPI\n\nvar conf;\nvar transformationLog = {};\nexport var setConf = function setConf() {}; // Todo optimize\n\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nvar insertMarkers = function insertMarkers(elem) {\n elem.append('defs').append('marker').attr('id', 'dependencyEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 19,7 L9,13 L14,7 L9,1 Z');\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n conf = getConfig().state;\n parser.yy.clear();\n parser.parse(text);\n logger.debug('Rendering diagram ' + text); // Fetch the default direction, use TD if none was found\n\n var diagram = select(\"[id='\".concat(id, \"']\"));\n insertMarkers(diagram); // Layout graph, Create a new directed graph\n\n var graph = new graphlib.Graph({\n multigraph: true,\n compound: true,\n // acyclicer: 'greedy',\n rankdir: 'RL' // ranksep: '20'\n\n }); // Default to assigning a new object as a label for each new edge.\n\n graph.setDefaultEdgeLabel(function () {\n return {};\n });\n var rootDoc = stateDb.getRootDoc();\n renderDoc(rootDoc, diagram, undefined, false);\n var padding = conf.padding;\n var bounds = diagram.node().getBBox();\n var width = bounds.width + padding * 2;\n var height = bounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n diagram.attr('width', '100%');\n diagram.attr('style', \"max-width: \".concat(width * 1.75, \"px;\"));\n } else {\n // Zoom in a bit\n diagram.attr('width', width * 1.75);\n } // diagram.attr('height', bounds.height * 3 + conf.padding * 2);\n\n\n diagram.attr('viewBox', \"\".concat(bounds.x - conf.padding, \" \").concat(bounds.y - conf.padding, \" \") + width + ' ' + height);\n};\n\nvar getLabelWidth = function getLabelWidth(text) {\n return text ? text.length * conf.fontSizeFactor : 1;\n};\n\nvar renderDoc = function renderDoc(doc, diagram, parentId, altBkg) {\n // // Layout graph, Create a new directed graph\n var graph = new graphlib.Graph({\n compound: true,\n multigraph: true\n });\n var i;\n var edgeFreeDoc = true;\n\n for (i = 0; i < doc.length; i++) {\n if (doc[i].stmt === 'relation') {\n edgeFreeDoc = false;\n break;\n }\n } // Set an object for the graph label\n\n\n if (parentId) graph.setGraph({\n rankdir: 'LR',\n multigraph: true,\n compound: true,\n // acyclicer: 'greedy',\n ranker: 'tight-tree',\n ranksep: edgeFreeDoc ? 1 : conf.edgeLengthFactor,\n nodeSep: edgeFreeDoc ? 1 : 50,\n isMultiGraph: true // ranksep: 5,\n // nodesep: 1\n\n });else {\n graph.setGraph({\n rankdir: 'TB',\n multigraph: true,\n compound: true,\n // isCompound: true,\n // acyclicer: 'greedy',\n // ranker: 'longest-path'\n ranksep: edgeFreeDoc ? 1 : conf.edgeLengthFactor,\n nodeSep: edgeFreeDoc ? 1 : 50,\n ranker: 'tight-tree',\n // ranker: 'network-simplex'\n isMultiGraph: true\n });\n } // Default to assigning a new object as a label for each new edge.\n\n graph.setDefaultEdgeLabel(function () {\n return {};\n });\n stateDb.extract(doc);\n var states = stateDb.getStates();\n var relations = stateDb.getRelations();\n var keys = Object.keys(states);\n var first = true;\n\n for (var _i = 0; _i < keys.length; _i++) {\n var stateDef = states[keys[_i]];\n\n if (parentId) {\n stateDef.parentId = parentId;\n }\n\n var node = void 0;\n\n if (stateDef.doc) {\n var sub = diagram.append('g').attr('id', stateDef.id).attr('class', 'stateGroup');\n node = renderDoc(stateDef.doc, sub, stateDef.id, !altBkg);\n\n if (first) {\n // first = false;\n sub = addTitleAndBox(sub, stateDef, altBkg);\n var boxBounds = sub.node().getBBox();\n node.width = boxBounds.width;\n node.height = boxBounds.height + conf.padding / 2;\n transformationLog[stateDef.id] = {\n y: conf.compositTitleSize\n };\n } else {\n // sub = addIdAndBox(sub, stateDef);\n var _boxBounds = sub.node().getBBox();\n\n node.width = _boxBounds.width;\n node.height = _boxBounds.height; // transformationLog[stateDef.id] = { y: conf.compositTitleSize };\n }\n } else {\n node = drawState(diagram, stateDef, graph);\n }\n\n if (stateDef.note) {\n // Draw note note\n var noteDef = {\n descriptions: [],\n id: stateDef.id + '-note',\n note: stateDef.note,\n type: 'note'\n };\n var note = drawState(diagram, noteDef, graph); // graph.setNode(node.id, node);\n\n if (stateDef.note.position === 'left of') {\n graph.setNode(node.id + '-note', note);\n graph.setNode(node.id, node);\n } else {\n graph.setNode(node.id, node);\n graph.setNode(node.id + '-note', note);\n } // graph.setNode(node.id);\n\n\n graph.setParent(node.id, node.id + '-group');\n graph.setParent(node.id + '-note', node.id + '-group');\n } else {\n // Add nodes to the graph. The first argument is the node id. The second is\n // metadata about the node. In this case we're going to add labels to each of\n // our nodes.\n graph.setNode(node.id, node);\n }\n }\n\n logger.debug('Count=', graph.nodeCount(), graph);\n var cnt = 0;\n relations.forEach(function (relation) {\n cnt++;\n logger.debug('Setting edge', relation);\n graph.setEdge(relation.id1, relation.id2, {\n relation: relation,\n width: getLabelWidth(relation.title),\n height: conf.labelHeight * common.getRows(relation.title).length,\n labelpos: 'c'\n }, 'id' + cnt);\n });\n dagre.layout(graph);\n logger.debug('Graph after layout', graph.nodes());\n var svgElem = diagram.node();\n graph.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof graph.node(v) !== 'undefined') {\n logger.warn('Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n select('#' + svgElem.id + ' #' + v).attr('transform', 'translate(' + (graph.node(v).x - graph.node(v).width / 2) + ',' + (graph.node(v).y + (transformationLog[v] ? transformationLog[v].y : 0) - graph.node(v).height / 2) + ' )');\n select('#' + svgElem.id + ' #' + v).attr('data-x-shift', graph.node(v).x - graph.node(v).width / 2);\n var dividers = document.querySelectorAll('#' + svgElem.id + ' #' + v + ' .divider');\n dividers.forEach(function (divider) {\n var parent = divider.parentElement;\n var pWidth = 0;\n var pShift = 0;\n\n if (parent) {\n if (parent.parentElement) pWidth = parent.parentElement.getBBox().width;\n pShift = parseInt(parent.getAttribute('data-x-shift'), 10);\n\n if (Number.isNaN(pShift)) {\n pShift = 0;\n }\n }\n\n divider.setAttribute('x1', 0 - pShift + 8);\n divider.setAttribute('x2', pWidth - pShift - 8);\n });\n } else {\n logger.debug('No Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n }\n });\n var stateBox = svgElem.getBBox();\n graph.edges().forEach(function (e) {\n if (typeof e !== 'undefined' && typeof graph.edge(e) !== 'undefined') {\n logger.debug('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(graph.edge(e)));\n drawEdge(diagram, graph.edge(e), graph.edge(e).relation);\n }\n });\n stateBox = svgElem.getBBox();\n var stateInfo = {\n id: parentId ? parentId : 'root',\n label: parentId ? parentId : 'root',\n width: 0,\n height: 0\n };\n stateInfo.width = stateBox.width + 2 * conf.padding;\n stateInfo.height = stateBox.height + 2 * conf.padding;\n logger.debug('Doc rendered', stateInfo, graph);\n return stateInfo;\n};\n\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "name": "./src/diagrams/state/stateRenderer-v2.js", "index": 77, "index2": 75, "size": 9719, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "35:0-64" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "358:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "359:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/state/stateRenderer-v2", "loc": "534:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "getClasses", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { select } from 'd3';\nimport stateDb from './stateDb';\nimport state from './parser/stateDiagram';\nimport { getConfig } from '../../config';\nimport { render } from '../../dagre-wrapper/index.js';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\nvar nodeDb = {};\n/**\n * Returns the all the styles from classDef statements in the graph definition.\n * @returns {object} classDef styles\n */\n\nexport var getClasses = function getClasses(text) {\n logger.trace('Extracting classes');\n stateDb.clear();\n var parser = state.parser;\n parser.yy = stateDb; // Parse the graph definition\n\n parser.parse(text);\n return stateDb.getClasses();\n};\n\nvar setupNode = function setupNode(g, parent, node, altFlag) {\n // Add the node\n if (node.id !== 'root') {\n var shape = 'rect';\n\n if (node.start === true) {\n shape = 'start';\n }\n\n if (node.start === false) {\n shape = 'end';\n }\n\n if (node.type !== 'default') {\n shape = node.type;\n }\n\n if (!nodeDb[node.id]) {\n nodeDb[node.id] = {\n id: node.id,\n shape: shape,\n description: node.id,\n classes: 'statediagram-state'\n };\n } // Build of the array of description strings accordinging\n\n\n if (node.description) {\n if (Array.isArray(nodeDb[node.id].description)) {\n // There already is an array of strings,add to it\n nodeDb[node.id].shape = 'rectWithTitle';\n nodeDb[node.id].description.push(node.description);\n } else {\n if (nodeDb[node.id].description.length > 0) {\n // if there is a description already transformit to an array\n nodeDb[node.id].shape = 'rectWithTitle';\n\n if (nodeDb[node.id].description === node.id) {\n // If the previous description was the is, remove it\n nodeDb[node.id].description = [node.description];\n } else {\n nodeDb[node.id].description = [nodeDb[node.id].description, node.description];\n }\n } else {\n nodeDb[node.id].shape = 'rect';\n nodeDb[node.id].description = node.description;\n }\n }\n } // Save data for description and group so that for instance a statement without description overwrites\n // one with description\n // group\n\n\n if (!nodeDb[node.id].type && node.doc) {\n logger.info('Setting cluser for ', node.id);\n nodeDb[node.id].type = 'group';\n nodeDb[node.id].shape = node.type === 'divider' ? 'divider' : 'roundedWithTitle';\n nodeDb[node.id].classes = nodeDb[node.id].classes + ' ' + (altFlag ? 'statediagram-cluster statediagram-cluster-alt' : 'statediagram-cluster');\n }\n\n var nodeData = {\n labelStyle: '',\n shape: nodeDb[node.id].shape,\n labelText: nodeDb[node.id].description,\n classes: nodeDb[node.id].classes,\n //classStr,\n style: '',\n //styles.style,\n id: node.id,\n type: nodeDb[node.id].type,\n padding: 15 //getConfig().flowchart.padding\n\n };\n\n if (node.note) {\n // Todo: set random id\n var noteData = {\n labelStyle: '',\n shape: 'note',\n labelText: node.note.text,\n classes: 'statediagram-note',\n //classStr,\n style: '',\n //styles.style,\n id: node.id + '----note',\n type: nodeDb[node.id].type,\n padding: 15 //getConfig().flowchart.padding\n\n };\n var groupData = {\n labelStyle: '',\n shape: 'noteGroup',\n labelText: node.note.text,\n classes: nodeDb[node.id].classes,\n //classStr,\n style: '',\n //styles.style,\n id: node.id + '----parent',\n type: 'group',\n padding: 0 //getConfig().flowchart.padding\n\n };\n g.setNode(node.id + '----parent', groupData);\n g.setNode(noteData.id, noteData);\n g.setNode(node.id, nodeData);\n g.setParent(node.id, node.id + '----parent');\n g.setParent(noteData.id, node.id + '----parent');\n var from = node.id;\n var to = noteData.id;\n\n if (node.note.position === 'left of') {\n from = noteData.id;\n to = node.id;\n }\n\n g.setEdge(from, to, {\n arrowhead: 'none',\n arrowType: '',\n style: 'fill:none',\n labelStyle: '',\n classes: 'transition note-edge',\n arrowheadStyle: 'fill: #333',\n labelpos: 'c',\n labelType: 'text',\n thickness: 'normal'\n });\n } else {\n g.setNode(node.id, nodeData);\n }\n }\n\n if (parent) {\n if (parent.id !== 'root') {\n logger.info('Setting node ', node.id, ' to be child of its parent ', parent.id);\n g.setParent(node.id, parent.id);\n }\n }\n\n if (node.doc) {\n logger.info('Adding nodes children ');\n setupDoc(g, node, node.doc, !altFlag);\n }\n};\n\nvar cnt = 0;\n\nvar setupDoc = function setupDoc(g, parent, doc, altFlag) {\n logger.trace('items', doc);\n doc.forEach(function (item) {\n if (item.stmt === 'state' || item.stmt === 'default') {\n setupNode(g, parent, item, altFlag);\n } else if (item.stmt === 'relation') {\n setupNode(g, parent, item.state1, altFlag);\n setupNode(g, parent, item.state2, altFlag);\n var edgeData = {\n id: 'edge' + cnt,\n arrowhead: 'normal',\n arrowType: 'arrow_barb',\n style: 'fill:none',\n labelStyle: '',\n label: item.description,\n arrowheadStyle: 'fill: #333',\n labelpos: 'c',\n labelType: 'text',\n thickness: 'normal',\n classes: 'transition'\n };\n var startId = item.state1.id;\n var endId = item.state2.id;\n g.setEdge(startId, endId, edgeData, cnt);\n cnt++;\n }\n });\n};\n/**\n * Draws a flowchart in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing state diagram (v2)', id);\n stateDb.clear();\n nodeDb = {};\n var parser = state.parser;\n parser.yy = stateDb; // Parse the graph definition\n\n try {\n parser.parse(text);\n } catch (err) {\n logger.debug('Parsing failed');\n } // Fetch the default direction, use TD if none was found\n\n\n var dir = stateDb.getDirection();\n\n if (typeof dir === 'undefined') {\n dir = 'LR';\n }\n\n var conf = getConfig().state;\n var nodeSpacing = conf.nodeSpacing || 50;\n var rankSpacing = conf.rankSpacing || 50; // Create the input mermaid.graph\n\n var g = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: 'TB',\n nodesep: nodeSpacing,\n ranksep: rankSpacing,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n logger.info(stateDb.getRootDocV2());\n stateDb.extract(stateDb.getRootDocV2());\n logger.info(stateDb.getRootDocV2());\n setupNode(g, undefined, stateDb.getRootDocV2(), true); // Set up an SVG group so that we can translate the final graph.\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\")); // Run the renderer. This is what draws the final graph.\n\n var element = select('#' + id + ' g');\n render(element, g, ['barb'], 'statediagram', id);\n var padding = 8; // const svgBounds = svg.node().getBBox();\n // const width = svgBounds.width + padding * 2;\n // const height = svgBounds.height + padding * 2;\n // logger.debug(\n // `new ViewBox 0 0 ${width} ${height}`,\n // `translate(${padding + g._label.marginx}, ${padding + g._label.marginy})`\n // );\n // if (conf.useMaxWidth) {\n // svg.attr('width', '100%');\n // svg.attr('style', `max-width: ${width}px;`);\n // } else {\n // svg.attr('height', height);\n // svg.attr('width', width);\n // }\n // svg.attr('viewBox', `0 0 ${width} ${height}`);\n // svg\n // .select('g')\n // .attr('transform', `translate(${padding - g._label.marginx}, ${padding - svgBounds.y})`);\n\n var bounds = svg.node().getBBox();\n var width = bounds.width + padding * 2;\n var height = bounds.height + padding * 2; // diagram.attr('height', '100%');\n // diagram.attr('style', `width: ${bounds.width * 3 + conf.padding * 2};`);\n // diagram.attr('height', height);\n // Zoom in a bit\n\n svg.attr('width', width * 1.75);\n svg.attr('class', 'statediagram'); // diagram.attr('height', bounds.height * 3 + conf.padding * 2);\n // svg.attr(\n // 'viewBox',\n // `${bounds.x - conf.padding} ${bounds.y - conf.padding} ` + width + ' ' + height\n // );\n\n var svgBounds = svg.node().getBBox();\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n } // Ensure the viewBox includes the whole svgBounds area with extra space for padding\n\n\n var vBox = \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height);\n logger.debug(\"viewBox \".concat(vBox));\n svg.attr('viewBox', vBox); // Add label rects for non html labels\n\n if (!conf.htmlLabels) {\n var labels = document.querySelectorAll('[id=\"' + id + '\"] .edgeLabel .label');\n\n for (var k = 0; k < labels.length; k++) {\n var label = labels[k]; // Get dimensions of label\n\n var dim = label.getBBox();\n var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');\n rect.setAttribute('rx', 0);\n rect.setAttribute('ry', 0);\n rect.setAttribute('width', dim.width);\n rect.setAttribute('height', dim.height);\n rect.setAttribute('style', 'fill:#e8e8e8;');\n label.insertBefore(rect, label.firstChild);\n }\n }\n};\nexport default {\n setConf: setConf,\n getClasses: getClasses,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphAst.js", "name": "./src/diagrams/git/gitGraphAst.js", "index": 25, "index2": 23, "size": 6939, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./gitGraphAst", "loc": "2:0-31" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/gitGraphAst", "loc": "40:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphAst", "loc": "77:25-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "238:16-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "243:46-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "245:20-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "246:21-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "module": "./src/diagrams/git/gitGraphRenderer.js", "moduleName": "./src/diagrams/git/gitGraphRenderer.js", "type": "harmony import specifier", "userRequest": "./gitGraphAst", "loc": "247:19-21" } ], "usedExports": [ "default" ], "providedExports": [ "setDirection", "setOptions", "getOptions", "commit", "branch", "merge", "checkout", "reset", "prettyPrint", "clear", "getBranchesAsObjArray", "getBranches", "getCommits", "getCommitsArray", "getCurrentBranch", "getDirection", "getHead", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { logger } from '../../logger';\nvar commits = {};\nvar head = null;\nvar branches = {\n master: head\n};\nvar curBranch = 'master';\nvar direction = 'LR';\nvar seq = 0;\n\nfunction makeid(length) {\n var result = '';\n var characters = '0123456789abcdef';\n var charactersLength = characters.length;\n\n for (var i = 0; i < length; i++) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n }\n\n return result;\n}\n\nfunction getId() {\n return makeid(7);\n}\n\nfunction isfastforwardable(currentCommit, otherCommit) {\n logger.debug('Entering isfastforwardable:', currentCommit.id, otherCommit.id);\n\n while (currentCommit.seq <= otherCommit.seq && currentCommit !== otherCommit) {\n // only if other branch has more commits\n if (otherCommit.parent == null) break;\n\n if (Array.isArray(otherCommit.parent)) {\n logger.debug('In merge commit:', otherCommit.parent);\n return isfastforwardable(currentCommit, commits[otherCommit.parent[0]]) || isfastforwardable(currentCommit, commits[otherCommit.parent[1]]);\n } else {\n otherCommit = commits[otherCommit.parent];\n }\n }\n\n logger.debug(currentCommit.id, otherCommit.id);\n return currentCommit.id === otherCommit.id;\n}\n\nfunction isReachableFrom(currentCommit, otherCommit) {\n var currentSeq = currentCommit.seq;\n var otherSeq = otherCommit.seq;\n if (currentSeq > otherSeq) return isfastforwardable(otherCommit, currentCommit);\n return false;\n}\n\nfunction uniqBy(list, fn) {\n var recordMap = Object.create(null);\n return list.reduce(function (out, item) {\n var key = fn(item);\n\n if (!recordMap[key]) {\n recordMap[key] = true;\n out.push(item);\n }\n\n return out;\n }, []);\n}\n\nexport var setDirection = function setDirection(dir) {\n direction = dir;\n};\nvar options = {};\nexport var setOptions = function setOptions(rawOptString) {\n logger.debug('options str', rawOptString);\n rawOptString = rawOptString && rawOptString.trim();\n rawOptString = rawOptString || '{}';\n\n try {\n options = JSON.parse(rawOptString);\n } catch (e) {\n logger.error('error while parsing gitGraph options', e.message);\n }\n};\nexport var getOptions = function getOptions() {\n return options;\n};\nexport var commit = function commit(msg) {\n var commit = {\n id: getId(),\n message: msg,\n seq: seq++,\n parent: head == null ? null : head.id\n };\n head = commit;\n commits[commit.id] = commit;\n branches[curBranch] = commit.id;\n logger.debug('in pushCommit ' + commit.id);\n};\nexport var branch = function branch(name) {\n branches[name] = head != null ? head.id : null;\n logger.debug('in createBranch');\n};\nexport var merge = function merge(otherBranch) {\n var currentCommit = commits[branches[curBranch]];\n var otherCommit = commits[branches[otherBranch]];\n\n if (isReachableFrom(currentCommit, otherCommit)) {\n logger.debug('Already merged');\n return;\n }\n\n if (isfastforwardable(currentCommit, otherCommit)) {\n branches[curBranch] = branches[otherBranch];\n head = commits[branches[curBranch]];\n } else {\n // create merge commit\n var _commit = {\n id: getId(),\n message: 'merged branch ' + otherBranch + ' into ' + curBranch,\n seq: seq++,\n parent: [head == null ? null : head.id, branches[otherBranch]]\n };\n head = _commit;\n commits[_commit.id] = _commit;\n branches[curBranch] = _commit.id;\n }\n\n logger.debug(branches);\n logger.debug('in mergeBranch');\n};\nexport var checkout = function checkout(branch) {\n logger.debug('in checkout');\n curBranch = branch;\n var id = branches[curBranch];\n head = commits[id];\n};\nexport var reset = function reset(commitRef) {\n logger.debug('in reset', commitRef);\n var ref = commitRef.split(':')[0];\n var parentCount = parseInt(commitRef.split(':')[1]);\n var commit = ref === 'HEAD' ? head : commits[branches[ref]];\n logger.debug(commit, parentCount);\n\n while (parentCount > 0) {\n commit = commits[commit.parent];\n parentCount--;\n\n if (!commit) {\n var err = 'Critical error - unique parent commit not found during reset';\n logger.error(err);\n throw err;\n }\n }\n\n head = commit;\n branches[curBranch] = commit.id;\n};\n\nfunction upsert(arr, key, newval) {\n var index = arr.indexOf(key);\n\n if (index === -1) {\n arr.push(newval);\n } else {\n arr.splice(index, 1, newval);\n }\n}\n\nfunction prettyPrintCommitHistory(commitArr) {\n var commit = commitArr.reduce(function (out, commit) {\n if (out.seq > commit.seq) return out;\n return commit;\n }, commitArr[0]);\n var line = '';\n commitArr.forEach(function (c) {\n if (c === commit) {\n line += '\\t*';\n } else {\n line += '\\t|';\n }\n });\n var label = [line, commit.id, commit.seq];\n\n for (var _branch in branches) {\n if (branches[_branch] === commit.id) label.push(_branch);\n }\n\n logger.debug(label.join(' '));\n\n if (Array.isArray(commit.parent)) {\n var newCommit = commits[commit.parent[0]];\n upsert(commitArr, commit, newCommit);\n commitArr.push(commits[commit.parent[1]]);\n } else if (commit.parent == null) {\n return;\n } else {\n var nextCommit = commits[commit.parent];\n upsert(commitArr, commit, nextCommit);\n }\n\n commitArr = uniqBy(commitArr, function (c) {\n return c.id;\n });\n prettyPrintCommitHistory(commitArr);\n}\n\nexport var prettyPrint = function prettyPrint() {\n logger.debug(commits);\n var node = getCommitsArray()[0];\n prettyPrintCommitHistory([node]);\n};\nexport var clear = function clear() {\n commits = {};\n head = null;\n branches = {\n master: head\n };\n curBranch = 'master';\n seq = 0;\n};\nexport var getBranchesAsObjArray = function getBranchesAsObjArray() {\n var branchArr = [];\n\n for (var _branch2 in branches) {\n branchArr.push({\n name: _branch2,\n commit: commits[branches[_branch2]]\n });\n }\n\n return branchArr;\n};\nexport var getBranches = function getBranches() {\n return branches;\n};\nexport var getCommits = function getCommits() {\n return commits;\n};\nexport var getCommitsArray = function getCommitsArray() {\n var commitArr = Object.keys(commits).map(function (key) {\n return commits[key];\n });\n commitArr.forEach(function (o) {\n logger.debug(o.id);\n });\n commitArr.sort(function (a, b) {\n return b.seq - a.seq;\n });\n return commitArr;\n};\nexport var getCurrentBranch = function getCurrentBranch() {\n return curBranch;\n};\nexport var getDirection = function getDirection() {\n return direction;\n};\nexport var getHead = function getHead() {\n return head;\n};\nexport default {\n setDirection: setDirection,\n setOptions: setOptions,\n getOptions: getOptions,\n commit: commit,\n branch: branch,\n merge: merge,\n checkout: checkout,\n reset: reset,\n prettyPrint: prettyPrint,\n clear: clear,\n getBranchesAsObjArray: getBranchesAsObjArray,\n getBranches: getBranches,\n getCommits: getCommits,\n getCommitsArray: getCommitsArray,\n getCurrentBranch: getCurrentBranch,\n getDirection: getDirection,\n getHead: getHead\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/git/gitGraphRenderer.js", "name": "./src/diagrams/git/gitGraphRenderer.js", "index": 50, "index2": 48, "size": 9304, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "38:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "308:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "309:8-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/git/gitGraphRenderer", "loc": "522:2-18" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { curveBasis, line, select } from 'd3';\nimport db from './gitGraphAst';\nimport gitGraphParser from './parser/gitGraph';\nimport { logger } from '../../logger';\nimport { interpolateToCurve } from '../../utils';\nvar allCommitsDict = {};\nvar branchNum;\nvar config = {\n nodeSpacing: 150,\n nodeFillColor: 'yellow',\n nodeStrokeWidth: 2,\n nodeStrokeColor: 'grey',\n lineStrokeWidth: 4,\n branchOffset: 50,\n lineColor: 'grey',\n leftMargin: 50,\n branchColors: ['#442f74', '#983351', '#609732', '#AA9A39'],\n nodeRadius: 10,\n nodeLabel: {\n width: 75,\n height: 100,\n x: -25,\n y: 0\n }\n};\nvar apiConfig = {};\nexport var setConf = function setConf(c) {\n apiConfig = c;\n};\n\nfunction svgCreateDefs(svg) {\n svg.append('defs').append('g').attr('id', 'def-commit').append('circle').attr('r', config.nodeRadius).attr('cx', 0).attr('cy', 0);\n svg.select('#def-commit').append('foreignObject').attr('width', config.nodeLabel.width).attr('height', config.nodeLabel.height).attr('x', config.nodeLabel.x).attr('y', config.nodeLabel.y).attr('class', 'node-label').attr('requiredFeatures', 'http://www.w3.org/TR/SVG11/feature#Extensibility').append('p').html('');\n}\n\nfunction svgDrawLine(svg, points, colorIdx, interpolate) {\n var curve = interpolateToCurve(interpolate, curveBasis);\n var color = config.branchColors[colorIdx % config.branchColors.length];\n var lineGen = line().x(function (d) {\n return Math.round(d.x);\n }).y(function (d) {\n return Math.round(d.y);\n }).curve(curve);\n svg.append('svg:path').attr('d', lineGen(points)).style('stroke', color).style('stroke-width', config.lineStrokeWidth).style('fill', 'none');\n} // Pass in the element and its pre-transform coords\n\n\nfunction getElementCoords(element, coords) {\n coords = coords || element.node().getBBox();\n var ctm = element.node().getCTM();\n var xn = ctm.e + coords.x * ctm.a;\n var yn = ctm.f + coords.y * ctm.d;\n return {\n left: xn,\n top: yn,\n width: coords.width,\n height: coords.height\n };\n}\n\nfunction svgDrawLineForCommits(svg, fromId, toId, direction, color) {\n logger.debug('svgDrawLineForCommits: ', fromId, toId);\n var fromBbox = getElementCoords(svg.select('#node-' + fromId + ' circle'));\n var toBbox = getElementCoords(svg.select('#node-' + toId + ' circle'));\n\n switch (direction) {\n case 'LR':\n // (toBbox)\n // +--------\n // + (fromBbox)\n if (fromBbox.left - toBbox.left > config.nodeSpacing) {\n var lineStart = {\n x: fromBbox.left - config.nodeSpacing,\n y: toBbox.top + toBbox.height / 2\n };\n var lineEnd = {\n x: toBbox.left + toBbox.width,\n y: toBbox.top + toBbox.height / 2\n };\n svgDrawLine(svg, [lineStart, lineEnd], color, 'linear');\n svgDrawLine(svg, [{\n x: fromBbox.left,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: lineStart.y\n }, lineStart], color);\n } else {\n svgDrawLine(svg, [{\n x: fromBbox.left,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: fromBbox.top + fromBbox.height / 2\n }, {\n x: fromBbox.left - config.nodeSpacing / 2,\n y: toBbox.top + toBbox.height / 2\n }, {\n x: toBbox.left + toBbox.width,\n y: toBbox.top + toBbox.height / 2\n }], color);\n }\n\n break;\n\n case 'BT':\n // + (fromBbox)\n // |\n // |\n // + (toBbox)\n if (toBbox.top - fromBbox.top > config.nodeSpacing) {\n var _lineStart = {\n x: toBbox.left + toBbox.width / 2,\n y: fromBbox.top + fromBbox.height + config.nodeSpacing\n };\n var _lineEnd = {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top\n };\n svgDrawLine(svg, [_lineStart, _lineEnd], color, 'linear');\n svgDrawLine(svg, [{\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height\n }, {\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height + config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: _lineStart.y - config.nodeSpacing / 2\n }, _lineStart], color);\n } else {\n svgDrawLine(svg, [{\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + fromBbox.height\n }, {\n x: fromBbox.left + fromBbox.width / 2,\n y: fromBbox.top + config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top - config.nodeSpacing / 2\n }, {\n x: toBbox.left + toBbox.width / 2,\n y: toBbox.top\n }], color);\n }\n\n break;\n }\n}\n\nfunction cloneNode(svg, selector) {\n return svg.select(selector).node().cloneNode(true);\n}\n\nfunction renderCommitHistory(svg, commitid, branches, direction) {\n var commit;\n var numCommits = Object.keys(allCommitsDict).length;\n\n if (typeof commitid === 'string') {\n do {\n commit = allCommitsDict[commitid];\n logger.debug('in renderCommitHistory', commit.id, commit.seq);\n\n if (svg.select('#node-' + commitid).size() > 0) {\n return;\n }\n\n svg.append(function () {\n return cloneNode(svg, '#def-commit');\n }).attr('class', 'commit').attr('id', function () {\n return 'node-' + commit.id;\n }).attr('transform', function () {\n switch (direction) {\n case 'LR':\n return 'translate(' + (commit.seq * config.nodeSpacing + config.leftMargin) + ', ' + branchNum * config.branchOffset + ')';\n\n case 'BT':\n return 'translate(' + (branchNum * config.branchOffset + config.leftMargin) + ', ' + (numCommits - commit.seq) * config.nodeSpacing + ')';\n }\n }).attr('fill', config.nodeFillColor).attr('stroke', config.nodeStrokeColor).attr('stroke-width', config.nodeStrokeWidth);\n var branch = void 0;\n\n for (var branchName in branches) {\n if (branches[branchName].commit === commit) {\n branch = branches[branchName];\n break;\n }\n }\n\n if (branch) {\n logger.debug('found branch ', branch.name);\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'branch-label').text(branch.name + ', ');\n }\n\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'commit-id').text(commit.id);\n\n if (commit.message !== '' && direction === 'BT') {\n svg.select('#node-' + commit.id + ' p').append('xhtml:span').attr('class', 'commit-msg').text(', ' + commit.message);\n }\n\n commitid = commit.parent;\n } while (commitid && allCommitsDict[commitid]);\n }\n\n if (Array.isArray(commitid)) {\n logger.debug('found merge commmit', commitid);\n renderCommitHistory(svg, commitid[0], branches, direction);\n branchNum++;\n renderCommitHistory(svg, commitid[1], branches, direction);\n branchNum--;\n }\n}\n\nfunction renderLines(svg, commit, direction, branchColor) {\n branchColor = branchColor || 0;\n\n while (commit.seq > 0 && !commit.lineDrawn) {\n if (typeof commit.parent === 'string') {\n svgDrawLineForCommits(svg, commit.id, commit.parent, direction, branchColor);\n commit.lineDrawn = true;\n commit = allCommitsDict[commit.parent];\n } else if (Array.isArray(commit.parent)) {\n svgDrawLineForCommits(svg, commit.id, commit.parent[0], direction, branchColor);\n svgDrawLineForCommits(svg, commit.id, commit.parent[1], direction, branchColor + 1);\n renderLines(svg, allCommitsDict[commit.parent[1]], direction, branchColor + 1);\n commit.lineDrawn = true;\n commit = allCommitsDict[commit.parent[0]];\n }\n }\n}\n\nexport var draw = function draw(txt, id, ver) {\n try {\n var parser = gitGraphParser.parser;\n parser.yy = db;\n parser.yy.clear();\n logger.debug('in gitgraph renderer', txt + '\\n', 'id:', id, ver); // Parse the graph definition\n\n parser.parse(txt + '\\n');\n config = Object.assign(config, apiConfig, db.getOptions());\n logger.debug('effective options', config);\n var direction = db.getDirection();\n allCommitsDict = db.getCommits();\n var branches = db.getBranchesAsObjArray();\n\n if (direction === 'BT') {\n config.nodeLabel.x = branches.length * config.branchOffset;\n config.nodeLabel.width = '100%';\n config.nodeLabel.y = -1 * 2 * config.nodeRadius;\n }\n\n var svg = select(\"[id=\\\"\".concat(id, \"\\\"]\"));\n svgCreateDefs(svg);\n branchNum = 1;\n\n for (var branch in branches) {\n var v = branches[branch];\n renderCommitHistory(svg, v.commit.id, branches, direction);\n renderLines(svg, v.commit, direction);\n branchNum++;\n }\n\n svg.attr('height', function () {\n if (direction === 'BT') return Object.keys(allCommitsDict).length * config.nodeSpacing;\n return (branches.length + 1) * config.branchOffset;\n });\n } catch (e) {\n logger.error('Error while rendering gitgraph');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoDb.js", "name": "./src/diagrams/info/infoDb.js", "index": 38, "index2": 36, "size": 645, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./infoDb", "loc": "5:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "module": "./src/diagrams/info/infoRenderer.js", "moduleName": "./src/diagrams/info/infoRenderer.js", "type": "harmony import specifier", "userRequest": "./infoDb", "loc": "24:16-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/infoDb", "loc": "44:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoDb", "loc": "120:25-31" } ], "usedExports": [ "default" ], "providedExports": [ "setMessage", "getMessage", "setInfo", "getInfo", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 15-01-14.\n */\nimport { logger } from '../../logger';\nvar message = '';\nvar info = false;\nexport var setMessage = function setMessage(txt) {\n logger.debug('Setting message to: ' + txt);\n message = txt;\n};\nexport var getMessage = function getMessage() {\n return message;\n};\nexport var setInfo = function setInfo(inf) {\n info = inf;\n};\nexport var getInfo = function getInfo() {\n return info;\n}; // export const parseError = (err, hash) => {\n// global.mermaidAPI.parseError(err, hash)\n// }\n\nexport default {\n setMessage: setMessage,\n getMessage: getMessage,\n setInfo: setInfo,\n getInfo: getInfo // parseError\n\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/info/infoRenderer.js", "name": "./src/diagrams/info/infoRenderer.js", "index": 78, "index2": 76, "size": 1276, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/info/infoRenderer", "loc": "41:0-56" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "364:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "365:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/info/infoRenderer", "loc": "535:2-14" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 14-12-11.\n */\nimport { select } from 'd3';\nimport db from './infoDb';\nimport infoParser from './parser/info';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a an info picture in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(txt, id, ver) {\n try {\n var parser = infoParser.parser;\n parser.yy = db;\n logger.debug('Renering info diagram\\n' + txt); // Parse the graph definition\n\n parser.parse(txt);\n logger.debug('Parsed info diagram'); // Fetch the default direction, use TD if none was found\n\n var svg = select('#' + id);\n var g = svg.append('g');\n g.append('text') // text label for the x axis\n .attr('x', 100).attr('y', 40).attr('class', 'version').attr('font-size', '32px').style('text-anchor', 'middle').text('v ' + ver);\n svg.attr('height', 100);\n svg.attr('width', 400); // svg.attr('viewBox', '0 0 300 150');\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/errorRenderer.js", "name": "./src/errorRenderer.js", "index": 85, "index2": 83, "size": 2972, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./errorRenderer", "loc": "42:0-44" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./errorRenderer", "loc": "386:4-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./errorRenderer", "loc": "539:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by knut on 14-12-11.\n */\nimport { select } from 'd3';\nimport { logger } from './logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a an info picture in the tag with id: id based on the graph definition in text.\n * @param text\n * @param id\n */\n\nexport var draw = function draw(id, ver) {\n try {\n logger.debug('Renering svg for syntax error\\n');\n var svg = select('#' + id);\n var g = svg.append('g');\n g.append('path').attr('class', 'error-icon').attr('d', 'm411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z');\n g.append('path').attr('class', 'error-icon').attr('d', 'm436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z');\n g.append('text') // text label for the x axis\n .attr('class', 'error-text').attr('x', 1240).attr('y', 250).attr('font-size', '150px').style('text-anchor', 'middle').text('Syntax error in graph');\n g.append('text') // text label for the x axis\n .attr('class', 'error-text').attr('x', 1050).attr('y', 400).attr('font-size', '100px').style('text-anchor', 'middle').text('mermaid version ' + ver);\n svg.attr('height', 100);\n svg.attr('width', 400);\n svg.attr('viewBox', '768 0 512 512');\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieDb.js", "name": "./src/diagrams/pie/pieDb.js", "index": 40, "index2": 38, "size": 995, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./pieDb", "loc": "5:0-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "./pieDb", "loc": "25:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/pieDb", "loc": "47:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "module": "./src/diagrams/pie/pieRenderer.js", "moduleName": "./src/diagrams/pie/pieRenderer.js", "type": "harmony import specifier", "userRequest": "./pieDb", "loc": "55:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieDb", "loc": "126:25-30" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n *\n */\nimport { logger } from '../../logger';\nvar sections = {};\nvar title = '';\n\nvar addSection = function addSection(id, value) {\n if (typeof sections[id] === 'undefined') {\n sections[id] = value;\n logger.debug('Added new section :', id);\n }\n};\n\nvar getSections = function getSections() {\n return sections;\n};\n\nvar setTitle = function setTitle(txt) {\n title = txt;\n};\n\nvar getTitle = function getTitle() {\n return title;\n};\n\nvar cleanupValue = function cleanupValue(value) {\n if (value.substring(0, 1) === ':') {\n value = value.substring(1).trim();\n return Number(value.trim());\n } else {\n return Number(value.trim());\n }\n};\n\nvar clear = function clear() {\n sections = {};\n title = '';\n}; // export const parseError = (err, hash) => {\n// global.mermaidAPI.parseError(err, hash)\n// }\n\n\nexport default {\n addSection: addSection,\n getSections: getSections,\n cleanupValue: cleanupValue,\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle // parseError\n\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/pie/pieRenderer.js", "name": "./src/diagrams/pie/pieRenderer.js", "index": 80, "index2": 78, "size": 3794, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/pie/pieRenderer", "loc": "45:0-53" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "370:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "371:8-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/pie/pieRenderer", "loc": "536:2-13" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n * Created by AshishJ on 11-09-2019.\n */\nimport { select, scaleOrdinal, schemeSet2, pie as d3pie, entries, arc } from 'd3';\nimport pieData from './pieDb';\nimport pieParser from './parser/pie';\nimport { logger } from '../../logger';\nvar conf = {};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\n/**\n * Draws a Pie Chart with the data given in text.\n * @param text\n * @param id\n */\n\nvar w;\nexport var draw = function draw(txt, id) {\n try {\n var parser = pieParser.parser;\n parser.yy = pieData;\n logger.debug('Rendering info diagram\\n' + txt); // Parse the Pie Chart definition\n\n parser.yy.clear();\n parser.parse(txt);\n logger.debug('Parsed info diagram');\n var elem = document.getElementById(id);\n w = elem.parentElement.offsetWidth;\n\n if (typeof w === 'undefined') {\n w = 1200;\n }\n\n if (typeof conf.useWidth !== 'undefined') {\n w = conf.useWidth;\n }\n\n var h = 450;\n elem.setAttribute('height', '100%'); // Set viewBox\n\n elem.setAttribute('viewBox', '0 0 ' + w + ' ' + h); // Fetch the default direction, use TD if none was found\n\n var width = w; // 450\n\n var height = 450;\n var margin = 40;\n var legendRectSize = 18;\n var legendSpacing = 4;\n var radius = Math.min(width, height) / 2 - margin;\n var svg = select('#' + id).append('svg').attr('width', width).attr('height', height).append('g').attr('transform', 'translate(' + width / 2 + ',' + height / 2 + ')');\n var data = pieData.getSections();\n var sum = 0;\n Object.keys(data).forEach(function (key) {\n sum += data[key];\n });\n logger.info(data); // set the color scale\n\n var color = scaleOrdinal().domain(data).range(schemeSet2); // Compute the position of each group on the pie:\n\n var pie = d3pie().value(function (d) {\n return d.value;\n });\n var dataReady = pie(entries(data)); // shape helper to build arcs:\n\n var arcGenerator = arc().innerRadius(0).outerRadius(radius); // Build the pie chart: Basically, each part of the pie is a path that we build using the arc function.\n\n svg.selectAll('mySlices').data(dataReady).enter().append('path').attr('d', arcGenerator).attr('fill', function (d) {\n return color(d.data.key);\n }).attr('stroke', 'black').style('stroke-width', '2px').style('opacity', 0.7); // Now add the Percentage. Use the centroid method to get the best coordinates\n\n svg.selectAll('mySlices').data(dataReady).enter().append('text').text(function (d) {\n return (d.data.value / sum * 100).toFixed(0) + '%';\n }).attr('transform', function (d) {\n return 'translate(' + arcGenerator.centroid(d) + ')';\n }).style('text-anchor', 'middle').attr('class', 'slice').style('font-size', 17);\n svg.append('text').text(parser.yy.getTitle()).attr('x', 0).attr('y', -(h - 50) / 2).attr('class', 'pieTitleText'); //Add the slegend/annotations for each section\n\n var legend = svg.selectAll('.legend').data(color.domain()).enter().append('g').attr('class', 'legend').attr('transform', function (d, i) {\n var height = legendRectSize + legendSpacing;\n var offset = height * color.domain().length / 2;\n var horz = 12 * legendRectSize;\n var vert = i * height - offset;\n return 'translate(' + horz + ',' + vert + ')';\n });\n legend.append('rect').attr('width', legendRectSize).attr('height', legendRectSize).style('fill', color).style('stroke', color);\n legend.append('text').attr('x', legendRectSize + legendSpacing).attr('y', legendRectSize - legendSpacing).text(function (d) {\n return d;\n });\n } catch (e) {\n logger.error('Error while rendering info diagram');\n logger.error(e.message);\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erDb.js", "name": "./src/diagrams/er/erDb.js", "index": 42, "index2": 40, "size": 1728, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./erDb", "loc": "3:0-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/erDb", "loc": "48:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "115:30-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "132:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erDb", "loc": "132:25-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "136:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "140:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "144:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "150:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "154:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "158:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "162:9-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "189:2-6" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "191:14-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "239:38-42" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erDb", "loc": "242:39-43" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 2, "source": "/**\n *\n */\nimport { logger } from '../../logger';\nvar entities = {};\nvar relationships = [];\nvar title = '';\nvar Cardinality = {\n ZERO_OR_ONE: 'ZERO_OR_ONE',\n ZERO_OR_MORE: 'ZERO_OR_MORE',\n ONE_OR_MORE: 'ONE_OR_MORE',\n ONLY_ONE: 'ONLY_ONE'\n};\nvar Identification = {\n NON_IDENTIFYING: 'NON_IDENTIFYING',\n IDENTIFYING: 'IDENTIFYING'\n};\n\nvar addEntity = function addEntity(name) {\n if (typeof entities[name] === 'undefined') {\n entities[name] = name;\n logger.debug('Added new entity :', name);\n }\n};\n\nvar getEntities = function getEntities() {\n return entities;\n};\n/**\n * Add a relationship\n * @param entA The first entity in the relationship\n * @param rolA The role played by the first entity in relation to the second\n * @param entB The second entity in the relationship\n * @param rSpec The details of the relationship between the two entities\n */\n\n\nvar addRelationship = function addRelationship(entA, rolA, entB, rSpec) {\n var rel = {\n entityA: entA,\n roleA: rolA,\n entityB: entB,\n relSpec: rSpec\n };\n relationships.push(rel);\n logger.debug('Added new relationship :', rel);\n};\n\nvar getRelationships = function getRelationships() {\n return relationships;\n}; // Keep this - TODO: revisit...allow the diagram to have a title\n\n\nvar setTitle = function setTitle(txt) {\n title = txt;\n};\n\nvar getTitle = function getTitle() {\n return title;\n};\n\nvar clear = function clear() {\n entities = {};\n relationships = [];\n title = '';\n};\n\nexport default {\n Cardinality: Cardinality,\n Identification: Identification,\n addEntity: addEntity,\n getEntities: getEntities,\n addRelationship: addRelationship,\n getRelationships: getRelationships,\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "name": "./src/diagrams/er/erRenderer.js", "index": 81, "index2": 80, "size": 11270, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/er/erRenderer", "loc": "50:0-50" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "375:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "376:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/er/erRenderer", "loc": "537:2-12" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "default" ], "optimizationBailout": [], "depth": 2, "source": "import graphlib from 'graphlib';\nimport { line, curveBasis, select } from 'd3';\nimport erDb from './erDb';\nimport erParser from './parser/erDiagram';\nimport dagre from 'dagre';\nimport { getConfig } from '../../config';\nimport { logger } from '../../logger';\nimport erMarkers from './erMarkers';\nvar conf = {};\n/**\n * Allows the top-level API module to inject config specific to this renderer,\n * storing it in the local conf object. Note that generic config still needs to be\n * retrieved using getConfig() imported from the config module\n */\n\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n\n for (var i = 0; i < keys.length; i++) {\n conf[keys[i]] = cnf[keys[i]];\n }\n};\n/**\n * Use D3 to construct the svg elements for the entities\n * @param svgNode the svg node that contains the diagram\n * @param entities The entities to be drawn\n * @param graph The graph that contains the vertex and edge definitions post-layout\n * @return The first entity that was inserted\n */\n\nvar drawEntities = function drawEntities(svgNode, entities, graph) {\n var keys = Object.keys(entities);\n var firstOne;\n keys.forEach(function (id) {\n // Create a group for each entity\n var groupNode = svgNode.append('g').attr('id', id);\n firstOne = firstOne === undefined ? id : firstOne; // Label the entity - this is done first so that we can get the bounding box\n // which then determines the size of the rectangle\n\n var textId = 'entity-' + id;\n var textNode = groupNode.append('text').attr('class', 'er entityLabel').attr('id', textId).attr('x', 0).attr('y', 0).attr('dominant-baseline', 'middle').attr('text-anchor', 'middle').attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize + 'px').text(id); // Calculate the width and height of the entity\n\n var textBBox = textNode.node().getBBox();\n var entityWidth = Math.max(conf.minEntityWidth, textBBox.width + conf.entityPadding * 2);\n var entityHeight = Math.max(conf.minEntityHeight, textBBox.height + conf.entityPadding * 2); // Make sure the text gets centred relative to the entity box\n\n textNode.attr('transform', 'translate(' + entityWidth / 2 + ',' + entityHeight / 2 + ')'); // Draw the rectangle - insert it before the text so that the text is not obscured\n\n var rectNode = groupNode.insert('rect', '#' + textId).attr('class', 'er entityBox').attr('fill', conf.fill).attr('fill-opacity', '100%').attr('stroke', conf.stroke).attr('x', 0).attr('y', 0).attr('width', entityWidth).attr('height', entityHeight);\n var rectBBox = rectNode.node().getBBox(); // Add the entity to the graph\n\n graph.setNode(id, {\n width: rectBBox.width,\n height: rectBBox.height,\n shape: 'rect',\n id: id\n });\n });\n return firstOne;\n}; // drawEntities\n\n\nvar adjustEntities = function adjustEntities(svgNode, graph) {\n graph.nodes().forEach(function (v) {\n if (typeof v !== 'undefined' && typeof graph.node(v) !== 'undefined') {\n svgNode.select('#' + v).attr('transform', 'translate(' + (graph.node(v).x - graph.node(v).width / 2) + ',' + (graph.node(v).y - graph.node(v).height / 2) + ' )');\n }\n });\n return;\n};\n\nvar getEdgeName = function getEdgeName(rel) {\n return (rel.entityA + rel.roleA + rel.entityB).replace(/\\s/g, '');\n};\n/**\n * Add each relationship to the graph\n * @param relationships the relationships to be added\n * @param g the graph\n * @return {Array} The array of relationships\n */\n\n\nvar addRelationships = function addRelationships(relationships, g) {\n relationships.forEach(function (r) {\n g.setEdge(r.entityA, r.entityB, {\n relationship: r\n }, getEdgeName(r));\n });\n return relationships;\n}; // addRelationships\n\n\nvar relCnt = 0;\n/**\n * Draw a relationship using edge information from the graph\n * @param svg the svg node\n * @param rel the relationship to draw in the svg\n * @param g the graph containing the edge information\n * @param insert the insertion point in the svg DOM (because relationships have markers that need to sit 'behind' opaque entity boxes)\n */\n\nvar drawRelationshipFromLayout = function drawRelationshipFromLayout(svg, rel, g, insert) {\n relCnt++; // Find the edge relating to this relationship\n\n var edge = g.edge(rel.entityA, rel.entityB, getEdgeName(rel)); // Get a function that will generate the line path\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis); // Insert the line at the right place\n\n var svgPath = svg.insert('path', '#' + insert).attr('class', 'er relationshipLine').attr('d', lineFunction(edge.points)).attr('stroke', conf.stroke).attr('fill', 'none'); // ...and with dashes if necessary\n\n if (rel.relSpec.relType === erDb.Identification.NON_IDENTIFYING) {\n svgPath.attr('stroke-dasharray', '8,8');\n } // TODO: Understand this better\n\n\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n } // Decide which start and end markers it needs. It may be possible to be more concise here\n // by reversing a start marker to make an end marker...but this will do for now\n // Note that the 'A' entity's marker is at the end of the relationship and the 'B' entity's marker is at the start\n\n\n switch (rel.relSpec.cardA) {\n case erDb.Cardinality.ZERO_OR_ONE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_ONE_END + ')');\n break;\n\n case erDb.Cardinality.ZERO_OR_MORE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_MORE_END + ')');\n break;\n\n case erDb.Cardinality.ONE_OR_MORE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ONE_OR_MORE_END + ')');\n break;\n\n case erDb.Cardinality.ONLY_ONE:\n svgPath.attr('marker-end', 'url(' + url + '#' + erMarkers.ERMarkers.ONLY_ONE_END + ')');\n break;\n }\n\n switch (rel.relSpec.cardB) {\n case erDb.Cardinality.ZERO_OR_ONE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_ONE_START + ')');\n break;\n\n case erDb.Cardinality.ZERO_OR_MORE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ZERO_OR_MORE_START + ')');\n break;\n\n case erDb.Cardinality.ONE_OR_MORE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ONE_OR_MORE_START + ')');\n break;\n\n case erDb.Cardinality.ONLY_ONE:\n svgPath.attr('marker-start', 'url(' + url + '#' + erMarkers.ERMarkers.ONLY_ONE_START + ')');\n break;\n } // Now label the relationship\n // Find the half-way point\n\n\n var len = svgPath.node().getTotalLength();\n var labelPoint = svgPath.node().getPointAtLength(len * 0.5); // Append a text node containing the label\n\n var labelId = 'rel' + relCnt;\n var labelNode = svg.append('text').attr('class', 'er relationshipLabel').attr('id', labelId).attr('x', labelPoint.x).attr('y', labelPoint.y).attr('text-anchor', 'middle').attr('dominant-baseline', 'middle').attr('style', 'font-family: ' + getConfig().fontFamily + '; font-size: ' + conf.fontSize + 'px').text(rel.roleA); // Figure out how big the opaque 'container' rectangle needs to be\n\n var labelBBox = labelNode.node().getBBox(); // Insert the opaque rectangle before the text label\n\n svg.insert('rect', '#' + labelId).attr('class', 'er relationshipLabelBox').attr('x', labelPoint.x - labelBBox.width / 2).attr('y', labelPoint.y - labelBBox.height / 2).attr('width', labelBBox.width).attr('height', labelBBox.height).attr('fill', 'white').attr('fill-opacity', '85%');\n return;\n};\n/**\n * Draw en E-R diagram in the tag with id: id based on the text definition of the diagram\n * @param text the text of the diagram\n * @param id the unique id of the DOM node that contains the diagram\n */\n\n\nexport var draw = function draw(text, id) {\n logger.info('Drawing ER diagram');\n erDb.clear();\n var parser = erParser.parser;\n parser.yy = erDb; // Parse the text to populate erDb\n\n try {\n parser.parse(text);\n } catch (err) {\n logger.debug('Parsing failed');\n } // Get a reference to the svg node that contains the text\n\n\n var svg = select(\"[id='\".concat(id, \"']\")); // Add cardinality marker definitions to the svg\n\n erMarkers.insertMarkers(svg, conf); // Now we have to construct the diagram in a specific way:\n // ---\n // 1. Create all the entities in the svg node at 0,0, but with the correct dimensions (allowing for text content)\n // 2. Make sure they are all added to the graph\n // 3. Add all the edges (relationships) to the graph aswell\n // 4. Let dagre do its magic to layout the graph. This assigns:\n // - the centre co-ordinates for each node, bearing in mind the dimensions and edge relationships\n // - the path co-ordinates for each edge\n // But it has no impact on the svg child nodes - the diagram remains with every entity rooted at 0,0\n // 5. Now assign a transform to each entity in the svg node so that it gets drawn in the correct place, as determined by\n // its centre point, which is obtained from the graph, and it's width and height\n // 6. And finally, create all the edges in the svg node using information from the graph\n // ---\n // Create the graph\n\n var g; // TODO: Explore directed vs undirected graphs, and how the layout is affected\n // An E-R diagram could be said to be undirected, but there is merit in setting\n // the direction from parent to child in a one-to-many as this influences graphlib to\n // put the parent above the child (does it?), which is intuitive. Most relationships\n // in ER diagrams are one-to-many.\n\n g = new graphlib.Graph({\n multigraph: true,\n directed: true,\n compound: false\n }).setGraph({\n rankdir: conf.layoutDirection,\n marginx: 20,\n marginy: 20,\n nodesep: 100,\n edgesep: 100,\n ranksep: 100\n }).setDefaultEdgeLabel(function () {\n return {};\n }); // Draw the entities (at 0,0), returning the first svg node that got\n // inserted - this represents the insertion point for relationship paths\n\n var firstEntity = drawEntities(svg, erDb.getEntities(), g); // TODO: externalise the addition of entities to the graph - it's a bit 'buried' in the above\n // Add all the relationships to the graph\n\n var relationships = addRelationships(erDb.getRelationships(), g);\n dagre.layout(g); // Node and edge positions will be updated\n // Adjust the positions of the entities so that they adhere to the layout\n\n adjustEntities(svg, g); // Draw the relationships\n\n relationships.forEach(function (rel) {\n drawRelationshipFromLayout(svg, rel, g, firstEntity);\n });\n var padding = conf.diagramPadding;\n var svgBounds = svg.node().getBBox();\n var width = svgBounds.width + padding * 2;\n var height = svgBounds.height + padding * 2;\n\n if (conf.useMaxWidth) {\n svg.attr('width', '100%');\n svg.attr('style', \"max-width: \".concat(width, \"px;\"));\n } else {\n svg.attr('height', height);\n svg.attr('width', width);\n }\n\n svg.attr('viewBox', \"\".concat(svgBounds.x - padding, \" \").concat(svgBounds.y - padding, \" \").concat(width, \" \").concat(height));\n}; // draw\n\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyDb.js", "name": "./src/diagrams/user-journey/journeyDb.js", "index": 44, "index2": 42, "size": 3069, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./journeyDb", "loc": "3:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./journeyDb", "loc": "5:12-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/journeyDb", "loc": "52:0-58" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyDb", "loc": "138:25-34" } ], "usedExports": [ "default" ], "providedExports": [ "clear", "setTitle", "getTitle", "addSection", "getSections", "getTasks", "addTask", "addTaskOrg", "default" ], "optimizationBailout": [], "depth": 2, "source": "function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance\"); }\n\nfunction _iterableToArray(iter) { if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } }\n\nvar title = '';\nvar currentSection = '';\nvar sections = [];\nvar tasks = [];\nvar rawTasks = [];\nexport var clear = function clear() {\n sections.length = 0;\n tasks.length = 0;\n currentSection = '';\n title = '';\n rawTasks.length = 0;\n};\nexport var setTitle = function setTitle(txt) {\n title = txt;\n};\nexport var getTitle = function getTitle() {\n return title;\n};\nexport var addSection = function addSection(txt) {\n currentSection = txt;\n sections.push(txt);\n};\nexport var getSections = function getSections() {\n return sections;\n};\nexport var getTasks = function getTasks() {\n var allItemsProcessed = compileTasks();\n var maxDepth = 100;\n var iterationCount = 0;\n\n while (!allItemsProcessed && iterationCount < maxDepth) {\n allItemsProcessed = compileTasks();\n iterationCount++;\n }\n\n tasks.push.apply(tasks, rawTasks);\n return tasks;\n};\n\nvar updateActors = function updateActors() {\n var tempActors = [];\n tasks.forEach(function (task) {\n if (task.people) {\n tempActors.push.apply(tempActors, _toConsumableArray(task.people));\n }\n });\n var unique = new Set(tempActors);\n return _toConsumableArray(unique).sort();\n};\n\nexport var addTask = function addTask(descr, taskData) {\n var pieces = taskData.substr(1).split(':');\n var score = 0;\n var peeps = [];\n\n if (pieces.length === 1) {\n score = Number(pieces[0]);\n peeps = [];\n } else {\n score = Number(pieces[0]);\n peeps = pieces[1].split(',');\n }\n\n var peopleList = peeps.map(function (s) {\n return s.trim();\n });\n var rawTask = {\n section: currentSection,\n type: currentSection,\n people: peopleList,\n task: descr,\n score: score\n };\n rawTasks.push(rawTask);\n};\nexport var addTaskOrg = function addTaskOrg(descr) {\n var newTask = {\n section: currentSection,\n type: currentSection,\n description: descr,\n task: descr,\n classes: []\n };\n tasks.push(newTask);\n};\n\nvar compileTasks = function compileTasks() {\n var compileTask = function compileTask(pos) {\n return rawTasks[pos].processed;\n };\n\n var allProcessed = true;\n\n for (var i = 0; i < rawTasks.length; i++) {\n compileTask(i);\n allProcessed = allProcessed && rawTasks[i].processed;\n }\n\n return allProcessed;\n};\n\nvar getActors = function getActors() {\n return updateActors();\n};\n\nexport default {\n clear: clear,\n setTitle: setTitle,\n getTitle: getTitle,\n addSection: addSection,\n getSections: getSections,\n getTasks: getTasks,\n addTask: addTask,\n addTaskOrg: addTaskOrg,\n getActors: getActors\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "name": "./src/diagrams/user-journey/journeyRenderer.js", "index": 83, "index2": 82, "size": 7798, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "issuerId": null, "issuerName": "./src/mermaidAPI.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } } ], "profile": { "factory": 2158, "building": 707, "dependencies": 1501 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony side effect evaluation", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "53:0-70" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "380:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "381:8-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "module": "./src/mermaidAPI.js", "moduleName": "./src/mermaidAPI.js", "type": "harmony import specifier", "userRequest": "./diagrams/user-journey/journeyRenderer", "loc": "538:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "setConf", "draw", "bounds", "drawTasks", "default" ], "optimizationBailout": [], "depth": 2, "source": "import { select } from 'd3';\nimport { parser } from './parser/journey';\nimport journeyDb from './journeyDb';\nimport svgDraw from './svgDraw';\nparser.yy = journeyDb;\nvar conf = {\n leftMargin: 150,\n diagramMarginX: 50,\n diagramMarginY: 20,\n // Margin between tasks\n taskMargin: 50,\n // Width of task boxes\n width: 150,\n // Height of task boxes\n height: 50,\n taskFontSize: 14,\n taskFontFamily: '\"Open-Sans\", \"sans-serif\"',\n // Margin around loop boxes\n boxMargin: 10,\n boxTextMargin: 5,\n noteMargin: 10,\n // Space between messages\n messageMargin: 35,\n // Multiline message alignment\n messageAlign: 'center',\n // Depending on css styling this might need adjustment\n // Projects the edge of the diagram downwards\n bottomMarginAdj: 1,\n // width of activation box\n activationWidth: 10,\n // text placement as: tspan | fo | old only text as before\n textPlacement: 'fo',\n actorColours: ['#8FBC8F', '#7CFC00', '#00FFFF', '#20B2AA', '#B0E0E6', '#FFFFE0'],\n sectionFills: ['#191970', '#8B008B', '#4B0082', '#2F4F4F', '#800000', '#8B4513', '#00008B'],\n sectionColours: ['#fff']\n};\nexport var setConf = function setConf(cnf) {\n var keys = Object.keys(cnf);\n keys.forEach(function (key) {\n conf[key] = cnf[key];\n });\n};\nvar actors = {};\n\nfunction drawActorLegend(diagram) {\n // Draw the actors\n var yPos = 60;\n Object.keys(actors).forEach(function (person) {\n var colour = actors[person];\n var circleData = {\n cx: 20,\n cy: yPos,\n r: 7,\n fill: colour,\n stroke: '#000'\n };\n svgDraw.drawCircle(diagram, circleData);\n var labelData = {\n x: 40,\n y: yPos + 7,\n fill: '#666',\n text: person\n };\n svgDraw.drawText(diagram, labelData);\n yPos += 20;\n });\n}\n\nvar LEFT_MARGIN = conf.leftMargin;\nexport var draw = function draw(text, id) {\n parser.yy.clear();\n parser.parse(text + '\\n');\n bounds.init();\n var diagram = select('#' + id);\n diagram.attr('xmlns:xlink', 'http://www.w3.org/1999/xlink');\n svgDraw.initGraphics(diagram);\n var tasks = parser.yy.getTasks();\n var title = parser.yy.getTitle();\n var actorNames = parser.yy.getActors();\n\n for (var member in actors) {\n delete actors[member];\n }\n\n var actorPos = 0;\n actorNames.forEach(function (actorName) {\n actors[actorName] = conf.actorColours[actorPos % conf.actorColours.length];\n actorPos++;\n });\n drawActorLegend(diagram);\n bounds.insert(0, 0, LEFT_MARGIN, Object.keys(actors).length * 50);\n drawTasks(diagram, tasks, 0);\n var box = bounds.getBounds();\n\n if (title) {\n diagram.append('text').text(title).attr('x', LEFT_MARGIN).attr('font-size', '4ex').attr('font-weight', 'bold').attr('y', 25);\n }\n\n var height = box.stopy - box.starty + 2 * conf.diagramMarginY;\n var width = LEFT_MARGIN + box.stopx + 2 * conf.diagramMarginX;\n\n if (conf.useMaxWidth) {\n diagram.attr('height', '100%');\n diagram.attr('width', '100%');\n diagram.attr('style', 'max-width:' + width + 'px;');\n } else {\n diagram.attr('height', height);\n diagram.attr('width', width);\n } // Draw activity line\n\n\n diagram.append('line').attr('x1', LEFT_MARGIN).attr('y1', conf.height * 4) // One section head + one task + margins\n .attr('x2', width - LEFT_MARGIN - 4) // Subtract stroke width so arrow point is retained\n .attr('y2', conf.height * 4).attr('stroke-width', 4).attr('stroke', 'black').attr('marker-end', 'url(#arrowhead)');\n var extraVertForTitle = title ? 70 : 0;\n diagram.attr('viewBox', \"\".concat(box.startx, \" -25 \").concat(width, \" \").concat(height + extraVertForTitle));\n diagram.attr('preserveAspectRatio', 'xMinYMin meet');\n};\nexport var bounds = {\n data: {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n },\n verticalPos: 0,\n sequenceItems: [],\n init: function init() {\n this.sequenceItems = [];\n this.data = {\n startx: undefined,\n stopx: undefined,\n starty: undefined,\n stopy: undefined\n };\n this.verticalPos = 0;\n },\n updateVal: function updateVal(obj, key, val, fun) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = val;\n } else {\n obj[key] = fun(val, obj[key]);\n }\n },\n updateBounds: function updateBounds(startx, starty, stopx, stopy) {\n var _self = this;\n\n var cnt = 0;\n\n function updateFn(type) {\n return function updateItemBounds(item) {\n cnt++; // The loop sequenceItems is a stack so the biggest margins in the beginning of the sequenceItems\n\n var n = _self.sequenceItems.length - cnt + 1;\n\n _self.updateVal(item, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopy', stopy + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n if (!(type === 'activation')) {\n _self.updateVal(item, 'startx', startx - n * conf.boxMargin, Math.min);\n\n _self.updateVal(item, 'stopx', stopx + n * conf.boxMargin, Math.max);\n\n _self.updateVal(bounds.data, 'starty', starty - n * conf.boxMargin, Math.min);\n\n _self.updateVal(bounds.data, 'stopy', stopy + n * conf.boxMargin, Math.max);\n }\n };\n }\n\n this.sequenceItems.forEach(updateFn());\n },\n insert: function insert(startx, starty, stopx, stopy) {\n var _startx = Math.min(startx, stopx);\n\n var _stopx = Math.max(startx, stopx);\n\n var _starty = Math.min(starty, stopy);\n\n var _stopy = Math.max(starty, stopy);\n\n this.updateVal(bounds.data, 'startx', _startx, Math.min);\n this.updateVal(bounds.data, 'starty', _starty, Math.min);\n this.updateVal(bounds.data, 'stopx', _stopx, Math.max);\n this.updateVal(bounds.data, 'stopy', _stopy, Math.max);\n this.updateBounds(_startx, _starty, _stopx, _stopy);\n },\n bumpVerticalPos: function bumpVerticalPos(bump) {\n this.verticalPos = this.verticalPos + bump;\n this.data.stopy = this.verticalPos;\n },\n getVerticalPos: function getVerticalPos() {\n return this.verticalPos;\n },\n getBounds: function getBounds() {\n return this.data;\n }\n};\nvar fills = conf.sectionFills;\nvar textColours = conf.sectionColours;\nexport var drawTasks = function drawTasks(diagram, tasks, verticalPos) {\n var lastSection = '';\n var sectionVHeight = conf.height * 2 + conf.diagramMarginY;\n var taskPos = verticalPos + sectionVHeight;\n var sectionNumber = 0;\n var fill = '#CCC';\n var colour = 'black'; // Draw the tasks\n\n for (var i = 0; i < tasks.length; i++) {\n var task = tasks[i];\n\n if (lastSection !== task.section) {\n fill = fills[sectionNumber % fills.length];\n colour = textColours[sectionNumber % textColours.length];\n var section = {\n x: i * conf.taskMargin + i * conf.width + LEFT_MARGIN,\n y: 50,\n text: task.section,\n fill: fill,\n colour: colour\n };\n svgDraw.drawSection(diagram, section, conf);\n lastSection = task.section;\n sectionNumber++;\n } // Collect the actors involved in the task\n\n\n var taskActors = task.people.reduce(function (acc, actorName) {\n if (actors[actorName]) {\n acc[actorName] = actors[actorName];\n }\n\n return acc;\n }, {}); // Add some rendering data to the object\n\n task.x = i * conf.taskMargin + i * conf.width + LEFT_MARGIN;\n task.y = taskPos;\n task.width = conf.diagramMarginX;\n task.height = conf.diagramMarginY;\n task.colour = colour;\n task.fill = fill;\n task.actors = taskActors; // Draw the box with the attached line\n\n svgDraw.drawTask(diagram, task, conf);\n bounds.insert(task.x, task.y, task.x + task.width + conf.taskMargin, 300 + 5 * 30); // stopy is the length of the descenders.\n }\n};\nexport default {\n setConf: setConf,\n draw: draw\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowChartShapes.js", "name": "./src/diagrams/flowchart/flowChartShapes.js", "index": 49, "index2": 46, "size": 7760, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "name": "./src/diagrams/flowchart/flowRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1673, "building": 1032, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./flowChartShapes", "loc": "11:0-48" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer.js", "module": "./src/diagrams/flowchart/flowRenderer.js", "moduleName": "./src/diagrams/flowchart/flowRenderer.js", "type": "harmony import specifier", "userRequest": "./flowChartShapes", "loc": "352:2-17" } ], "usedExports": [ "default" ], "providedExports": [ "addToRender", "addToRenderV2", "default" ], "optimizationBailout": [], "depth": 3, "source": "import dagreD3 from 'dagre-d3';\n\nfunction question(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var s = (w + h) * 0.9;\n var points = [{\n x: s / 2,\n y: 0\n }, {\n x: s,\n y: -s / 2\n }, {\n x: s / 2,\n y: -s\n }, {\n x: 0,\n y: -s / 2\n }];\n var shapeSvg = insertPolygonShape(parent, s, s, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction hexagon(parent, bbox, node) {\n var f = 4;\n var h = bbox.height;\n var m = h / f;\n var w = bbox.width + 2 * m;\n var points = [{\n x: m,\n y: 0\n }, {\n x: w - m,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w - m,\n y: -h\n }, {\n x: m,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction rect_left_inv_arrow(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -h / 2,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: -h / 2,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction lean_right(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction lean_left(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 2 * h / 6,\n y: 0\n }, {\n x: w + h / 6,\n y: 0\n }, {\n x: w - 2 * h / 6,\n y: -h\n }, {\n x: -h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction trapezoid(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction inv_trapezoid(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: -2 * h / 6,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction rect_right_inv_arrow(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w + h / 2,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w + h / 2,\n y: -h\n }, {\n x: 0,\n y: -h\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction stadium(parent, bbox, node) {\n var h = bbox.height;\n var w = bbox.width + h / 4;\n var shapeSvg = parent.insert('rect', ':first-child').attr('rx', h / 2).attr('ry', h / 2).attr('x', -w / 2).attr('y', -h / 2).attr('width', w).attr('height', h);\n\n node.intersect = function (point) {\n return dagreD3.intersect.rect(node, point);\n };\n\n return shapeSvg;\n}\n\nfunction subroutine(parent, bbox, node) {\n var w = bbox.width;\n var h = bbox.height;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: 0,\n y: -h\n }, {\n x: 0,\n y: 0\n }, {\n x: -8,\n y: 0\n }, {\n x: w + 8,\n y: 0\n }, {\n x: w + 8,\n y: -h\n }, {\n x: -8,\n y: -h\n }, {\n x: -8,\n y: 0\n }];\n var shapeSvg = insertPolygonShape(parent, w, h, points);\n\n node.intersect = function (point) {\n return dagreD3.intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n}\n\nfunction cylinder(parent, bbox, node) {\n var w = bbox.width;\n var rx = w / 2;\n var ry = rx / (2.5 + w / 50);\n var h = bbox.height + ry;\n var shape = 'M 0,' + ry + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 a ' + rx + ',' + ry + ' 0,0,0 ' + -w + ' 0 l 0,' + h + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 l 0,' + -h;\n var shapeSvg = parent.attr('label-offset-y', ry).insert('path', ':first-child').attr('d', shape).attr('transform', 'translate(' + -w / 2 + ',' + -(h / 2 + ry) + ')');\n\n node.intersect = function (point) {\n var pos = dagreD3.intersect.rect(node, point);\n var x = pos.x - node.x;\n\n if (rx != 0 && (Math.abs(x) < node.width / 2 || Math.abs(x) == node.width / 2 && Math.abs(pos.y - node.y) > node.height / 2 - ry)) {\n // ellipsis equation: x*x / a*a + y*y / b*b = 1\n // solve for y to get adjustion value for pos.y\n var y = ry * ry * (1 - x * x / (rx * rx));\n if (y != 0) y = Math.sqrt(y);\n y = ry - y;\n if (point.y - node.y > 0) y = -y;\n pos.y += y;\n }\n\n return pos;\n };\n\n return shapeSvg;\n}\n\nexport function addToRender(render) {\n render.shapes().question = question;\n render.shapes().hexagon = hexagon;\n render.shapes().stadium = stadium;\n render.shapes().subroutine = subroutine;\n render.shapes().cylinder = cylinder; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().rect_left_inv_arrow = rect_left_inv_arrow; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().lean_right = lean_right; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().lean_left = lean_left; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().trapezoid = trapezoid; // Add custom shape for box with inverted arrow on left side\n\n render.shapes().inv_trapezoid = inv_trapezoid; // Add custom shape for box with inverted arrow on right side\n\n render.shapes().rect_right_inv_arrow = rect_right_inv_arrow;\n}\nexport function addToRenderV2(addShape) {\n addShape({\n question: question\n });\n addShape({\n hexagon: hexagon\n });\n addShape({\n stadium: stadium\n });\n addShape({\n subroutine: subroutine\n });\n addShape({\n cylinder: cylinder\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n rect_left_inv_arrow: rect_left_inv_arrow\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n lean_right: lean_right\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n lean_left: lean_left\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n trapezoid: trapezoid\n }); // Add custom shape for box with inverted arrow on left side\n\n addShape({\n inv_trapezoid: inv_trapezoid\n }); // Add custom shape for box with inverted arrow on right side\n\n addShape({\n rect_right_inv_arrow: rect_right_inv_arrow\n });\n}\n\nfunction insertPolygonShape(parent, w, h, points) {\n return parent.insert('polygon', ':first-child').attr('points', points.map(function (d) {\n return d.x + ',' + d.y;\n }).join(' ')).attr('transform', 'translate(' + -w / 2 + ',' + h / 2 + ')');\n}\n\nexport default {\n addToRender: addToRender,\n addToRenderV2: addToRenderV2\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "index": 52, "index2": 65, "size": 5901, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "issuerId": null, "issuerName": "./src/diagrams/flowchart/flowRenderer-v2.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1316, "building": 41, "dependencies": 2 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../dagre-wrapper/index.js", "loc": "6:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony side effect evaluation", "userRequest": "../../dagre-wrapper/index.js", "loc": "6:0-54" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer-v2.js", "module": "./src/diagrams/state/stateRenderer-v2.js", "moduleName": "./src/diagrams/state/stateRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../dagre-wrapper/index.js", "loc": "257:2-8" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "module": "./src/diagrams/flowchart/flowRenderer-v2.js", "moduleName": "./src/diagrams/flowchart/flowRenderer-v2.js", "type": "harmony import specifier", "userRequest": "../../dagre-wrapper/index.js", "loc": "380:2-8" } ], "usedExports": [ "render" ], "providedExports": [ "render" ], "optimizationBailout": [], "depth": 3, "source": "import dagre from 'dagre';\nimport graphlib from 'graphlib';\nimport insertMarkers from './markers';\nimport { updateNodeBounds } from './shapes/util';\nimport { clear as clearGraphlib, clusterDb, adjustClustersAndEdges, findNonClusterChild } from './mermaid-graphlib';\nimport { insertNode, positionNode, clear as clearNodes, setNodeElem } from './nodes';\nimport { insertCluster, clear as clearClusters } from './clusters';\nimport { insertEdgeLabel, positionEdgeLabel, insertEdge, clear as clearEdges } from './edges';\nimport { logger as log } from '../logger';\n\nvar recursiveRender = function recursiveRender(_elem, graph, diagramtype, parentCluster) {\n log.info('Graph in recursive render:', graphlib.json.write(graph), parentCluster);\n var dir = graph.graph().rankdir;\n log.warn('Dir in recursive render - dir:', dir);\n\n var elem = _elem.insert('g').attr('class', 'root'); // eslint-disable-line\n\n\n if (!graph.nodes()) {\n log.trace('No nodes found for', graph);\n } else {\n log.trace('Recursive render', graph.nodes());\n }\n\n if (graph.edges().length > 0) {\n log.trace('Recursive edges', graph.edge(graph.edges()[0]));\n }\n\n var clusters = elem.insert('g').attr('class', 'clusters'); // eslint-disable-line\n\n var edgePaths = elem.insert('g').attr('class', 'edgePaths');\n var edgeLabels = elem.insert('g').attr('class', 'edgeLabels');\n var nodes = elem.insert('g').attr('class', 'nodes'); // Insert nodes, this will insert them into the dom and each node will get a size. The size is updated\n // to the abstract node and is later used by dagre for the layout\n\n graph.nodes().forEach(function (v) {\n var node = graph.node(v);\n\n if (typeof parentCluster !== 'undefined') {\n var data = JSON.parse(JSON.stringify(parentCluster.clusterData)); // data.clusterPositioning = true;\n\n log.trace('Setting data for cluster', data);\n graph.setNode(parentCluster.id, data);\n graph.setParent(v, parentCluster.id, data);\n }\n\n log.trace('(Insert) Node ' + v + ': ' + JSON.stringify(graph.node(v)));\n\n if (node && node.clusterNode) {\n // const children = graph.children(v);\n log.trace('Cluster identified', v, node, graph.node(v));\n var newEl = recursiveRender(nodes, node.graph, diagramtype, graph.node(v));\n updateNodeBounds(node, newEl);\n setNodeElem(newEl, node);\n log.warn('Recursive render complete', newEl, node);\n } else {\n if (graph.children(v).length > 0) {\n // This is a cluster but not to be rendered recusively\n // Render as before\n log.trace('Cluster - the non recursive path', v, node.id, node, graph);\n log.trace(findNonClusterChild(node.id, graph));\n clusterDb[node.id] = {\n id: findNonClusterChild(node.id, graph),\n node: node\n }; // insertCluster(clusters, graph.node(v));\n } else {\n log.trace('Node - the non recursive path', v, node.id, node);\n insertNode(nodes, graph.node(v), dir);\n }\n }\n }); // Insert labels, this will insert them into the dom so that the width can be calculated\n // Also figure out which edges point to/from clusters and adjust them accordingly\n // Edges from/to clusters really points to the first child in the cluster.\n // TODO: pick optimal child in the cluster to us as link anchor\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e.v, e.w, e.name);\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ', e, ' ', JSON.stringify(graph.edge(e))); // Check if link is either from or to a cluster\n\n log.trace('Fix', clusterDb, 'ids:', e.v, e.w, 'Translateing: ', clusterDb[e.v], clusterDb[e.w]);\n insertEdgeLabel(edgeLabels, edge);\n });\n graph.edges().forEach(function (e) {\n log.info('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n });\n log.info('#############################################');\n log.info('### Layout ###');\n log.info('#############################################');\n log.info(graph);\n dagre.layout(graph);\n log.trace('Graph after layout:', graphlib.json.write(graph)); // Move the nodes to the correct place\n\n graph.nodes().forEach(function (v) {\n var node = graph.node(v);\n log.trace('Position ' + v + ': ' + JSON.stringify(graph.node(v)));\n log.info('Position ' + v + ': (' + node.x, ',' + node.y, ') width: ', node.width, ' height: ', node.height);\n\n if (node && node.clusterNode) {\n // clusterDb[node.id].node = node;\n positionNode(node);\n } else {\n // Non cluster node\n if (graph.children(v).length > 0) {\n // A cluster in the non-recurive way\n // positionCluster(node);\n insertCluster(clusters, node);\n clusterDb[node.id].node = node;\n } else {\n positionNode(node);\n }\n }\n }); // Move the edge labels to the correct place after layout\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e);\n log.info('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(edge), edge);\n var updatedPath = insertEdge(edgePaths, e, edge, clusterDb, diagramtype, graph);\n positionEdgeLabel(edge, updatedPath);\n });\n return elem;\n};\n\nexport var render = function render(elem, graph, markers, diagramtype, id) {\n insertMarkers(elem, markers, diagramtype, id);\n clearNodes();\n clearEdges();\n clearClusters();\n clearGraphlib();\n log.warn('Graph before:', graphlib.json.write(graph));\n adjustClustersAndEdges(graph);\n log.warn('Graph after:', graphlib.json.write(graph));\n log.warn('Graph ever after:', graph.graph());\n recursiveRender(elem, graph, diagramtype);\n}; // const shapeDefinitions = {};\n// export const addShape = ({ shapeType: fun }) => {\n// shapeDefinitions[shapeType] = fun;\n// };\n// const arrowDefinitions = {};\n// export const addArrow = ({ arrowType: fun }) => {\n// arrowDefinitions[arrowType] = fun;\n// };" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/svgDraw.js", "name": "./src/diagrams/sequence/svgDraw.js", "index": 70, "index2": 67, "size": 15081, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/sequence/sequenceRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "name": "./src/diagrams/sequence/sequenceRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1532, "building": 996, "dependencies": 1 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "2:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "152:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "228:13-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "234:17-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "235:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "249:17-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "284:16-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "299:2-10" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "385:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "474:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "475:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "476:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "486:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "517:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "530:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "543:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "562:8-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/sequence/sequenceRenderer.js", "module": "./src/diagrams/sequence/sequenceRenderer.js", "moduleName": "./src/diagrams/sequence/sequenceRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "581:8-15" } ], "usedExports": [ "default", "drawText" ], "providedExports": [ "drawRect", "drawText", "drawLabel", "drawActor", "anchorElement", "drawActivation", "drawLoop", "drawBackgroundRect", "insertArrowHead", "insertSequenceNumber", "insertArrowCrossHead", "getTextObj", "getNoteRect", "default" ], "optimizationBailout": [], "depth": 3, "source": "import common from '../common/common';\nexport var drawRect = function drawRect(elem, rectData) {\n var rectElem = elem.append('rect');\n rectElem.attr('x', rectData.x);\n rectElem.attr('y', rectData.y);\n rectElem.attr('fill', rectData.fill);\n rectElem.attr('stroke', rectData.stroke);\n rectElem.attr('width', rectData.width);\n rectElem.attr('height', rectData.height);\n rectElem.attr('rx', rectData.rx);\n rectElem.attr('ry', rectData.ry);\n\n if (typeof rectData.class !== 'undefined') {\n rectElem.attr('class', rectData.class);\n }\n\n return rectElem;\n};\nexport var drawText = function drawText(elem, textData) {\n var prevTextHeight = 0,\n textHeight = 0;\n var lines = textData.wrap ? textData.text.split(common.lineBreakRegex) : [textData.text.replace(common.lineBreakRegex, ' ')];\n var textElems = [];\n var dy = 0;\n\n var yfunc = function yfunc() {\n return textData.y;\n };\n\n if (typeof textData.valign !== 'undefined' && typeof textData.textMargin !== 'undefined' && textData.textMargin > 0) {\n switch (textData.valign) {\n case 'top':\n case 'start':\n yfunc = function yfunc() {\n return Math.round(textData.y + textData.textMargin);\n };\n\n break;\n\n case 'middle':\n case 'center':\n yfunc = function yfunc() {\n return Math.round(textData.y + (prevTextHeight + textHeight + textData.textMargin) / 2);\n };\n\n break;\n\n case 'bottom':\n case 'end':\n yfunc = function yfunc() {\n return Math.round(textData.y + (prevTextHeight + textHeight + 2 * textData.textMargin) - textData.textMargin);\n };\n\n break;\n }\n }\n\n if (typeof textData.anchor !== 'undefined' && typeof textData.textMargin !== 'undefined' && typeof textData.width !== 'undefined') {\n switch (textData.anchor) {\n case 'left':\n case 'start':\n textData.x = Math.round(textData.x + textData.textMargin);\n textData.anchor = 'start';\n textData.dominantBaseline = 'text-after-edge';\n textData.alignmentBaseline = 'middle';\n break;\n\n case 'middle':\n case 'center':\n textData.x = Math.round(textData.x + textData.width / 2);\n textData.anchor = 'middle';\n textData.dominantBaseline = 'middle';\n textData.alignmentBaseline = 'middle';\n break;\n\n case 'right':\n case 'end':\n textData.x = Math.round(textData.x + textData.width - textData.textMargin);\n textData.anchor = 'end';\n textData.dominantBaseline = 'text-before-edge';\n textData.alignmentBaseline = 'middle';\n break;\n }\n }\n\n for (var i = 0; i < lines.length; i++) {\n var line = lines[i];\n\n if (typeof textData.textMargin !== 'undefined' && textData.textMargin === 0 && typeof textData.fontSize !== 'undefined') {\n dy = i * textData.fontSize;\n }\n\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', yfunc());\n\n if (typeof textData.anchor !== 'undefined') {\n textElem.attr('text-anchor', textData.anchor).attr('dominant-baseline', textData.dominantBaseline).attr('alignment-baseline', textData.alignmentBaseline);\n }\n\n if (typeof textData.fontFamily !== 'undefined') {\n textElem.style('font-family', textData.fontFamily);\n }\n\n if (typeof textData.fontSize !== 'undefined') {\n textElem.style('font-size', textData.fontSize);\n }\n\n if (typeof textData.fontWeight !== 'undefined') {\n textElem.style('font-weight', textData.fontWeight);\n }\n\n if (typeof textData.fill !== 'undefined') {\n textElem.attr('fill', textData.fill);\n }\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n if (typeof textData.dy !== 'undefined') {\n textElem.attr('dy', textData.dy);\n } else if (dy !== 0) {\n textElem.attr('dy', dy);\n }\n\n if (textData.tspan) {\n var span = textElem.append('tspan');\n span.attr('x', textData.x);\n\n if (typeof textData.fill !== 'undefined') {\n span.attr('fill', textData.fill);\n }\n\n span.text(line);\n } else {\n textElem.text(line);\n }\n\n if (typeof textData.valign !== 'undefined' && typeof textData.textMargin !== 'undefined' && textData.textMargin > 0) {\n textHeight += (textElem._groups || textElem)[0][0].getBBox().height;\n prevTextHeight = textHeight;\n }\n\n textElems.push(textElem);\n }\n\n return textElems;\n};\nexport var drawLabel = function drawLabel(elem, txtObject) {\n function genPoints(x, y, width, height, cut) {\n return x + ',' + y + ' ' + (x + width) + ',' + y + ' ' + (x + width) + ',' + (y + height - cut) + ' ' + (x + width - cut * 1.2) + ',' + (y + height) + ' ' + x + ',' + (y + height);\n }\n\n var polygon = elem.append('polygon');\n polygon.attr('points', genPoints(txtObject.x, txtObject.y, txtObject.width, txtObject.height, 7));\n polygon.attr('class', 'labelBox');\n txtObject.y = txtObject.y + txtObject.height / 2;\n drawText(elem, txtObject);\n return polygon;\n};\nvar actorCnt = -1;\n/**\n * Draws an actor in the diagram with the attached line\n * @param elem - The diagram we'll draw to.\n * @param actor - The actor to draw.\n * @param conf - drawText implementation discriminator object\n */\n\nexport var drawActor = function drawActor(elem, actor, conf) {\n var center = actor.x + actor.width / 2;\n var g = elem.append('g');\n\n if (actor.y === 0) {\n actorCnt++;\n g.append('line').attr('id', 'actor' + actorCnt).attr('x1', center).attr('y1', 5).attr('x2', center).attr('y2', 2000).attr('class', 'actor-line').attr('stroke-width', '0.5px').attr('stroke', '#999');\n }\n\n var rect = getNoteRect();\n rect.x = actor.x;\n rect.y = actor.y;\n rect.fill = '#eaeaea';\n rect.width = actor.width;\n rect.height = actor.height;\n rect.class = 'actor';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n\n _drawTextCandidateFunc(conf)(actor.description, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'actor'\n }, conf);\n};\nexport var anchorElement = function anchorElement(elem) {\n return elem.append('g');\n};\n/**\n * Draws an activation in the diagram\n * @param elem - element to append activation rect.\n * @param bounds - activation box bounds.\n * @param verticalPos - precise y cooridnate of bottom activation box edge.\n * @param conf - sequence diagram config object.\n * @param actorActivations - number of activations on the actor.\n */\n\nexport var drawActivation = function drawActivation(elem, bounds, verticalPos, conf, actorActivations) {\n var rect = getNoteRect();\n var g = bounds.anchored;\n rect.x = bounds.startx;\n rect.y = bounds.starty;\n rect.class = 'activation' + actorActivations % 3; // Will evaluate to 0, 1 or 2\n\n rect.width = bounds.stopx - bounds.startx;\n rect.height = verticalPos - bounds.starty;\n drawRect(g, rect);\n};\n/**\n * Draws a loop in the diagram\n * @param elem - elemenet to append the loop to.\n * @param loopModel - loopModel of the given loop.\n * @param labelText - Text within the loop.\n * @param conf - diagrom configuration\n */\n\nexport var drawLoop = function drawLoop(elem, loopModel, labelText, conf) {\n var boxMargin = conf.boxMargin,\n boxTextMargin = conf.boxTextMargin,\n labelBoxHeight = conf.labelBoxHeight,\n labelBoxWidth = conf.labelBoxWidth,\n fontFamily = conf.messageFontFamily,\n fontSize = conf.messageFontSize,\n fontWeight = conf.messageFontWeight;\n var g = elem.append('g');\n\n var drawLoopLine = function drawLoopLine(startx, starty, stopx, stopy) {\n return g.append('line').attr('x1', startx).attr('y1', starty).attr('x2', stopx).attr('y2', stopy).attr('class', 'loopLine');\n };\n\n drawLoopLine(loopModel.startx, loopModel.starty, loopModel.stopx, loopModel.starty);\n drawLoopLine(loopModel.stopx, loopModel.starty, loopModel.stopx, loopModel.stopy);\n drawLoopLine(loopModel.startx, loopModel.stopy, loopModel.stopx, loopModel.stopy);\n drawLoopLine(loopModel.startx, loopModel.starty, loopModel.startx, loopModel.stopy);\n\n if (typeof loopModel.sections !== 'undefined') {\n loopModel.sections.forEach(function (item) {\n drawLoopLine(loopModel.startx, item.y, loopModel.stopx, item.y).style('stroke-dasharray', '3, 3');\n });\n }\n\n var txt = getTextObj();\n txt.text = labelText;\n txt.x = loopModel.startx;\n txt.y = loopModel.starty;\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.tspan = false;\n txt.width = labelBoxWidth || 50;\n txt.height = labelBoxHeight || 20;\n txt.textMargin = boxTextMargin;\n txt.class = 'labelText';\n drawLabel(g, txt);\n txt = getTextObj();\n txt.text = loopModel.title;\n txt.x = loopModel.startx + labelBoxWidth / 2 + (loopModel.stopx - loopModel.startx) / 2;\n txt.y = loopModel.starty + boxMargin + boxTextMargin;\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.textMargin = boxTextMargin;\n txt.class = 'loopText';\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.wrap = true;\n var textElem = drawText(g, txt);\n\n if (typeof loopModel.sectionTitles !== 'undefined') {\n loopModel.sectionTitles.forEach(function (item, idx) {\n if (item.message) {\n txt.text = item.message;\n txt.x = loopModel.startx + (loopModel.stopx - loopModel.startx) / 2;\n txt.y = loopModel.sections[idx].y + boxMargin + boxTextMargin;\n txt.class = 'loopText';\n txt.anchor = 'middle';\n txt.valign = 'middle';\n txt.tspan = false;\n txt.fontFamily = fontFamily;\n txt.fontSize = fontSize;\n txt.fontWeight = fontWeight;\n txt.wrap = loopModel.wrap;\n textElem = drawText(g, txt);\n var sectionHeight = Math.round(textElem.map(function (te) {\n return (te._groups || te)[0][0].getBBox().height;\n }).reduce(function (acc, curr) {\n return acc + curr;\n }));\n loopModel.sections[idx].height += sectionHeight - (boxMargin + boxTextMargin);\n }\n });\n }\n\n loopModel.height = Math.round(loopModel.stopy - loopModel.starty);\n return g;\n};\n/**\n * Draws a background rectangle\n * @param elem diagram (reference for bounds)\n * @param bounds shape of the rectangle\n */\n\nexport var drawBackgroundRect = function drawBackgroundRect(elem, bounds) {\n var rectElem = drawRect(elem, {\n x: bounds.startx,\n y: bounds.starty,\n width: bounds.stopx - bounds.startx,\n height: bounds.stopy - bounds.starty,\n fill: bounds.fill,\n class: 'rect'\n });\n rectElem.lower();\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nexport var insertArrowHead = function insertArrowHead(elem) {\n elem.append('defs').append('marker').attr('id', 'arrowhead').attr('refX', 5).attr('refY', 2).attr('markerWidth', 6).attr('markerHeight', 4).attr('orient', 'auto').append('path').attr('d', 'M 0,0 V 4 L6,2 Z'); // this is actual shape for arrowhead\n};\n/**\n * Setup node number. The result is appended to the svg.\n */\n\nexport var insertSequenceNumber = function insertSequenceNumber(elem) {\n elem.append('defs').append('marker').attr('id', 'sequencenumber').attr('refX', 15).attr('refY', 15).attr('markerWidth', 60).attr('markerHeight', 40).attr('orient', 'auto').append('circle').attr('cx', 15).attr('cy', 15).attr('r', 6); // .style(\"fill\", '#f00');\n};\n/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\n\nexport var insertArrowCrossHead = function insertArrowCrossHead(elem) {\n var defs = elem.append('defs');\n var marker = defs.append('marker').attr('id', 'crosshead').attr('markerWidth', 15).attr('markerHeight', 8).attr('orient', 'auto').attr('refX', 16).attr('refY', 4); // The arrow\n\n marker.append('path').attr('fill', 'black').attr('stroke', '#000000').style('stroke-dasharray', '0, 0').attr('stroke-width', '1px').attr('d', 'M 9,2 V 6 L16,4 Z'); // The cross\n\n marker.append('path').attr('fill', 'none').attr('stroke', '#000000').style('stroke-dasharray', '0, 0').attr('stroke-width', '1px').attr('d', 'M 0,1 L 6,7 M 6,1 L 0,7'); // this is actual shape for arrowhead\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n anchor: undefined,\n style: '#666',\n width: undefined,\n height: undefined,\n textMargin: 0,\n rx: 0,\n ry: 0,\n tspan: true,\n valign: undefined\n };\n};\nexport var getNoteRect = function getNoteRect() {\n return {\n x: 0,\n y: 0,\n fill: '#EDF2AE',\n stroke: '#666',\n width: 100,\n anchor: 'start',\n height: 100,\n rx: 0,\n ry: 0\n };\n};\n\nvar _drawTextCandidateFunc = function () {\n function byText(content, g, x, y, width, height, textAttrs) {\n var text = g.append('text').attr('x', x + width / 2).attr('y', y + height / 2 + 5).style('text-anchor', 'middle').text(content);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function byTspan(content, g, x, y, width, height, textAttrs, conf) {\n var actorFontSize = conf.actorFontSize,\n actorFontFamily = conf.actorFontFamily,\n actorFontWeight = conf.actorFontWeight;\n var lines = content.split(common.lineBreakRegex);\n\n for (var i = 0; i < lines.length; i++) {\n var dy = i * actorFontSize - actorFontSize * (lines.length - 1) / 2;\n var text = g.append('text').attr('x', x + width / 2).attr('y', y).style('text-anchor', 'middle').style('font-size', actorFontSize).style('font-weight', actorFontWeight).style('font-family', actorFontFamily);\n text.append('tspan').attr('x', x + width / 2).attr('dy', dy).text(lines[i]);\n text.attr('y', y + height / 2.0).attr('dominant-baseline', 'central').attr('alignment-baseline', 'central');\n\n _setTextAttrs(text, textAttrs);\n }\n }\n\n function byFo(content, g, x, y, width, height, textAttrs, conf) {\n var s = g.append('switch');\n var f = s.append('foreignObject').attr('x', x).attr('y', y).attr('width', width).attr('height', height);\n var text = f.append('div').style('display', 'table').style('height', '100%').style('width', '100%');\n text.append('div').style('display', 'table-cell').style('text-align', 'center').style('vertical-align', 'middle').text(content);\n byTspan(content, s, x, y, width, height, textAttrs, conf);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function _setTextAttrs(toText, fromTextAttrsDict) {\n for (var key in fromTextAttrsDict) {\n if (fromTextAttrsDict.hasOwnProperty(key)) {\n // eslint-disable-line\n toText.attr(key, fromTextAttrsDict[key]);\n }\n }\n }\n\n return function (conf) {\n return conf.textPlacement === 'fo' ? byFo : conf.textPlacement === 'old' ? byText : byTspan;\n };\n}();\n\nexport default {\n drawRect: drawRect,\n drawText: drawText,\n drawLabel: drawLabel,\n drawActor: drawActor,\n anchorElement: anchorElement,\n drawActivation: drawActivation,\n drawLoop: drawLoop,\n drawBackgroundRect: drawBackgroundRect,\n insertArrowHead: insertArrowHead,\n insertSequenceNumber: insertSequenceNumber,\n insertArrowCrossHead: insertArrowCrossHead,\n getTextObj: getTextObj,\n getNoteRect: getNoteRect\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/svgDraw.js", "name": "./src/diagrams/class/svgDraw.js", "index": 73, "index2": 70, "size": 11509, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/class/classRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "name": "./src/diagrams/class/classRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1802, "building": 543, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "7:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "82:15-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/class/classRenderer.js", "module": "./src/diagrams/class/classRenderer.js", "moduleName": "./src/diagrams/class/classRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "108:6-13" } ], "usedExports": [ "default" ], "providedExports": [ "drawEdge", "drawClass", "parseMember", "default" ], "optimizationBailout": [], "depth": 3, "source": "import { line, curveBasis } from 'd3';\nimport { lookUpDomId, relationType } from './classDb';\nimport utils from '../../utils';\nimport { logger } from '../../logger';\nvar edgeCount = 0;\nexport var drawEdge = function drawEdge(elem, path, relation, conf) {\n var getRelationType = function getRelationType(type) {\n switch (type) {\n case relationType.AGGREGATION:\n return 'aggregation';\n\n case relationType.EXTENSION:\n return 'extension';\n\n case relationType.COMPOSITION:\n return 'composition';\n\n case relationType.DEPENDENCY:\n return 'dependency';\n }\n };\n\n path.points = path.points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // The data for our line\n\n var lineData = path.points; // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis);\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', 'edge' + edgeCount).attr('class', 'relation');\n var url = '';\n\n if (conf.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n if (relation.relation.lineType == 1) {\n svgPath.attr('class', 'relation dashed-line');\n }\n\n if (relation.relation.type1 !== 'none') {\n svgPath.attr('marker-start', 'url(' + url + '#' + getRelationType(relation.relation.type1) + 'Start' + ')');\n }\n\n if (relation.relation.type2 !== 'none') {\n svgPath.attr('marker-end', 'url(' + url + '#' + getRelationType(relation.relation.type2) + 'End' + ')');\n }\n\n var x, y;\n var l = path.points.length; // Calculate Label position\n\n var labelPosition = utils.calcLabelPosition(path.points);\n x = labelPosition.x;\n y = labelPosition.y;\n var p1_card_x, p1_card_y;\n var p2_card_x, p2_card_y;\n\n if (l % 2 !== 0 && l > 1) {\n var cardinality_1_point = utils.calcCardinalityPosition(relation.relation.type1 !== 'none', path.points, path.points[0]);\n var cardinality_2_point = utils.calcCardinalityPosition(relation.relation.type2 !== 'none', path.points, path.points[l - 1]);\n logger.debug('cardinality_1_point ' + JSON.stringify(cardinality_1_point));\n logger.debug('cardinality_2_point ' + JSON.stringify(cardinality_2_point));\n p1_card_x = cardinality_1_point.x;\n p1_card_y = cardinality_1_point.y;\n p2_card_x = cardinality_2_point.x;\n p2_card_y = cardinality_2_point.y;\n }\n\n if (typeof relation.title !== 'undefined') {\n var g = elem.append('g').attr('class', 'classLabel');\n var label = g.append('text').attr('class', 'label').attr('x', x).attr('y', y).attr('fill', 'red').attr('text-anchor', 'middle').text(relation.title);\n window.label = label;\n var bounds = label.node().getBBox();\n g.insert('rect', ':first-child').attr('class', 'box').attr('x', bounds.x - conf.padding / 2).attr('y', bounds.y - conf.padding / 2).attr('width', bounds.width + conf.padding).attr('height', bounds.height + conf.padding);\n }\n\n logger.info('Rendering relation ' + JSON.stringify(relation));\n\n if (typeof relation.relationTitle1 !== 'undefined' && relation.relationTitle1 !== 'none') {\n var _g = elem.append('g').attr('class', 'cardinality');\n\n _g.append('text').attr('class', 'type1').attr('x', p1_card_x).attr('y', p1_card_y).attr('fill', 'black').attr('font-size', '6').text(relation.relationTitle1);\n }\n\n if (typeof relation.relationTitle2 !== 'undefined' && relation.relationTitle2 !== 'none') {\n var _g2 = elem.append('g').attr('class', 'cardinality');\n\n _g2.append('text').attr('class', 'type2').attr('x', p2_card_x).attr('y', p2_card_y).attr('fill', 'black').attr('font-size', '6').text(relation.relationTitle2);\n }\n\n edgeCount++;\n};\nexport var drawClass = function drawClass(elem, classDef, conf) {\n logger.info('Rendering class ' + classDef);\n var cssClassStr = 'classGroup ';\n\n if (classDef.cssClasses.length > 0) {\n cssClassStr = cssClassStr + classDef.cssClasses.join(' ');\n }\n\n var id = classDef.id;\n var classInfo = {\n id: id,\n label: classDef.id,\n width: 0,\n height: 0\n }; // add class group\n\n var g = elem.append('g').attr('id', lookUpDomId(id)).attr('class', cssClassStr); // add title\n\n var title;\n\n if (classDef.link) {\n title = g.append('svg:a').attr('xlink:href', classDef.link).attr('target', '_blank').append('text').attr('y', conf.textHeight + conf.padding).attr('x', 0);\n } else {\n title = g.append('text').attr('y', conf.textHeight + conf.padding).attr('x', 0);\n } // add annotations\n\n\n var isFirst = true;\n classDef.annotations.forEach(function (member) {\n var titleText2 = title.append('tspan').text('«' + member + '»');\n if (!isFirst) titleText2.attr('dy', conf.textHeight);\n isFirst = false;\n });\n var classTitleString = classDef.id;\n\n if (classDef.type !== undefined && classDef.type !== '') {\n classTitleString += '<' + classDef.type + '>';\n }\n\n var classTitle = title.append('tspan').text(classTitleString).attr('class', 'title'); // If class has annotations the title needs to have an offset of the text height\n\n if (!isFirst) classTitle.attr('dy', conf.textHeight);\n var titleHeight = title.node().getBBox().height;\n var membersLine = g.append('line') // text label for the x axis\n .attr('x1', 0).attr('y1', conf.padding + titleHeight + conf.dividerMargin / 2).attr('y2', conf.padding + titleHeight + conf.dividerMargin / 2);\n var members = g.append('text') // text label for the x axis\n .attr('x', conf.padding).attr('y', titleHeight + conf.dividerMargin + conf.textHeight).attr('fill', 'white').attr('class', 'classText');\n isFirst = true;\n classDef.members.forEach(function (member) {\n addTspan(members, member, isFirst, conf);\n isFirst = false;\n });\n var membersBox = members.node().getBBox();\n var methodsLine = g.append('line') // text label for the x axis\n .attr('x1', 0).attr('y1', conf.padding + titleHeight + conf.dividerMargin + membersBox.height).attr('y2', conf.padding + titleHeight + conf.dividerMargin + membersBox.height);\n var methods = g.append('text') // text label for the x axis\n .attr('x', conf.padding).attr('y', titleHeight + 2 * conf.dividerMargin + membersBox.height + conf.textHeight).attr('fill', 'white').attr('class', 'classText');\n isFirst = true;\n classDef.methods.forEach(function (method) {\n addTspan(methods, method, isFirst, conf);\n isFirst = false;\n });\n var classBox = g.node().getBBox();\n var rect = g.insert('rect', ':first-child').attr('x', 0).attr('y', 0).attr('width', classBox.width + 2 * conf.padding).attr('height', classBox.height + conf.padding + 0.5 * conf.dividerMargin);\n var rectWidth = rect.node().getBBox().width; // Center title\n // We subtract the width of each text element from the class box width and divide it by 2\n\n title.node().childNodes.forEach(function (x) {\n x.setAttribute('x', (rectWidth - x.getBBox().width) / 2);\n });\n\n if (classDef.tooltip) {\n title.insert('title').text(classDef.tooltip);\n }\n\n membersLine.attr('x2', rectWidth);\n methodsLine.attr('x2', rectWidth);\n classInfo.width = rectWidth;\n classInfo.height = classBox.height + conf.padding + 0.5 * conf.dividerMargin;\n return classInfo;\n};\nexport var parseMember = function parseMember(text) {\n var fieldRegEx = /(\\+|-|~|#)?(\\w+)(~\\w+~|\\[\\])?\\s+(\\w+)/;\n var methodRegEx = /^([+|\\-|~|#])?(\\w+) *\\( *(.*)\\) *(\\*|\\$)? *(\\w*[~|[\\]]*\\s*\\w*~?)$/;\n var fieldMatch = text.match(fieldRegEx);\n var methodMatch = text.match(methodRegEx);\n\n if (fieldMatch && !methodMatch) {\n return buildFieldDisplay(fieldMatch);\n } else if (methodMatch) {\n return buildMethodDisplay(methodMatch);\n } else {\n return buildLegacyDisplay(text);\n }\n};\n\nvar buildFieldDisplay = function buildFieldDisplay(parsedText) {\n var displayText = '';\n\n try {\n var visibility = parsedText[1] ? parsedText[1].trim() : '';\n var fieldType = parsedText[2] ? parsedText[2].trim() : '';\n var genericType = parsedText[3] ? parseGenericTypes(parsedText[3].trim()) : '';\n var fieldName = parsedText[4] ? parsedText[4].trim() : '';\n displayText = visibility + fieldType + genericType + ' ' + fieldName;\n } catch (err) {\n displayText = parsedText;\n }\n\n return {\n displayText: displayText,\n cssStyle: ''\n };\n};\n\nvar buildMethodDisplay = function buildMethodDisplay(parsedText) {\n var cssStyle = '';\n var displayText = '';\n\n try {\n var visibility = parsedText[1] ? parsedText[1].trim() : '';\n var methodName = parsedText[2] ? parsedText[2].trim() : '';\n var parameters = parsedText[3] ? parseGenericTypes(parsedText[3].trim()) : '';\n var classifier = parsedText[4] ? parsedText[4].trim() : '';\n var returnType = parsedText[5] ? ' : ' + parseGenericTypes(parsedText[5]).trim() : '';\n displayText = visibility + methodName + '(' + parameters + ')' + returnType;\n cssStyle = parseClassifier(classifier);\n } catch (err) {\n displayText = parsedText;\n }\n\n return {\n displayText: displayText,\n cssStyle: cssStyle\n };\n};\n\nvar buildLegacyDisplay = function buildLegacyDisplay(text) {\n // if for some reason we dont have any match, use old format to parse text\n var displayText = '';\n var cssStyle = '';\n var memberText = '';\n var returnType = '';\n var methodStart = text.indexOf('(');\n var methodEnd = text.indexOf(')');\n\n if (methodStart > 1 && methodEnd > methodStart && methodEnd <= text.length) {\n var visibility = '';\n var methodName = '';\n var firstChar = text.substring(0, 1);\n\n if (firstChar.match(/\\w/)) {\n methodName = text.substring(0, methodStart).trim();\n } else {\n if (firstChar.match(/\\+|-|~|#/)) {\n visibility = firstChar;\n }\n\n methodName = text.substring(1, methodStart).trim();\n }\n\n var parameters = text.substring(methodStart + 1, methodEnd);\n var classifier = text.substring(methodEnd + 1, 1);\n cssStyle = parseClassifier(classifier);\n displayText = visibility + methodName + '(' + parseGenericTypes(parameters.trim()) + ')';\n\n if (methodEnd < memberText.length) {\n returnType = text.substring(methodEnd + 2).trim();\n\n if (returnType !== '') {\n returnType = ' : ' + parseGenericTypes(returnType);\n }\n }\n } else {\n // finally - if all else fails, just send the text back as written (other than parsing for generic types)\n displayText = parseGenericTypes(text);\n }\n\n return {\n displayText: displayText,\n cssStyle: cssStyle\n };\n};\n\nvar addTspan = function addTspan(textEl, txt, isFirst, conf) {\n var member = parseMember(txt);\n var tSpan = textEl.append('tspan').attr('x', conf.padding).text(member.displayText);\n\n if (member.cssStyle !== '') {\n tSpan.attr('style', member.cssStyle);\n }\n\n if (!isFirst) {\n tSpan.attr('dy', conf.textHeight);\n }\n};\n\nvar parseGenericTypes = function parseGenericTypes(text) {\n var cleanedText = text;\n\n if (text.indexOf('~') != -1) {\n cleanedText = cleanedText.replace('~', '<');\n cleanedText = cleanedText.replace('~', '>');\n return parseGenericTypes(cleanedText);\n } else {\n return cleanedText;\n }\n};\n\nvar parseClassifier = function parseClassifier(classifier) {\n switch (classifier) {\n case '*':\n return 'font-style:italic;';\n\n case '$':\n return 'text-decoration:underline;';\n\n default:\n return '';\n }\n};\n\nexport default {\n drawClass: drawClass,\n drawEdge: drawEdge,\n parseMember: parseMember\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "name": "./src/diagrams/state/shapes.js", "index": 75, "index2": 73, "size": 15372, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/state/stateRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1735, "building": 602, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./shapes", "loc": "9:0-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "142:14-28" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "157:13-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "168:17-26" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "module": "./src/diagrams/state/stateRenderer.js", "moduleName": "./src/diagrams/state/stateRenderer.js", "type": "harmony import specifier", "userRequest": "./shapes", "loc": "235:6-14" } ], "usedExports": [ "addTitleAndBox", "drawState", "drawEdge" ], "providedExports": [ "drawStartState", "drawDivider", "drawSimpleState", "drawDescrState", "addTitleAndBox", "drawText", "drawNote", "drawState", "drawEdge" ], "optimizationBailout": [], "depth": 3, "source": "import { line, curveBasis } from 'd3';\nimport idCache from './id-cache.js';\nimport stateDb from './stateDb';\nimport utils from '../../utils';\nimport common from '../common/common';\nimport { getConfig } from '../../config';\nimport { logger } from '../../logger'; // let conf;\n\n/**\n * Draws a start state as a black circle\n */\n\nexport var drawStartState = function drawStartState(g) {\n return g.append('circle').style('stroke', 'black').style('fill', 'black').attr('r', getConfig().state.sizeUnit).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit);\n};\n/**\n * Draws a start state as a black circle\n */\n\nexport var drawDivider = function drawDivider(g) {\n return g.append('line').style('stroke', 'grey').style('stroke-dasharray', '3').attr('x1', getConfig().state.textHeight).attr('class', 'divider').attr('x2', getConfig().state.textHeight * 2).attr('y1', 0).attr('y2', 0);\n};\n/**\n * Draws a an end state as a black circle\n */\n\nexport var drawSimpleState = function drawSimpleState(g, stateDef) {\n var state = g.append('text').attr('x', 2 * getConfig().state.padding).attr('y', getConfig().state.textHeight + 2 * getConfig().state.padding).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.id);\n var classBox = state.node().getBBox();\n g.insert('rect', ':first-child').attr('x', getConfig().state.padding).attr('y', getConfig().state.padding).attr('width', classBox.width + 2 * getConfig().state.padding).attr('height', classBox.height + 2 * getConfig().state.padding).attr('rx', getConfig().state.radius);\n return state;\n};\n/**\n * Draws a state with descriptions\n * @param {*} g\n * @param {*} stateDef\n */\n\nexport var drawDescrState = function drawDescrState(g, stateDef) {\n var addTspan = function addTspan(textEl, txt, isFirst) {\n var tSpan = textEl.append('tspan').attr('x', 2 * getConfig().state.padding).text(txt);\n\n if (!isFirst) {\n tSpan.attr('dy', getConfig().state.textHeight);\n }\n };\n\n var title = g.append('text').attr('x', 2 * getConfig().state.padding).attr('y', getConfig().state.textHeight + 1.3 * getConfig().state.padding).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.descriptions[0]);\n var titleBox = title.node().getBBox();\n var titleHeight = titleBox.height;\n var description = g.append('text') // text label for the x axis\n .attr('x', getConfig().state.padding).attr('y', titleHeight + getConfig().state.padding * 0.4 + getConfig().state.dividerMargin + getConfig().state.textHeight).attr('class', 'state-description');\n var isFirst = true;\n var isSecond = true;\n stateDef.descriptions.forEach(function (descr) {\n if (!isFirst) {\n addTspan(description, descr, isSecond);\n isSecond = false;\n }\n\n isFirst = false;\n });\n var descrLine = g.append('line') // text label for the x axis\n .attr('x1', getConfig().state.padding).attr('y1', getConfig().state.padding + titleHeight + getConfig().state.dividerMargin / 2).attr('y2', getConfig().state.padding + titleHeight + getConfig().state.dividerMargin / 2).attr('class', 'descr-divider');\n var descrBox = description.node().getBBox();\n var width = Math.max(descrBox.width, titleBox.width);\n descrLine.attr('x2', width + 3 * getConfig().state.padding); // const classBox = title.node().getBBox();\n\n g.insert('rect', ':first-child').attr('x', getConfig().state.padding).attr('y', getConfig().state.padding).attr('width', width + 2 * getConfig().state.padding).attr('height', descrBox.height + titleHeight + 2 * getConfig().state.padding).attr('rx', getConfig().state.radius);\n return g;\n};\n/**\n * Adds the creates a box around the existing content and adds a\n * panel for the id on top of the content.\n */\n\n/**\n * Function that creates an title row and a frame around a substate for a composit state diagram.\n * The function returns a new d3 svg object with updated width and height properties;\n * @param {*} g The d3 svg object for the substate to framed\n * @param {*} stateDef The info about the\n */\n\nexport var addTitleAndBox = function addTitleAndBox(g, stateDef, altBkg) {\n var pad = getConfig().state.padding;\n var dblPad = 2 * getConfig().state.padding;\n var orgBox = g.node().getBBox();\n var orgWidth = orgBox.width;\n var orgX = orgBox.x;\n var title = g.append('text').attr('x', 0).attr('y', getConfig().state.titleShift).attr('font-size', getConfig().state.fontSize).attr('class', 'state-title').text(stateDef.id);\n var titleBox = title.node().getBBox();\n var titleWidth = titleBox.width + dblPad;\n var width = Math.max(titleWidth, orgWidth); // + dblPad;\n\n if (width === orgWidth) {\n width = width + dblPad;\n }\n\n var startX; // const lineY = 1 - getConfig().state.textHeight;\n // const descrLine = g\n // .append('line') // text label for the x axis\n // .attr('x1', 0)\n // .attr('y1', lineY)\n // .attr('y2', lineY)\n // .attr('class', 'descr-divider');\n\n var graphBox = g.node().getBBox(); // console.warn(width / 2, titleWidth / 2, getConfig().state.padding, orgBox);\n // descrLine.attr('x2', graphBox.width + getConfig().state.padding);\n\n if (stateDef.doc) {// cnsole.warn(\n // stateDef.id,\n // 'orgX: ',\n // orgX,\n // 'width: ',\n // width,\n // 'titleWidth: ',\n // titleWidth,\n // 'orgWidth: ',\n // orgWidth,\n // 'width',\n // width\n // );\n }\n\n startX = orgX - pad;\n\n if (titleWidth > orgWidth) {\n startX = (orgWidth - width) / 2 + pad;\n }\n\n if (Math.abs(orgX - graphBox.x) < pad) {\n if (titleWidth > orgWidth) {\n startX = orgX - (titleWidth - orgWidth) / 2;\n }\n }\n\n var lineY = 1 - getConfig().state.textHeight; // White color\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', lineY).attr('class', altBkg ? 'alt-composit' : 'composit').attr('width', width).attr('height', graphBox.height + getConfig().state.textHeight + getConfig().state.titleShift + 1).attr('rx', '0');\n title.attr('x', startX + pad);\n if (titleWidth <= orgWidth) title.attr('x', orgX + (width - dblPad) / 2 - titleWidth / 2 + pad); // Title background\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', getConfig().state.titleShift - getConfig().state.textHeight - getConfig().state.padding).attr('width', width) // Just needs to be higher then the descr line, will be clipped by the white color box\n .attr('height', getConfig().state.textHeight * 3).attr('rx', getConfig().state.radius); // Full background\n\n g.insert('rect', ':first-child').attr('x', startX).attr('y', getConfig().state.titleShift - getConfig().state.textHeight - getConfig().state.padding).attr('width', width).attr('height', graphBox.height + 3 + 2 * getConfig().state.textHeight).attr('rx', getConfig().state.radius);\n return g;\n};\n\nvar drawEndState = function drawEndState(g) {\n g.append('circle').style('stroke', 'black').style('fill', 'white').attr('r', getConfig().state.sizeUnit + getConfig().state.miniPadding).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit + getConfig().state.miniPadding).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit + getConfig().state.miniPadding);\n return g.append('circle').style('stroke', 'black').style('fill', 'black').attr('r', getConfig().state.sizeUnit).attr('cx', getConfig().state.padding + getConfig().state.sizeUnit + 2).attr('cy', getConfig().state.padding + getConfig().state.sizeUnit + 2);\n};\n\nvar drawForkJoinState = function drawForkJoinState(g, stateDef) {\n var width = getConfig().state.forkWidth;\n var height = getConfig().state.forkHeight;\n\n if (stateDef.parentId) {\n var tmp = width;\n width = height;\n height = tmp;\n }\n\n return g.append('rect').style('stroke', 'black').style('fill', 'black').attr('width', width).attr('height', height).attr('x', getConfig().state.padding).attr('y', getConfig().state.padding);\n};\n\nexport var drawText = function drawText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(common.lineBreakRegex, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.style('text-anchor', textData.anchor);\n textElem.attr('fill', textData.fill);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.attr('fill', textData.fill);\n span.text(nText);\n return textElem;\n};\n\nvar _drawLongText = function _drawLongText(_text, x, y, g) {\n var textHeight = 0;\n var textElem = g.append('text');\n textElem.style('text-anchor', 'start');\n textElem.attr('class', 'noteText');\n\n var text = _text.replace(/\\r\\n/g, '
');\n\n text = text.replace(/\\n/g, '
');\n var lines = text.split(common.lineBreakRegex);\n var tHeight = 1.25 * getConfig().state.noteMargin;\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = lines[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var _line = _step.value;\n\n var txt = _line.trim();\n\n if (txt.length > 0) {\n var span = textElem.append('tspan');\n span.text(txt);\n\n if (tHeight === 0) {\n var textBounds = span.node().getBBox();\n tHeight += textBounds.height;\n } // console.warn('textBounds', textBounds);\n\n\n textHeight += tHeight;\n span.attr('x', x + getConfig().state.noteMargin);\n span.attr('y', y + textHeight + 1.25 * getConfig().state.noteMargin);\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return {\n textWidth: textElem.node().getBBox().width,\n textHeight: textHeight\n };\n};\n/**\n * Draws a note to the diagram\n * @param text - The text of the given note.\n * @param g - The element the note is attached to.\n */\n\n\nexport var drawNote = function drawNote(text, g) {\n g.attr('class', 'state-note');\n var note = g.append('rect').attr('x', 0).attr('y', getConfig().state.padding);\n var rectElem = g.append('g');\n\n var _drawLongText2 = _drawLongText(text, 0, 0, rectElem),\n textWidth = _drawLongText2.textWidth,\n textHeight = _drawLongText2.textHeight;\n\n note.attr('height', textHeight + 2 * getConfig().state.noteMargin);\n note.attr('width', textWidth + getConfig().state.noteMargin * 2);\n return note;\n};\n/**\n * Starting point for drawing a state. The function finds out the specifics\n * about the state and renders with approprtiate function.\n * @param {*} elem\n * @param {*} stateDef\n */\n\nexport var drawState = function drawState(elem, stateDef) {\n var id = stateDef.id;\n var stateInfo = {\n id: id,\n label: stateDef.id,\n width: 0,\n height: 0\n };\n var g = elem.append('g').attr('id', id).attr('class', 'stateGroup');\n if (stateDef.type === 'start') drawStartState(g);\n if (stateDef.type === 'end') drawEndState(g);\n if (stateDef.type === 'fork' || stateDef.type === 'join') drawForkJoinState(g, stateDef);\n if (stateDef.type === 'note') drawNote(stateDef.note.text, g);\n if (stateDef.type === 'divider') drawDivider(g);\n if (stateDef.type === 'default' && stateDef.descriptions.length === 0) drawSimpleState(g, stateDef);\n if (stateDef.type === 'default' && stateDef.descriptions.length > 0) drawDescrState(g, stateDef);\n var stateBox = g.node().getBBox();\n stateInfo.width = stateBox.width + 2 * getConfig().state.padding;\n stateInfo.height = stateBox.height + 2 * getConfig().state.padding;\n idCache.set(id, stateInfo); // stateCnt++;\n\n return stateInfo;\n};\nvar edgeCount = 0;\nexport var drawEdge = function drawEdge(elem, path, relation) {\n var getRelationType = function getRelationType(type) {\n switch (type) {\n case stateDb.relationType.AGGREGATION:\n return 'aggregation';\n\n case stateDb.relationType.EXTENSION:\n return 'extension';\n\n case stateDb.relationType.COMPOSITION:\n return 'composition';\n\n case stateDb.relationType.DEPENDENCY:\n return 'dependency';\n }\n };\n\n path.points = path.points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // The data for our line\n\n var lineData = path.points; // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis);\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', 'edge' + edgeCount).attr('class', 'transition');\n var url = '';\n\n if (getConfig().state.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n svgPath.attr('marker-end', 'url(' + url + '#' + getRelationType(stateDb.relationType.DEPENDENCY) + 'End' + ')');\n\n if (typeof relation.title !== 'undefined') {\n var label = elem.append('g').attr('class', 'stateLabel');\n\n var _utils$calcLabelPosit = utils.calcLabelPosition(path.points),\n x = _utils$calcLabelPosit.x,\n y = _utils$calcLabelPosit.y;\n\n var rows = common.getRows(relation.title); // console.warn(rows);\n\n var titleHeight = 0;\n var titleRows = [];\n var maxWidth = 0;\n var minX = 0;\n\n for (var i = 0; i <= rows.length; i++) {\n var title = label.append('text').attr('text-anchor', 'middle').text(rows[i]).attr('x', x).attr('y', y + titleHeight);\n var boundstmp = title.node().getBBox();\n maxWidth = Math.max(maxWidth, boundstmp.width);\n minX = Math.min(minX, boundstmp.x);\n logger.info(boundstmp.x, x, y + titleHeight);\n\n if (titleHeight === 0) {\n var titleBox = title.node().getBBox();\n titleHeight = titleBox.height;\n logger.info('Title height', titleHeight, y);\n }\n\n titleRows.push(title);\n }\n\n var boxHeight = titleHeight * rows.length;\n\n if (rows.length > 1) {\n var heightAdj = (rows.length - 1) * titleHeight * 0.5;\n titleRows.forEach(function (title, i) {\n return title.attr('y', y + i * titleHeight - heightAdj);\n });\n boxHeight = titleHeight * rows.length;\n }\n\n var bounds = label.node().getBBox();\n label.insert('rect', ':first-child').attr('class', 'box').attr('x', x - maxWidth / 2 - getConfig().state.padding / 2).attr('y', y - boxHeight / 2 - getConfig().state.padding / 2 - 3.5).attr('width', maxWidth + getConfig().state.padding).attr('height', boxHeight + getConfig().state.padding);\n logger.info(bounds); //label.attr('transform', '0 -' + (bounds.y / 2));\n // Debug points\n // path.points.forEach(point => {\n // g.append('circle')\n // .style('stroke', 'red')\n // .style('fill', 'red')\n // .attr('r', 1)\n // .attr('cx', point.x)\n // .attr('cy', point.y);\n // });\n // g.append('circle')\n // .style('stroke', 'blue')\n // .style('fill', 'blue')\n // .attr('r', 1)\n // .attr('cx', x)\n // .attr('cy', y);\n }\n\n edgeCount++;\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erMarkers.js", "name": "./src/diagrams/er/erMarkers.js", "index": 82, "index2": 79, "size": 3422, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/er/erRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "name": "./src/diagrams/er/erRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1517, "building": 508 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./erMarkers", "loc": "8:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "133:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "137:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "141:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "145:54-63" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "151:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "155:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "159:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "163:56-65" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/er/erRenderer.js", "module": "./src/diagrams/er/erRenderer.js", "moduleName": "./src/diagrams/er/erRenderer.js", "type": "harmony import specifier", "userRequest": "./erMarkers", "loc": "202:2-11" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 3, "source": "var ERMarkers = {\n ONLY_ONE_START: 'ONLY_ONE_START',\n ONLY_ONE_END: 'ONLY_ONE_END',\n ZERO_OR_ONE_START: 'ZERO_OR_ONE_START',\n ZERO_OR_ONE_END: 'ZERO_OR_ONE_END',\n ONE_OR_MORE_START: 'ONE_OR_MORE_START',\n ONE_OR_MORE_END: 'ONE_OR_MORE_END',\n ZERO_OR_MORE_START: 'ZERO_OR_MORE_START',\n ZERO_OR_MORE_END: 'ZERO_OR_MORE_END'\n};\n/**\n * Put the markers into the svg DOM for later use with edge paths\n */\n\nvar insertMarkers = function insertMarkers(elem, conf) {\n var marker;\n elem.append('defs').append('marker').attr('id', ERMarkers.ONLY_ONE_START).attr('refX', 0).attr('refY', 9).attr('markerWidth', 18).attr('markerHeight', 18).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M9,0 L9,18 M15,0 L15,18');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONLY_ONE_END).attr('refX', 18).attr('refY', 9).attr('markerWidth', 18).attr('markerHeight', 18).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M3,0 L3,18 M9,0 L9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_ONE_START).attr('refX', 0).attr('refY', 9).attr('markerWidth', 30).attr('markerHeight', 18).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 21).attr('cy', 9).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M9,0 L9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_ONE_END).attr('refX', 30).attr('refY', 9).attr('markerWidth', 30).attr('markerHeight', 18).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 9).attr('cy', 9).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M21,0 L21,18');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONE_OR_MORE_START).attr('refX', 18).attr('refY', 18).attr('markerWidth', 45).attr('markerHeight', 36).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27');\n elem.append('defs').append('marker').attr('id', ERMarkers.ONE_OR_MORE_END).attr('refX', 27).attr('refY', 18).attr('markerWidth', 45).attr('markerHeight', 36).attr('orient', 'auto').append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_MORE_START).attr('refX', 18).attr('refY', 18).attr('markerWidth', 57).attr('markerHeight', 36).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 48).attr('cy', 18).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M0,18 Q18,0 36,18 Q18,36 0,18');\n marker = elem.append('defs').append('marker').attr('id', ERMarkers.ZERO_OR_MORE_END).attr('refX', 39).attr('refY', 18).attr('markerWidth', 57).attr('markerHeight', 36).attr('orient', 'auto');\n marker.append('circle').attr('stroke', conf.stroke).attr('fill', 'white').attr('cx', 9).attr('cy', 18).attr('r', 6);\n marker.append('path').attr('stroke', conf.stroke).attr('fill', 'none').attr('d', 'M21,18 Q39,0 57,18 Q39,36 21,18');\n return;\n};\n\nexport default {\n ERMarkers: ERMarkers,\n insertMarkers: insertMarkers\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/svgDraw.js", "name": "./src/diagrams/user-journey/svgDraw.js", "index": 84, "index2": 81, "size": 9389, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "issuerId": null, "issuerName": "./src/diagrams/user-journey/journeyRenderer.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "name": "./src/diagrams/user-journey/journeyRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } } ], "profile": { "factory": 1472, "building": 637, "dependencies": 0 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony side effect evaluation", "userRequest": "./svgDraw", "loc": "4:0-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "57:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "64:4-11" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "76:2-9" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "227:6-13" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/user-journey/journeyRenderer.js", "module": "./src/diagrams/user-journey/journeyRenderer.js", "moduleName": "./src/diagrams/user-journey/journeyRenderer.js", "type": "harmony import specifier", "userRequest": "./svgDraw", "loc": "249:4-11" } ], "usedExports": [ "default" ], "providedExports": [ "drawRect", "drawFace", "drawCircle", "drawText", "drawLabel", "drawSection", "drawTask", "drawBackgroundRect", "getTextObj", "getNoteRect", "default" ], "optimizationBailout": [], "depth": 3, "source": "import { arc as d3arc } from 'd3';\nexport var drawRect = function drawRect(elem, rectData) {\n var rectElem = elem.append('rect');\n rectElem.attr('x', rectData.x);\n rectElem.attr('y', rectData.y);\n rectElem.attr('fill', rectData.fill);\n rectElem.attr('stroke', rectData.stroke);\n rectElem.attr('width', rectData.width);\n rectElem.attr('height', rectData.height);\n rectElem.attr('rx', rectData.rx);\n rectElem.attr('ry', rectData.ry);\n\n if (typeof rectData.class !== 'undefined') {\n rectElem.attr('class', rectData.class);\n }\n\n return rectElem;\n};\nexport var drawFace = function drawFace(element, faceData) {\n var radius = 15;\n var circleElement = element.append('circle').attr('cx', faceData.cx).attr('cy', faceData.cy).attr('fill', '#FFF8DC').attr('stroke', '#999').attr('r', radius).attr('stroke-width', 2).attr('overflow', 'visible');\n var face = element.append('g'); //left eye\n\n face.append('circle').attr('cx', faceData.cx - radius / 3).attr('cy', faceData.cy - radius / 3).attr('r', 1.5).attr('stroke-width', 2).attr('fill', '#666').attr('stroke', '#666'); //right eye\n\n face.append('circle').attr('cx', faceData.cx + radius / 3).attr('cy', faceData.cy - radius / 3).attr('r', 1.5).attr('stroke-width', 2).attr('fill', '#666').attr('stroke', '#666');\n\n function smile(face) {\n var arc = d3arc().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2); //mouth\n\n face.append('path').attr('d', arc).attr('transform', 'translate(' + faceData.cx + ',' + (faceData.cy + 2) + ')');\n }\n\n function sad(face) {\n var arc = d3arc().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(radius / 2).outerRadius(radius / 2.2); //mouth\n\n face.append('path').attr('d', arc).attr('transform', 'translate(' + faceData.cx + ',' + (faceData.cy + 7) + ')');\n }\n\n function ambivalent(face) {\n face.append('line').attr('stroke', 2).attr('x1', faceData.cx - 5).attr('y1', faceData.cy + 7).attr('x2', faceData.cx + 5).attr('y2', faceData.cy + 7).attr('class', 'task-line').attr('stroke-width', '1px').attr('stroke', '#666');\n }\n\n if (faceData.score > 3) {\n smile(face);\n } else if (faceData.score < 3) {\n sad(face);\n } else {\n ambivalent(face);\n }\n\n return circleElement;\n};\nexport var drawCircle = function drawCircle(element, circleData) {\n var circleElement = element.append('circle');\n circleElement.attr('cx', circleData.cx);\n circleElement.attr('cy', circleData.cy);\n circleElement.attr('fill', circleData.fill);\n circleElement.attr('stroke', circleData.stroke);\n circleElement.attr('r', circleData.r);\n\n if (typeof circleElement.class !== 'undefined') {\n circleElement.attr('class', circleElement.class);\n }\n\n if (typeof circleData.title !== 'undefined') {\n circleElement.append('title').text(circleData.title);\n }\n\n return circleElement;\n};\nexport var drawText = function drawText(elem, textData) {\n // Remove and ignore br:s\n var nText = textData.text.replace(//gi, ' ');\n var textElem = elem.append('text');\n textElem.attr('x', textData.x);\n textElem.attr('y', textData.y);\n textElem.attr('fill', textData.fill);\n textElem.style('text-anchor', textData.anchor);\n\n if (typeof textData.class !== 'undefined') {\n textElem.attr('class', textData.class);\n }\n\n var span = textElem.append('tspan');\n span.attr('x', textData.x + textData.textMargin * 2);\n span.text(nText);\n return textElem;\n};\nexport var drawLabel = function drawLabel(elem, txtObject) {\n function genPoints(x, y, width, height, cut) {\n return x + ',' + y + ' ' + (x + width) + ',' + y + ' ' + (x + width) + ',' + (y + height - cut) + ' ' + (x + width - cut * 1.2) + ',' + (y + height) + ' ' + x + ',' + (y + height);\n }\n\n var polygon = elem.append('polygon');\n polygon.attr('points', genPoints(txtObject.x, txtObject.y, 50, 20, 7));\n polygon.attr('class', 'labelBox');\n txtObject.y = txtObject.y + txtObject.labelMargin;\n txtObject.x = txtObject.x + 0.5 * txtObject.labelMargin;\n drawText(elem, txtObject);\n};\nexport var drawSection = function drawSection(elem, section, conf) {\n var g = elem.append('g');\n var rect = getNoteRect();\n rect.x = section.x;\n rect.y = section.y;\n rect.fill = section.fill;\n rect.width = conf.width;\n rect.height = conf.height;\n rect.class = 'journey-section';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n\n _drawTextCandidateFunc(conf)(section.text, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'journey-section'\n }, conf, section.colour);\n};\nvar taskCount = -1;\n/**\n * Draws an actor in the diagram with the attaced line\n * @param elem The HTML element\n * @param task The task to render\n * @param conf The global configuration\n */\n\nexport var drawTask = function drawTask(elem, task, conf) {\n var center = task.x + conf.width / 2;\n var g = elem.append('g');\n taskCount++;\n var maxHeight = 300 + 5 * 30;\n g.append('line').attr('id', 'task' + taskCount).attr('x1', center).attr('y1', task.y).attr('x2', center).attr('y2', maxHeight).attr('class', 'task-line').attr('stroke-width', '1px').attr('stroke-dasharray', '4 2').attr('stroke', '#666');\n drawFace(g, {\n cx: center,\n cy: 300 + (5 - task.score) * 30,\n score: task.score\n });\n var rect = getNoteRect();\n rect.x = task.x;\n rect.y = task.y;\n rect.fill = task.fill;\n rect.width = conf.width;\n rect.height = conf.height;\n rect.class = 'task';\n rect.rx = 3;\n rect.ry = 3;\n drawRect(g, rect);\n var xPos = task.x + 14;\n task.people.forEach(function (person) {\n var colour = task.actors[person];\n var circle = {\n cx: xPos,\n cy: task.y,\n r: 7,\n fill: colour,\n stroke: '#000',\n title: person\n };\n drawCircle(g, circle);\n xPos += 10;\n });\n\n _drawTextCandidateFunc(conf)(task.task, g, rect.x, rect.y, rect.width, rect.height, {\n class: 'task'\n }, conf, task.colour);\n};\n/**\n * Draws a background rectangle\n * @param elem The html element\n * @param bounds The bounds of the drawing\n */\n\nexport var drawBackgroundRect = function drawBackgroundRect(elem, bounds) {\n var rectElem = drawRect(elem, {\n x: bounds.startx,\n y: bounds.starty,\n width: bounds.stopx - bounds.startx,\n height: bounds.stopy - bounds.starty,\n fill: bounds.fill,\n class: 'rect'\n });\n rectElem.lower();\n};\nexport var getTextObj = function getTextObj() {\n return {\n x: 0,\n y: 0,\n fill: undefined,\n 'text-anchor': 'start',\n width: 100,\n height: 100,\n textMargin: 0,\n rx: 0,\n ry: 0\n };\n};\nexport var getNoteRect = function getNoteRect() {\n return {\n x: 0,\n y: 0,\n width: 100,\n anchor: 'start',\n height: 100,\n rx: 0,\n ry: 0\n };\n};\n\nvar _drawTextCandidateFunc = function () {\n function byText(content, g, x, y, width, height, textAttrs, colour) {\n var text = g.append('text').attr('x', x + width / 2).attr('y', y + height / 2 + 5).style('font-color', colour).style('text-anchor', 'middle').text(content);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function byTspan(content, g, x, y, width, height, textAttrs, conf, colour) {\n var taskFontSize = conf.taskFontSize,\n taskFontFamily = conf.taskFontFamily;\n var lines = content.split(//gi);\n\n for (var i = 0; i < lines.length; i++) {\n var dy = i * taskFontSize - taskFontSize * (lines.length - 1) / 2;\n var text = g.append('text').attr('x', x + width / 2).attr('y', y).attr('fill', colour).style('text-anchor', 'middle').style('font-size', taskFontSize).style('font-family', taskFontFamily);\n text.append('tspan').attr('x', x + width / 2).attr('dy', dy).text(lines[i]);\n text.attr('y', y + height / 2.0).attr('dominant-baseline', 'central').attr('alignment-baseline', 'central');\n\n _setTextAttrs(text, textAttrs);\n }\n }\n\n function byFo(content, g, x, y, width, height, textAttrs, conf, colour) {\n var body = g.append('switch');\n var f = body.append('foreignObject').attr('x', x).attr('y', y).attr('width', width).attr('height', height).attr('position', 'fixed');\n var text = f.append('div').style('display', 'table').style('height', '100%').style('width', '100%');\n text.append('div').style('display', 'table-cell').style('text-align', 'center').style('vertical-align', 'middle').style('color', colour).text(content);\n byTspan(content, body, x, y, width, height, textAttrs, conf);\n\n _setTextAttrs(text, textAttrs);\n }\n\n function _setTextAttrs(toText, fromTextAttrsDict) {\n for (var key in fromTextAttrsDict) {\n if (key in fromTextAttrsDict) {\n // eslint-disable-line\n // noinspection JSUnfilteredForInLoop\n toText.attr(key, fromTextAttrsDict[key]);\n }\n }\n }\n\n return function (conf) {\n return conf.textPlacement === 'fo' ? byFo : conf.textPlacement === 'old' ? byText : byTspan;\n };\n}();\n\nvar initGraphics = function initGraphics(graphics) {\n graphics.append('defs').append('marker').attr('id', 'arrowhead').attr('refX', 5).attr('refY', 2).attr('markerWidth', 6).attr('markerHeight', 4).attr('orient', 'auto').append('path').attr('d', 'M 0,0 V 4 L6,2 Z'); // this is actual shape for arrowhead\n};\n\nexport default {\n drawRect: drawRect,\n drawCircle: drawCircle,\n drawSection: drawSection,\n drawText: drawText,\n drawLabel: drawLabel,\n drawTask: drawTask,\n drawBackgroundRect: drawBackgroundRect,\n getTextObj: getTextObj,\n getNoteRect: getNoteRect,\n initGraphics: initGraphics\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/markers.js", "name": "./src/dagre-wrapper/markers.js", "index": 68, "index2": 64, "size": 6123, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./markers", "loc": "3:0-38" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./markers", "loc": "125:2-15" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 4, "source": "/**\n * Setup arrow head and define the marker. The result is appended to the svg.\n */\nimport { logger } from '../logger'; // Only add the number of markers that the diagram needs\n\nvar insertMarkers = function insertMarkers(elem, markerArray, type, id) {\n markerArray.forEach(function (markerName) {\n markers[markerName](elem, type, id);\n });\n};\n\nvar extension = function extension(elem, type, id) {\n logger.trace('Making markers for ', id);\n elem.append('defs').append('marker').attr('id', type + '-extensionStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 1,7 L18,13 V 1 Z');\n elem.append('defs').append('marker').attr('id', type + '-extensionEnd ' + type).attr('class', 'marker extension ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 1,1 V 13 L18,7 Z'); // this is actual shape for arrowhead\n};\n\nvar composition = function composition(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-compositionStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-compositionEnd').attr('class', 'marker extension ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n};\n\nvar aggregation = function aggregation(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-aggregationStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-aggregationEnd').attr('class', 'marker ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L1,7 L9,1 Z');\n};\n\nvar dependency = function dependency(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-dependencyStart').attr('class', 'marker extension ' + type).attr('refX', 0).attr('refY', 7).attr('markerWidth', 190).attr('markerHeight', 240).attr('orient', 'auto').append('path').attr('d', 'M 5,7 L9,13 L1,7 L9,1 Z');\n elem.append('defs').append('marker').attr('id', type + '-dependencyEnd').attr('class', 'marker ' + type).attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 28).attr('orient', 'auto').append('path').attr('d', 'M 18,7 L9,13 L14,7 L9,1 Z');\n};\n\nvar point = function point(elem, type) {\n elem.append('marker').attr('id', type + '-pointEnd').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 9).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 12).attr('markerHeight', 12).attr('orient', 'auto').append('path').attr('d', 'M 0 0 L 10 5 L 0 10 z').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-pointStart').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 0).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 12).attr('markerHeight', 12).attr('orient', 'auto').append('path').attr('d', 'M 0 5 L 10 10 L 10 0 z').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n};\n\nvar circle = function circle(elem, type) {\n elem.append('marker').attr('id', type + '-circleEnd').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', 11).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('circle').attr('cx', '5').attr('cy', '5').attr('r', '5').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-circleStart').attr('class', 'marker ' + type).attr('viewBox', '0 0 10 10').attr('refX', -1).attr('refY', 5).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('circle').attr('cx', '5').attr('cy', '5').attr('r', '5').attr('class', 'arrowMarkerPath').style('stroke-width', 1).style('stroke-dasharray', '1,0');\n};\n\nvar cross = function cross(elem, type) {\n elem.append('marker').attr('id', type + '-crossEnd').attr('class', 'marker cross ' + type).attr('viewBox', '0 0 11 11').attr('refX', 12).attr('refY', 5.2).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('path') // .attr('stroke', 'black')\n .attr('d', 'M 1,1 l 9,9 M 10,1 l -9,9').attr('class', 'arrowMarkerPath').style('stroke-width', 2).style('stroke-dasharray', '1,0');\n elem.append('marker').attr('id', type + '-crossStart').attr('class', 'marker cross ' + type).attr('viewBox', '0 0 11 11').attr('refX', -1).attr('refY', 5.2).attr('markerUnits', 'userSpaceOnUse').attr('markerWidth', 11).attr('markerHeight', 11).attr('orient', 'auto').append('path') // .attr('stroke', 'black')\n .attr('d', 'M 1,1 l 9,9 M 10,1 l -9,9').attr('class', 'arrowMarkerPath').style('stroke-width', 2).style('stroke-dasharray', '1,0');\n};\n\nvar barb = function barb(elem, type) {\n elem.append('defs').append('marker').attr('id', type + '-barbEnd').attr('refX', 19).attr('refY', 7).attr('markerWidth', 20).attr('markerHeight', 14).attr('markerUnits', 0).attr('orient', 'auto').append('path').attr('d', 'M 19,7 L9,13 L14,7 L9,1 Z');\n}; // TODO rename the class diagram markers to something shape descriptive and semanitc free\n\n\nvar markers = {\n extension: extension,\n composition: composition,\n aggregation: aggregation,\n dependency: dependency,\n point: point,\n circle: circle,\n cross: cross,\n barb: barb\n};\nexport default insertMarkers;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "name": "./src/dagre-wrapper/shapes/util.js", "index": 54, "index2": 51, "size": 1604, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "./util", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/util", "loc": "4:0-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/util", "loc": "5:0-82" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "./util", "loc": "7:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "11:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "./util", "loc": "16:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "32:21-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "33:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "44:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "53:6-22" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "71:12-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "72:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "82:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "104:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "105:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "115:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "134:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "135:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "145:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "164:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "165:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "175:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "194:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "195:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "205:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "224:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "225:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "235:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "257:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "258:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "268:22-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "278:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "301:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "310:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "380:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "390:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "398:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "408:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "417:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "428:23-34" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "465:11-29" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "466:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "480:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "500:2-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/util", "loc": "517:2-18" } ], "usedExports": [ "updateNodeBounds", "labelHelper", "insertPolygonShape" ], "providedExports": [ "labelHelper", "updateNodeBounds", "insertPolygonShape" ], "optimizationBailout": [], "depth": 4, "source": "import createLabel from '../createLabel';\nimport { getConfig } from '../../config';\nimport { select } from 'd3';\nexport var labelHelper = function labelHelper(parent, node, _classes, isNode) {\n var classes;\n\n if (!_classes) {\n classes = 'node default';\n } else {\n classes = _classes;\n } // Add outer g element\n\n\n var shapeSvg = parent.insert('g').attr('class', classes).attr('id', node.id); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'label');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, false, isNode)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n var halfPadding = node.padding / 2; // Center the label\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + -bbox.height / 2 + ')');\n return {\n shapeSvg: shapeSvg,\n bbox: bbox,\n halfPadding: halfPadding,\n label: label\n };\n};\nexport var updateNodeBounds = function updateNodeBounds(node, element) {\n var bbox = element.node().getBBox();\n node.width = bbox.width;\n node.height = bbox.height;\n};\nexport function insertPolygonShape(parent, w, h, points) {\n return parent.insert('polygon', ':first-child').attr('points', points.map(function (d) {\n return d.x + ',' + d.y;\n }).join(' ')).attr('class', 'label-container').attr('transform', 'translate(' + -w / 2 + ',' + h / 2 + ')');\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/mermaid-graphlib.js", "name": "./src/dagre-wrapper/mermaid-graphlib.js", "index": 65, "index2": 61, "size": 11877, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./mermaid-graphlib", "loc": "5:0-116" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "61:18-37" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "62:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "63:14-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:21-30" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:68-77" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "81:84-93" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "108:8-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "118:53-62" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "129:2-15" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./mermaid-graphlib", "loc": "131:2-24" } ], "usedExports": [ "findNonClusterChild", "clusterDb", "clear", "adjustClustersAndEdges" ], "providedExports": [ "clusterDb", "clear", "extractDecendants", "validate", "findNonClusterChild", "adjustClustersAndEdges", "extractor" ], "optimizationBailout": [], "depth": 4, "source": "/**\n * Decorates with functions required by mermaids dagre-wrapper.\n */\nimport { logger as log } from '../logger';\nimport graphlib from 'graphlib';\nexport var clusterDb = {};\nvar decendants = {};\nvar parents = {};\nexport var clear = function clear() {\n decendants = {};\n parents = {};\n clusterDb = {};\n};\n\nvar isDecendant = function isDecendant(id, ancenstorId) {\n // if (id === ancenstorId) return true;\n log.debug('In isDecendant', ancenstorId, ' ', id, ' = ', decendants[ancenstorId].indexOf(id) >= 0);\n if (decendants[ancenstorId].indexOf(id) >= 0) return true;\n return false;\n};\n\nvar edgeInCluster = function edgeInCluster(edge, clusterId) {\n log.info('Decendants of ', clusterId, ' is ', decendants[clusterId]);\n log.info('Edge is ', edge); // Edges to/from the cluster is not in the cluster, they are in the parent\n\n if (edge.v === clusterId) return false;\n if (edge.w === clusterId) return false;\n\n if (!decendants[clusterId]) {\n log.debug('Tilt, ', clusterId, ',not in decendants');\n return false;\n }\n\n log.info('Here ');\n if (decendants[clusterId].indexOf(edge.v) >= 0) return true;\n if (isDecendant(edge.v, clusterId)) return true;\n if (isDecendant(edge.w, clusterId)) return true;\n if (decendants[clusterId].indexOf(edge.w) >= 0) return true;\n return false;\n};\n\nvar copy = function copy(clusterId, graph, newGraph, rootId) {\n log.info('Copying children of ', clusterId, 'root', rootId, 'data', graph.node(clusterId), rootId);\n var nodes = graph.children(clusterId) || []; // Include cluster node if it is not the root\n\n if (clusterId !== rootId) {\n nodes.push(clusterId);\n }\n\n log.debug('Copying (nodes) clusterId', clusterId, 'nodes', nodes);\n nodes.forEach(function (node) {\n if (graph.children(node).length > 0) {\n copy(node, graph, newGraph, rootId);\n } else {\n var data = graph.node(node);\n log.info('cp ', node, ' to ', rootId, ' with parent ', clusterId); //,node, data, ' parent is ', clusterId);\n\n newGraph.setNode(node, data);\n log.debug('Setting parent', node, graph.parent(node));\n\n if (rootId !== graph.parent(node)) {\n newGraph.setParent(node, graph.parent(node));\n }\n\n if (clusterId !== rootId && node !== clusterId) {\n log.debug('Setting parent', node, clusterId);\n newGraph.setParent(node, clusterId);\n } else {\n log.info('In copy ', clusterId, 'root', rootId, 'data', graph.node(clusterId), rootId);\n log.debug('Not Setting parent for node=', node, 'cluster!==rootId', clusterId !== rootId, 'node!==clusterId', node !== clusterId);\n }\n\n var edges = graph.edges(node);\n log.debug('Copying Edges', edges);\n edges.forEach(function (edge) {\n log.info('Edge', edge);\n var data = graph.edge(edge.v, edge.w, edge.name);\n log.info('Edge data', data, rootId);\n\n try {\n // Do not copy edges in and out of the root cluster, they belong to the parent graph\n if (edgeInCluster(edge, rootId)) {\n log.info('Copying as ', edge.v, edge.w, data, edge.name);\n newGraph.setEdge(edge.v, edge.w, data, edge.name);\n log.info('newGraph edges ', newGraph.edges(), newGraph.edge(newGraph.edges()[0]));\n } else {\n log.info('Skipping copy of edge ', edge.v, '-->', edge.w, ' rootId: ', rootId, ' clusterId:', clusterId);\n }\n } catch (e) {\n log.error(e);\n }\n });\n }\n\n log.debug('Removing node', node);\n graph.removeNode(node);\n });\n};\n\nexport var extractDecendants = function extractDecendants(id, graph) {\n // log.debug('Extracting ', id);\n var children = graph.children(id);\n var res = [].concat(children);\n\n for (var i = 0; i < children.length; i++) {\n parents[children[i]] = id;\n res = res.concat(extractDecendants(children[i], graph));\n }\n\n return res;\n};\n/**\n * Validates the graph, checking that all parent child relation points to existing nodes and that\n * edges between nodes also ia correct. When not correct the function logs the discrepancies.\n * @param {graphlib graph} g\n */\n\nexport var validate = function validate(graph) {\n var edges = graph.edges();\n log.trace('Edges: ', edges);\n\n for (var i = 0; i < edges.length; i++) {\n if (graph.children(edges[i].v).length > 0) {\n log.trace('The node ', edges[i].v, ' is part of and edge even though it has children');\n return false;\n }\n\n if (graph.children(edges[i].w).length > 0) {\n log.trace('The node ', edges[i].w, ' is part of and edge even though it has children');\n return false;\n }\n }\n\n return true;\n};\n/**\n * Finds a child that is not a cluster. When faking a edge between a node and a cluster.\n * @param {Finds a } id\n * @param {*} graph\n */\n\nexport var findNonClusterChild = function findNonClusterChild(id, graph) {\n // const node = graph.node(id);\n log.trace('Searching', id); // const children = graph.children(id).reverse();\n\n var children = graph.children(id); //.reverse();\n\n log.trace('Searching children of id ', id, children);\n\n if (children.length < 1) {\n log.trace('This is a valid node', id);\n return id;\n }\n\n for (var i = 0; i < children.length; i++) {\n var _id = findNonClusterChild(children[i], graph);\n\n if (_id) {\n log.trace('Found replacement for', id, ' => ', _id);\n return _id;\n }\n }\n};\n\nvar getAnchorId = function getAnchorId(id) {\n if (!clusterDb[id]) {\n return id;\n } // If the cluster has no external connections\n\n\n if (!clusterDb[id].externalConnections) {\n return id;\n } // Return the replacement node\n\n\n if (clusterDb[id]) {\n return clusterDb[id].id;\n }\n\n return id;\n};\n\nexport var adjustClustersAndEdges = function adjustClustersAndEdges(graph, depth) {\n if (!graph || depth > 10) {\n log.debug('Opting out, no graph ');\n return;\n } else {\n log.debug('Opting in, graph ');\n } // Go through the nodes and for each cluster found, save a replacment node, this can be used when\n // faking a link to a cluster\n\n\n graph.nodes().forEach(function (id) {\n var children = graph.children(id);\n\n if (children.length > 0) {\n log.warn('Cluster identified', id, ' Replacement id in edges: ', findNonClusterChild(id, graph));\n decendants[id] = extractDecendants(id, graph);\n clusterDb[id] = {\n id: findNonClusterChild(id, graph),\n clusterData: graph.node(id)\n };\n }\n }); // Check incoming and outgoing edges for each cluster\n\n graph.nodes().forEach(function (id) {\n var children = graph.children(id);\n var edges = graph.edges();\n\n if (children.length > 0) {\n log.debug('Cluster identified', id, decendants);\n edges.forEach(function (edge) {\n // log.debug('Edge, decendants: ', edge, decendants[id]);\n // Check if any edge leaves the cluster (not the actual cluster, thats a link from the box)\n if (edge.v !== id && edge.w !== id) {\n // Any edge where either the one of the nodes is decending to the cluster but not the other\n // if (decendants[id].indexOf(edge.v) < 0 && decendants[id].indexOf(edge.w) < 0) {\n var d1 = isDecendant(edge.v, id);\n var d2 = isDecendant(edge.w, id); // d1 xor d2 - if either d1 is true and d2 is false or the other way around\n\n if (d1 ^ d2) {\n log.debug('Edge: ', edge, ' leaves cluster ', id);\n log.debug('Decendants of ', id, ': ', decendants[id]);\n clusterDb[id].externalConnections = true;\n }\n }\n });\n }\n });\n extractor(graph, 0); // For clusters with incoming and/or outgoing edges translate those edges to a real node\n // in the cluster inorder to fake the edge\n\n graph.edges().forEach(function (e) {\n var edge = graph.edge(e);\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(e));\n log.trace('Edge ' + e.v + ' -> ' + e.w + ': ' + JSON.stringify(graph.edge(e)));\n var v = e.v;\n var w = e.w; // Check if link is either from or to a cluster\n\n log.trace('Fix', clusterDb, 'ids:', e.v, e.w, 'Translateing: ', clusterDb[e.v], clusterDb[e.w]);\n\n if (clusterDb[e.v] || clusterDb[e.w]) {\n log.warn('Fixing and trixing - removing', e.v, e.w, e.name);\n v = getAnchorId(e.v);\n w = getAnchorId(e.w);\n graph.removeEdge(e.v, e.w, e.name);\n if (v !== e.v) edge.fromCluster = e.v;\n if (w !== e.w) edge.toCluster = e.w;\n log.warn('Replacing with', v, w, e.name);\n graph.setEdge(v, w, edge, e.name);\n }\n });\n log.warn('Adjusted Graph', graphlib.json.write(graph));\n log.trace(clusterDb); // Remove references to extracted cluster\n // graph.edges().forEach(edge => {\n // if (isDecendant(edge.v, clusterId) || isDecendant(edge.w, clusterId)) {\n // graph.removeEdge(edge);\n // }\n // });\n};\nexport var extractor = function extractor(graph, depth) {\n log.debug('extractor - ', depth, graphlib.json.write(graph), graph.children('D'));\n\n if (depth > 10) {\n log.error('Bailing out');\n return;\n } // For clusters without incoming and/or outgoing edges, create a new cluster-node\n // containing the nodes and edges in the custer in a new graph\n // for (let i = 0;)\n\n\n var nodes = graph.nodes();\n var hasChildren = false;\n\n for (var i = 0; i < nodes.length; i++) {\n var node = nodes[i];\n var children = graph.children(node);\n hasChildren = hasChildren || children.length > 0;\n }\n\n if (!hasChildren) {\n log.debug('Done, no node has children', graph.nodes());\n return;\n } // const clusters = Object.keys(clusterDb);\n // clusters.forEach(clusterId => {\n\n\n log.debug('Nodes = ', nodes, depth);\n\n for (var _i = 0; _i < nodes.length; _i++) {\n var _node = nodes[_i];\n log.debug('Extracting node', _node, clusterDb, clusterDb[_node] && !clusterDb[_node].externalConnections, !graph.parent(_node), graph.node(_node), graph.children('D'), ' Depth ', depth); // Note that the node might have been removed after the Object.keys call so better check\n // that it still is in the game\n\n if (!clusterDb[_node]) {\n // Skip if the node is not a cluster\n log.debug('Not a cluster', _node, depth); // break;\n } else if (!clusterDb[_node].externalConnections && !graph.parent(_node) && graph.children(_node) && graph.children(_node).length > 0) {\n log.debug('Cluster without external connections, without a parent and with children', _node, depth);\n var graphSettings = graph.graph();\n var clusterGraph = new graphlib.Graph({\n multigraph: true,\n compound: true\n }).setGraph({\n rankdir: graphSettings.rankdir === 'TB' ? 'LR' : 'TB',\n // Todo: set proper spacing\n nodesep: 50,\n ranksep: 50,\n marginx: 8,\n marginy: 8\n }).setDefaultEdgeLabel(function () {\n return {};\n });\n log.debug('Old graph before copy', graphlib.json.write(graph));\n copy(_node, graph, clusterGraph, _node);\n graph.setNode(_node, {\n clusterNode: true,\n id: _node,\n clusterData: clusterDb[_node].clusterData,\n labelText: clusterDb[_node].labelText,\n graph: clusterGraph\n });\n log.debug('New graph after copy', graphlib.json.write(clusterGraph));\n log.debug('Old graph after copy', graphlib.json.write(graph));\n } else {\n log.debug('Cluster ** ', _node, ' **not meeting the criteria !externalConnections:', !clusterDb[_node].externalConnections, ' no parent: ', !graph.parent(_node), ' children ', graph.children(_node) && graph.children(_node).length > 0, graph.children('D'), depth);\n log.debug(clusterDb);\n }\n }\n\n nodes = graph.nodes();\n log.debug('New list of nodes', nodes);\n\n for (var _i2 = 0; _i2 < nodes.length; _i2++) {\n var _node2 = nodes[_i2];\n var data = graph.node(_node2);\n log.debug(' Now next leveö', _node2, data);\n\n if (data.clusterNode) {\n extractor(data.graph, depth + 1);\n }\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "index": 56, "index2": 60, "size": 15504, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./nodes", "loc": "6:0-85" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "54:6-17" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "68:8-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "101:6-18" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "110:8-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./nodes", "loc": "126:2-12" } ], "usedExports": [ "setNodeElem", "insertNode", "positionNode", "clear" ], "providedExports": [ "insertNode", "setNodeElem", "clear", "positionNode" ], "optimizationBailout": [], "depth": 4, "source": "import intersect from './intersect/index.js';\nimport { select } from 'd3';\nimport { logger } from '../logger'; // eslint-disable-line\n\nimport { labelHelper, updateNodeBounds, insertPolygonShape } from './shapes/util';\nimport { getConfig } from '../config';\nimport createLabel from './createLabel';\nimport note from './shapes/note';\n\nvar question = function question(parent, node) {\n var _labelHelper = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper.shapeSvg,\n bbox = _labelHelper.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var s = w + h;\n var points = [{\n x: s / 2,\n y: 0\n }, {\n x: s,\n y: -s / 2\n }, {\n x: s / 2,\n y: -s\n }, {\n x: 0,\n y: -s / 2\n }];\n logger.info('Question main (Circle)');\n var questionElem = insertPolygonShape(shapeSvg, s, s, points);\n updateNodeBounds(node, questionElem);\n\n node.intersect = function (point) {\n logger.warn('Intersect called');\n return intersect.polygon(node, points, point);\n };\n\n return shapeSvg;\n};\n\nvar hexagon = function hexagon(parent, node) {\n var _labelHelper2 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper2.shapeSvg,\n bbox = _labelHelper2.bbox;\n\n var f = 4;\n var h = bbox.height + node.padding;\n var m = h / f;\n var w = bbox.width + 2 * m + node.padding;\n var points = [{\n x: m,\n y: 0\n }, {\n x: w - m,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w - m,\n y: -h\n }, {\n x: m,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var hex = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, hex);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rect_left_inv_arrow = function rect_left_inv_arrow(parent, node) {\n var _labelHelper3 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper3.shapeSvg,\n bbox = _labelHelper3.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -h / 2,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: -h / 2,\n y: -h\n }, {\n x: 0,\n y: -h / 2\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar lean_right = function lean_right(parent, node) {\n var _labelHelper4 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper4.shapeSvg,\n bbox = _labelHelper4.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar lean_left = function lean_left(parent, node) {\n var _labelHelper5 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper5.shapeSvg,\n bbox = _labelHelper5.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 2 * h / 6,\n y: 0\n }, {\n x: w + h / 6,\n y: 0\n }, {\n x: w - 2 * h / 6,\n y: -h\n }, {\n x: -h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar trapezoid = function trapezoid(parent, node) {\n var _labelHelper6 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper6.shapeSvg,\n bbox = _labelHelper6.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: -2 * h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: -h\n }, {\n x: h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar inv_trapezoid = function inv_trapezoid(parent, node) {\n var _labelHelper7 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper7.shapeSvg,\n bbox = _labelHelper7.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: h / 6,\n y: 0\n }, {\n x: w - h / 6,\n y: 0\n }, {\n x: w + 2 * h / 6,\n y: -h\n }, {\n x: -2 * h / 6,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rect_right_inv_arrow = function rect_right_inv_arrow(parent, node) {\n var _labelHelper8 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper8.shapeSvg,\n bbox = _labelHelper8.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w + h / 2,\n y: 0\n }, {\n x: w,\n y: -h / 2\n }, {\n x: w + h / 2,\n y: -h\n }, {\n x: 0,\n y: -h\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar cylinder = function cylinder(parent, node) {\n var _labelHelper9 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper9.shapeSvg,\n bbox = _labelHelper9.bbox;\n\n var w = bbox.width + node.padding;\n var rx = w / 2;\n var ry = rx / (2.5 + w / 50);\n var h = bbox.height + ry + node.padding;\n var shape = 'M 0,' + ry + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 a ' + rx + ',' + ry + ' 0,0,0 ' + -w + ' 0 l 0,' + h + ' a ' + rx + ',' + ry + ' 0,0,0 ' + w + ' 0 l 0,' + -h;\n var el = shapeSvg.attr('label-offset-y', ry).insert('path', ':first-child').attr('d', shape).attr('transform', 'translate(' + -w / 2 + ',' + -(h / 2 + ry) + ')');\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n var pos = intersect.rect(node, point);\n var x = pos.x - node.x;\n\n if (rx != 0 && (Math.abs(x) < node.width / 2 || Math.abs(x) == node.width / 2 && Math.abs(pos.y - node.y) > node.height / 2 - ry)) {\n // ellipsis equation: x*x / a*a + y*y / b*b = 1\n // solve for y to get adjustion value for pos.y\n var y = ry * ry * (1 - x * x / (rx * rx));\n if (y != 0) y = Math.sqrt(y);\n y = ry - y;\n if (point.y - node.y > 0) y = -y;\n pos.y += y;\n }\n\n return pos;\n };\n\n return shapeSvg;\n};\n\nvar rect = function rect(parent, node) {\n var _labelHelper10 = labelHelper(parent, node, 'node ' + node.classes, true),\n shapeSvg = _labelHelper10.shapeSvg,\n bbox = _labelHelper10.bbox,\n halfPadding = _labelHelper10.halfPadding;\n\n logger.trace('Classes = ', node.classes); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n rect.attr('class', 'basic label-container').attr('rx', node.rx).attr('ry', node.ry).attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar rectWithTitle = function rectWithTitle(parent, node) {\n // const { shapeSvg, bbox, halfPadding } = labelHelper(parent, node, 'node ' + node.classes);\n var classes;\n\n if (!node.classes) {\n classes = 'node default';\n } else {\n classes = 'node ' + node.classes;\n } // Add outer g element\n\n\n var shapeSvg = parent.insert('g').attr('class', classes).attr('id', node.id); // Create the title label and insert it after the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // const innerRect = shapeSvg.insert('rect');\n\n var innerLine = shapeSvg.insert('line');\n var label = shapeSvg.insert('g').attr('class', 'label');\n var text2 = node.labelText.flat();\n logger.info('Label text', text2[0]);\n var text = label.node().appendChild(createLabel(text2[0], node.labelStyle, true, true));\n var bbox;\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n logger.info('Text 2', text2);\n var textRows = text2.slice(1, text2.length);\n var titleBox = text.getBBox();\n var descr = label.node().appendChild(createLabel(textRows.join('
'), node.labelStyle, true, true));\n\n if (getConfig().flowchart.htmlLabels) {\n var _div = descr.children[0];\n\n var _dv = select(descr);\n\n bbox = _div.getBoundingClientRect();\n\n _dv.attr('width', bbox.width);\n\n _dv.attr('height', bbox.height);\n } // bbox = label.getBBox();\n // logger.info(descr);\n\n\n var halfPadding = node.padding / 2;\n select(descr).attr('transform', 'translate( ' + ( // (titleBox.width - bbox.width) / 2 +\n bbox.width > titleBox.width ? 0 : (titleBox.width - bbox.width) / 2) + ', ' + (titleBox.height + halfPadding + 5) + ')');\n select(text).attr('transform', 'translate( ' + ( // (titleBox.width - bbox.width) / 2 +\n bbox.width < titleBox.width ? 0 : -(titleBox.width - bbox.width) / 2) + ', ' + 0 + ')'); // Get the size of the label\n // Bounding box for title and text\n\n bbox = label.node().getBBox(); // Center the label\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + (-bbox.height / 2 - halfPadding + 3) + ')');\n rect.attr('class', 'outer title-state').attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n innerLine.attr('class', 'divider').attr('x1', -bbox.width / 2 - halfPadding).attr('x2', bbox.width / 2 + halfPadding).attr('y1', -bbox.height / 2 - halfPadding + titleBox.height + halfPadding).attr('y2', -bbox.height / 2 - halfPadding + titleBox.height + halfPadding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar stadium = function stadium(parent, node) {\n var _labelHelper11 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper11.shapeSvg,\n bbox = _labelHelper11.bbox;\n\n var h = bbox.height + node.padding;\n var w = bbox.width + h / 4 + node.padding; // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child').attr('rx', h / 2).attr('ry', h / 2).attr('x', -w / 2).attr('y', -h / 2).attr('width', w).attr('height', h);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar circle = function circle(parent, node) {\n var _labelHelper12 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper12.shapeSvg,\n bbox = _labelHelper12.bbox,\n halfPadding = _labelHelper12.halfPadding;\n\n var circle = shapeSvg.insert('circle', ':first-child'); // center the circle around its coordinate\n\n circle.attr('rx', node.rx).attr('ry', node.ry).attr('r', bbox.width / 2 + halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n logger.info('Circle main');\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n logger.info('Circle intersect', node, bbox.width / 2 + halfPadding, point);\n return intersect.circle(node, bbox.width / 2 + halfPadding, point);\n };\n\n return shapeSvg;\n};\n\nvar subroutine = function subroutine(parent, node) {\n var _labelHelper13 = labelHelper(parent, node, undefined, true),\n shapeSvg = _labelHelper13.shapeSvg,\n bbox = _labelHelper13.bbox;\n\n var w = bbox.width + node.padding;\n var h = bbox.height + node.padding;\n var points = [{\n x: 0,\n y: 0\n }, {\n x: w,\n y: 0\n }, {\n x: w,\n y: -h\n }, {\n x: 0,\n y: -h\n }, {\n x: 0,\n y: 0\n }, {\n x: -8,\n y: 0\n }, {\n x: w + 8,\n y: 0\n }, {\n x: w + 8,\n y: -h\n }, {\n x: -8,\n y: -h\n }, {\n x: -8,\n y: 0\n }];\n var el = insertPolygonShape(shapeSvg, w, h, points);\n updateNodeBounds(node, el);\n\n node.intersect = function (point) {\n return intersect.polygon(node, point);\n };\n\n return shapeSvg;\n};\n\nvar start = function start(parent, node) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var circle = shapeSvg.insert('circle', ':first-child'); // center the circle around its coordinate\n\n circle.attr('class', 'state-start').attr('r', 7).attr('width', 14).attr('height', 14);\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n return intersect.circle(node, 7, point);\n };\n\n return shapeSvg;\n};\n\nvar forkJoin = function forkJoin(parent, node, dir) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var width = 70;\n var height = 10;\n\n if (dir === 'LR') {\n width = 10;\n height = 70;\n }\n\n var shape = shapeSvg.append('rect').style('stroke', 'black').style('fill', 'black').attr('x', -1 * width / 2).attr('y', -1 * height / 2).attr('width', width).attr('height', height).attr('class', 'fork-join');\n updateNodeBounds(node, shape);\n node.height = node.height + node.padding / 2;\n node.width = node.width + node.padding / 2;\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar end = function end(parent, node) {\n var shapeSvg = parent.insert('g').attr('class', 'node default').attr('id', node.id);\n var innerCircle = shapeSvg.insert('circle', ':first-child');\n var circle = shapeSvg.insert('circle', ':first-child');\n circle.attr('class', 'state-start').attr('r', 7).attr('width', 14).attr('height', 14);\n innerCircle.attr('class', 'state-end').attr('r', 5).attr('width', 10).attr('height', 10);\n updateNodeBounds(node, circle);\n\n node.intersect = function (point) {\n return intersect.circle(node, 7, point);\n };\n\n return shapeSvg;\n};\n\nvar shapes = {\n question: question,\n rect: rect,\n rectWithTitle: rectWithTitle,\n circle: circle,\n stadium: stadium,\n hexagon: hexagon,\n rect_left_inv_arrow: rect_left_inv_arrow,\n lean_right: lean_right,\n lean_left: lean_left,\n trapezoid: trapezoid,\n inv_trapezoid: inv_trapezoid,\n rect_right_inv_arrow: rect_right_inv_arrow,\n cylinder: cylinder,\n start: start,\n end: end,\n note: note,\n subroutine: subroutine,\n fork: forkJoin,\n join: forkJoin\n};\nvar nodeElems = {};\nexport var insertNode = function insertNode(elem, node, dir) {\n nodeElems[node.id] = shapes[node.shape](elem, node, dir);\n};\nexport var setNodeElem = function setNodeElem(elem, node) {\n nodeElems[node.id] = elem;\n};\nexport var clear = function clear() {\n nodeElems = {};\n};\nexport var positionNode = function positionNode(node) {\n var el = nodeElems[node.id];\n logger.trace('Transforming node', node, 'translate(' + (node.x - node.width / 2 - 5) + ', ' + (node.y - node.height / 2 - 5) + ')');\n var padding = 8;\n\n if (node.clusterNode) {\n el.attr('transform', 'translate(' + (node.x - node.width / 2 - padding) + ', ' + (node.y - node.height / 2 - padding) + ')');\n } else {\n el.attr('transform', 'translate(' + node.x + ', ' + node.y + ')');\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "name": "./src/dagre-wrapper/clusters.js", "index": 67, "index2": 63, "size": 5981, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./clusters", "loc": "7:0-67" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./clusters", "loc": "107:8-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./clusters", "loc": "128:2-15" } ], "usedExports": [ "insertCluster", "clear" ], "providedExports": [ "insertCluster", "getClusterTitleWidth", "clear", "positionCluster" ], "optimizationBailout": [], "depth": 4, "source": "import intersectRect from './intersect/intersect-rect';\nimport { logger as log } from '../logger'; // eslint-disable-line\n\nimport createLabel from './createLabel';\nimport { select } from 'd3';\nimport { getConfig } from '../config';\n\nvar rect = function rect(parent, node) {\n log.trace('Creating subgraph rect for ', node.id, node); // Add outer g element\n\n var shapeSvg = parent.insert('g').attr('class', 'cluster').attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'cluster-label');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, undefined, true)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n var padding = 0 * node.padding;\n var halfPadding = padding / 2;\n log.trace('Data ', node, JSON.stringify(node)); // center the rect around its coordinate\n\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding); // Center the label\n\n label.attr('transform', 'translate(' + (node.x - bbox.width / 2) + ', ' + (node.y - node.height / 2 - node.padding / 3 + 3) + ')');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n/**\n * Non visiable cluster where the note is group with its\n */\n\n\nvar noteGroup = function noteGroup(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', 'note-cluster').attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding).attr('fill', 'none');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar roundedWithTitle = function roundedWithTitle(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', node.classes).attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child'); // Create the label and insert it after the rect\n\n var label = shapeSvg.insert('g').attr('class', 'cluster-label');\n var innerRect = shapeSvg.append('rect');\n var text = label.node().appendChild(createLabel(node.labelText, node.labelStyle, undefined, true)); // Get the size of the label\n\n var bbox = text.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = text.children[0];\n var dv = select(text);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n bbox = text.getBBox();\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('class', 'outer').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding).attr('width', node.width + padding).attr('height', node.height + padding);\n innerRect.attr('class', 'inner').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2 - halfPadding + bbox.height - 1).attr('width', node.width + padding).attr('height', node.height + padding - bbox.height - 3); // Center the label\n\n label.attr('transform', 'translate(' + (node.x - bbox.width / 2) + ', ' + (node.y - node.height / 2 - node.padding / 3 + (getConfig().flowchart.htmlLabels ? 5 : 3)) + ')');\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar divider = function divider(parent, node) {\n // Add outer g element\n var shapeSvg = parent.insert('g').attr('class', node.classes).attr('id', node.id); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n var padding = 0 * node.padding;\n var halfPadding = padding / 2; // center the rect around its coordinate\n\n rect.attr('class', 'divider').attr('x', node.x - node.width / 2 - halfPadding).attr('y', node.y - node.height / 2).attr('width', node.width + padding).attr('height', node.height + padding);\n var rectBox = rect.node().getBBox();\n node.width = rectBox.width;\n node.height = rectBox.height;\n\n node.intersect = function (point) {\n return intersectRect(node, point);\n };\n\n return shapeSvg;\n};\n\nvar shapes = {\n rect: rect,\n roundedWithTitle: roundedWithTitle,\n noteGroup: noteGroup,\n divider: divider\n};\nvar clusterElems = {};\nexport var insertCluster = function insertCluster(elem, node) {\n log.trace('Inserting cluster');\n var shape = node.shape || 'rect';\n clusterElems[node.id] = shapes[shape](elem, node);\n};\nexport var getClusterTitleWidth = function getClusterTitleWidth(elem, node) {\n var label = createLabel(node.labelText, node.labelStyle, undefined, true);\n elem.node().appendChild(label);\n var width = label.getBBox().width;\n elem.node().removeChild(label);\n return width;\n};\nexport var clear = function clear() {\n clusterElems = {};\n};\nexport var positionCluster = function positionCluster(node) {\n log.info('Position cluster');\n var el = clusterElems[node.id];\n el.attr('transform', 'translate(' + node.x + ', ' + node.y + ')');\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "name": "./src/dagre-wrapper/edges.js", "index": 66, "index2": 62, "size": 10214, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } } ], "profile": { "factory": 1567, "building": 378, "dependencies": 285 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony side effect evaluation", "userRequest": "./edges", "loc": "8:0-94" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "82:4-19" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "118:22-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "119:4-21" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "module": "./src/dagre-wrapper/index.js", "moduleName": "./src/dagre-wrapper/index.js", "type": "harmony import specifier", "userRequest": "./edges", "loc": "127:2-12" } ], "usedExports": [ "insertEdgeLabel", "insertEdge", "positionEdgeLabel", "clear" ], "providedExports": [ "clear", "insertEdgeLabel", "positionEdgeLabel", "intersection", "insertEdge" ], "optimizationBailout": [], "depth": 4, "source": "import { logger } from '../logger'; // eslint-disable-line\n\nimport createLabel from './createLabel';\nimport { line, curveBasis, select } from 'd3';\nimport { getConfig } from '../config';\nimport utils from '../utils'; // import { calcLabelPosition } from '../utils';\n\nvar edgeLabels = {};\nexport var clear = function clear() {\n edgeLabels = {};\n};\nexport var insertEdgeLabel = function insertEdgeLabel(elem, edge) {\n // Create the actual text element\n var labelElement = createLabel(edge.label, edge.labelStyle); // Create outer g, edgeLabel, this will be positioned after graph layout\n\n var edgeLabel = elem.insert('g').attr('class', 'edgeLabel'); // Create inner g, label, this will be positioned now for centering the text\n\n var label = edgeLabel.insert('g').attr('class', 'label');\n label.node().appendChild(labelElement); // Center the label\n\n var bbox = labelElement.getBBox();\n\n if (getConfig().flowchart.htmlLabels) {\n var div = labelElement.children[0];\n var dv = select(labelElement);\n bbox = div.getBoundingClientRect();\n dv.attr('width', bbox.width);\n dv.attr('height', bbox.height);\n }\n\n label.attr('transform', 'translate(' + -bbox.width / 2 + ', ' + -bbox.height / 2 + ')'); // Make element accessible by id for positioning\n\n edgeLabels[edge.id] = edgeLabel; // Update the abstract data of the edge with the new information about its width and height\n\n edge.width = bbox.width;\n edge.height = bbox.height;\n};\nexport var positionEdgeLabel = function positionEdgeLabel(edge, points) {\n logger.info('Moving label', edge.id, edge.label, edgeLabels[edge.id]);\n\n if (edge.label) {\n var el = edgeLabels[edge.id];\n var x = edge.x;\n var y = edge.y;\n\n if (points) {\n // debugger;\n var pos = utils.calcLabelPosition(points);\n x = pos.x;\n y = pos.y;\n }\n\n el.attr('transform', 'translate(' + x + ', ' + y + ')');\n }\n}; // const getRelationType = function(type) {\n// switch (type) {\n// case stateDb.relationType.AGGREGATION:\n// return 'aggregation';\n// case stateDb.relationType.EXTENSION:\n// return 'extension';\n// case stateDb.relationType.COMPOSITION:\n// return 'composition';\n// case stateDb.relationType.DEPENDENCY:\n// return 'dependency';\n// }\n// };\n\nvar outsideNode = function outsideNode(node, point) {\n // logger.warn('Checking bounds ', node, point);\n var x = node.x;\n var y = node.y;\n var dx = Math.abs(point.x - x);\n var dy = Math.abs(point.y - y);\n var w = node.width / 2;\n var h = node.height / 2;\n\n if (dx >= w || dy >= h) {\n return true;\n }\n\n return false;\n};\n\nexport var intersection = function intersection(node, outsidePoint, insidePoint) {\n logger.warn('intersection calc o:', outsidePoint, ' i:', insidePoint, node);\n var x = node.x;\n var y = node.y;\n var dx = Math.abs(x - insidePoint.x);\n var w = node.width / 2;\n var r = insidePoint.x < outsidePoint.x ? w - dx : w + dx;\n var h = node.height / 2;\n var edges = {\n x1: x - w,\n x2: x + w,\n y1: y - h,\n y2: y + h\n };\n\n if (outsidePoint.x === edges.x1 || outsidePoint.x === edges.x2 || outsidePoint.y === edges.y1 || outsidePoint.y === edges.y2) {\n // logger.warn('calc equals on edge');\n return outsidePoint;\n }\n\n var Q = Math.abs(outsidePoint.y - insidePoint.y);\n var R = Math.abs(outsidePoint.x - insidePoint.x); // log.warn();\n\n if (Math.abs(y - outsidePoint.y) * w > Math.abs(x - outsidePoint.x) * h) {\n // eslint-disable-line\n // Intersection is top or bottom of rect.\n // let q = insidePoint.y < outsidePoint.y ? outsidePoint.y - h - y : y - h - outsidePoint.y;\n var q = insidePoint.y < outsidePoint.y ? outsidePoint.y - h - y : y - h - outsidePoint.y;\n r = R * q / Q;\n var res = {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x - r,\n y: outsidePoint.y + q\n };\n logger.warn(\"topp/bott calc, Q \".concat(Q, \", q \").concat(q, \", R \").concat(R, \", r \").concat(r), res);\n return res;\n } else {\n // Intersection onn sides of rect\n // q = (Q * r) / R;\n // q = 2;\n // r = (R * q) / Q;\n if (insidePoint.x < outsidePoint.x) {\n r = outsidePoint.x - w - x;\n } else {\n // r = outsidePoint.x - w - x;\n r = x - w - outsidePoint.x;\n }\n\n var _q = _q = Q * r / R;\n\n logger.warn(\"sides calc, Q \".concat(Q, \", q \").concat(_q, \", R \").concat(R, \", r \").concat(r), {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x + dx - w,\n y: insidePoint.y < outsidePoint.y ? insidePoint.y + _q : insidePoint.y - _q\n });\n return {\n x: insidePoint.x < outsidePoint.x ? insidePoint.x + R - r : insidePoint.x + dx - w,\n y: insidePoint.y < outsidePoint.y ? insidePoint.y + _q : insidePoint.y - _q\n };\n }\n}; //(edgePaths, e, edge, clusterDb, diagramtype, graph)\n\nexport var insertEdge = function insertEdge(elem, e, edge, clusterDb, diagramType, graph) {\n var points = edge.points;\n var pointsHasChanged = false;\n var tail = graph.node(e.v);\n var head = graph.node(e.w);\n\n if (head.intersect && tail.intersect) {\n points = points.slice(1, edge.points.length - 1);\n points.unshift(tail.intersect(points[0]));\n logger.info('Last point', points[points.length - 1], head, head.intersect(points[points.length - 1]));\n points.push(head.intersect(points[points.length - 1]));\n }\n\n if (edge.toCluster) {\n logger.trace('edge', edge);\n logger.trace('to cluster', clusterDb[edge.toCluster]);\n points = [];\n var lastPointOutside;\n var isInside = false;\n edge.points.forEach(function (point) {\n var node = clusterDb[edge.toCluster].node;\n\n if (!outsideNode(node, point) && !isInside) {\n logger.trace('inside', edge.toCluster, point, lastPointOutside); // First point inside the rect\n\n var insterection = intersection(node, lastPointOutside, point);\n logger.trace('intersect', insterection);\n points.push(insterection);\n isInside = true;\n } else {\n if (!isInside) points.push(point);\n }\n\n lastPointOutside = point;\n });\n pointsHasChanged = true;\n }\n\n if (edge.fromCluster) {\n logger.trace('edge', edge);\n logger.warn('from cluster', clusterDb[edge.fromCluster]);\n var updatedPoints = [];\n\n var _lastPointOutside;\n\n var _isInside = false;\n\n for (var i = points.length - 1; i >= 0; i--) {\n var point = points[i];\n var node = clusterDb[edge.fromCluster].node;\n\n if (!outsideNode(node, point) && !_isInside) {\n logger.warn('inside', edge.fromCluster, point, node); // First point inside the rect\n\n var insterection = intersection(node, _lastPointOutside, point); // logger.trace('intersect', intersection(node, lastPointOutside, point));\n\n updatedPoints.unshift(insterection); // points.push(insterection);\n\n _isInside = true;\n } else {\n // at the outside\n logger.trace('Outside point', point);\n if (!_isInside) updatedPoints.unshift(point);\n }\n\n _lastPointOutside = point;\n }\n\n points = updatedPoints;\n pointsHasChanged = true;\n } // The data for our line\n\n\n var lineData = points.filter(function (p) {\n return !Number.isNaN(p.y);\n }); // This is the accessor function we talked about above\n\n var lineFunction = line().x(function (d) {\n return d.x;\n }).y(function (d) {\n return d.y;\n }).curve(curveBasis); // Contruct stroke classes based on properties\n\n var strokeClasses;\n\n switch (edge.thickness) {\n case 'normal':\n strokeClasses = 'edge-thickness-normal';\n break;\n\n case 'thick':\n strokeClasses = 'edge-thickness-thick';\n break;\n\n default:\n strokeClasses = '';\n }\n\n switch (edge.pattern) {\n case 'solid':\n strokeClasses += ' edge-pattern-solid';\n break;\n\n case 'dotted':\n strokeClasses += ' edge-pattern-dotted';\n break;\n\n case 'dashed':\n strokeClasses += ' edge-pattern-dashed';\n break;\n }\n\n var svgPath = elem.append('path').attr('d', lineFunction(lineData)).attr('id', edge.id).attr('class', ' ' + strokeClasses + (edge.classes ? ' ' + edge.classes : '')); // DEBUG code, adds a red circle at each edge coordinate\n // edge.points.forEach(point => {\n // elem\n // .append('circle')\n // .style('stroke', 'red')\n // .style('fill', 'red')\n // .attr('r', 1)\n // .attr('cx', point.x)\n // .attr('cy', point.y);\n // });\n\n var url = '';\n\n if (getConfig().state.arrowMarkerAbsolute) {\n url = window.location.protocol + '//' + window.location.host + window.location.pathname + window.location.search;\n url = url.replace(/\\(/g, '\\\\(');\n url = url.replace(/\\)/g, '\\\\)');\n }\n\n logger.info('arrowType', edge.arrowType);\n\n switch (edge.arrowType) {\n case 'arrow_cross':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-crossEnd' + ')');\n break;\n\n case 'double_arrow_cross':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-crossEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-crossStart' + ')');\n break;\n\n case 'arrow_point':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-pointEnd' + ')');\n break;\n\n case 'double_arrow_point':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-pointEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-pointStart' + ')');\n break;\n\n case 'arrow_barb':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-barbEnd' + ')');\n break;\n\n case 'double_arrow_barb':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-barnEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-barbStart' + ')');\n break;\n\n case 'arrow_circle':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-circleEnd' + ')');\n break;\n\n case 'double_arrow_circle':\n svgPath.attr('marker-end', 'url(' + url + '#' + diagramType + '-circleEnd' + ')');\n svgPath.attr('marker-start', 'url(' + url + '#' + diagramType + '-circleStart' + ')');\n break;\n\n default:\n }\n\n if (pointsHasChanged) {\n return points;\n }\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/id-cache.js", "name": "./src/diagrams/state/id-cache.js", "index": 76, "index2": 72, "size": 347, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "issuerId": null, "issuerName": "./src/diagrams/state/shapes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/stateRenderer.js", "name": "./src/diagrams/state/stateRenderer.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "name": "./src/diagrams/state/shapes.js", "profile": { "factory": 1735, "building": 602, "dependencies": 0 } } ], "profile": { "factory": 266, "building": 27 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony side effect evaluation", "userRequest": "./id-cache.js", "loc": "2:0-36" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/state/shapes.js", "module": "./src/diagrams/state/shapes.js", "moduleName": "./src/diagrams/state/shapes.js", "type": "harmony import specifier", "userRequest": "./id-cache.js", "loc": "290:2-9" } ], "usedExports": [ "default" ], "providedExports": [ "set", "get", "keys", "size", "default" ], "optimizationBailout": [], "depth": 4, "source": "var idCache = {};\nexport var set = function set(key, val) {\n idCache[key] = val;\n};\nexport var get = function get(k) {\n return idCache[k];\n};\nexport var keys = function keys() {\n return Object.keys(idCache);\n};\nexport var size = function size() {\n return keys().length;\n};\nexport default {\n get: get,\n set: set,\n keys: keys,\n size: size\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/createLabel.js", "name": "./src/dagre-wrapper/createLabel.js", "index": 55, "index2": 50, "size": 4142, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } } ], "profile": { "factory": 307, "building": 54, "dependencies": 9 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony side effect evaluation", "userRequest": "../createLabel", "loc": "1:0-41" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "3:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "4:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./createLabel", "loc": "7:0-40" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/edges.js", "module": "./src/dagre-wrapper/edges.js", "moduleName": "./src/dagre-wrapper/edges.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "14:21-32" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "16:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/util.js", "module": "./src/dagre-wrapper/shapes/util.js", "moduleName": "./src/dagre-wrapper/shapes/util.js", "type": "harmony import specifier", "userRequest": "../createLabel", "loc": "17:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "78:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "142:14-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "338:38-49" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./createLabel", "loc": "352:39-50" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import { select } from 'd3';\nimport { logger } from '../logger'; // eslint-disable-line\n// let vertexNode;\n// if (getConfig().flowchart.htmlLabels) {\n// // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n// const node = {\n// label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, s => ``)\n// };\n// vertexNode = addHtmlLabel(svg, node).node();\n// vertexNode.parentNode.removeChild(vertexNode);\n// } else {\n// const svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n// svgLabel.setAttribute('style', styles.labelStyle.replace('color:', 'fill:'));\n// const rows = vertexText.split(common.lineBreakRegex);\n// for (let j = 0; j < rows.length; j++) {\n// const tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n// tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n// tspan.setAttribute('dy', '1em');\n// tspan.setAttribute('x', '1');\n// tspan.textContent = rows[j];\n// svgLabel.appendChild(tspan);\n// }\n// vertexNode = svgLabel;\n// }\n\nimport { getConfig } from '../config';\n\nfunction applyStyle(dom, styleFn) {\n if (styleFn) {\n dom.attr('style', styleFn);\n }\n}\n\nfunction addHtmlLabel(node) {\n // var fo = root.append('foreignObject').attr('width', '100000');\n // var div = fo.append('xhtml:div');\n // div.attr('xmlns', 'http://www.w3.org/1999/xhtml');\n // var label = node.label;\n // switch (typeof label) {\n // case 'function':\n // div.insert(label);\n // break;\n // case 'object':\n // // Currently we assume this is a DOM object.\n // div.insert(function() {\n // return label;\n // });\n // break;\n // default:\n // div.html(label);\n // }\n // applyStyle(div, node.labelStyle);\n // div.style('display', 'inline-block');\n // // Fix for firefox\n // div.style('white-space', 'nowrap');\n // var client = div.node().getBoundingClientRect();\n // fo.attr('width', client.width).attr('height', client.height);\n var fo = select(document.createElementNS('http://www.w3.org/2000/svg', 'foreignObject'));\n var div = fo.append('xhtml:div');\n var label = node.label;\n var labelClass = node.isNode ? 'nodeLabel' : 'edgeLabel';\n div.html('' + label + '');\n applyStyle(div, node.labelStyle);\n div.style('display', 'inline-block'); // Fix for firefox\n\n div.style('white-space', 'nowrap');\n div.attr('xmlns', 'http://www.w3.org/1999/xhtml');\n return fo.node();\n}\n\nvar createLabel = function createLabel(_vertexText, style, isTitle, isNode) {\n var vertexText = _vertexText || '';\n\n if (getConfig().flowchart.htmlLabels) {\n // TODO: addHtmlLabel accepts a labelStyle. Do we possibly have that?\n vertexText = vertexText.replace(/\\\\n|\\n/g, '
');\n logger.info('vertexText' + vertexText);\n var node = {\n isNode: isNode,\n label: vertexText.replace(/fa[lrsb]?:fa-[\\w-]+/g, function (s) {\n return \"\");\n })\n };\n var vertexNode = addHtmlLabel(node); // vertexNode.parentNode.removeChild(vertexNode);\n\n return vertexNode;\n } else {\n var svgLabel = document.createElementNS('http://www.w3.org/2000/svg', 'text');\n svgLabel.setAttribute('style', style.replace('color:', 'fill:'));\n var rows = [];\n\n if (typeof vertexText === 'string') {\n rows = vertexText.split(/\\\\n|\\n|/gi);\n } else if (Array.isArray(vertexText)) {\n rows = vertexText;\n } else {\n rows = [];\n }\n\n for (var j = 0; j < rows.length; j++) {\n var tspan = document.createElementNS('http://www.w3.org/2000/svg', 'tspan');\n tspan.setAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:space', 'preserve');\n tspan.setAttribute('dy', '1em');\n tspan.setAttribute('x', '0');\n\n if (isTitle) {\n tspan.setAttribute('class', 'title-row');\n } else {\n tspan.setAttribute('class', 'row');\n }\n\n tspan.textContent = rows[j].trim();\n svgLabel.appendChild(tspan);\n }\n\n return svgLabel;\n }\n};\n\nexport default createLabel;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-rect.js", "name": "./src/dagre-wrapper/intersect/intersect-rect.js", "index": 63, "index2": 57, "size": 740, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/clusters.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "name": "./src/dagre-wrapper/clusters.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } } ], "profile": { "factory": 288, "building": 77 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony side effect evaluation", "userRequest": "./intersect/intersect-rect", "loc": "1:0-55" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-rect.js", "loc": "8:0-39" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-rect.js", "loc": "14:8-12" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "40:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "64:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "103:11-24" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/clusters.js", "module": "./src/dagre-wrapper/clusters.js", "moduleName": "./src/dagre-wrapper/clusters.js", "type": "harmony import specifier", "userRequest": "./intersect/intersect-rect", "loc": "123:11-24" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "var intersectRect = function intersectRect(node, point) {\n var x = node.x;\n var y = node.y; // Rectangle intersection algorithm from:\n // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n\n var dx = point.x - x;\n var dy = point.y - y;\n var w = node.width / 2;\n var h = node.height / 2;\n var sx, sy;\n\n if (Math.abs(dy) * w > Math.abs(dx) * h) {\n // Intersection is top or bottom of rect.\n if (dy < 0) {\n h = -h;\n }\n\n sx = dy === 0 ? 0 : h * dx / dy;\n sy = h;\n } else {\n // Intersection is left or right of rect.\n if (dx < 0) {\n w = -w;\n }\n\n sx = w;\n sy = dx === 0 ? 0 : w * dy / dx;\n }\n\n return {\n x: x + sx,\n y: y + sy\n };\n};\n\nexport default intersectRect;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "index": 57, "index2": 58, "size": 395, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } } ], "profile": { "factory": 307, "building": 54, "dependencies": 9 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./intersect/index.js", "loc": "1:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony side effect evaluation", "userRequest": "../intersect/index.js", "loc": "4:0-46" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "module": "./src/dagre-wrapper/shapes/note.js", "moduleName": "./src/dagre-wrapper/shapes/note.js", "type": "harmony import specifier", "userRequest": "../intersect/index.js", "loc": "19:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "37:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "75:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "108:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "138:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "168:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "198:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "228:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "261:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "281:14-23" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "313:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "383:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "401:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "421:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "469:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "483:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "505:11-20" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./intersect/index.js", "loc": "520:11-20" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "/*\n * Borrowed with love from from dagrge-d3. Many thanks to cpettitt!\n */\nimport node from './intersect-node.js';\nimport circle from './intersect-circle.js';\nimport ellipse from './intersect-ellipse.js';\nimport polygon from './intersect-polygon.js';\nimport rect from './intersect-rect.js';\nexport default {\n node: node,\n circle: circle,\n ellipse: ellipse,\n polygon: polygon,\n rect: rect\n};" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/shapes/note.js", "name": "./src/dagre-wrapper/shapes/note.js", "index": 64, "index2": 59, "size": 894, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/nodes.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } } ], "profile": { "factory": 307, "building": 54, "dependencies": 9 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony side effect evaluation", "userRequest": "./shapes/note", "loc": "8:0-33" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "module": "./src/dagre-wrapper/nodes.js", "moduleName": "./src/dagre-wrapper/nodes.js", "type": "harmony import specifier", "userRequest": "./shapes/note", "loc": "542:8-12" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 5, "source": "import { updateNodeBounds, labelHelper } from './util';\nimport { logger } from '../../logger'; // eslint-disable-line\n\nimport intersect from '../intersect/index.js';\n\nvar note = function note(parent, node) {\n var _labelHelper = labelHelper(parent, node, 'node ' + node.classes, true),\n shapeSvg = _labelHelper.shapeSvg,\n bbox = _labelHelper.bbox,\n halfPadding = _labelHelper.halfPadding;\n\n logger.info('Classes = ', node.classes); // add the rect\n\n var rect = shapeSvg.insert('rect', ':first-child');\n rect.attr('rx', node.rx).attr('ry', node.ry).attr('x', -bbox.width / 2 - halfPadding).attr('y', -bbox.height / 2 - halfPadding).attr('width', bbox.width + node.padding).attr('height', bbox.height + node.padding);\n updateNodeBounds(node, rect);\n\n node.intersect = function (point) {\n return intersect.rect(node, point);\n };\n\n return shapeSvg;\n};\n\nexport default note;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-ellipse.js", "name": "./src/dagre-wrapper/intersect/intersect-ellipse.js", "index": 60, "index2": 53, "size": 526, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 307, "building": 54, "dependencies": 9 } } ], "profile": { "factory": 12, "building": 102, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "module": "./src/dagre-wrapper/intersect/intersect-circle.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-circle.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-ellipse", "loc": "1:0-51" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "module": "./src/dagre-wrapper/intersect/intersect-circle.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-circle.js", "type": "harmony import specifier", "userRequest": "./intersect-ellipse", "loc": "4:9-25" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-ellipse.js", "loc": "6:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-ellipse.js", "loc": "12:11-18" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "function intersectEllipse(node, rx, ry, point) {\n // Formulae from: http://mathworld.wolfram.com/Ellipse-LineIntersection.html\n var cx = node.x;\n var cy = node.y;\n var px = cx - point.x;\n var py = cy - point.y;\n var det = Math.sqrt(rx * rx * py * py + ry * ry * px * px);\n var dx = Math.abs(rx * ry * px / det);\n\n if (point.x < cx) {\n dx = -dx;\n }\n\n var dy = Math.abs(rx * ry * py / det);\n\n if (point.y < cy) {\n dy = -dy;\n }\n\n return {\n x: cx + dx,\n y: cy + dy\n };\n}\n\nexport default intersectEllipse;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-circle.js", "name": "./src/dagre-wrapper/intersect/intersect-circle.js", "index": 59, "index2": 54, "size": 179, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 307, "building": 54, "dependencies": 9 } } ], "profile": { "factory": 12, "building": 102, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-circle.js", "loc": "5:0-43" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-circle.js", "loc": "11:10-16" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "import intersectEllipse from './intersect-ellipse';\n\nfunction intersectCircle(node, rx, point) {\n return intersectEllipse(node, rx, rx, point);\n}\n\nexport default intersectCircle;" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "name": "./src/dagre-wrapper/intersect/intersect-polygon.js", "index": 61, "index2": 56, "size": 1612, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/index.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 307, "building": 54, "dependencies": 9 } } ], "profile": { "factory": 12, "building": 102, "dependencies": 113 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-polygon.js", "loc": "7:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "module": "./src/dagre-wrapper/intersect/index.js", "moduleName": "./src/dagre-wrapper/intersect/index.js", "type": "harmony import specifier", "userRequest": "./intersect-polygon.js", "loc": "13:11-18" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 6, "source": "/* eslint \"no-console\": off */\nimport intersectLine from './intersect-line';\nexport default intersectPolygon;\n/*\n * Returns the point ({x, y}) at which the point argument intersects with the\n * node argument assuming that it has the shape specified by polygon.\n */\n\nfunction intersectPolygon(node, polyPoints, point) {\n var x1 = node.x;\n var y1 = node.y;\n var intersections = [];\n var minX = Number.POSITIVE_INFINITY;\n var minY = Number.POSITIVE_INFINITY;\n polyPoints.forEach(function (entry) {\n minX = Math.min(minX, entry.x);\n minY = Math.min(minY, entry.y);\n });\n var left = x1 - node.width / 2 - minX;\n var top = y1 - node.height / 2 - minY;\n\n for (var i = 0; i < polyPoints.length; i++) {\n var p1 = polyPoints[i];\n var p2 = polyPoints[i < polyPoints.length - 1 ? i + 1 : 0];\n var intersect = intersectLine(node, point, {\n x: left + p1.x,\n y: top + p1.y\n }, {\n x: left + p2.x,\n y: top + p2.y\n });\n\n if (intersect) {\n intersections.push(intersect);\n }\n }\n\n if (!intersections.length) {\n console.log('NO INTERSECTION FOUND, RETURN NODE CENTER', node);\n return node;\n }\n\n if (intersections.length > 1) {\n // More intersections, find the one nearest to edge end point\n intersections.sort(function (p, q) {\n var pdx = p.x - point.x;\n var pdy = p.y - point.y;\n var distp = Math.sqrt(pdx * pdx + pdy * pdy);\n var qdx = q.x - point.x;\n var qdy = q.y - point.y;\n var distq = Math.sqrt(qdx * qdx + qdy * qdy);\n return distp < distq ? -1 : distp === distq ? 0 : 1;\n });\n }\n\n return intersections[0];\n}" }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-line.js", "name": "./src/dagre-wrapper/intersect/intersect-line.js", "index": 62, "index2": 55, "size": 1886, "cacheable": true, "built": true, "optional": false, "prefetched": false, "chunks": [], "issuer": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "issuerId": null, "issuerName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "issuerPath": [ { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaid.js", "name": "./src/mermaid.js", "profile": { "factory": 34, "building": 203 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/mermaidAPI.js", "name": "./src/mermaidAPI.js", "profile": { "factory": 14, "building": 461, "dependencies": 3 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/diagrams/flowchart/flowRenderer-v2.js", "name": "./src/diagrams/flowchart/flowRenderer-v2.js", "profile": { "factory": 2158, "building": 707, "dependencies": 1501 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/index.js", "name": "./src/dagre-wrapper/index.js", "profile": { "factory": 1316, "building": 41, "dependencies": 2 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/nodes.js", "name": "./src/dagre-wrapper/nodes.js", "profile": { "factory": 1567, "building": 378, "dependencies": 285 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/index.js", "name": "./src/dagre-wrapper/intersect/index.js", "profile": { "factory": 307, "building": 54, "dependencies": 9 } }, { "id": null, "identifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "name": "./src/dagre-wrapper/intersect/intersect-polygon.js", "profile": { "factory": 12, "building": 102, "dependencies": 113 } } ], "profile": { "factory": 107, "building": 73 }, "failed": false, "errors": 0, "warnings": 0, "assets": [], "reasons": [ { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "module": "./src/dagre-wrapper/intersect/intersect-polygon.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "type": "harmony side effect evaluation", "userRequest": "./intersect-line", "loc": "2:0-45" }, { "moduleId": null, "moduleIdentifier": "/Users/knuts/source/priv/atlantica/mermaid/node_modules/babel-loader/lib/index.js!/Users/knuts/source/priv/atlantica/mermaid/src/dagre-wrapper/intersect/intersect-polygon.js", "module": "./src/dagre-wrapper/intersect/intersect-polygon.js", "moduleName": "./src/dagre-wrapper/intersect/intersect-polygon.js", "type": "harmony import specifier", "userRequest": "./intersect-line", "loc": "25:20-33" } ], "usedExports": [ "default" ], "providedExports": [ "default" ], "optimizationBailout": [], "depth": 7, "source": "/*\n * Returns the point at which two lines, p and q, intersect or returns\n * undefined if they do not intersect.\n */\nfunction intersectLine(p1, p2, q1, q2) {\n // Algorithm from J. Avro, (ed.) Graphics Gems, No 2, Morgan Kaufmann, 1994,\n // p7 and p473.\n var a1, a2, b1, b2, c1, c2;\n var r1, r2, r3, r4;\n var denom, offset, num;\n var x, y; // Compute a1, b1, c1, where line joining points 1 and 2 is F(x,y) = a1 x +\n // b1 y + c1 = 0.\n\n a1 = p2.y - p1.y;\n b1 = p1.x - p2.x;\n c1 = p2.x * p1.y - p1.x * p2.y; // Compute r3 and r4.\n\n r3 = a1 * q1.x + b1 * q1.y + c1;\n r4 = a1 * q2.x + b1 * q2.y + c1; // Check signs of r3 and r4. If both point 3 and point 4 lie on\n // same side of line 1, the line segments do not intersect.\n\n if (r3 !== 0 && r4 !== 0 && sameSign(r3, r4)) {\n return;\n } // Compute a2, b2, c2 where line joining points 3 and 4 is G(x,y) = a2 x + b2 y + c2 = 0\n\n\n a2 = q2.y - q1.y;\n b2 = q1.x - q2.x;\n c2 = q2.x * q1.y - q1.x * q2.y; // Compute r1 and r2\n\n r1 = a2 * p1.x + b2 * p1.y + c2;\n r2 = a2 * p2.x + b2 * p2.y + c2; // Check signs of r1 and r2. If both point 1 and point 2 lie\n // on same side of second line segment, the line segments do\n // not intersect.\n\n if (r1 !== 0 && r2 !== 0 && sameSign(r1, r2)) {\n return;\n } // Line segments intersect: compute intersection point.\n\n\n denom = a1 * b2 - a2 * b1;\n\n if (denom === 0) {\n return;\n }\n\n offset = Math.abs(denom / 2); // The denom/2 is to get rounding instead of truncating. It\n // is added or subtracted to the numerator, depending upon the\n // sign of the numerator.\n\n num = b1 * c2 - b2 * c1;\n x = num < 0 ? (num - offset) / denom : (num + offset) / denom;\n num = a2 * c1 - a1 * c2;\n y = num < 0 ? (num - offset) / denom : (num + offset) / denom;\n return {\n x: x,\n y: y\n };\n}\n\nfunction sameSign(r1, r2) {\n return r1 * r2 > 0;\n}\n\nexport default intersectLine;" } ], "filteredModules": 0 } ], "filteredModules": 0, "logging": { "webpack.buildChunkGraph.visitModules": { "entries": [], "filteredEntries": 2, "debug": false } }, "children": [] } ] }